e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
34 lines
766 B
Nix
34 lines
766 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, isPy27
|
|
, setuptools-scm
|
|
, more-itertools
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "jaraco-classes";
|
|
version = "3.3.0";
|
|
format = "pyproject";
|
|
|
|
disabled = isPy27;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jaraco";
|
|
repo = "jaraco.classes";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-DW8qf6G6997vBOaO1+Bdx4LBvKfpl/MiiFqWJYKE/pg=";
|
|
};
|
|
|
|
pythonNamespaces = [ "jaraco" ];
|
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
|
|
|
propagatedBuildInputs = [ more-itertools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Utility functions for Python class constructs";
|
|
homepage = "https://github.com/jaraco/jaraco.classes";
|
|
license = licenses.mit;
|
|
};
|
|
}
|