libzbc: init at 5.12.0
This commit is contained in:
parent
5518e6aba1
commit
9136910f1e
40
pkgs/os-specific/linux/libzbc/default.nix
Normal file
40
pkgs/os-specific/linux/libzbc/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, autoconf-archive
|
||||
, autoreconfHook
|
||||
, fetchFromGitHub
|
||||
, gtk3
|
||||
, libtool
|
||||
, pkg-config
|
||||
, guiSupport ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libzbc";
|
||||
version = "5.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "westerndigitalcorporation";
|
||||
repo = "libzbc";
|
||||
rev = "v${version}";
|
||||
sha256 = "qI09dkMCwMym3j1ELrFDNbNB5hW/CzwmFmZhUNDXsfI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoconf-archive # this can be removed with the next release
|
||||
autoreconfHook
|
||||
libtool
|
||||
] ++ lib.optionals guiSupport [ pkg-config ];
|
||||
|
||||
buildInputs = lib.optionals guiSupport [ gtk3 ];
|
||||
|
||||
configureFlags = lib.optional guiSupport "--enable-gui";
|
||||
|
||||
meta = with lib; {
|
||||
description = "ZBC device manipulation library";
|
||||
homepage = "https://github.com/westerndigitalcorporation/libzbc";
|
||||
maintainers = with maintainers; [ zseri ];
|
||||
license = with licenses; [ bsd2 lgpl3Plus ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -4206,6 +4206,8 @@ with pkgs;
|
|||
|
||||
libxnd = callPackage ../development/libraries/libxnd { };
|
||||
|
||||
libzbc = callPackage ../os-specific/linux/libzbc { };
|
||||
|
||||
lifeograph = callPackage ../applications/editors/lifeograph { };
|
||||
|
||||
limitcpu = callPackage ../tools/misc/limitcpu { };
|
||||
|
|
Loading…
Reference in a new issue