python3Packages.giturlparse: init at 0.12.0

This commit is contained in:
Jairo Llopis
2025-06-04 10:44:30 +01:00
parent adec134fc2
commit 72fd01a97d
2 changed files with 37 additions and 0 deletions
@@ -0,0 +1,35 @@
{
buildPythonPackage,
fetchFromGitHub,
lib,
setuptools,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "giturlparse";
version = "0.12.0";
pyproject = true;
src = fetchFromGitHub {
owner = "nephila";
repo = "giturlparse";
tag = version;
hash = "sha256-VqlsqMLwOtaciBWXphmFAMwtfkWBBNaL1Sdcc8Ltq7k=";
};
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 ];
};
}
+2
View File
@@ -5712,6 +5712,8 @@ self: super: with self; {
gitpython = callPackage ../development/python-modules/gitpython { };
giturlparse = callPackage ../development/python-modules/giturlparse { };
glad = callPackage ../development/python-modules/glad { };
glad2 = callPackage ../development/python-modules/glad2 { };