1{ lib
2, buildPythonPackage
3, fetchPypi
4, isPy27
5, param
6, pytestCheckHook
7, pyyaml
8, requests
9}:
10
11buildPythonPackage rec {
12 pname = "pyct";
13 version = "0.4.8";
14
15 src = fetchPypi {
16 inherit pname version;
17 sha256 = "23d7525b5a1567535c093aea4b9c33809415aa5f018dd77f6eb738b1226df6f7";
18 };
19
20 propagatedBuildInputs = [
21 param
22 pyyaml
23 requests
24 ];
25
26 checkInputs = [
27 pytestCheckHook
28 ];
29
30 doCheck = !isPy27;
31
32 pythonImportsCheck = [
33 "pyct"
34 ];
35
36 meta = with lib; {
37 description = "ClI for Python common tasks for users";
38 homepage = "https://github.com/pyviz/pyct";
39 license = licenses.bsd3;
40 maintainers = with maintainers; [ costrouc ];
41 };
42}