depot/third_party/nixpkgs/pkgs/development/libraries/luksmeta/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
658 B
Nix

{ 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;
};
}