blob: c5b9808440c85f939fc22834f3bb40d08aa2ccf6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, setuptools-scm
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "setuptools-scm-git-archive";
version = "1.4.1";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "setuptools_scm_git_archive";
hash = "sha256-xBi8d7OXTTrGXyaPBY8j4B3F+ZHyIzEosOFqad4iewk=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
nativeCheckInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"tests.py"
];
pythonImportsCheck = [
"setuptools_scm_git_archive"
];
meta = with lib; {
description = "setuptools_scm plugin for git archives";
homepage = "https://github.com/Changaco/setuptools_scm_git_archive";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
# https://github.com/Changaco/setuptools_scm_git_archive/pull/22
broken = versionAtLeast setuptools-scm.version "8";
};
}
|