12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
17 owner = "westerndigitalcorporation";
20 sha256 = "sha256-8+HF5Wf6lQHbi8Vp2tpom1FO56lQ5RyYsgs8ii+2RD0=";
26 ] ++ lib.optionals guiSupport [ pkg-config ];
28 buildInputs = lib.optionals guiSupport [ gtk3 ];
30 configureFlags = lib.optional guiSupport "--enable-gui";
33 description = "ZBC device manipulation library";
34 homepage = "https://github.com/westerndigitalcorporation/libzbc";
36 license = with licenses; [
40 platforms = platforms.linux;