Files
nixpkgs/pkgs/development/python-modules/lazr-delegates/default.nix
T
2025-01-11 16:56:04 +09:00

38 lines
796 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
zope-interface,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "lazr-delegates";
version = "2.1.1";
pyproject = true;
src = fetchPypi {
pname = "lazr_delegates";
inherit version;
hash = "sha256-rs6yYW5Rtz8yf78SxOwrfXZwy4IL1eT2hRIV+3lsAtw=";
};
build-system = [ setuptools ];
dependencies = [ zope-interface ];
pythonImportsCheck = [ "lazr.delegates" ];
nativeCheckInputs = [ pytestCheckHook ];
pythonNamespaces = [ "lazr" ];
meta = {
description = "Easily write objects that delegate behavior";
homepage = "https://launchpad.net/lazr.delegates";
changelog = "https://git.launchpad.net/lazr.delegates/tree/NEWS.rst?h=${version}";
license = lib.licenses.lgpl3Only;
};
}