https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
14 lines
345 B
Nix
14 lines
345 B
Nix
{ buildPythonPackage, fetchPypi, atpublic, zope_interface, nose2 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flufl.bounce";
|
|
version = "4.0";
|
|
|
|
buildInputs = [ nose2 ];
|
|
propagatedBuildInputs = [ atpublic zope_interface ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-JVBK65duwP5aGc1sQTo0EMtRT9zb3Kn5tdjTQ6hgODE=";
|
|
};
|
|
}
|