a6d62be0d1
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
50 lines
937 B
Nix
50 lines
937 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, python
|
|
, pytestCheckHook
|
|
, six
|
|
, paste
|
|
, pastedeploy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pastescript";
|
|
version = "3.2.1";
|
|
|
|
src = fetchPypi {
|
|
pname = "PasteScript";
|
|
inherit version;
|
|
sha256 = "f3ef819785e1b284e6fc108a131bce7e740b18255d96cd2e99ee3f00fd452468";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
paste
|
|
pastedeploy
|
|
six
|
|
];
|
|
|
|
# test suite seems to unset PYTHONPATH
|
|
doCheck = false;
|
|
checkInputs = [ nose pytestCheckHook ];
|
|
|
|
pythonNamespaces = [ "paste" ];
|
|
|
|
disabledTestPaths = [
|
|
"appsetup/testfiles"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"paste.script"
|
|
"paste.deploy"
|
|
"paste.util"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A pluggable command-line frontend, including commands to setup package file layouts";
|
|
homepage = "https://github.com/cdent/pastescript/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|