mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
51 lines
937 B
Nix
51 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; [ ];
|
|
};
|
|
}
|