Files
nixpkgs/pkgs/development/python-modules/pyct/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

43 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 = [ ];
};
}