Files
quantenzitrone 6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00

33 lines
630 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "afetch";
version = "2.2.0";
src = fetchFromGitHub {
owner = "13-CF";
repo = "afetch";
tag = "v${finalAttrs.version}";
sha256 = "sha256-bHP3DJpgh89AaCX4c1tQGaZ/PiWjArED1rMdszFUq+U=";
};
makeFlags = [
"PREFIX=${placeholder "out"}"
];
meta = {
description = "Fetch program written in C";
homepage = "https://github.com/13-CF/afetch";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [
jk
];
platforms = lib.platforms.linux;
mainProgram = "afetch";
};
})