nixpkgs/pkgs/development/python-modules/pyct/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
687 B
Nix
Raw Normal View History

2019-02-24 15:23:15 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, isPy27
2019-02-24 15:23:15 +00:00
, param
, pytestCheckHook
2019-02-24 15:23:15 +00:00
, pyyaml
, requests
}:
buildPythonPackage rec {
pname = "pyct";
2020-10-25 09:06:55 +00:00
version = "0.4.8";
2019-02-24 15:23:15 +00:00
src = fetchPypi {
inherit pname version;
2020-10-25 09:06:55 +00:00
sha256 = "23d7525b5a1567535c093aea4b9c33809415aa5f018dd77f6eb738b1226df6f7";
2019-02-24 15:23:15 +00:00
};
propagatedBuildInputs = [
param
pyyaml
requests
];
checkInputs = [
pytestCheckHook
];
doCheck = !isPy27;
pythonImportsCheck = [
"pyct"
];
2019-02-24 15:23:15 +00:00
meta = with lib; {
description = "ClI for Python common tasks for users";
homepage = "https://github.com/pyviz/pyct";
2019-02-24 15:23:15 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ];
2019-02-24 15:23:15 +00:00
};
}