depot/third_party/nixpkgs/pkgs/development/python-modules/pyct/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

42 lines
799 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
param,
pytestCheckHook,
pythonAtLeast,
pyyaml,
requests,
}:
buildPythonPackage rec {
pname = "pyct";
version = "0.5.0";
format = "setuptools";
disabled = pythonAtLeast "3.12";
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";
mainProgram = "pyct";
homepage = "https://github.com/pyviz/pyct";
changelog = "https://github.com/pyviz-dev/pyct/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = [ ];
};
}