Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 22401dcc d33a58f8

+397 -476
+2 -2
pkgs/applications/audio/mpdevil/default.nix
··· 7 8 python3Packages.buildPythonApplication rec { 9 pname = "mpdevil"; 10 - version = "1.3.0"; 11 12 src = fetchFromGitHub { 13 owner = "SoongNoonien"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "1wa5wkkv8kvzlxrhqmmhjmrzcm5v2dij516dk4vlpv9sazc6gzkm"; 17 }; 18 19 nativeBuildInputs = [
··· 7 8 python3Packages.buildPythonApplication rec { 9 pname = "mpdevil"; 10 + version = "1.4.0"; 11 12 src = fetchFromGitHub { 13 owner = "SoongNoonien"; 14 repo = pname; 15 rev = "v${version}"; 16 + sha256 = "1zx129zl6bjb0j3f81yx2641nsj6ck04q5f0v0g8f08xgdwsyv3b"; 17 }; 18 19 nativeBuildInputs = [
+2
pkgs/applications/backup/areca/default.nix
··· 47 meta = with lib; { 48 homepage = "http://www.areca-backup.org/"; 49 description = "An Open Source personal backup solution"; 50 license = licenses.gpl2; 51 maintainers = with maintainers; [ pSub ]; 52 platforms = with platforms; linux;
··· 47 meta = with lib; { 48 homepage = "http://www.areca-backup.org/"; 49 description = "An Open Source personal backup solution"; 50 + # Builds fine but fails to launch. 51 + broken = true; 52 license = licenses.gpl2; 53 maintainers = with maintainers; [ pSub ]; 54 platforms = with platforms; linux;
+2 -2
pkgs/applications/editors/android-studio/default.nix
··· 17 sha256Hash = "1j1fxl4vzq3bln2z9ycxn9imjgy55yd1nbl7ycmsi90bdp96pzj0"; 18 }; 19 latestVersion = { # canary & dev 20 - version = "2021.2.1.1"; # "Android Studio Chipmunk (2021.2.1) Canary 1" 21 - sha256Hash = "1fn0jv6ybgdhgpwhamw16fjqbg2961ir9jhbjzanysi7y3935nbv"; 22 }; 23 in { 24 # Attributes are named by their corresponding release channels
··· 17 sha256Hash = "1j1fxl4vzq3bln2z9ycxn9imjgy55yd1nbl7ycmsi90bdp96pzj0"; 18 }; 19 latestVersion = { # canary & dev 20 + version = "2021.2.1.2"; # "Android Studio Chipmunk (2021.2.1) Canary 2" 21 + sha256Hash = "0xvn9zgn4cc9lhjynhiavmvx8bdzg4kcllmhg7xv18kp6wz4lh6z"; 22 }; 23 in { 24 # Attributes are named by their corresponding release channels
+1 -4
pkgs/applications/graphics/cloudcompare/default.nix
··· 1 { lib 2 , mkDerivation 3 , fetchFromGitHub 4 - , fetchpatch 5 , cmake 6 , dxflib 7 , eigen ··· 20 21 mkDerivation rec { 22 pname = "cloudcompare"; 23 - # Released version doesn't work with packaged PCL 24 - # because it's too new. Considering that a release 25 - # is a year ago it's unreasonable to wait for it. 26 version = "unstable-2021-10-14"; 27 28 src = fetchFromGitHub {
··· 1 { lib 2 , mkDerivation 3 , fetchFromGitHub 4 , cmake 5 , dxflib 6 , eigen ··· 19 20 mkDerivation rec { 21 pname = "cloudcompare"; 22 + # Released version(v2.11.3) doesn't work with packaged PCL. 23 version = "unstable-2021-10-14"; 24 25 src = fetchFromGitHub {
+9 -1
pkgs/applications/misc/dunst/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, makeWrapper 2 , pkg-config, which, perl, libXrandr 3 , cairo, dbus, systemd, gdk-pixbuf, glib, libX11, libXScrnSaver 4 , wayland, wayland-protocols ··· 15 rev = "v${version}"; 16 sha256 = "sha256-BWbvGetXXCXbfPRY+u6gEfzBmX8PLSnI6a5vfCByiC0="; 17 }; 18 19 nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ]; 20
··· 1 + { stdenv, lib, fetchFromGitHub, makeWrapper, fetchpatch 2 , pkg-config, which, perl, libXrandr 3 , cairo, dbus, systemd, gdk-pixbuf, glib, libX11, libXScrnSaver 4 , wayland, wayland-protocols ··· 15 rev = "v${version}"; 16 sha256 = "sha256-BWbvGetXXCXbfPRY+u6gEfzBmX8PLSnI6a5vfCByiC0="; 17 }; 18 + 19 + patches = [ 20 + (fetchpatch { 21 + # fixes double free (https://github.com/dunst-project/dunst/issues/957) 22 + url = "https://github.com/dunst-project/dunst/commit/dc8efbbaff0e9ba881fa187a01bfe5c033fbdcf9.patch"; 23 + sha256 = "sha256-xuODOFDP9Eqr3g8OtNnaMmTihhurfj2NLeZPr0TF4vY="; 24 + }) 25 + ]; 26 27 nativeBuildInputs = [ perl pkg-config which systemd makeWrapper ]; 28
+2 -2
pkgs/applications/misc/gallery-dl/default.nix
··· 2 3 buildPythonApplication rec { 4 pname = "gallery_dl"; 5 - version = "1.19.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "ceffaa5022d76132165ca9004c1e57d7400b56c9ab3866e3bd139e2ffe38cb72"; 10 }; 11 12 propagatedBuildInputs = [ requests ];
··· 2 3 buildPythonApplication rec { 4 pname = "gallery_dl"; 5 + version = "1.19.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "ea1a7bf908507a87edffde6d6be93b8859ab0832ca788b61690a13aa5dd52216"; 10 }; 11 12 propagatedBuildInputs = [ requests ];
+7 -2
pkgs/applications/networking/browsers/firefox-bin/default.nix
··· 50 , ffmpeg 51 , runtimeShell 52 , mesa # firefox wants gbm for drm+dmabuf 53 - , systemLocale ? config.i18n.defaultLocale or "en-US" 54 }: 55 56 let ··· 78 79 defaultSource = lib.findFirst (sourceMatches "en-US") {} sources; 80 81 - source = lib.findFirst (sourceMatches systemLocale) defaultSource sources; 82 83 pname = "firefox-${channel}-bin-unwrapped"; 84
··· 50 , ffmpeg 51 , runtimeShell 52 , mesa # firefox wants gbm for drm+dmabuf 53 + , systemLocale ? config.i18n.defaultLocale or "en_US" 54 }: 55 56 let ··· 78 79 defaultSource = lib.findFirst (sourceMatches "en-US") {} sources; 80 81 + mozLocale = 82 + if systemLocale == "ca_ES@valencia" 83 + then "ca-valencia" 84 + else lib.replaceStrings ["_"] ["-"] systemLocale; 85 + 86 + source = lib.findFirst (sourceMatches mozLocale) defaultSource sources; 87 88 pname = "firefox-${channel}-bin-unwrapped"; 89
+2 -2
pkgs/applications/networking/browsers/lagrange/default.nix
··· 18 19 stdenv.mkDerivation rec { 20 pname = "lagrange"; 21 - version = "1.7.2"; 22 23 src = fetchFromGitHub { 24 owner = "skyjake"; 25 repo = "lagrange"; 26 rev = "v${version}"; 27 - sha256 = "sha256-iJ6+tc5nls8E/9/Jp5OS9gfJo8SJ5bN+Im/JzEYEAfI="; 28 fetchSubmodules = true; 29 }; 30
··· 18 19 stdenv.mkDerivation rec { 20 pname = "lagrange"; 21 + version = "1.7.3"; 22 23 src = fetchFromGitHub { 24 owner = "skyjake"; 25 repo = "lagrange"; 26 rev = "v${version}"; 27 + sha256 = "sha256-peBdmz/aucrKO5Vsj8WkHkpGpLm4inQHee133Zph3MM="; 28 fetchSubmodules = true; 29 }; 30
+2 -2
pkgs/applications/networking/instant-messengers/zoom-us/default.nix
··· 28 }: 29 30 let 31 - version = "5.8.0.16"; 32 srcs = { 33 x86_64-linux = fetchurl { 34 url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz"; 35 - sha256 = "1axnh81bf3ab5gzxxqm172wpqlpfbj9a2h3cry3kyxzmrihzbwdm"; 36 }; 37 }; 38
··· 28 }: 29 30 let 31 + version = "5.8.3.145"; 32 srcs = { 33 x86_64-linux = fetchurl { 34 url = "https://zoom.us/client/${version}/zoom_x86_64.pkg.tar.xz"; 35 + sha256 = "1p4agpbcpk95r04m775dr17fmlm18vxq9mb65pyfbhvsd1ypw6kr"; 36 }; 37 }; 38
+3 -3
pkgs/applications/version-management/git-and-tools/gh/default.nix
··· 2 3 buildGoModule rec { 4 pname = "gh"; 5 - version = "2.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "cli"; 9 repo = "cli"; 10 rev = "v${version}"; 11 - sha256 = "sha256-70FmFN76azRqnAZ9SLgr/V8moqkWoBbDB6IdSXM7Vmg="; 12 }; 13 14 - vendorSha256 = "sha256-004TspNwjCWnrD86HEf5wGpt8OCP5qIrTwlGWSRNUmg="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
··· 2 3 buildGoModule rec { 4 pname = "gh"; 5 + version = "2.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "cli"; 9 repo = "cli"; 10 rev = "v${version}"; 11 + sha256 = "sha256-/czexUqpdsFQAteZ75ur2SFibrtZWffHpPBEPlLQXSY="; 12 }; 13 14 + vendorSha256 = "sha256-slMl5dCyyVNBgDbpYECfYUbpJJ7sWuSGSutYR3rTzj0="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+1 -2
pkgs/applications/virtualization/crun/default.nix
··· 11 , yajl 12 , nixosTests 13 , criu 14 - , system 15 }: 16 17 let ··· 52 53 buildInputs = [ libcap libseccomp systemd yajl ] 54 # Criu currently only builds on x86_64-linux 55 - ++ lib.optional (lib.elem system criu.meta.platforms) criu; 56 57 enableParallelBuilding = true; 58
··· 11 , yajl 12 , nixosTests 13 , criu 14 }: 15 16 let ··· 51 52 buildInputs = [ libcap libseccomp systemd yajl ] 53 # Criu currently only builds on x86_64-linux 54 + ++ lib.optional (lib.elem stdenv.hostPlatform.system criu.meta.platforms) criu; 55 56 enableParallelBuilding = true; 57
+43
pkgs/applications/window-managers/eww/default.nix
···
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , pkg-config 5 + , gtk3 6 + , withWayland ? false 7 + , gtk-layer-shell 8 + }: 9 + 10 + rustPlatform.buildRustPackage rec { 11 + pname = "eww"; 12 + version = "0.2.0"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "elkowar"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "050zc3w1z9f2vg6sz86mdxf345gd3s3jf09gf4y8y1mqkzs86b8x"; 19 + }; 20 + 21 + cargoSha256 = "sha256-LejnTVv9rhL9CVW1fgj2gFv4amHQeziu5uaH2ae8AAw="; 22 + 23 + nativeBuildInputs = [ pkg-config ]; 24 + 25 + buildInputs = [ gtk3 ] ++ lib.optional withWayland gtk-layer-shell; 26 + 27 + cargoBuildFlags = [ "--bin" "eww" ] ++ lib.optionals withWayland [ 28 + "--no-default-features" 29 + "--features=wayland" 30 + ]; 31 + 32 + cargoTestFlags = cargoBuildFlags; 33 + 34 + # requires unstable rust features 35 + RUSTC_BOOTSTRAP = 1; 36 + 37 + meta = with lib; { 38 + description = "ElKowars wacky widgets"; 39 + homepage = "https://github.com/elkowar/eww"; 40 + license = licenses.mit; 41 + maintainers = with maintainers; [ figsoda legendofmiracles ]; 42 + }; 43 + }
-2
pkgs/build-support/docker/default.nix
··· 31 , writeText 32 , writeTextDir 33 , writePython3 34 - , system 35 - , # Note: This is the cross system we're compiling for 36 }: 37 38 let
··· 31 , writeText 32 , writeTextDir 33 , writePython3 34 }: 35 36 let
+9
pkgs/build-support/java/canonicalize-jar.nix
···
··· 1 + { substituteAll, unzip, zip }: 2 + 3 + substituteAll { 4 + name = "canonicalize-jar"; 5 + src = ./canonicalize-jar.sh; 6 + 7 + unzip = "${unzip}/bin/unzip"; 8 + zip = "${zip}/bin/zip"; 9 + }
+29
pkgs/build-support/java/canonicalize-jar.sh
···
··· 1 + # Canonicalize the manifest & repack with deterministic timestamps. 2 + canonicalizeJar() { 3 + local input='' outer='' 4 + input="$(realpath -sm -- "$1")" 5 + outer="$(pwd)" 6 + # -qq: even quieter 7 + @unzip@ -qq "$input" -d "$input-tmp" 8 + canonicalizeJarManifest "$input-tmp/META-INF/MANIFEST.MF" 9 + # Sets all timestamps to Jan 1 1980, the earliest mtime zips support. 10 + find -- "$input-tmp" -exec touch -t 198001010000.00 {} + 11 + rm "$input" 12 + pushd "$input-tmp" 2>/dev/null 13 + # -q|--quiet, -r|--recurse-paths 14 + # -o|--latest-time: canonicalizes overall archive mtime 15 + # -X|--no-extra: don't store platform-specific extra file attribute fields 16 + @zip@ -qroX "$outer/tmp-out.jar" . 2> /dev/null 17 + popd 2>/dev/null 18 + rm -rf "$input-tmp" 19 + mv "$outer/tmp-out.jar" "$input" 20 + } 21 + 22 + # See also the Java specification's JAR requirements: 23 + # https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#Notes_on_Manifest_and_Signature_Files 24 + canonicalizeJarManifest() { 25 + local input='' 26 + input="$(realpath -sm -- "$1")" 27 + (head -n 1 "$input" && tail -n +2 "$input" | sort | grep -v '^\s*$') > "$input-tmp" 28 + mv "$input-tmp" "$input" 29 + }
-123
pkgs/build-support/release/ant-build.nix
··· 1 - { src 2 - , pkgs 3 - , lib 4 - , stdenv ? pkgs.stdenv 5 - , name 6 - , antTargets ? [] 7 - , jars ? [] 8 - , jarWrappers ? [] 9 - , antProperties ? [] 10 - , antBuildInputs ? [] 11 - , buildfile ? "build.xml" 12 - , ant ? pkgs.ant 13 - , jre ? pkgs.jdk 14 - , hydraAntLogger ? pkgs.hydraAntLogger 15 - , zip ? pkgs.zip 16 - , unzip ? pkgs.unzip 17 - , ... } @ args: 18 - 19 - let 20 - antFlags = "-f ${buildfile} " + lib.concatMapStrings ({name, value}: "-D${name}=${value} " ) antProperties ; 21 - in 22 - stdenv.mkDerivation ( 23 - 24 - { 25 - inherit jre ant; 26 - showBuildStats = true; 27 - 28 - postPhases = 29 - ["generateWrappersPhase" "finalPhase"]; 30 - 31 - prePhases = 32 - ["antSetupPhase"]; 33 - 34 - antSetupPhase = with lib; '' 35 - if test "$hydraAntLogger" != "" ; then 36 - export ANT_ARGS="-logger org.hydra.ant.HydraLogger -lib `ls $hydraAntLogger/share/java/*.jar | head -1`" 37 - fi 38 - for abi in ${concatStringsSep " " (map (f: "`find ${f} -name '*.jar'`") antBuildInputs)}; do 39 - export ANT_ARGS="$ANT_ARGS -lib $abi" 40 - done 41 - ''; 42 - 43 - installPhase = '' 44 - runHook preInstall 45 - 46 - mkdir -p $out/share/java 47 - ${ if jars == [] then '' 48 - find . -name "*.jar" | xargs -I{} cp -v {} $out/share/java 49 - '' else lib.concatMapStrings (j: '' 50 - cp -v ${j} $out/share/java 51 - '') jars } 52 - 53 - . ${./functions.sh} 54 - for j in $out/share/java/*.jar ; do 55 - canonicalizeJar $j 56 - echo file jar $j >> $out/nix-support/hydra-build-products 57 - done 58 - 59 - runHook postInstall 60 - ''; 61 - 62 - generateWrappersPhase = 63 - let 64 - cp = w: "-cp '${lib.optionalString (w ? classPath) w.classPath}${lib.optionalString (w ? mainClass) ":$out/share/java/*"}'"; 65 - in 66 - '' 67 - header "Generating jar wrappers" 68 - '' + (lib.concatMapStrings (w: '' 69 - 70 - mkdir -p $out/bin 71 - cat >> $out/bin/${w.name} <<EOF 72 - #!${pkgs.runtimeShell} 73 - export JAVA_HOME=$jre 74 - $jre/bin/java ${cp w} ${if w ? mainClass then w.mainClass else "-jar ${w.jar}"} \$@ 75 - EOF 76 - 77 - chmod a+x $out/bin/${w.name} || exit 1 78 - '') jarWrappers) + '' 79 - closeNest 80 - ''; 81 - 82 - buildPhase = '' 83 - runHook preBuild 84 - '' + (if antTargets == [] then '' 85 - header "Building default ant target" 86 - ant ${antFlags} 87 - closeNest 88 - '' else lib.concatMapStrings (t: '' 89 - header "Building '${t}' target" 90 - ant ${antFlags} ${t} 91 - closeNest 92 - '') antTargets) + '' 93 - runHook postBuild 94 - ''; 95 - 96 - finalPhase = 97 - '' 98 - # Propagate the release name of the source tarball. This is 99 - # to get nice package names in channels. 100 - if test -e $origSrc/nix-support/hydra-release-name; then 101 - cp $origSrc/nix-support/hydra-release-name $out/nix-support/hydra-release-name 102 - fi 103 - ''; 104 - } 105 - 106 - // removeAttrs args ["antProperties" "buildInputs" "pkgs" "lib" "jarWrappers"] // 107 - 108 - { 109 - name = name + (if src ? version then "-" + src.version else ""); 110 - 111 - nativeBuildInputs = [ unzip ]; 112 - buildInputs = [ant jre zip] ++ lib.optional (args ? buildInputs) args.buildInputs ; 113 - 114 - postHook = '' 115 - mkdir -p $out/nix-support 116 - echo "$system" > $out/nix-support/system 117 - . ${./functions.sh} 118 - 119 - origSrc=$src 120 - src=$(findTarball $src) 121 - ''; 122 - } 123 - )
···
-4
pkgs/build-support/release/default.nix
··· 14 { inherit stdenv; 15 } // args); 16 17 - antBuild = args: import ./ant-build.nix ( 18 - { inherit lib pkgs; 19 - } // args); 20 - 21 mvnBuild = args: import ./maven-build.nix ( 22 { inherit stdenv; 23 } // args);
··· 14 { inherit stdenv; 15 } // args); 16 17 mvnBuild = args: import ./maven-build.nix ( 18 { inherit stdenv; 19 } // args);
-23
pkgs/build-support/release/functions.sh
··· 11 fi 12 } 13 14 - canonicalizeJarManifest() { 15 - local input=$1 16 - # http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html#Notes_on_Manifest_and_Signature_Files 17 - (head -n 1 $input && tail -n +2 $input | sort | grep -v '^\s*$') > $input-tmp 18 - mv $input-tmp $input 19 - } 20 - 21 - # Post-process a jar file to contain canonical timestamps and metadata ordering 22 - canonicalizeJar() { 23 - local input=$1 24 - local outer=$(pwd) 25 - unzip -qq $input -d $input-tmp 26 - canonicalizeJarManifest $input-tmp/META-INF/MANIFEST.MF 27 - # Set all timestamps to Jan 1 1980, which is the earliest date the zip format supports... 28 - find $input-tmp -exec touch -t 198001010000.00 {} + 29 - rm $input 30 - pushd $input-tmp 31 - zip -q -r -o -X $outer/tmp-out.jar . 2> /dev/null 32 - popd 33 - rm -rf $input-tmp 34 - mv $outer/tmp-out.jar $input 35 - } 36 - 37 propagateImageName() { 38 mkdir -p $out/nix-support 39 cat "$diskImage"/nix-support/full-name > $out/nix-support/full-name
··· 11 fi 12 } 13 14 propagateImageName() { 15 mkdir -p $out/nix-support 16 cat "$diskImage"/nix-support/full-name > $out/nix-support/full-name
+17
pkgs/build-support/setup-hooks/canonicalize-jars.sh
···
··· 1 + # This setup hook causes the fixup phase to repack all JAR files in a 2 + # canonical & deterministic fashion, e.g. resetting mtimes (like with normal 3 + # store files) and avoiding impure metadata. 4 + 5 + fixupOutputHooks+=('if [ -z "$dontCanonicalizeJars" -a -e "$prefix" ]; then canonicalizeJarsIn "$prefix"; fi') 6 + 7 + canonicalizeJarsIn() { 8 + local dir="$1" 9 + header "canonicalizing jars in $dir" 10 + dir="$(realpath -sm -- "$dir")" 11 + while IFS= read -rd '' f; do 12 + canonicalizeJar "$f" 13 + done < <(find -- "$dir" -type f -name '*.jar' -print0) 14 + stopNest 15 + } 16 + 17 + source @canonicalize_jar@
+15 -12
pkgs/desktops/arcan/arcan.nix pkgs/desktops/arcan/arcan/default.nix
··· 36 , xcbutil 37 , xcbutilwm 38 , xz 39 - , buildManPages ? true, ruby 40 }: 41 42 let ··· 52 in 53 stdenv.mkDerivation rec { 54 pname = "arcan"; 55 - version = "0.6.1pre1+unstable=2021-09-05"; 56 57 src = fetchFromGitHub { 58 owner = "letoram"; 59 repo = "arcan"; 60 - rev = "525521177e4458199d7a57f8e6d37d41c04a988d"; 61 - hash = "sha256-RsvTHPIvF9TeOfjPGcArptIiF9g42BfZkVMCbjJcXnE="; 62 }; 63 64 postUnpack = '' 65 - ( 66 - cd $sourceRoot/external/git/ 67 - cp -a ${letoram-openal-src}/ openal/ 68 - chmod --recursive 744 openal/ 69 - ) 70 ''; 71 72 # TODO: work with upstream in order to get rid of these hardcoded paths ··· 82 cmake 83 makeWrapper 84 pkg-config 85 - ] ++ lib.optionals buildManPages [ 86 ruby 87 ]; 88 ··· 123 124 # INFO: According to the source code, the manpages need to be generated before 125 # the configure phase 126 - preConfigure = lib.optionalString buildManPages '' 127 - (cd doc; ruby docgen.rb mangen) 128 ''; 129 130 cmakeFlags = [
··· 36 , xcbutil 37 , xcbutilwm 38 , xz 39 + , buildManpages ? true, ruby 40 }: 41 42 let ··· 52 in 53 stdenv.mkDerivation rec { 54 pname = "arcan"; 55 + version = "0.6.1pre1+unstable=2021-10-16"; 56 57 src = fetchFromGitHub { 58 owner = "letoram"; 59 repo = "arcan"; 60 + rev = "e0182b944152fbcb49f5c16932d38c05a9fb2680"; 61 + hash = "sha256-4FodFuO51ehvyjH4YaF/xBY9dwA6cP/e6/BvEsH4w7U="; 62 }; 63 64 postUnpack = '' 65 + pushd . 66 + cd $sourceRoot/external/git/ 67 + cp -a ${letoram-openal-src}/ openal/ 68 + chmod --recursive 744 openal/ 69 + popd 70 ''; 71 72 # TODO: work with upstream in order to get rid of these hardcoded paths ··· 82 cmake 83 makeWrapper 84 pkg-config 85 + ] ++ lib.optionals buildManpages [ 86 ruby 87 ]; 88 ··· 123 124 # INFO: According to the source code, the manpages need to be generated before 125 # the configure phase 126 + preConfigure = lib.optionalString buildManpages '' 127 + pushd . 128 + cd doc 129 + ruby docgen.rb mangen 130 + popd 131 ''; 132 133 cmakeFlags = [
+6 -5
pkgs/desktops/arcan/default.nix
··· 9 10 # Arcan 11 12 - arcan = callPackage ./arcan.nix { }; 13 arcan-wrapped = callPackage ./wrapper.nix { }; 14 - xarcan = callPackage ./xarcan.nix { }; 15 16 # Appls 17 18 - durden = callPackage ./durden.nix { }; 19 durden-wrapped = callPackage ./wrapper.nix { 20 name = "durden-wrapped"; 21 appls = [ durden ]; 22 }; 23 24 - pipeworld = callPackage ./pipeworld.nix { }; 25 pipeworld-wrapped = callPackage ./wrapper.nix { 26 name = "pipeworld-wrapped"; 27 appls = [ pipeworld ]; 28 }; 29 30 - prio = callPackage ./prio.nix { }; 31 prio-wrapped = callPackage ./wrapper.nix { 32 name = "prio-wrapped"; 33 appls = [ prio ];
··· 9 10 # Arcan 11 12 + arcan = callPackage ./arcan { }; 13 arcan-wrapped = callPackage ./wrapper.nix { }; 14 + xarcan = callPackage ./xarcan { }; 15 16 # Appls 17 18 + durden = callPackage ./durden { }; 19 durden-wrapped = callPackage ./wrapper.nix { 20 name = "durden-wrapped"; 21 appls = [ durden ]; 22 }; 23 24 + pipeworld = callPackage ./pipeworld { }; 25 pipeworld-wrapped = callPackage ./wrapper.nix { 26 name = "pipeworld-wrapped"; 27 appls = [ pipeworld ]; 28 }; 29 30 + # Warning: prio is deprecated; however it works and is useful for testing 31 + prio = callPackage ./prio { }; 32 prio-wrapped = callPackage ./wrapper.nix { 33 name = "prio-wrapped"; 34 appls = [ prio ];
+3 -3
pkgs/desktops/arcan/durden.nix pkgs/desktops/arcan/durden/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "durden"; 8 - version = "0.6.1+unstable=2021-07-11"; 9 10 src = fetchFromGitHub { 11 owner = "letoram"; 12 repo = pname; 13 - rev = "8e0a5c07cade9ad9f606781615c9ebae7b28b6d5"; 14 - hash = "sha256-4cGuCAeYmmr4ACWt2akVQu2cPqqyE6p+XFaKWcFf3t0="; 15 }; 16 17 installPhase = ''
··· 5 6 stdenv.mkDerivation rec { 7 pname = "durden"; 8 + version = "0.6.1+unstable=2021-10-15"; 9 10 src = fetchFromGitHub { 11 owner = "letoram"; 12 repo = pname; 13 + rev = "ab6cdaf19e87b74895a9ab5e1d005a07ea9396a6"; 14 + hash = "sha256-FxqY1TUgbD/PjQjTZZerb7ngn5nkcqmVwqPvbRAYaqo="; 15 }; 16 17 installPhase = ''
pkgs/desktops/arcan/pipeworld.nix pkgs/desktops/arcan/pipeworld/default.nix
pkgs/desktops/arcan/prio.nix pkgs/desktops/arcan/prio/default.nix
+1 -1
pkgs/desktops/arcan/wrapper.nix
··· 24 done 25 ''; 26 } 27 - # TODO: set ARCAN_FONTPATH to a set of fonts that can be provided in a parameter 28 # TODO: set ARCAN_STATEBASEPATH to $HOME/.arcan/resources/savestates/ - possibly 29 # via a suitable script
··· 24 done 25 ''; 26 } 27 # TODO: set ARCAN_STATEBASEPATH to $HOME/.arcan/resources/savestates/ - possibly 28 # via a suitable script 29 + # TODO: set ARCAN_FONTPATH to a set of default-but-configurable fontset
pkgs/desktops/arcan/xarcan.nix pkgs/desktops/arcan/xarcan/default.nix
+3 -3
pkgs/development/compilers/qbe/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "qbe"; 9 - version = "unstable-2021-06-17"; 10 11 src = fetchgit { 12 url = "git://c9x.me/qbe.git"; 13 - rev = "6d9ee1389572ae985f6a39bb99dbd10cdf42c123"; 14 - sha256 = "NaURS5Eu8NBd92wGQcyFEXCALU9Z93nNQeZ8afq4KMw="; 15 }; 16 17 makeFlags = [ "PREFIX=$(out)" ];
··· 6 7 stdenv.mkDerivation rec { 8 pname = "qbe"; 9 + version = "unstable-2021-10-26"; 10 11 src = fetchgit { 12 url = "git://c9x.me/qbe.git"; 13 + rev = "900805a8fe5cfa799966c4ef221524e967c44ca5"; 14 + sha256 = "sha256-ahUpG2JH3Ee6FUGfTYZZ2TLk5tF6ovvMxbsjZjVug2o="; 15 }; 16 17 makeFlags = [ "PREFIX=$(out)" ];
+7 -3
pkgs/development/coq-modules/coq-elpi/default.nix
··· 4 elpi = coq.ocamlPackages.elpi.override (lib.switch coq.coq-version [ 5 { case = "8.11"; out = { version = "1.11.4"; };} 6 { case = "8.12"; out = { version = "1.12.0"; };} 7 - { case = "8.13"; out = { version = "1.13.5"; };} 8 ] {}); 9 in mkCoqDerivation { 10 pname = "elpi"; ··· 12 owner = "LPCIC"; 13 inherit version; 14 defaultVersion = lib.switch coq.coq-version [ 15 - { case = "8.13"; out = "1.10.1"; } 16 { case = "8.12"; out = "1.8.3_8.12"; } 17 { case = "8.11"; out = "1.6.3_8.11"; } 18 ] null; 19 - release."1.10.1".sha256 = "1zsyx26dvj7pznfd2msl2w7zbw51q1nsdw0bdvdha6dga7ijf7xk"; 20 release."1.9.7".sha256 = "0rvn12h9dpk9s4pxy32p8j0a1h7ib7kg98iv1cbrdg25y5vs85n1"; 21 release."1.9.5".sha256 = "0gjdwmb6bvb5gh0a6ra48bz5fb3pr5kpxijb7a8mfydvar5i9qr6"; 22 release."1.9.4".sha256 = "0nii7238mya74f9g6147qmpg6gv6ic9b54x5v85nb6q60d9jh0jq";
··· 4 elpi = coq.ocamlPackages.elpi.override (lib.switch coq.coq-version [ 5 { case = "8.11"; out = { version = "1.11.4"; };} 6 { case = "8.12"; out = { version = "1.12.0"; };} 7 + { case = "8.13"; out = { version = "1.13.7"; };} 8 + { case = "8.14"; out = { version = "1.13.7"; };} 9 ] {}); 10 in mkCoqDerivation { 11 pname = "elpi"; ··· 13 owner = "LPCIC"; 14 inherit version; 15 defaultVersion = lib.switch coq.coq-version [ 16 + { case = "8.14"; out = "1.11.2"; } 17 + { case = "8.13"; out = "1.11.1"; } 18 { case = "8.12"; out = "1.8.3_8.12"; } 19 { case = "8.11"; out = "1.6.3_8.11"; } 20 ] null; 21 + release."1.11.2".sha256 = "0qk5cfh15y2zrja7267629dybd3irvxk1raz7z8qfir25a81ckd4"; 22 + release."1.11.1".sha256 = "10j076vc2hdcbm15m6s7b6xdzibgfcbzlkgjnlkr2vv9k13qf8kc"; 23 + release."1.10.1".sha256 = "1zsyx26dvj7pznfd2msl2w7zbw51q1nsdw0bdvdha6dga7ijf7xk"; 24 release."1.9.7".sha256 = "0rvn12h9dpk9s4pxy32p8j0a1h7ib7kg98iv1cbrdg25y5vs85n1"; 25 release."1.9.5".sha256 = "0gjdwmb6bvb5gh0a6ra48bz5fb3pr5kpxijb7a8mfydvar5i9qr6"; 26 release."1.9.4".sha256 = "0nii7238mya74f9g6147qmpg6gv6ic9b54x5v85nb6q60d9jh0jq";
+4
pkgs/development/coq-modules/hierarchy-builder/default.nix
··· 5 owner = "math-comp"; 6 inherit version; 7 defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.12" "8.13"; out = "1.1.0"; } 9 { case = isEq "8.11"; out = "0.10.0"; } 10 ] null; 11 release."1.1.0".sha256 = "sha256-spno5ty4kU4WWiOfzoqbXF8lWlNSlySWcRReR3zE/4Q="; 12 release."1.0.0".sha256 = "0yykygs0z6fby6vkiaiv3azy1i9yx4rqg8xdlgkwnf2284hffzpp"; 13 release."0.10.0".sha256 = "1a3vry9nzavrlrdlq3cys3f8kpq3bz447q8c4c7lh2qal61wb32h"; ··· 18 propagatedBuildInputs = [ coq-elpi ]; 19 20 mlPlugin = true; 21 22 installFlags = [ "DESTDIR=$(out)" "COQMF_COQLIB=lib/coq/${coq.coq-version}" ]; 23 extraInstallFlags = [ "VFILES=structures.v" ];
··· 5 owner = "math-comp"; 6 inherit version; 7 defaultVersion = with versions; switch coq.coq-version [ 8 + { case = range "8.13" "8.14"; out = "1.2.0"; } 9 { case = range "8.12" "8.13"; out = "1.1.0"; } 10 { case = isEq "8.11"; out = "0.10.0"; } 11 ] null; 12 + release."1.2.0".sha256 = "0sk01rvvk652d86aibc8rik2m8iz7jn6mw9hh6xkbxlsvh50719d"; 13 release."1.1.0".sha256 = "sha256-spno5ty4kU4WWiOfzoqbXF8lWlNSlySWcRReR3zE/4Q="; 14 release."1.0.0".sha256 = "0yykygs0z6fby6vkiaiv3azy1i9yx4rqg8xdlgkwnf2284hffzpp"; 15 release."0.10.0".sha256 = "1a3vry9nzavrlrdlq3cys3f8kpq3bz447q8c4c7lh2qal61wb32h"; ··· 20 propagatedBuildInputs = [ coq-elpi ]; 21 22 mlPlugin = true; 23 + 24 + buildPhase = "make build"; 25 26 installFlags = [ "DESTDIR=$(out)" "COQMF_COQLIB=lib/coq/${coq.coq-version}" ]; 27 extraInstallFlags = [ "VFILES=structures.v" ];
-28
pkgs/development/libraries/java/junit/default.nix
··· 1 - { lib, antBuild, fetchgit, perl }: 2 - 3 - let 4 - version = "4.11"; 5 - in antBuild { 6 - name = "junit-${version}"; 7 - 8 - # I think this is only used to generate the docs, and will likely disappear 9 - # with the next release of junit since its build system completely changes. 10 - buildInputs = [perl]; 11 - 12 - src = fetchgit { 13 - url = "https://github.com/junit-team/junit.git"; 14 - sha256 = "1cn5dhs6vpbfbcmnm2vb1212n0kblv8cxrvnwmksjxd6bzlkac1k"; 15 - rev = "c2e4d911fadfbd64444fb285342a8f1b72336169"; 16 - }; 17 - 18 - antProperties = [ 19 - { name = "version"; value = version; } 20 - ]; 21 - 22 - meta = { 23 - homepage = "http://www.junit.org/"; 24 - description = "A framework for repeatable tests in Java"; 25 - license = lib.licenses.epl10; 26 - broken = true; 27 - }; 28 - }
···
-20
pkgs/development/libraries/java/junixsocket/darwin.patch
··· 1 - diff -rc junixsocket-1.3/src/main/org/newsclub/net/unix/NativeUnixSocket.java junixsocket-1.3-new/src/main/org/newsclub/net/unix/NativeUnixSocket.java 2 - *** junixsocket-1.3/src/main/org/newsclub/net/unix/NativeUnixSocket.java Tue Jul 20 14:59:41 2010 3 - --- junixsocket-1.3-new/src/main/org/newsclub/net/unix/NativeUnixSocket.java Sun May 27 22:26:15 2012 4 - *************** 5 - *** 43,49 **** 6 - String prefix = "lib"; 7 - String suffix = ".so"; 8 - String os = osName.replaceAll("[^A-Za-z0-9]", "").toLowerCase(); 9 - ! if ("macosx".equals(os)) { 10 - suffix = ".dylib"; 11 - } else if ("linux".equals(os) || "freebsd".equals(os) 12 - || "sunos".equals(os)) { 13 - --- 43,49 ---- 14 - String prefix = "lib"; 15 - String suffix = ".so"; 16 - String os = osName.replaceAll("[^A-Za-z0-9]", "").toLowerCase(); 17 - ! if ("macosx".equals(os) || "darwin".equals(os)) { 18 - suffix = ".dylib"; 19 - } else if ("linux".equals(os) || "freebsd".equals(os) 20 - || "sunos".equals(os)) {
···
-42
pkgs/development/libraries/java/junixsocket/default.nix
··· 1 - { lib, stdenv, fetchurl, ant, jdk, junit }: 2 - 3 - stdenv.mkDerivation rec { 4 - name = "junixsocket-1.3"; 5 - 6 - src = fetchurl { 7 - url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/junixsocket/${name}-src.tar.bz2"; 8 - sha256 = "0c6p8vmiv5nk8i6g1hgivnl3mpb2k3lhjjz0ss9dlirisfrxf1ym"; 9 - }; 10 - 11 - patches = [ ./darwin.patch ]; 12 - 13 - buildInputs = [ ant jdk junit ]; 14 - 15 - preConfigure = 16 - '' 17 - substituteInPlace src/main/org/newsclub/net/unix/NativeUnixSocketConfig.java \ 18 - --replace /opt/newsclub/lib-native $out/lib 19 - ''; 20 - 21 - buildPhase = "ant"; 22 - 23 - ANT_ARGS = 24 - # Note that our OpenJDK on Darwin is currently 32-bit, so we have to build a 32-bit dylib. 25 - (if stdenv.is64bit then [ "-Dskip32=true" ] else [ "-Dskip64=true" ]) 26 - ++ [ "-Dgcc=${stdenv.cc.targetPrefix}cc" "-Dant.build.javac.source=1.6" ] 27 - ++ lib.optional stdenv.isDarwin "-DisMac=true"; 28 - 29 - installPhase = 30 - '' 31 - mkdir -p $out/share/java $out/lib 32 - cp -v dist/*.jar $out/share/java 33 - cp -v lib-native/*.so lib-native/*.dylib $out/lib/ 34 - ''; 35 - 36 - meta = { 37 - description = "A Java/JNI library for using Unix Domain Sockets from Java"; 38 - homepage = "https://github.com/kohlschutter/junixsocket"; 39 - license = lib.licenses.asl20; 40 - platforms = lib.platforms.linux ++ lib.platforms.darwin; 41 - }; 42 - }
···
+8
pkgs/development/libraries/java/swt/awt-libs.patch
···
··· 1 + --- a/make_linux.mak 2 + +++ b/make_linux.mak 3 + @@ -63,4 +63,4 @@ 4 + 5 + AWT_LFLAGS = -shared ${SWT_LFLAGS} 6 + -AWT_LIBS = -L$(AWT_LIB_PATH) -ljawt 7 + +AWT_LIBS = `pkg-config --libs x11` -L$(AWT_LIB_PATH) -ljawt 8 +
+116 -31
pkgs/development/libraries/java/swt/default.nix
··· 1 - { stdenv, lib, fetchurl, unzip, jdk, pkg-config, gtk2 2 - , libXt, libXtst, libXi, libGLU, libGL, webkitgtk, libsoup, xorg 3 - , pango, gdk-pixbuf, glib 4 }: 5 6 let 7 platformMap = { 8 x86_64-linux = 9 { platform = "gtk-linux-x86_64"; 10 - sha256 = "1qq0pjll6030v4ml0hifcaaik7sx3fl7ghybfdw95vsvxafwp2ff"; }; 11 i686-linux = 12 { platform = "gtk-linux-x86"; 13 - sha256 = "03mhzraikcs4fsz7d3h5af9pw1bbcfd6dglsvbk2ciwimy9zj30q"; }; 14 x86_64-darwin = 15 { platform = "cocoa-macosx-x86_64"; 16 - sha256 = "00k1mfbncvyh8klgmk0891w8jwnd5niqb16j1j8yacrm2smmlb05"; }; 17 }; 18 19 - metadata = assert platformMap ? ${stdenv.hostPlatform.system}; platformMap.${stdenv.hostPlatform.system}; 20 - 21 in stdenv.mkDerivation rec { 22 version = "4.5"; 23 fullVersion = "${version}-201506032000"; 24 - pname = "swt"; 25 26 hardeningDisable = [ "format" ]; 27 28 # Alas, the Eclipse Project apparently doesn't produce source-only 29 # releases of SWT. So we just grab a binary release and extract 30 # "src.zip" from that. 31 - src = fetchurl { 32 - url = "http://archive.eclipse.org/eclipse/downloads/drops4/R-${fullVersion}/${pname}-${version}-${metadata.platform}.zip"; 33 - sha256 = metadata.sha256; 34 }; 35 36 - sourceRoot = "."; 37 38 - nativeBuildInputs = [ unzip pkg-config ]; 39 - buildInputs = [ jdk gtk2 libXt libXtst libXi libGLU libGL webkitgtk libsoup ]; 40 41 - NIX_LFLAGS = toString (map (x: "-L${lib.getLib x}/lib") [ xorg.libX11 pango gdk-pixbuf glib ]) + 42 - " -lX11 -lpango-1.0 -lgdk_pixbuf-2.0 -lglib-2.0"; 43 44 buildPhase = '' 45 - unzip src.zip -d src 46 47 - cd src 48 - sed -i "s#^LFLAGS =#LFLAGS = $NIX_LFLAGS #g" *.mak 49 export JAVA_HOME=${jdk} 50 51 - sh ./build.sh 52 53 mkdir out 54 - javac -d out/ $(find org/ -name "*.java") 55 ''; 56 57 installPhase = '' 58 - mkdir -p $out/lib 59 - cp *.so $out/lib 60 61 - mkdir -p $out/jars 62 - cp version.txt out/ 63 - cd out && jar -c * > $out/jars/swt.jar 64 ''; 65 66 meta = with lib; { 67 - homepage = "http://www.eclipse.org/swt/"; 68 - description = "An widget toolkit for Java to access the user-interface facilities of the operating systems on which it is implemented"; 69 license = licenses.epl10; 70 - maintainers = with maintainers; [ pSub ]; 71 - platforms = with platforms; linux; 72 }; 73 }
··· 1 + { lib 2 + , stdenv 3 + , canonicalize-jars-hook 4 + , fetchzip 5 + , pkg-config 6 + , atk 7 + , glib 8 + , gtk2 9 + , jdk 10 + , libGL 11 + , libGLU 12 + , libXt 13 + , libXtst 14 + , gnome2 15 }: 16 17 let 18 platformMap = { 19 x86_64-linux = 20 { platform = "gtk-linux-x86_64"; 21 + sha256 = "17frac2nsx22hfa72264as31rn35hfh9gfgy0n6wvc3knl5d2716"; }; 22 i686-linux = 23 { platform = "gtk-linux-x86"; 24 + sha256 = "13ca17rga9yvdshqvh0sfzarmdcl4wv4pid0ls7v35v4844zbc8b"; }; 25 x86_64-darwin = 26 { platform = "cocoa-macosx-x86_64"; 27 + sha256 = "0wjyxlw7i9zd2m8syd6k1q85fj8pzhxlfsrl8fpgsj37p698bd0a"; }; 28 }; 29 30 + metadata = assert platformMap ? ${stdenv.hostPlatform.system}; 31 + platformMap.${stdenv.hostPlatform.system}; 32 in stdenv.mkDerivation rec { 33 + pname = "swt"; 34 version = "4.5"; 35 fullVersion = "${version}-201506032000"; 36 37 hardeningDisable = [ "format" ]; 38 39 # Alas, the Eclipse Project apparently doesn't produce source-only 40 # releases of SWT. So we just grab a binary release and extract 41 # "src.zip" from that. 42 + src = fetchzip { 43 + url = "https://archive.eclipse.org/eclipse/downloads/drops4/" + 44 + "R-${fullVersion}/${pname}-${version}-${metadata.platform}.zip"; 45 + inherit (metadata) sha256; 46 + stripRoot = false; 47 + extraPostFetch = '' 48 + mkdir "$unpackDir" 49 + cd "$unpackDir" 50 + 51 + renamed="$TMPDIR/src.zip" 52 + mv "$out/src.zip" "$renamed" 53 + unpackFile "$renamed" 54 + rm -r "$out" 55 + 56 + mv "$unpackDir" "$out" 57 + ''; 58 }; 59 60 + nativeBuildInputs = [ 61 + canonicalize-jars-hook 62 + pkg-config 63 + ]; 64 + buildInputs = [ 65 + atk 66 + gtk2 67 + jdk 68 + libGL 69 + libGLU 70 + libXtst 71 + gnome2.gnome_vfs 72 + gnome2.libgnome 73 + gnome2.libgnomeui 74 + ] ++ lib.optionals (lib.hasPrefix "8u" jdk.version) [ 75 + libXt 76 + ]; 77 78 + patches = [ ./awt-libs.patch ./gtk-libs.patch ]; 79 + 80 + prePatch = '' 81 + # clear whitespace from makefiles (since we match on EOL later) 82 + sed -i 's/ \+$//' ./*.mak 83 + ''; 84 85 + postPatch = let makefile-sed = builtins.toFile "swt-makefile.sed" ('' 86 + # fix pkg-config invocations in CFLAGS/LIBS pairs. 87 + # 88 + # change: 89 + # FOOCFLAGS = `pkg-config --cflags `foo bar` 90 + # FOOLIBS = `pkg-config --libs-only-L foo` -lbaz 91 + # into: 92 + # FOOCFLAGS = `pkg-config --cflags foo bar` 93 + # FOOLIBS = `pkg-config --libs foo bar` 94 + # 95 + # the latter works more consistently. 96 + /^[A-Z0-9_]\+CFLAGS = `pkg-config --cflags [^`]\+`$/ { 97 + N 98 + s'' + 99 + "/" + '' 100 + ^\([A-Z0-9_]\+\)CFLAGS = `pkg-config --cflags \(.\+\)`\ 101 + \1LIBS = `pkg-config --libs-only-L .\+$'' + 102 + "/" + '' 103 + \1CFLAGS = `pkg-config --cflags \2`\ 104 + \1LIBS = `pkg-config --libs \2`'' + 105 + "/\n" + '' 106 + } 107 + # fix WebKit libs not being there 108 + s/\$(WEBKIT_LIB) \$(WEBKIT_OBJECTS)$/\0 `pkg-config --libs glib-2.0`/g 109 + ''); in '' 110 + declare -a makefiles=(./*.mak) 111 + sed -i -f ${makefile-sed} "''${makefiles[@]}" 112 + # assign Makefile variables eagerly & change backticks to `$(shell …)` 113 + sed -i -e 's/ = `\([^`]\+\)`/ := $(shell \1)/' \ 114 + -e 's/`\([^`]\+\)`/$(shell \1)/' \ 115 + "''${makefiles[@]}" 116 + ''; 117 118 buildPhase = '' 119 + runHook preBuild 120 121 export JAVA_HOME=${jdk} 122 123 + ./build.sh 124 125 mkdir out 126 + find org/ -name '*.java' -type f -exec javac -d out/ {} + 127 + 128 + runHook postBuild 129 ''; 130 131 installPhase = '' 132 + runHook preInstall 133 + 134 + if [ -n "$prefix" ]; then 135 + mkdir -p "$prefix" 136 + fi 137 138 + mkdir -p "$out/lib" 139 + cp -t "$out/lib" ./*.so 140 + 141 + mkdir -p "$out/jars" 142 + cp -t out/ version.txt 143 + (cd out && jar -c *) > "$out/jars/swt.jar" 144 + 145 + runHook postInstall 146 ''; 147 148 meta = with lib; { 149 + homepage = "https://www.eclipse.org/swt/"; 150 + description = '' 151 + A widget toolkit for Java to access the user-interface facilities of 152 + the operating systems on which it is implemented. 153 + ''; 154 license = licenses.epl10; 155 + maintainers = with maintainers; [ bb010g ]; 156 + platforms = platforms.linux; 157 }; 158 }
+14
pkgs/development/libraries/java/swt/gtk-libs.patch
···
··· 1 + --- a/make_linux.mak 2 + +++ b/make_linux.mak 3 + @@ -53,9 +53,4 @@ 4 + 5 + -# Do not use pkg-config to get libs because it includes unnecessary dependencies (i.e. pangoxft-1.0) 6 + -GTKCFLAGS = `pkg-config --cflags gtk+-$(GTK_VERSION) gtk+-unix-print-$(GTK_VERSION)` 7 + +GTKCFLAGS = `pkg-config --cflags gtk+-$(GTK_VERSION) gthread-2.0 gtk+-unix-print-$(GTK_VERSION) x11 xtst` 8 + +GTKLIBS = `pkg-config --libs gtk+-$(GTK_VERSION) gthread-2.0 gtk+-unix-print-$(GTK_VERSION) x11 xtst` 9 + -ifeq ($(GTK_VERSION), 3.0) 10 + -GTKLIBS = `pkg-config --libs-only-L gtk+-$(GTK_VERSION) gthread-2.0` $(XLIB64) -L/usr/X11R6/lib -lgtk-3 -lgdk-3 -lcairo -lgthread-2.0 -lXtst 11 + -else 12 + -GTKLIBS = `pkg-config --libs-only-L gtk+-$(GTK_VERSION) gthread-2.0` $(XLIB64) -L/usr/X11R6/lib -lgtk-x11-$(GTK_VERSION) -lgthread-2.0 -lXtst 13 + -endif 14 +
+2 -2
pkgs/development/libraries/libsidplayfp/default.nix
··· 16 17 stdenv.mkDerivation rec { 18 pname = "libsidplayfp"; 19 - version = "2.2.2"; 20 21 src = fetchFromGitHub { 22 owner = "libsidplayfp"; 23 repo = "libsidplayfp"; 24 rev = "v${version}"; 25 fetchSubmodules = true; 26 - sha256 = "sha256-RiglS0aqLRDOfwxhVE95NaKpRy94xfeul18o3NB5L3I="; 27 }; 28 29 postPatch = ''
··· 16 17 stdenv.mkDerivation rec { 18 pname = "libsidplayfp"; 19 + version = "2.3.0"; 20 21 src = fetchFromGitHub { 22 owner = "libsidplayfp"; 23 repo = "libsidplayfp"; 24 rev = "v${version}"; 25 fetchSubmodules = true; 26 + sha256 = "sha256-NtT6NaNs43gp8sgPNkRj85PBbpaG7hdUctDF564nZIk="; 27 }; 28 29 postPatch = ''
+2 -1
pkgs/development/ocaml-modules/elpi/default.nix
··· 1 { stdenv, lib, fetchzip, buildDunePackage, camlp5 2 , ppxlib, ppx_deriving, re, perl, ncurses 3 - , version ? "1.13.5" 4 }: 5 with lib; 6 let fetched = import ../../../build-support/coq/meta-fetch/default.nix 7 {inherit lib stdenv fetchzip; } ({ 8 release."1.13.5".sha256 = "02a6r23mximrdvs6kgv6rp0r2dgk7zynbs99nn7lphw2c4189kka"; 9 release."1.13.1".sha256 = "12a9nbdvg9gybpw63lx3nw5wnxfznpraprb0wj3l68v1w43xq044"; 10 release."1.13.0".sha256 = "0dmzy058m1mkndv90byjaik6lzzfk3aaac7v84mpmkv6my23bygr";
··· 1 { stdenv, lib, fetchzip, buildDunePackage, camlp5 2 , ppxlib, ppx_deriving, re, perl, ncurses 3 + , version ? "1.13.7" 4 }: 5 with lib; 6 let fetched = import ../../../build-support/coq/meta-fetch/default.nix 7 {inherit lib stdenv fetchzip; } ({ 8 + release."1.13.7".sha256 = "10fnwz30bsvj7ii1vg4l1li5pd7n0qqmwj18snkdr5j9gk0apc1r"; 9 release."1.13.5".sha256 = "02a6r23mximrdvs6kgv6rp0r2dgk7zynbs99nn7lphw2c4189kka"; 10 release."1.13.1".sha256 = "12a9nbdvg9gybpw63lx3nw5wnxfznpraprb0wj3l68v1w43xq044"; 11 release."1.13.0".sha256 = "0dmzy058m1mkndv90byjaik6lzzfk3aaac7v84mpmkv6my23bygr";
+2 -2
pkgs/development/python-modules/trimesh/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "trimesh"; 9 - version = "3.9.32"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "4e60f5230a4fd0cda5731f236c370d8e1950894b7dbe7a3222cd4051d3d4bb88"; 14 }; 15 16 propagatedBuildInputs = [ numpy ];
··· 6 7 buildPythonPackage rec { 8 pname = "trimesh"; 9 + version = "3.9.34"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "5bdef3efae82eaee902541376561f74b143f228f5de45ca3f6a883af3bb7d1e1"; 14 }; 15 16 propagatedBuildInputs = [ numpy ];
+2 -2
pkgs/development/web/nodejs/v16.nix
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 - version = "16.12.0"; 12 - sha256 = "1b3bschfa7946jwyqp3nmbdv7ap3rl4p7h50b9bac08981m0lqjz"; 13 patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; 14 }
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 + version = "16.13.0"; 12 + sha256 = "1k6bgs83s5iaawi63dcc826g23lfqr13phwbbzwx0pllqcyln49j"; 13 patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; 14 }
+2 -2
pkgs/os-specific/linux/kernel/linux-4.14.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "4.14.252"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "022rw51s8fzz6wcxa9xq6h60fglfx0hq7bmqgs5dlrci6plv4fwk"; 17 }; 18 } // (args.argsOverride or {}))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "4.14.253"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 + sha256 = "1mgl55c8fa2ry4qp0phkdkzjhwfnkbhvi266n348kyjyqnjl234f"; 17 }; 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.19.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "4.19.213"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "162f5y3jplql3ca5xy889mq6izjinryx2kx16zp582yvsqf8rwiq"; 17 }; 18 } // (args.argsOverride or {}))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "4.19.214"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 + sha256 = "0i08np4gxiks7chp6j328pdqb02apbba53mj4zvxb9v37qpxzqgz"; 17 }; 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.4.nix
··· 1 { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: 2 3 buildLinux (args // rec { 4 - version = "4.4.289"; 5 extraMeta.branch = "4.4"; 6 extraMeta.broken = stdenv.isAarch64; 7 8 src = fetchurl { 9 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 10 - sha256 = "1g77kf0yzwvpdxs3kw7wdvb07mmk3zm6ydjcw5dnsza8q2inl69k"; 11 }; 12 } // (args.argsOverride or {}))
··· 1 { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: 2 3 buildLinux (args // rec { 4 + version = "4.4.290"; 5 extraMeta.branch = "4.4"; 6 extraMeta.broken = stdenv.isAarch64; 7 8 src = fetchurl { 9 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 10 + sha256 = "1dcx58nmzkcc5nz2b5b7mgw4w7y28v3s9wd8h78czdqfa0kxrl20"; 11 }; 12 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.9.nix
··· 1 { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: 2 3 buildLinux (args // rec { 4 - version = "4.9.287"; 5 extraMeta.branch = "4.9"; 6 extraMeta.broken = stdenv.isAarch64; 7 8 src = fetchurl { 9 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 10 - sha256 = "1hlpxnlz0y5vxcmkavsirk2kfb2l34fcvmhlcb99slh28xkjhhfl"; 11 }; 12 } // (args.argsOverride or {}))
··· 1 { buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: 2 3 buildLinux (args // rec { 4 + version = "4.9.288"; 5 extraMeta.branch = "4.9"; 6 extraMeta.broken = stdenv.isAarch64; 7 8 src = fetchurl { 9 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 10 + sha256 = "0v5592v565bl924c23m1n7p5zddr0w7zn8m97pmikk6p7cyhjq9n"; 11 }; 12 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.10.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "5.10.75"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "0jrhhk89587caw54nhnwms93kq33qdm75x5f18cp61xrxxgjyaqa"; 17 }; 18 } // (args.argsOverride or {}))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "5.10.76"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 + sha256 = "140qkvs88b5zh6mxxzpf36z1r8bbvyh3yigripqjz1k236x0j2j8"; 17 }; 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.14.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "5.14.14"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "0snh17ah49wmfmazy6x42rhvl484h657y0iq4l09a885sjb4xzsd"; 17 }; 18 } // (args.argsOverride or { }))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "5.14.15"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 + sha256 = "01m4qw1z7xn3ngsbm1bvcvikqpkjjr9n8585556wkmz9d469mwvl"; 17 }; 18 } // (args.argsOverride or { }))
+2 -2
pkgs/os-specific/linux/kernel/linux-5.4.nix
··· 3 with lib; 4 5 buildLinux (args // rec { 6 - version = "5.4.155"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 - sha256 = "0f2hfz76rnhmv99zhbh7n1z48316ilxrxrnh4b5m3lj84y80y36c"; 17 }; 18 } // (args.argsOverride or {}))
··· 3 with lib; 4 5 buildLinux (args // rec { 6 + version = "5.4.156"; 7 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; ··· 13 14 src = fetchurl { 15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; 16 + sha256 = "1zkpqfhrc5n0yiij3jzvzywgabva53c8668f1ly1pkrzcbj77zh6"; 17 }; 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-libre.nix
··· 1 { stdenv, lib, fetchsvn, linux 2 , scripts ? fetchsvn { 3 url = "https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/"; 4 - rev = "18380"; 5 - sha256 = "0sg7mnxqzc5zdnl8l7gfy1kc52w7c85fdhywvdbjgs7inx2bb1qd"; 6 } 7 , ... 8 }:
··· 1 { stdenv, lib, fetchsvn, linux 2 , scripts ? fetchsvn { 3 url = "https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/"; 4 + rev = "18413"; 5 + sha256 = "1s0nr3pnczr1ijv86307mfhmkk7xn5ah46wx6jrx857agcd73fzq"; 6 } 7 , ... 8 }:
+3 -3
pkgs/os-specific/linux/kernel/linux-rt-5.4.nix
··· 6 , ... } @ args: 7 8 let 9 - version = "5.4.143-rt64"; # updated by ./update-rt.sh 10 branch = lib.versions.majorMinor version; 11 kversion = builtins.elemAt (lib.splitString "-" version) 0; 12 in buildLinux (args // { ··· 14 15 src = fetchurl { 16 url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz"; 17 - sha256 = "090x087p8hxnc1daf2xwj7vg8hg1jhz5i4andkbhdy550l5nalq9"; 18 }; 19 20 kernelPatches = let rt-patch = { 21 name = "rt"; 22 patch = fetchurl { 23 url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz"; 24 - sha256 = "0prfrvk2ds20sclikizzgg5qf4mfcyaymp9r272d5nj35293622n"; 25 }; 26 }; in [ rt-patch ] ++ kernelPatches; 27
··· 6 , ... } @ args: 7 8 let 9 + version = "5.4.154-rt65"; # updated by ./update-rt.sh 10 branch = lib.versions.majorMinor version; 11 kversion = builtins.elemAt (lib.splitString "-" version) 0; 12 in buildLinux (args // { ··· 14 15 src = fetchurl { 16 url = "mirror://kernel/linux/kernel/v5.x/linux-${kversion}.tar.xz"; 17 + sha256 = "01iwbz1ncakw90yykdw3cx04wnclwf1qa8nmlis08svbcvs99285"; 18 }; 19 20 kernelPatches = let rt-patch = { 21 name = "rt"; 22 patch = fetchurl { 23 url = "mirror://kernel/linux/kernel/projects/rt/${branch}/older/patch-${version}.patch.xz"; 24 + sha256 = "0vbcmwg91hzcxiwq9dj550bw24k8r7lk61j06nwcnwmjg9a3g449"; 25 }; 26 }; in [ rt-patch ] ++ kernelPatches; 27
+2 -2
pkgs/servers/adguardhome/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchzip, system ? stdenv.targetPlatform }: 2 3 stdenv.mkDerivation rec { 4 pname = "adguardhome"; 5 version = "0.106.3"; 6 7 - src = (import ./bins.nix { inherit fetchurl fetchzip; }).${system}; 8 9 installPhase = '' 10 install -m755 -D ./AdGuardHome $out/bin/adguardhome
··· 1 + { lib, stdenv, fetchurl, fetchzip }: 2 3 stdenv.mkDerivation rec { 4 pname = "adguardhome"; 5 version = "0.106.3"; 6 7 + src = (import ./bins.nix { inherit fetchurl fetchzip; }).${stdenv.hostPlatform.system}; 8 9 installPhase = '' 10 install -m755 -D ./AdGuardHome $out/bin/adguardhome
+2 -2
pkgs/servers/http/nginx/quic.nix
··· 6 callPackage ./generic.nix args { 7 src = fetchhg { 8 url = "https://hg.nginx.org/nginx-quic"; 9 - rev = "404de224517e"; # branch=quic 10 - sha256 = "00x8djp3hqnq60jzpddfrj0v23j2fbl27jyw609ha3wqkkbxrip9"; 11 }; 12 13 preConfigure = ''
··· 6 callPackage ./generic.nix args { 7 src = fetchhg { 8 url = "https://hg.nginx.org/nginx-quic"; 9 + rev = "6d1488b62dc5"; # branch=quic 10 + sha256 = "18xrkzzi4cxl4zi7clikwww9ad9l7vilrfs67hhzx7898jkws5fi"; 11 }; 12 13 preConfigure = ''
+2 -2
pkgs/servers/misc/navidrome/default.nix
··· 1 - { lib, stdenv, pkgs, fetchurl, ffmpeg, ffmpegSupport ? true, makeWrapper, nixosTests }: 2 3 with lib; 4 ··· 7 version = "0.45.1"; 8 9 10 - src = fetchurl (if pkgs.system == "x86_64-linux" 11 then { 12 url = "https://github.com/deluan/navidrome/releases/download/v${version}/navidrome_${version}_Linux_x86_64.tar.gz"; 13 sha256 = "sha256-TZcXq51sKoeLPmcRpv4VILDmS6dsS7lxlJzTDH0tEWM=";
··· 1 + { lib, stdenv, fetchurl, ffmpeg, ffmpegSupport ? true, makeWrapper, nixosTests }: 2 3 with lib; 4 ··· 7 version = "0.45.1"; 8 9 10 + src = fetchurl (if stdenv.hostPlatform.system == "x86_64-linux" 11 then { 12 url = "https://github.com/deluan/navidrome/releases/download/v${version}/navidrome_${version}_Linux_x86_64.tar.gz"; 13 sha256 = "sha256-TZcXq51sKoeLPmcRpv4VILDmS6dsS7lxlJzTDH0tEWM=";
+18 -10
pkgs/servers/nsq/default.nix
··· 1 - { buildGoPackage, fetchFromGitHub }: 2 3 - buildGoPackage rec { 4 pname = "nsq"; 5 - version = "0.3.5"; 6 - rev = "v${version}"; 7 - 8 - goPackagePath = "github.com/bitly/nsq"; 9 10 src = fetchFromGitHub { 11 - inherit rev; 12 - owner = "bitly"; 13 repo = "nsq"; 14 - sha256 = "1r7jgplzn6bgwhd4vn8045n6cmm4iqbzssbjgj7j1c28zbficy2f"; 15 }; 16 17 - goDeps = ./deps.nix; 18 }
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 3 + buildGoModule rec { 4 pname = "nsq"; 5 + version = "1.2.1"; 6 7 src = fetchFromGitHub { 8 + owner = "nsqio"; 9 repo = "nsq"; 10 + rev = "v${version}"; 11 + sha256 = "0ajqjwfn06zsmz21z9mkl4cblarypaf20228pqcd1293zl6y3ry8"; 12 }; 13 14 + vendorSha256 = "11sx96zshaciqrm8rqmhz1sf6nd4lczqwiha031xyyifvmpp2hsa"; 15 + 16 + excludedPackages = [ "bench" ]; 17 + 18 + ldflags = [ "-s" "-w" ]; 19 + 20 + meta = with lib; { 21 + homepage = "https://nsq.io/"; 22 + description = "A realtime distributed messaging platform"; 23 + changelog = "https://github.com/nsqio/nsq/raw/v${version}/ChangeLog.md"; 24 + license = licenses.mit; 25 + }; 26 }
-83
pkgs/servers/nsq/deps.nix
··· 1 - [ 2 - { 3 - goPackagePath = "github.com/mreiferson/go-snappystream"; 4 - fetch = { 5 - type = "git"; 6 - url = "https://github.com/mreiferson/go-snappystream"; 7 - rev = "028eae7ab5c4c9e2d1cb4c4ca1e53259bbe7e504"; 8 - sha256 = "0jdd5whp74nvg35d9hzydsi3shnb1vrnd7shi9qz4wxap7gcrid6"; 9 - }; 10 - } 11 - { 12 - goPackagePath = "github.com/bitly/go-nsq"; 13 - fetch = { 14 - type = "git"; 15 - url = "https://github.com/bitly/go-nsq"; 16 - rev = "22a8bd48c443ec23bb559675b6df8284bbbdab29"; 17 - sha256 = "06hrkwk84w8rshkanvfgmgbiml7n06ybv192dvibhwgk2wz2dl46"; 18 - }; 19 - } 20 - { 21 - goPackagePath = "github.com/bitly/go-simplejson"; 22 - fetch = { 23 - type = "git"; 24 - url = "https://github.com/bitly/go-simplejson"; 25 - rev = "18db6e68d8fd9cbf2e8ebe4c81a78b96fd9bf05a"; 26 - sha256 = "0lj9cxyncchlw6p35j0yym5q5waiz0giw6ri41qdwm8y3dghwwiy"; 27 - }; 28 - } 29 - { 30 - goPackagePath = "github.com/blang/semver"; 31 - fetch = { 32 - type = "git"; 33 - url = "https://github.com/blang/semver"; 34 - rev = "9bf7bff48b0388cb75991e58c6df7d13e982f1f2"; 35 - sha256 = "11sinbf942dpyc9wdpidkhmqn438cfp5n8x3xqnmq9aszkld9hy7"; 36 - }; 37 - } 38 - { 39 - goPackagePath = "github.com/bmizerany/perks"; 40 - fetch = { 41 - type = "git"; 42 - url = "https://github.com/bmizerany/perks"; 43 - rev = "6cb9d9d729303ee2628580d9aec5db968da3a607"; 44 - sha256 = "0cdh84hmn21is6hvv6dy9qjdcg9w3l2k8avlk0881a8cqm09s90j"; 45 - }; 46 - } 47 - { 48 - goPackagePath = "github.com/BurntSushi/toml"; 49 - fetch = { 50 - type = "git"; 51 - url = "https://github.com/BurntSushi/toml"; 52 - rev = "056c9bc7be7190eaa7715723883caffa5f8fa3e4"; 53 - sha256 = "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw"; 54 - }; 55 - } 56 - { 57 - goPackagePath = "github.com/bitly/go-hostpool"; 58 - fetch = { 59 - type = "git"; 60 - url = "https://github.com/bitly/go-hostpool"; 61 - rev = "d0e59c22a56e8dadfed24f74f452cea5a52722d2"; 62 - sha256 = "14ph12krn5zlg00vh9g6g08lkfjxnpw46nzadrfb718yl1hgyk3g"; 63 - }; 64 - } 65 - { 66 - goPackagePath = "github.com/bitly/timer_metrics"; 67 - fetch = { 68 - type = "git"; 69 - url = "https://github.com/bitly/timer_metrics"; 70 - rev = "afad1794bb13e2a094720aeb27c088aa64564895"; 71 - sha256 = "1b717vkwj63qb5kan4b92kx4rg6253l5mdb3lxpxrspy56a6rl0c"; 72 - }; 73 - } 74 - { 75 - goPackagePath = "github.com/mreiferson/go-options"; 76 - fetch = { 77 - type = "git"; 78 - url = "https://github.com/mreiferson/go-options"; 79 - rev = "7c174072188d0cfbe6f01bb457626abb22bdff52"; 80 - sha256 = "0ksyi2cb4k6r2fxamljg42qbz5hdcb9kv5i7y6cx4ajjy0xznwgm"; 81 - }; 82 - } 83 - ]
···
+3 -3
pkgs/servers/plex/raw.nix
··· 12 # server, and the FHS userenv and corresponding NixOS module should 13 # automatically pick up the changes. 14 stdenv.mkDerivation rec { 15 - version = "1.24.4.5081-e362dc1ee"; 16 pname = "plexmediaserver"; 17 18 # Fetch the source 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 - sha256 = "0q3s1qcr65rx2jbf9k0i38w5xvnzw1wcy13gvm0150ad2hqw358b"; 22 } else fetchurl { 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 - sha256 = "17igy0lq7mjmrw5xq92b57np422x8hj6m8qzjri493yc6fw1cl1m"; 25 }; 26 27 outputs = [ "out" "basedb" ];
··· 12 # server, and the FHS userenv and corresponding NixOS module should 13 # automatically pick up the changes. 14 stdenv.mkDerivation rec { 15 + version = "1.24.5.5173-8dcc73a59"; 16 pname = "plexmediaserver"; 17 18 # Fetch the source 19 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl { 20 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb"; 21 + sha256 = "0yjnqvy2maym7dmfabj0zjd1gwjnnjwqxzk7j24a1vhwyy0dmjcf"; 22 } else fetchurl { 23 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb"; 24 + sha256 = "1k2plcqlklch2k8akj8m411i3cm0jvzj02f5x43yhjgjpmwww95z"; 25 }; 26 27 outputs = [ "out" "basedb" ];
+3 -2
pkgs/servers/web-apps/bookstack/default.nix
··· 1 - { pkgs, system, lib, fetchFromGitHub, dataDir ? "/var/lib/bookstack" }: 2 3 let 4 package = (import ./composition.nix { 5 - inherit pkgs system; 6 noDev = true; # Disable development dependencies 7 }).overrideAttrs (attrs : { 8 installPhase = attrs.installPhase + ''
··· 1 + { pkgs, stdenv, lib, fetchFromGitHub, dataDir ? "/var/lib/bookstack" }: 2 3 let 4 package = (import ./composition.nix { 5 + inherit pkgs; 6 + inherit (stdenv.hostPlatform) system; 7 noDev = true; # Disable development dependencies 8 }).overrideAttrs (attrs : { 9 installPhase = attrs.installPhase + ''
+2 -2
pkgs/servers/zigbee2mqtt/default.nix
··· 1 - { pkgs, system, dataDir ? "/opt/zigbee2mqtt/data", nixosTests }: 2 let 3 - package = (import ./node.nix { inherit pkgs system; }).package; 4 in 5 package.override rec { 6 # don't upgrade! Newer versions cause stack overflows and fail trunk-combined
··· 1 + { pkgs, stdenv, dataDir ? "/opt/zigbee2mqtt/data", nixosTests }: 2 let 3 + package = (import ./node.nix { inherit pkgs; inherit (stdenv.hostPlatform) system; }).package; 4 in 5 package.override rec { 6 # don't upgrade! Newer versions cause stack overflows and fail trunk-combined
+3 -3
pkgs/tools/misc/broot/default.nix
··· 14 15 rustPlatform.buildRustPackage rec { 16 pname = "broot"; 17 - version = "1.6.2"; 18 19 src = fetchCrate { 20 inherit pname version; 21 - sha256 = "sha256-SjfTMBGby2jzmeNEtBVYqumLExhXW8nqxpbaeeaRM3w="; 22 }; 23 24 - cargoHash = "sha256-BdSqTzXu7Glhr0fQGmnkg5BXYgdQS6jgfH3A9hPpECY="; 25 26 nativeBuildInputs = [ 27 installShellFiles
··· 14 15 rustPlatform.buildRustPackage rec { 16 pname = "broot"; 17 + version = "1.6.6"; 18 19 src = fetchCrate { 20 inherit pname version; 21 + sha256 = "sha256-Aezi005CKhGwCRZ2HwxFRRORBvVoZEzljTcKQZ8b8XI="; 22 }; 23 24 + cargoHash = "sha256-d06lvS5ajXPY/AwmE2rkya82mAOeEv04EtBElDvX2+I="; 25 26 nativeBuildInputs = [ 27 installShellFiles
+1 -1
pkgs/tools/misc/fx_cast/default.nix
··· 8 # nix run nixpkgs.nodePackages.node2nix -c node2nix -l package-lock.json -d 9 # cp -v node-*.nix package*.json ~/p/nixpkgs/pkgs/tools/misc/fx_cast/app 10 # ``` 11 - { pkgs, stdenv, system }: let 12 nodeEnv = import ./node-env.nix { 13 inherit (pkgs) nodejs stdenv lib python2 runCommand writeTextFile; 14 inherit pkgs;
··· 8 # nix run nixpkgs.nodePackages.node2nix -c node2nix -l package-lock.json -d 9 # cp -v node-*.nix package*.json ~/p/nixpkgs/pkgs/tools/misc/fx_cast/app 10 # ``` 11 + { pkgs, stdenv }: let 12 nodeEnv = import ./node-env.nix { 13 inherit (pkgs) nodejs stdenv lib python2 runCommand writeTextFile; 14 inherit pkgs;
+4 -4
pkgs/tools/networking/gping/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "gping"; 10 - version = "1.2.1"; 11 12 src = fetchFromGitHub { 13 owner = "orf"; 14 repo = "gping"; 15 - rev = "v${version}"; 16 - sha256 = "sha256-lApm1JLXNjDKLj6zj25OaZDVp7lLW3qyrDsvJrudl8I="; 17 }; 18 19 - cargoSha256 = "sha256-d1NjPwT3YDp1U9JWeUejpWDbJonFlt5lYbUf7p3jVT0="; 20 21 buildInputs = lib.optional stdenv.isDarwin libiconv; 22
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "gping"; 10 + version = "1.2.6"; 11 12 src = fetchFromGitHub { 13 owner = "orf"; 14 repo = "gping"; 15 + rev = "gping-v${version}"; 16 + sha256 = "sha256-Sxmwuf+iTBTlpfMFCEUp6JyEaoHgmLIKB/gws2KY/xc="; 17 }; 18 19 + cargoSha256 = "sha256-xEASs6r5zxYJXS+at6aX5n0whGp5qwuNwq6Jh0GM+/4="; 20 21 buildInputs = lib.optional stdenv.isDarwin libiconv; 22
+1 -1
pkgs/tools/package-management/nix/default.nix
··· 208 patches = (drv.patches or []) ++ [ 209 # Part of the GC solution in https://github.com/NixOS/nix/pull/4944 210 (fetchpatch { 211 - url = https://github.com/hercules-ci/nix/raw/5c58d84a76d96f269e3ff1e72c9c9ba5f68576af/boehmgc-coroutine-sp-fallback.diff; 212 sha256 = "sha256-JvnWVTlkltmQUs/0qApv/LPZ690UX1/2hEP+LYRwKbI="; 213 }) 214 ];
··· 208 patches = (drv.patches or []) ++ [ 209 # Part of the GC solution in https://github.com/NixOS/nix/pull/4944 210 (fetchpatch { 211 + url = "https://github.com/hercules-ci/nix/raw/5c58d84a76d96f269e3ff1e72c9c9ba5f68576af/boehmgc-coroutine-sp-fallback.diff"; 212 sha256 = "sha256-JvnWVTlkltmQUs/0qApv/LPZ690UX1/2hEP+LYRwKbI="; 213 }) 214 ];
+2
pkgs/top-level/aliases.nix
··· 1214 targetLlvmLibraries = targetPackages.llvmPackages_git.libraries; 1215 }); 1216 1217 })
··· 1214 targetLlvmLibraries = targetPackages.llvmPackages_git.libraries; 1215 }); 1216 1217 + inherit (stdenv.hostPlatform) system; # added 2021-10-22 1218 + 1219 })
+11 -4
pkgs/top-level/all-packages.nix
··· 153 154 appindicator-sharp = callPackage ../development/libraries/appindicator-sharp { }; 155 156 ensureNewerSourcesHook = { year }: makeSetupHook {} 157 (writeScript "ensure-newer-sources-hook.sh" '' 158 postUnpackHooks+=(_ensureNewerSources) ··· 20156 20157 jflex = callPackage ../development/libraries/java/jflex { }; 20158 20159 - junit = callPackage ../development/libraries/java/junit { antBuild = releaseTools.antBuild; }; 20160 - 20161 - junixsocket = callPackage ../development/libraries/java/junixsocket { }; 20162 - 20163 lombok = callPackage ../development/libraries/java/lombok { }; 20164 20165 lucene = callPackage ../development/libraries/java/lucene { }; ··· 24561 etherape = callPackage ../applications/networking/sniffers/etherape { }; 24562 24563 evilpixie = libsForQt5.callPackage ../applications/graphics/evilpixie { }; 24564 24565 exaile = callPackage ../applications/audio/exaile { }; 24566
··· 153 154 appindicator-sharp = callPackage ../development/libraries/appindicator-sharp { }; 155 156 + canonicalize-jar = callPackage ../build-support/java/canonicalize-jar.nix { }; 157 + canonicalize-jars-hook = makeSetupHook { 158 + name = "canonicalize-jars-hook"; 159 + substitutions = { canonicalize_jar = canonicalize-jar; }; 160 + } ../build-support/setup-hooks/canonicalize-jars.sh; 161 + 162 ensureNewerSourcesHook = { year }: makeSetupHook {} 163 (writeScript "ensure-newer-sources-hook.sh" '' 164 postUnpackHooks+=(_ensureNewerSources) ··· 20162 20163 jflex = callPackage ../development/libraries/java/jflex { }; 20164 20165 lombok = callPackage ../development/libraries/java/lombok { }; 20166 20167 lucene = callPackage ../development/libraries/java/lucene { }; ··· 24563 etherape = callPackage ../applications/networking/sniffers/etherape { }; 24564 24565 evilpixie = libsForQt5.callPackage ../applications/graphics/evilpixie { }; 24566 + 24567 + eww = callPackage ../applications/window-managers/eww { }; 24568 + eww-wayland = callPackage ../applications/window-managers/eww { 24569 + withWayland = true; 24570 + }; 24571 24572 exaile = callPackage ../applications/audio/exaile { }; 24573
+8 -8
pkgs/top-level/perl-packages.nix
··· 229 buildInputs = [ Test2Suite ]; 230 propagatedBuildInputs = [ AlienBuild ArchiveExtract CaptureTiny Filechdir PathTiny ShellConfigGenerate ShellGuess SortVersions URI ]; 231 meta = { 232 - homepage = https://metacpan.org/pod/Alien::Base::ModuleBuild; 233 description = "A Module::Build subclass for building Alien:: modules and their libraries"; 234 license = with lib.licenses; [ artistic1 gpl1Plus ]; 235 }; ··· 9987 }; 9988 propagatedBuildInputs = [ IPCRun URI constant-defer ]; 9989 meta = { 9990 - homepage = http://user42.tuxfamily.org/html-formatexternal/index.html; 9991 description = "HTML to text formatting using external programs"; 9992 license = lib.licenses.gpl3Plus; 9993 }; ··· 15032 makeMakerFlags = "POSTGRES_HOME=${pkgs.postgresql}"; 15033 15034 meta = { 15035 - homepage = https://github.com/TJC/Test-postgresql; 15036 description = "PostgreSQL runner for tests"; 15037 license = with lib.licenses; [ artistic2 ]; 15038 }; ··· 17378 buildInputs = [ ModuleBuildTiny TestFatal ]; 17379 propagatedBuildInputs = [ Moo MooXTypeTiny TryTiny TypeTiny ]; 17380 meta = { 17381 - homepage = https://github.com/karenetheridge/Path-Dispatcher; 17382 description = "Flexible and extensible dispatch"; 17383 license = with lib.licenses; [ artistic1 gpl1Plus ]; 17384 }; ··· 20093 buildInputs = [ Test2Suite ]; 20094 propagatedBuildInputs = [ ShellGuess ]; 20095 meta = { 20096 - homepage = https://metacpan.org/pod/Shell::Config::Generate; 20097 description = "Portably generate config for any shell"; 20098 license = with lib.licenses; [ artistic1 gpl1Plus ]; 20099 }; ··· 20107 sha256 = "4069fa2637e443118ed956d710231d166823d23b2a64eb87b8a46872e865a12b"; 20108 }; 20109 meta = { 20110 - homepage = https://metacpan.org/pod/Shell::Guess; 20111 description = "Make an educated guess about the shell in use"; 20112 license = with lib.licenses; [ artistic1 gpl1Plus ]; 20113 }; ··· 23366 }; 23367 propagatedBuildInputs = [ AlgorithmDiff HTMLParser ]; 23368 meta = { 23369 - homepage = https://metacpan.org/release/Text-WordDiff; 23370 description = "Track changes between documents"; 23371 license = with lib.licenses; [ artistic1 gpl1Plus ]; 23372 }; ··· 25121 buildInputs = [ NetHTTP TestFailWarnings TestFatal ]; 25122 propagatedBuildInputs = [ HTTPHeadersActionPack HTTPMessage HashMultiValue IOHandleUtil ModuleRuntime Plack SubExporter TryTiny ]; 25123 meta = { 25124 - homepage = http://metacpan.org/release/Web-Machine; 25125 description = "A Perl port of Webmachine"; 25126 license = with lib.licenses; [ artistic1 gpl1Plus ]; 25127 };
··· 229 buildInputs = [ Test2Suite ]; 230 propagatedBuildInputs = [ AlienBuild ArchiveExtract CaptureTiny Filechdir PathTiny ShellConfigGenerate ShellGuess SortVersions URI ]; 231 meta = { 232 + homepage = "https://metacpan.org/pod/Alien::Base::ModuleBuild"; 233 description = "A Module::Build subclass for building Alien:: modules and their libraries"; 234 license = with lib.licenses; [ artistic1 gpl1Plus ]; 235 }; ··· 9987 }; 9988 propagatedBuildInputs = [ IPCRun URI constant-defer ]; 9989 meta = { 9990 + homepage = "http://user42.tuxfamily.org/html-formatexternal/index.html"; 9991 description = "HTML to text formatting using external programs"; 9992 license = lib.licenses.gpl3Plus; 9993 }; ··· 15032 makeMakerFlags = "POSTGRES_HOME=${pkgs.postgresql}"; 15033 15034 meta = { 15035 + homepage = "https://github.com/TJC/Test-postgresql"; 15036 description = "PostgreSQL runner for tests"; 15037 license = with lib.licenses; [ artistic2 ]; 15038 }; ··· 17378 buildInputs = [ ModuleBuildTiny TestFatal ]; 17379 propagatedBuildInputs = [ Moo MooXTypeTiny TryTiny TypeTiny ]; 17380 meta = { 17381 + homepage = "https://github.com/karenetheridge/Path-Dispatcher"; 17382 description = "Flexible and extensible dispatch"; 17383 license = with lib.licenses; [ artistic1 gpl1Plus ]; 17384 }; ··· 20093 buildInputs = [ Test2Suite ]; 20094 propagatedBuildInputs = [ ShellGuess ]; 20095 meta = { 20096 + homepage = "https://metacpan.org/pod/Shell::Config::Generate"; 20097 description = "Portably generate config for any shell"; 20098 license = with lib.licenses; [ artistic1 gpl1Plus ]; 20099 }; ··· 20107 sha256 = "4069fa2637e443118ed956d710231d166823d23b2a64eb87b8a46872e865a12b"; 20108 }; 20109 meta = { 20110 + homepage = "https://metacpan.org/pod/Shell::Guess"; 20111 description = "Make an educated guess about the shell in use"; 20112 license = with lib.licenses; [ artistic1 gpl1Plus ]; 20113 }; ··· 23366 }; 23367 propagatedBuildInputs = [ AlgorithmDiff HTMLParser ]; 23368 meta = { 23369 + homepage = "https://metacpan.org/release/Text-WordDiff"; 23370 description = "Track changes between documents"; 23371 license = with lib.licenses; [ artistic1 gpl1Plus ]; 23372 }; ··· 25121 buildInputs = [ NetHTTP TestFailWarnings TestFatal ]; 25122 propagatedBuildInputs = [ HTTPHeadersActionPack HTTPMessage HashMultiValue IOHandleUtil ModuleRuntime Plack SubExporter TryTiny ]; 25123 meta = { 25124 + homepage = "http://metacpan.org/release/Web-Machine"; 25125 description = "A Perl port of Webmachine"; 25126 license = with lib.licenses; [ artistic1 gpl1Plus ]; 25127 };
-1
pkgs/top-level/stage.nix
··· 116 inherit (super.stdenv) buildPlatform hostPlatform targetPlatform; 117 in { 118 inherit buildPlatform hostPlatform targetPlatform; 119 - inherit (hostPlatform) system; 120 }; 121 122 splice = self: super: import ./splice.nix lib self (adjacentPackages != null);
··· 116 inherit (super.stdenv) buildPlatform hostPlatform targetPlatform; 117 in { 118 inherit buildPlatform hostPlatform targetPlatform; 119 }; 120 121 splice = self: super: import ./splice.nix lib self (adjacentPackages != null);