python3Packages.giturlparse: init at 0.12.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user