12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
17 owner = "westerndigitalcorporation";
20 sha256 = "sha256-iMQjOWsgsS+uI8mqoOXHRAV1+SIu1McUAcrsY+/zcu8=";
24 autoconf-archive # this can be removed with the next release
27 ] ++ lib.optionals guiSupport [ pkg-config ];
29 buildInputs = lib.optionals guiSupport [ gtk3 ];
31 configureFlags = lib.optional guiSupport "--enable-gui";
34 description = "Zoned block device manipulation library and tools";
36 homepage = "https://github.com/westerndigitalcorporation/libzbd";
38 license = with licenses; [ lgpl3Plus gpl3Plus ];
39 platforms = platforms.linux;