summary refs log tree commit diff
path: root/pkgs/tools/misc/afetch/default.nix
blob: aea2ff1ff2b92b489b4d48f7eb2d68e47e53a6f3 (plain) (blame)
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
{ 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;
  };
}