nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, asciidoc
2, cryptsetup
3}:
4
5stdenv.mkDerivation rec {
6 pname = "luksmeta";
7 version = "9";
8
9 src = fetchFromGitHub {
10 owner = "latchset";
11 repo = pname;
12 rev = "v${version}";
13 sha256 = "10nslwk7m1qwskd12c204ipa3cbad0q6fn0v084z2f7q6xxbkd2d";
14 };
15
16 nativeBuildInputs = [ autoreconfHook pkg-config asciidoc ];
17 buildInputs = [ cryptsetup ];
18
19 meta = {
20 description = "Simple library for storing metadata in the LUKSv1 header";
21 homepage = "https://github.com/latchset/luksmeta/";
22 maintainers = with lib.maintainers; [ fpletz ];
23 license = lib.licenses.lgpl21Plus;
24 };
25}