aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/pyct/default.nix
blob: c187c6a557614503cf51ba1e121525da164f1a68 (plain)
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
{ lib
, buildPythonPackage
, fetchPypi
, param
, pyyaml
, requests
, pytest
}:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "df7b2d29f874cabdbc22e4f8cba2ceb895c48aa33da4e0fe679e89873e0a4c6e";
  };

  checkInputs = [ pytest ];
  propagatedBuildInputs = [
    param
    pyyaml
    requests
  ];

  checkPhase = ''
    pytest
  '';

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