libzbc: init at 5.12.0

This commit is contained in:
Alain Zscheile 2022-09-04 02:37:27 +02:00
parent 5518e6aba1
commit 9136910f1e
2 changed files with 42 additions and 0 deletions

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

View file

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