depot/third_party/nixpkgs/pkgs/development/python-modules/pastescript/default.nix
Default email a6d62be0d1 Project import generated by Copybara.
GitOrigin-RevId: ac169ec6371f0d835542db654a65e0f2feb07838
2021-12-26 18:43:05 +01:00

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; [ ];
};
}