Loading pkgs/development/libraries/libsidplayfp/default.nix +38 −40 Original line number Diff line number Diff line { stdenv , lib , fetchFromGitHub , makeFontsConf , nix-update-script , testers , autoreconfHook , docSupport ? true , doxygen , graphviz , libexsid , libgcrypt , perl , pkg-config , unittest-cpp , xa { stdenv, lib, fetchFromGitHub, makeFontsConf, nix-update-script, testers, autoreconfHook, docSupport ? true, doxygen, graphviz, libexsid, libgcrypt, perl, pkg-config, unittest-cpp, xa, }: stdenv.mkDerivation (finalAttrs: { Loading @@ -28,11 +29,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-pW2B/KClCpfWQjZNQQnXPtXDJlm5NKb4ivPlFUI/vFA="; }; outputs = [ "out" ] ++ lib.optionals docSupport [ "doc" ]; outputs = [ "out" ] ++ lib.optionals docSupport [ "doc" ]; postPatch = '' patchShebangs . Loading @@ -40,12 +37,14 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; nativeBuildInputs = [ nativeBuildInputs = [ autoreconfHook perl pkg-config xa ] ++ lib.optionals docSupport [ ] ++ lib.optionals docSupport [ doxygen graphviz ]; Loading @@ -55,9 +54,7 @@ stdenv.mkDerivation (finalAttrs: { libgcrypt ]; checkInputs = [ unittest-cpp ]; checkInputs = [ unittest-cpp ]; enableParallelBuilding = true; Loading @@ -69,18 +66,16 @@ stdenv.mkDerivation (finalAttrs: { ]; # Make Doxygen happy with the setup, reduce log noise FONTCONFIG_FILE = lib.optionalString docSupport (makeFontsConf { fontDirectories = [ ]; }); FONTCONFIG_FILE = lib.optionalString docSupport (makeFontsConf { fontDirectories = [ ]; }); preBuild = '' # Reduce noise from fontconfig during doc building export XDG_CACHE_HOME=$TMPDIR ''; buildFlags = [ "all" ] ++ lib.optionals docSupport [ "doc" ]; buildFlags = [ "all" ] ++ lib.optionals docSupport [ "doc" ]; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; Loading @@ -104,7 +99,10 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://github.com/libsidplayfp/libsidplayfp"; license = with licenses; [ gpl2Plus ]; maintainers = with maintainers; [ ramkromberg OPNA2608 ]; maintainers = with maintainers; [ ramkromberg OPNA2608 ]; platforms = platforms.all; pkgConfigModules = [ "libsidplayfp" Loading Loading
pkgs/development/libraries/libsidplayfp/default.nix +38 −40 Original line number Diff line number Diff line { stdenv , lib , fetchFromGitHub , makeFontsConf , nix-update-script , testers , autoreconfHook , docSupport ? true , doxygen , graphviz , libexsid , libgcrypt , perl , pkg-config , unittest-cpp , xa { stdenv, lib, fetchFromGitHub, makeFontsConf, nix-update-script, testers, autoreconfHook, docSupport ? true, doxygen, graphviz, libexsid, libgcrypt, perl, pkg-config, unittest-cpp, xa, }: stdenv.mkDerivation (finalAttrs: { Loading @@ -28,11 +29,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-pW2B/KClCpfWQjZNQQnXPtXDJlm5NKb4ivPlFUI/vFA="; }; outputs = [ "out" ] ++ lib.optionals docSupport [ "doc" ]; outputs = [ "out" ] ++ lib.optionals docSupport [ "doc" ]; postPatch = '' patchShebangs . Loading @@ -40,12 +37,14 @@ stdenv.mkDerivation (finalAttrs: { strictDeps = true; nativeBuildInputs = [ nativeBuildInputs = [ autoreconfHook perl pkg-config xa ] ++ lib.optionals docSupport [ ] ++ lib.optionals docSupport [ doxygen graphviz ]; Loading @@ -55,9 +54,7 @@ stdenv.mkDerivation (finalAttrs: { libgcrypt ]; checkInputs = [ unittest-cpp ]; checkInputs = [ unittest-cpp ]; enableParallelBuilding = true; Loading @@ -69,18 +66,16 @@ stdenv.mkDerivation (finalAttrs: { ]; # Make Doxygen happy with the setup, reduce log noise FONTCONFIG_FILE = lib.optionalString docSupport (makeFontsConf { fontDirectories = [ ]; }); FONTCONFIG_FILE = lib.optionalString docSupport (makeFontsConf { fontDirectories = [ ]; }); preBuild = '' # Reduce noise from fontconfig during doc building export XDG_CACHE_HOME=$TMPDIR ''; buildFlags = [ "all" ] ++ lib.optionals docSupport [ "doc" ]; buildFlags = [ "all" ] ++ lib.optionals docSupport [ "doc" ]; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; Loading @@ -104,7 +99,10 @@ stdenv.mkDerivation (finalAttrs: { ''; homepage = "https://github.com/libsidplayfp/libsidplayfp"; license = with licenses; [ gpl2Plus ]; maintainers = with maintainers; [ ramkromberg OPNA2608 ]; maintainers = with maintainers; [ ramkromberg OPNA2608 ]; platforms = platforms.all; pkgConfigModules = [ "libsidplayfp" Loading