mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 09:36:32 +01:00
33 lines
730 B
Nix
33 lines
730 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pytestCheckHook,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "lazy-object-proxy";
|
|
version = "1.12.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ionelmc";
|
|
repo = "python-lazy-object-proxy";
|
|
tag = "v${version}";
|
|
hash = "sha256-80+QJlm2X2u0OGEkYbEsdg8OiAXLiBwrkVXOF9NBL+I=";
|
|
};
|
|
|
|
build-system = [ setuptools-scm ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
# Broken tests. Seem to be fixed upstream according to Travis.
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Fast and thorough lazy object proxy";
|
|
homepage = "https://github.com/ionelmc/python-lazy-object-proxy";
|
|
license = with lib.licenses; [ bsd2 ];
|
|
};
|
|
}
|