13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
18 owner = "westerndigitalcorporation";
21 sha256 = "sha256-iMQjOWsgsS+uI8mqoOXHRAV1+SIu1McUAcrsY+/zcu8=";
25 autoconf-archive # this can be removed with the next release
28 ] ++ lib.optionals guiSupport [ pkg-config ];
30 buildInputs = lib.optionals guiSupport [ gtk3 ];
32 configureFlags = lib.optional guiSupport "--enable-gui";
35 description = "Zoned block device manipulation library and tools";
37 homepage = "https://github.com/westerndigitalcorporation/libzbd";
39 license = with licenses; [
43 platforms = platforms.linux;