]> git.scottworley.com Git - auto-upgrade-with-pinch/blame - overlays/pinch.nix
Declare that there are no loose packages here
[auto-upgrade-with-pinch] / overlays / pinch.nix
CommitLineData
2be80b46 1self: super: {
9221389b
SW
2 pinch = if builtins.hasAttr "pinch" super then
3 super.pinch
4 else
5 super.writeShellScriptBin "pinch" ''
6 exec ${self.python3}/bin/python3 ${
7 super.fetchgit {
8 url = "https://scottworley.com/pinch.git";
c1430067
SW
9 rev = "1.3";
10 sha256 = "1l2pq0pqmjh5q8ggmz6sw6bz0nnz0jy92l5qgax8bmpm1qcszmxf";
9221389b
SW
11 }
12 }/pinch.py "$@"
13 '';
2be80b46 14}