libzbc: init at 5.12.0

+42
+40
pkgs/os-specific/linux/libzbc/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , autoconf-archive 4 + , autoreconfHook 5 + , fetchFromGitHub 6 + , gtk3 7 + , libtool 8 + , pkg-config 9 + , guiSupport ? false 10 + }: 11 + 12 + stdenv.mkDerivation rec { 13 + pname = "libzbc"; 14 + version = "5.12.0"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "westerndigitalcorporation"; 18 + repo = "libzbc"; 19 + rev = "v${version}"; 20 + sha256 = "qI09dkMCwMym3j1ELrFDNbNB5hW/CzwmFmZhUNDXsfI="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + autoconf-archive # this can be removed with the next release 25 + autoreconfHook 26 + libtool 27 + ] ++ lib.optionals guiSupport [ pkg-config ]; 28 + 29 + buildInputs = lib.optionals guiSupport [ gtk3 ]; 30 + 31 + configureFlags = lib.optional guiSupport "--enable-gui"; 32 + 33 + meta = with lib; { 34 + description = "ZBC device manipulation library"; 35 + homepage = "https://github.com/westerndigitalcorporation/libzbc"; 36 + maintainers = with maintainers; [ zseri ]; 37 + license = with licenses; [ bsd2 lgpl3Plus ]; 38 + platforms = platforms.linux; 39 + }; 40 + }
+2
pkgs/top-level/all-packages.nix
··· 4206 4207 libxnd = callPackage ../development/libraries/libxnd { }; 4208 4209 lifeograph = callPackage ../applications/editors/lifeograph { }; 4210 4211 limitcpu = callPackage ../tools/misc/limitcpu { };
··· 4206 4207 libxnd = callPackage ../development/libraries/libxnd { }; 4208 4209 + libzbc = callPackage ../os-specific/linux/libzbc { }; 4210 + 4211 lifeograph = callPackage ../applications/editors/lifeograph { }; 4212 4213 limitcpu = callPackage ../tools/misc/limitcpu { };