diff options
author | Danil <6057430gu@gmail.com> | 2021-07-16 02:36:32 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-15 21:36:32 +0200 |
commit | e3e5a9178fc8f8be3c41d83cfa0a687a6dd277ac (patch) | |
tree | 140c658d2fc0678fff40a99712feb2e735056883 /pkgs/tools/misc/afetch | |
parent | 56b1922df698508d0a001a3d4e123cfd49c9919d (diff) | |
download | nixpkgs-e3e5a9178fc8f8be3c41d83cfa0a687a6dd277ac.tar nixpkgs-e3e5a9178fc8f8be3c41d83cfa0a687a6dd277ac.tar.gz nixpkgs-e3e5a9178fc8f8be3c41d83cfa0a687a6dd277ac.tar.bz2 nixpkgs-e3e5a9178fc8f8be3c41d83cfa0a687a6dd277ac.tar.lz nixpkgs-e3e5a9178fc8f8be3c41d83cfa0a687a6dd277ac.tar.xz nixpkgs-e3e5a9178fc8f8be3c41d83cfa0a687a6dd277ac.tar.zst nixpkgs-e3e5a9178fc8f8be3c41d83cfa0a687a6dd277ac.zip |
afetch: init at 2.2.0 (#130197)
Diffstat (limited to 'pkgs/tools/misc/afetch')
-rw-r--r-- | pkgs/tools/misc/afetch/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/afetch/default.nix b/pkgs/tools/misc/afetch/default.nix new file mode 100644 index 00000000000..aea2ff1ff2b --- /dev/null +++ b/pkgs/tools/misc/afetch/default.nix @@ -0,0 +1,28 @@ +{ stdenv +, lib +, fetchFromGitHub +}: + +stdenv.mkDerivation rec { + pname = "afetch"; + version = "2.2.0"; + + src = fetchFromGitHub { + owner = "13-CF"; + repo = "afetch"; + rev = "V${version}"; + sha256 = "sha256-bHP3DJpgh89AaCX4c1tQGaZ/PiWjArED1rMdszFUq+U="; + }; + + makeFlags = [ + "PREFIX=${placeholder "out"}" + ]; + + meta = with lib; { + description = "A fetch program written in C"; + homepage = "https://github.com/13-CF/afetch"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ dan4ik605743 jk ]; + platforms = platforms.linux; + }; +} |