about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyct/default.nix
blob: 4538410c36230abc8b651a3455a67334a36094cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
, param
, pytestCheckHook
, pyyaml
, requests
}:

buildPythonPackage rec {
  pname = "pyct";
  version = "0.4.8";

  src = fetchPypi {
    inherit pname version;
    sha256 = "23d7525b5a1567535c093aea4b9c33809415aa5f018dd77f6eb738b1226df6f7";
  };

  propagatedBuildInputs = [
    param
    pyyaml
    requests
  ];

  checkInputs = [
    pytestCheckHook
  ];

  doCheck = !isPy27;

  pythonImportsCheck = [
    "pyct"
  ];

  meta = with lib; {
    description = "ClI for Python common tasks for users";
    homepage = "https://github.com/pyviz/pyct";
    license = licenses.bsd3;
    maintainers = with maintainers; [ costrouc ];
  };
}