mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
git-autoshare: init at 1.0.0b6
@moduon MT-1075
This commit is contained in:
parent
760e817fa8
commit
2ac5ea7729
40
pkgs/by-name/gi/git-autoshare/package.nix
Normal file
40
pkgs/by-name/gi/git-autoshare/package.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
lib,
|
||||
python3Packages,
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "git-autoshare";
|
||||
version = "1.0.0b6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "acsone";
|
||||
repo = "git-autoshare";
|
||||
rev = version;
|
||||
hash = "sha256-F8wcAayIR6MH8e0cQSwFJn/AVSLG3tVil80APjcFG/0=";
|
||||
};
|
||||
|
||||
build-system = with python3Packages; [ setuptools-scm ];
|
||||
dependencies = with python3Packages; [
|
||||
appdirs
|
||||
click
|
||||
pyyaml
|
||||
];
|
||||
|
||||
# Tests require network
|
||||
doCheck = false;
|
||||
|
||||
makeWrapperArgs = [ "--set-default GIT_AUTOSHARE_GIT_BIN ${lib.getExe git}" ];
|
||||
|
||||
pythonImportsCheck = [ "git_autoshare" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/acsone/git-autoshare/releases/tag/${version}";
|
||||
description = "Git clone wrapper that automatically uses --reference to save disk space and download time";
|
||||
homepage = "https://github.com/acsone/git-autoshare";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ yajo ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user