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

45 lines
912 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
six,
nix-update-script,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "wirerope";
version = "0.4.8";
pyproject = true;
src = fetchFromGitHub {
owner = "youknowone";
repo = "wirerope";
rev = version;
hash = "sha256-Qb0gTCtVWdvZnwS6+PHoBr0syHtpfRI8ugh7zO7k9rk=";
};
build-system = [ setuptools ];
dependencies = [ six ];
pythonImportsCheck = [ "wirerope" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
];
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Wrappers for class callables";
homepage = "https://github.com/youknowone/wirerope";
changelog = "https://github.com/youknowone/wirerope/releases/tag/${version}";
license = licenses.bsd2WithViews;
maintainers = with maintainers; [ pbsds ];
};
}