tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libzbd: init at 2.0.3
Alain Zscheile
3 years ago
8a773bd4
9136910f
+42
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
libzbd
default.nix
top-level
all-packages.nix
+40
pkgs/os-specific/linux/libzbd/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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 = "libzbd";
14
+
version = "2.0.3";
15
+
16
+
src = fetchFromGitHub {
17
+
owner = "westerndigitalcorporation";
18
+
repo = "libzbd";
19
+
rev = "v${version}";
20
+
sha256 = "GoCHwuR4ylyaN/FskIqKyAPe2A2O3iFVcI3UxPlqvtk=";
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 = "Zoned block device manipulation library and tools";
35
+
homepage = "https://github.com/westerndigitalcorporation/libzbd";
36
+
maintainers = with maintainers; [ zseri ];
37
+
license = with licenses; [ lgpl3Plus gpl3Plus ];
38
+
platforms = platforms.linux;
39
+
};
40
+
}
+2
pkgs/top-level/all-packages.nix
···
4208
4209
libzbc = callPackage ../os-specific/linux/libzbc { };
4210
0
0
4211
lifeograph = callPackage ../applications/editors/lifeograph { };
4212
4213
limitcpu = callPackage ../tools/misc/limitcpu { };
···
4208
4209
libzbc = callPackage ../os-specific/linux/libzbc { };
4210
4211
+
libzbd = callPackage ../os-specific/linux/libzbd { };
4212
+
4213
lifeograph = callPackage ../applications/editors/lifeograph { };
4214
4215
limitcpu = callPackage ../tools/misc/limitcpu { };