blob: 011ae2959bc6a0f32ec120dbb0d1f174f1125a97 (
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
|
{
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "giturlparse";
version = "0.14.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nephila";
repo = "giturlparse";
tag = version;
hash = "sha256-KBJVsg3xpy4WkXlkP+eNTJpGIpZhPI4TwD5/0eCbTL0=";
};
build-system = [
setuptools
];
nativeCheckInputs = [
unittestCheckHook
];
pythonImportsCheck = [ "giturlparse" ];
meta = {
description = "Parse & rewrite git urls (supports GitHub, Bitbucket, Assembla ...)";
homepage = "https://github.com/nephila/giturlparse";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ yajo ];
};
}
|