summary refs log tree commit diff
path: root/pkgs/tools/package-management/clib/default.nix
blob: cb365b9b4f7679cc8d8c87989acce4d2aec2ad80 (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
{ stdenv, fetchzip, curl  }:

stdenv.mkDerivation rec {
  version = "1.4.2";
  name = "clib-${version}";

  src = fetchzip {
    url = "https://github.com/clibs/clib/archive/${version}.zip";
    sha256 = "0hbi5hf4w0iim96h89j7krxv61x92ffxjbldxp3zk92m5sgpldnm";
  };

  hardeningDisable = [ "fortify" ];

  makeFlags = "PREFIX=$(out)";

  buildInputs = [ curl ];

  meta = with stdenv.lib; {
    description = "C micro-package manager";
    homepage = https://github.com/clibs/clib;
    license = licenses.mit;
    maintainers = with maintainers; [ jb55 ];
    platforms = platforms.all;
  };
}