blob: 4431e1d8c751d0392aae312ea0824201f97464ec (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
gitMinimal,
replaceVars,
setuptools,
}:
buildPythonPackage rec {
pname = "setuptools-git";
version = "1.2";
pyproject = true;
src = fetchFromGitHub {
owner = "msabramo";
repo = "setuptools-git";
tag = version;
hash = "sha256-dbQ15y62nanuWgh2puLYSio391Ja3SF+HrafvTBVNbk=";
};
patches = [
(replaceVars ./hardcode-git-path.patch {
git = lib.getExe gitMinimal;
})
];
build-system = [ setuptools ];
doCheck = false;
meta = {
description = "Setuptools revision control system plugin for Git";
homepage = "https://github.com/msabramo/setuptools-git";
license = lib.licenses.bsd3;
};
}
|