1{ lib
2, buildPythonPackage
3, fetchPypi
4, param
5, pytestCheckHook
6, pythonOlder
7, pyyaml
8, requests
9}:
10
11buildPythonPackage rec {
12 pname = "pyct";
13 version = "0.5.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.7";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-3Z9KxcvY43w1LAQDYGLTxfZ+/sdtQEdh7xawy/JqpqA=";
21 };
22
23 propagatedBuildInputs = [
24 param
25 pyyaml
26 requests
27 ];
28
29 nativeCheckInputs = [
30 pytestCheckHook
31 ];
32
33 pythonImportsCheck = [
34 "pyct"
35 ];
36
37 meta = with lib; {
38 description = "ClI for Python common tasks for users";
39 homepage = "https://github.com/pyviz/pyct";
40 changelog = "https://github.com/pyviz-dev/pyct/releases/tag/v${version}";
41 license = licenses.bsd3;
42 maintainers = with maintainers; [ costrouc ];
43 };
44}