Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pastescript / default.nix
blob3d42c40c1230b1fa240301dbf8264e28390caaf7
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , nose
5 , python
6 , pytestCheckHook
7 , six
8 , paste
9 , pastedeploy
10 , pythonOlder
13 buildPythonPackage rec {
14   pname = "pastescript";
15   version = "3.5.1";
16   format = "setuptools";
18   disabled = pythonOlder "3.7";
20   src = fetchPypi {
21     pname = "PasteScript";
22     inherit version;
23     hash = "sha256-zRtgbNReloT/20SL1tmq70IN0u/n5rYsbTc6Rv9DyDU=";
24   };
26   propagatedBuildInputs = [
27     paste
28     pastedeploy
29     six
30   ];
32   # test suite seems to unset PYTHONPATH
33   doCheck = false;
35   nativeCheckInputs = [
36     nose
37     pytestCheckHook
38   ];
40   pythonNamespaces = [
41     "paste"
42   ];
44   disabledTestPaths = [
45     "appsetup/testfiles"
46   ];
48   pythonImportsCheck = [
49     "paste.script"
50     "paste.deploy"
51     "paste.util"
52   ];
54   meta = with lib; {
55     description = "A pluggable command-line frontend, including commands to setup package file layouts";
56     mainProgram = "paster";
57     homepage = "https://github.com/cdent/pastescript/";
58     license = licenses.mit;
59     maintainers = with maintainers; [ ];
60   };