]>
Commit | Line | Data |
---|---|---|
2be80b46 | 1 | self: super: { |
9221389b SW |
2 | pinch = if builtins.hasAttr "pinch" super then |
3 | super.pinch | |
4 | else | |
c1a6f7a3 SW |
5 | self.python3Packages.callPackage |
6 | ({ buildPythonPackage, fetchgit, nix, git, mypy, }: | |
7 | buildPythonPackage rec { | |
8 | pname = "pinch"; | |
9 | version = "1.5"; | |
10 | src = fetchgit { | |
9221389b | 11 | url = "https://scottworley.com/pinch.git"; |
c1a6f7a3 SW |
12 | rev = version; |
13 | sha256 = "0si7z78iy8b5dfjs8ijy8bq9fwcfq51syqxijkc6mg5m7awwsf3l"; | |
14 | }; | |
15 | checkInputs = [ nix git mypy ]; | |
16 | doCheck = true; | |
17 | checkPhase = "./test.sh"; | |
18 | }) { }; | |
2be80b46 | 19 | } |