Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 558 B view raw
1{ lib 2, bash 3, buildPythonPackage 4, fetchPypi 5}: 6 7buildPythonPackage rec { 8 pname = "invoke"; 9 version = "1.4.1"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "de3f23bfe669e3db1085789fd859eb8ca8e0c5d9c20811e2407fa042e8a5e15d"; 14 }; 15 16 patchPhase = '' 17 sed -e 's|/bin/bash|${bash}/bin/bash|g' -i invoke/config.py 18 ''; 19 20 # errors with vendored libs 21 doCheck = false; 22 23 # has vendored python2 code 24 dontUsePythonRecompileBytecode = true; 25 26 meta = { 27 description = "Pythonic task execution"; 28 license = lib.licenses.bsd2; 29 }; 30}