depot/third_party/nixpkgs/pkgs/development/python-modules/pastescript/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

56 lines
1,008 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
nose,
python,
pytestCheckHook,
six,
paste,
pastedeploy,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pastescript";
version = "3.6.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PasteScript";
inherit version;
hash = "sha256-HCLSt81TUWRr7tKMb3DrSipLklZR2a/Ko1AdBsq7UXE=";
};
propagatedBuildInputs = [
paste
pastedeploy
six
];
# test suite seems to unset PYTHONPATH
doCheck = false;
nativeCheckInputs = [
nose
pytestCheckHook
];
disabledTestPaths = [ "appsetup/testfiles" ];
pythonImportsCheck = [
"paste.script"
"paste.deploy"
"paste.util"
];
meta = with lib; {
description = "Pluggable command-line frontend, including commands to setup package file layouts";
mainProgram = "paster";
homepage = "https://github.com/cdent/pastescript/";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}