bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
29 lines
605 B
Nix
29 lines
605 B
Nix
{ 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 = "Fetch program written in C";
|
|
homepage = "https://github.com/13-CF/afetch";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dan4ik605743 jk ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "afetch";
|
|
};
|
|
}
|