python311Packages.gitlike-commands: init at 0.2.1
This commit is contained in:
parent
09529ed951
commit
80b7bfad6d
40
pkgs/development/python-modules/gitlike-commands/default.nix
Normal file
40
pkgs/development/python-modules/gitlike-commands/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gitlike-commands";
|
||||
version = "0.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "unixorn";
|
||||
repo = "gitlike-commands";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-VjweN4gigzCNvg6TccZx2Xw1p7SusKplxUTZjItTQc0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
# Module has no real tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"gitlike_commands"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easy python module for creating git-style subcommand handling";
|
||||
homepage = "https://github.com/unixorn/gitlike-commands";
|
||||
changelog = "https://github.com/unixorn/gitlike-commands/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -4376,6 +4376,8 @@ self: super: with self; {
|
|||
|
||||
gitignore-parser = callPackage ../development/python-modules/gitignore-parser { };
|
||||
|
||||
gitlike-commands = callPackage ../development/python-modules/gitlike-commands { };
|
||||
|
||||
gitpython = callPackage ../development/python-modules/gitpython { };
|
||||
|
||||
glad = callPackage ../development/python-modules/glad { };
|
||||
|
|
Loading…
Reference in a new issue