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