aboutsummaryrefslogtreecommitdiff
path: root/libraries/base64c/default.nix
blob: ec89a4bebb146cc9ee0d1c3b678cb755a0994cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, lib, fetchgit
, bootstrapHook, pkg-config
}:

stdenv.mkDerivation rec {
  pname = "base64c";
  version = "0.2.1";
  meta = with lib; {
    homepage = "https://gitlab.nic.cz/turris/base64c";
    description = "Base64 encoding/decoding library for C";
    platforms = with platforms; linux;
    license = licenses.mit;
  };

  src = fetchgit {
    url = "https://gitlab.nic.cz/turris/base64c.git";
    rev = "v" + version;
    sha256 = "09qgx2qcni6cmk9mwiis843wgp3f85mh2c3sm0w37ib0bcxdvq7x";
  };

  nativeBuildInputs = [bootstrapHook pkg-config];
}