1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/development/libraries/luksmeta/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
688 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";
mainProgram = "luksmeta";
homepage = "https://github.com/latchset/luksmeta/";
maintainers = with lib.maintainers; [ fpletz ];
license = lib.licenses.lgpl21Plus;
};
}