blob: a268a0a0417168bf1d03641bb08e12b30a8b8c39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
stdenv,
lib,
fetchFromGitHub,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "afetch";
version = "2.2.0";
strictDeps = true;
__structuredAttrs = true;
enableParallelBuilding = true;
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";
};
})
|