depot/third_party/nixpkgs/pkgs/development/python-modules/pyct/default.nix
Default email 5e9e1146e1 Project import generated by Copybara.
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
2023-08-05 00:07:22 +02:00

44 lines
788 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, param
, pytestCheckHook
, pythonOlder
, pyyaml
, requests
}:
buildPythonPackage rec {
pname = "pyct";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-3Z9KxcvY43w1LAQDYGLTxfZ+/sdtQEdh7xawy/JqpqA=";
};
propagatedBuildInputs = [
param
pyyaml
requests
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"pyct"
];
meta = with lib; {
description = "ClI for Python common tasks for users";
homepage = "https://github.com/pyviz/pyct";
changelog = "https://github.com/pyviz-dev/pyct/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}