python311Packages.gitignore-parser: init at 0.1.2
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, unittestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gitignore-parser";
|
||||
version = "0.1.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mherrmann";
|
||||
repo = "gitignore_parser";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-F1ZQQ33naOO7KNuSdlo0JN8i50lLty+eGSJAzVJL730=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"gitignore_parser"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A spec-compliant gitignore parser";
|
||||
homepage = "https://github.com/mherrmann/gitignore_parser";
|
||||
changelog = "https://github.com/mherrmann/gitignore_parser/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -4053,6 +4053,8 @@ self: super: with self; {
|
||||
|
||||
github3_py = callPackage ../development/python-modules/github3_py { };
|
||||
|
||||
gitignore-parser = callPackage ../development/python-modules/gitignore-parser { };
|
||||
|
||||
gitpython = callPackage ../development/python-modules/gitpython { };
|
||||
|
||||
glad = callPackage ../development/python-modules/glad { };
|
||||
|
||||
Reference in New Issue
Block a user