]>
Commit | Line | Data |
---|---|---|
2be80b46 | 1 | self: 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"; | |
4c53bdc7 SW |
9 | rev = "1.2"; |
10 | sha256 = "0s0rk1m0irsdj0xjnix9y1825pjv7lhbmnn73jgjbj1hi6wqwpfh"; | |
9221389b SW |
11 | } |
12 | }/pinch.py "$@" | |
13 | ''; | |
2be80b46 | 14 | } |