nixpkgs/pkgs/tools/misc/afetch/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 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";
};
}