e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
46 lines
838 B
Nix
46 lines
838 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools
|
|
, zope-interface
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lazr-delegates";
|
|
version = "2.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "lazr.delegates";
|
|
inherit version;
|
|
hash = "sha256-UNT7iHK5UuV6SOEmEOVQ+jBm7rV8bGx1tqUUJBi6wZw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
zope-interface
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"lazr.delegates"
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonNamespaces = [
|
|
"lazr"
|
|
];
|
|
|
|
meta = with lib; {
|
|
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 = licenses.lgpl3Only;
|
|
};
|
|
}
|