nixpkgs/pkgs/development/python-modules/pyct/default.nix
Fabian Affolter 3eb6081abe python310Packages.pyct: add changelog to meta
- disable on unsupported Python releases
2023-02-22 15:34:24 -08:00

45 lines
797 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; [ costrouc ];
};
}