1{ lib
2, buildPythonPackage
3, fetchPypi
4, param
5, pyyaml
6, requests
7, pytest
8}:
9
10buildPythonPackage rec {
11 pname = "pyct";
12 version = "0.4.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "df7b2d29f874cabdbc22e4f8cba2ceb895c48aa33da4e0fe679e89873e0a4c6e";
17 };
18
19 checkInputs = [ pytest ];
20 propagatedBuildInputs = [
21 param
22 pyyaml
23 requests
24 ];
25
26 checkPhase = ''
27 pytest
28 '';
29
30 meta = with lib; {
31 description = "Cli for python common tasks for users";
32 homepage = "https://github.com/pyviz/pyct";
33 license = licenses.bsd3;
34 maintainers = [ maintainers.costrouc ];
35 };
36}