about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/luksmeta/default.nix
blob: afefcfed82c7f53b41bcea70cfa5296d7a403c39 (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
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, asciidoc
, cryptsetup
}:

stdenv.mkDerivation rec {
  pname = "luksmeta";
  version = "9";

  src = fetchFromGitHub {
    owner = "latchset";
    repo = pname;
    rev = "v${version}";
    sha256 = "10nslwk7m1qwskd12c204ipa3cbad0q6fn0v084z2f7q6xxbkd2d";
  };

  nativeBuildInputs = [ autoreconfHook pkg-config asciidoc ];
  buildInputs = [ cryptsetup ];

  meta = {
    description = "Simple library for storing metadata in the LUKSv1 header";
    homepage = "https://github.com/latchset/luksmeta/";
    maintainers = with lib.maintainers; [ fpletz ];
    license = lib.licenses.lgpl21Plus;
  };
}