Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyct / default.nix
blobb2314e6edfeb8bffda388897d7c2d02b00212c11
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , isPy27
5 , param
6 , pyyaml
7 , requests
8 , pytest
9 }:
11 buildPythonPackage rec {
12   pname = "pyct";
13   version = "0.4.8";
15   src = fetchPypi {
16     inherit pname version;
17     sha256 = "23d7525b5a1567535c093aea4b9c33809415aa5f018dd77f6eb738b1226df6f7";
18   };
20   doCheck = !isPy27;
21   checkInputs = [ pytest ];
22   propagatedBuildInputs = [
23     param
24     pyyaml
25     requests
26   ];
28   checkPhase = ''
29     pytest
30   '';
32   meta = with lib; {
33     description = "Cli for python common tasks for users";
34     homepage = "https://github.com/pyviz/pyct";
35     license = licenses.bsd3;
36     maintainers = [ maintainers.costrouc ];
37   };