Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 8077f060 856913b1

+142 -48
+5 -5
pkgs/applications/editors/vscode/vscodium.nix
··· 13 archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz"; 14 15 sha256 = { 16 - x86_64-linux = "11zj9b8zhgfyh3m78ihg1k78m3v1khwa742mmsxji6ryxqkhvnr4"; 17 - x86_64-darwin = "19jk8rry11dvyfprq8i2j9r9aj17kfxqx5hl069mlkz0ca18kxmc"; 18 - aarch64-linux = "01slccwqhh6njd8q278svbfxph5lajx77ns03yrj9iva8w48gixy"; 19 - armv7l-linux = "1g7zq6y99b5sg8g10hq50qr15m99n0cmydm6rl9dkyca2038ihbi"; 20 }.${system}; 21 22 sourceRoot = { ··· 31 32 # Please backport all compatible updates to the stable release. 33 # This is important for the extension ecosystem. 34 - version = "1.60.2"; 35 pname = "vscodium"; 36 37 executableName = "codium";
··· 13 archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz"; 14 15 sha256 = { 16 + x86_64-linux = "072wdzl8gp4ygprgza4cfg46fvrd13zx9za5fa8s6vsd9w1l95l7"; 17 + x86_64-darwin = "083sipxp9r7g6p6la15jjlib52l8xjbfxn2cb05scigq3zsyffy7"; 18 + aarch64-linux = "1s82f6ba57r7bnjhbanmih5g7wa001sf6php1402w06cxxy7dz00"; 19 + armv7l-linux = "113nk1rqw07giqq8pnc11dymzxdhj3nn3q2p0fppnm3lpccaq9hs"; 20 }.${system}; 21 22 sourceRoot = { ··· 31 32 # Please backport all compatible updates to the stable release. 33 # This is important for the extension ecosystem. 34 + version = "1.61.0"; 35 pname = "vscodium"; 36 37 executableName = "codium";
+2 -2
pkgs/applications/misc/koreader/default.nix
··· 13 let font-droid = nerdfonts.override { fonts = [ "DroidSansMono" ]; }; 14 in stdenv.mkDerivation rec { 15 pname = "koreader"; 16 - version = "2021.03"; 17 18 src = fetchurl { 19 url = 20 "https://github.com/koreader/koreader/releases/download/v${version}/koreader-${version}-amd64.deb"; 21 - sha256 = "sha256-XdCyx+SdcV1QitDVkOl9EZCHpU8Qiwu0qhcXkU6b+9o="; 22 }; 23 24 sourceRoot = ".";
··· 13 let font-droid = nerdfonts.override { fonts = [ "DroidSansMono" ]; }; 14 in stdenv.mkDerivation rec { 15 pname = "koreader"; 16 + version = "2021.09"; 17 18 src = fetchurl { 19 url = 20 "https://github.com/koreader/koreader/releases/download/v${version}/koreader-${version}-amd64.deb"; 21 + sha256 = "1q2mbmczx2y5ylriq4k3lbjlpw4pwfq2vvcx06ymax31fsrvix84"; 22 }; 23 24 sourceRoot = ".";
+4 -3
pkgs/applications/office/portfolio/default.nix
··· 1 - { lib, stdenv 2 , autoPatchelfHook 3 , fetchurl 4 , glibc ··· 24 in 25 stdenv.mkDerivation rec { 26 pname = "PortfolioPerformance"; 27 - version = "0.54.2"; 28 29 src = fetchurl { 30 url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz"; 31 - sha256 = "sha256-fKUKVeR0q8oylpwF4d3jnkON4vbQ80Fc9WYWStb67ek="; 32 }; 33 34 nativeBuildInputs = [
··· 1 + { lib 2 + , stdenv 3 , autoPatchelfHook 4 , fetchurl 5 , glibc ··· 25 in 26 stdenv.mkDerivation rec { 27 pname = "PortfolioPerformance"; 28 + version = "0.55.0"; 29 30 src = fetchurl { 31 url = "https://github.com/buchen/portfolio/releases/download/${version}/PortfolioPerformance-${version}-linux.gtk.x86_64.tar.gz"; 32 + sha256 = "0s7qb7z2wiypiahw1y1lz9pbhxcacj5myzy0qcqjrpnaq7ymvs05"; 33 }; 34 35 nativeBuildInputs = [
+2 -2
pkgs/applications/version-management/gitea/default.nix
··· 16 17 buildGoPackage rec { 18 pname = "gitea"; 19 - version = "1.15.3"; 20 21 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 22 src = fetchurl { 23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; 24 - sha256 = "sha256-r8FP9jEIChg4XDb0AF9riQBpNCVmffrVI0yzI83qwA0="; 25 }; 26 27 unpackPhase = ''
··· 16 17 buildGoPackage rec { 18 pname = "gitea"; 19 + version = "1.15.4"; 20 21 # not fetching directly from the git repo, because that lacks several vendor files for the web UI 22 src = fetchurl { 23 url = "https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"; 24 + sha256 = "sha256-UsaTA6bI5pr3vbvO3jFn8A8qVRi385fbiJQD09Ut/X0="; 25 }; 26 27 unpackPhase = ''
+3 -3
pkgs/data/fonts/3270font/default.nix
··· 1 { lib, fetchzip }: 2 let 3 - version = "2.3.0"; 4 in 5 fetchzip { 6 name = "3270font-${version}"; 7 8 - url = "https://github.com/rbanffy/3270font/releases/download/v${version}/3270_fonts_fd00815.zip"; 9 10 - sha256 = "0ny2jcsfa1kfzkm979dfzqv756ijm5xirm02ln7a4kwhxxsm5xr1"; 11 12 postFetch = '' 13 mkdir -p $out/share/fonts/
··· 1 { lib, fetchzip }: 2 let 3 + version = "2.3.1"; 4 in 5 fetchzip { 6 name = "3270font-${version}"; 7 8 + url = "https://github.com/rbanffy/3270font/releases/download/v${version}/3270_fonts_3b8f2fb.zip"; 9 10 + sha256 = "06n87ydn2ayfhpg8318chmnwmdk3d4mmy65fcgf8frbiv2kpqncs"; 11 12 postFetch = '' 13 mkdir -p $out/share/fonts/
+66
pkgs/development/interpreters/dzaima-apl/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , jdk 5 + , makeWrapper 6 + , buildNativeImage ? true 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "dapl" + lib.optionalString buildNativeImage "-native"; 11 + version = "0.2.0+unstable=2021-06-30"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "dzaima"; 15 + repo = "APL"; 16 + rev = "28b3667beb23c6472266bb2b6eb701708fa421c6"; 17 + hash = "sha256-2kM9XDMclxJNOZngwLvoDQG23UZQQ6ePK/j215UumCg="; 18 + }; 19 + 20 + nativeBuildInputs = [ 21 + makeWrapper 22 + jdk 23 + ]; 24 + 25 + dontConfigure = true; 26 + 27 + buildPhase = '' 28 + runHook preBuild 29 + 30 + patchShebangs --build ./build 31 + ./build 32 + '' + lib.optionalString buildNativeImage '' 33 + native-image --report-unsupported-elements-at-runtime \ 34 + -H:CLibraryPath=${lib.getLib jdk}/lib -jar APL.jar dapl 35 + '' + '' 36 + runHook postBuild 37 + ''; 38 + 39 + installPhase = '' 40 + runHook preInstall 41 + 42 + mkdir -p $out/bin 43 + '' + (if buildNativeImage then '' 44 + mv dapl $out/bin 45 + '' else '' 46 + mkdir -p $out/share/${pname} 47 + mv APL.jar $out/share/${pname}/ 48 + 49 + makeWrapper "${lib.getBin jdk}/bin/java" "$out/bin/dapl" \ 50 + --add-flags "-jar $out/share/${pname}/APL.jar" 51 + '') + '' 52 + ln -s $out/bin/dapl $out/bin/apl 53 + 54 + runHook postInstall 55 + ''; 56 + 57 + meta = with lib; { 58 + homepage = "https://github.com/dzaima/APL"; 59 + description = "An APL implementation in Java" + lib.optionalString buildNativeImage ", compiled as a native image"; 60 + license = licenses.mit; 61 + maintainers = with maintainers; [ AndersonTorres ]; 62 + inherit (jdk.meta) platforms; 63 + }; 64 + } 65 + # TODO: Processing app 66 + # TODO: minimalistic JDK
+12 -2
pkgs/development/libraries/grpc/default.nix
··· 57 "-DgRPC_ABSL_PROVIDER=package" 58 "-DBUILD_SHARED_LIBS=ON" 59 "-DCMAKE_SKIP_BUILD_RPATH=OFF" 60 - "-DCMAKE_CXX_STANDARD=17" 61 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 62 "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc" 63 ]; ··· 68 rm -vf BUILD 69 ''; 70 71 - preBuild = '' 72 export LD_LIBRARY_PATH=$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH 73 ''; 74
··· 57 "-DgRPC_ABSL_PROVIDER=package" 58 "-DBUILD_SHARED_LIBS=ON" 59 "-DCMAKE_SKIP_BUILD_RPATH=OFF" 60 + # Needs to be compiled with -std=c++11 for clang < 11. Interestingly this is 61 + # only an issue with the useLLVM stdenv, not the darwin stdenv… 62 + # https://github.com/grpc/grpc/issues/26473#issuecomment-860885484 63 + (if (stdenv.hostPlatform.useLLVM or false) && lib.versionOlder stdenv.cc.cc.version "11.0" 64 + then "-DCMAKE_CXX_STANDARD=11" 65 + else "-DCMAKE_CXX_STANDARD=17") 66 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 67 "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc" 68 ]; ··· 73 rm -vf BUILD 74 ''; 75 76 + # When natively compiling, grpc_cpp_plugin is executed from the build directory, 77 + # needing to load dynamic libraries from the build directory, so we set 78 + # LD_LIBRARY_PATH to enable this. When cross compiling we need to avoid this, 79 + # since it can cause the grpc_cpp_plugin executable from buildPackages to 80 + # crash if build and host architecture are compatible (e. g. pkgsLLVM). 81 + preBuild = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' 82 export LD_LIBRARY_PATH=$(pwd)''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH 83 ''; 84
+2 -2
pkgs/development/python-modules/async-upnp-client/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "async-upnp-client"; 17 - version = "0.22.5"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "StevenLooman"; 22 repo = "async_upnp_client"; 23 rev = version; 24 - sha256 = "sha256-/GELV94m75jSIFR4Ua3Sr+L9iGmzRQxPMIK2yfDiX9E="; 25 }; 26 27 propagatedBuildInputs = [
··· 14 15 buildPythonPackage rec { 16 pname = "async-upnp-client"; 17 + version = "0.22.8"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "StevenLooman"; 22 repo = "async_upnp_client"; 23 rev = version; 24 + sha256 = "sha256-0McLH5iNiA6aIyk6OaN57JAs97R+/4M7xaUDmh+xV6c="; 25 }; 26 27 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/hap-python/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "hap-python"; 19 - version = "4.1.0"; 20 disabled = pythonOlder "3.6"; 21 22 src = fetchFromGitHub { 23 owner = "ikalchev"; 24 repo = "HAP-python"; 25 rev = "v${version}"; 26 - sha256 = "sha256-vUbcsG6mKPgH+IF5i/BYSIkfIizSZzMWz0Kq0yfuKxE="; 27 }; 28 29 propagatedBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "hap-python"; 19 + version = "4.3.0"; 20 disabled = pythonOlder "3.6"; 21 22 src = fetchFromGitHub { 23 owner = "ikalchev"; 24 repo = "HAP-python"; 25 rev = "v${version}"; 26 + sha256 = "sha256-G4KL6iMeVn/tmvFtFL8vyqHGNfqk6j8iG4tDK9VpCyM="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/python-didl-lite/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "python-didl-lite"; 11 - version = "1.2.6"; 12 disabled = pythonOlder "3.5.3"; 13 14 src = fetchFromGitHub { 15 owner = "StevenLooman"; 16 repo = pname; 17 rev = version; 18 - sha256 = "sha256-1rr26dnV5As15HeFLWEDBDYPiRDHkGfYOYFhSJi7iyU="; 19 }; 20 21 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "python-didl-lite"; 11 + version = "1.3.0"; 12 disabled = pythonOlder "3.5.3"; 13 14 src = fetchFromGitHub { 15 owner = "StevenLooman"; 16 repo = pname; 17 rev = version; 18 + sha256 = "sha256-NsZ/VQlKEp4p3JRSNQKTGvzLrKgDCkkT81NzgS3UHos="; 19 }; 20 21 propagatedBuildInputs = [
+1
pkgs/development/ruby-modules/bundled-common/default.nix
··· 119 wrappedRuby = stdenv.mkDerivation { 120 name = "wrapped-ruby-${pname'}"; 121 nativeBuildInputs = [ makeWrapper ]; 122 buildCommand = '' 123 mkdir -p $out/bin 124 for i in ${ruby}/bin/*; do
··· 119 wrappedRuby = stdenv.mkDerivation { 120 name = "wrapped-ruby-${pname'}"; 121 nativeBuildInputs = [ makeWrapper ]; 122 + inherit (ruby) gemPath meta; 123 buildCommand = '' 124 mkdir -p $out/bin 125 for i in ${ruby}/bin/*; do
+3 -2
pkgs/development/tools/analysis/actionlint/default.nix
··· 2 3 buildGoModule rec { 4 pname = "actionlint"; 5 - version = "1.6.4"; 6 7 subPackages = [ "cmd/actionlint" ]; 8 ··· 10 owner = "rhysd"; 11 repo = "actionlint"; 12 rev = "v${version}"; 13 - sha256 = "1516892wikz3zda0la57s8nbm6459pf4vd123rv09s4nivznbmcx"; 14 }; 15 16 vendorSha256 = "1i7442n621jmc974b73pfz1gyqw74ilpg1zz16yxqpfh5c958m7n"; ··· 30 changelog = "https://github.com/rhysd/actionlint/raw/v${version}/CHANGELOG.md"; 31 license = licenses.mit; 32 maintainers = [ maintainers.marsam ]; 33 }; 34 }
··· 2 3 buildGoModule rec { 4 pname = "actionlint"; 5 + version = "1.6.5"; 6 7 subPackages = [ "cmd/actionlint" ]; 8 ··· 10 owner = "rhysd"; 11 repo = "actionlint"; 12 rev = "v${version}"; 13 + sha256 = "12s9ijfvnmfbcvf5lxi2jm3j7vrn7rfkas2lib5jdih77hf9270k"; 14 }; 15 16 vendorSha256 = "1i7442n621jmc974b73pfz1gyqw74ilpg1zz16yxqpfh5c958m7n"; ··· 30 changelog = "https://github.com/rhysd/actionlint/raw/v${version}/CHANGELOG.md"; 31 license = licenses.mit; 32 maintainers = [ maintainers.marsam ]; 33 + mainProgram = "actionlint"; 34 }; 35 }
+2 -2
pkgs/development/web/nodejs/v16.nix
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 - version = "16.10.0"; 12 - sha256 = "04krpy0r8msv64rcf0vy2l2yzf0a401km8p5p7h12j9b4g51mp4p"; 13 patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; 14 }
··· 8 in 9 buildNodejs { 10 inherit enableNpm; 11 + version = "16.11.0"; 12 + sha256 = "1bk5f47hm409129w437h8qdvmqjdr11awblvnhkfsp911nyk3xnk"; 13 patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; 14 }
+2 -2
pkgs/servers/home-assistant/component-packages.nix
··· 2 # Do not edit! 3 4 { 5 - version = "2021.10.0"; 6 components = { 7 "abode" = ps: with ps; [ abodepy ]; 8 "accuweather" = ps: with ps; [ accuweather ]; ··· 216 "edimax" = ps: with ps; [ pyedimax ]; 217 "edl21" = ps: with ps; [ pysml ]; 218 "ee_brightbox" = ps: with ps; [ eebrightbox ]; 219 - "efergy" = ps: with ps; [ ]; # missing inputs: pyefergy 220 "egardia" = ps: with ps; [ pythonegardia ]; 221 "eight_sleep" = ps: with ps; [ pyeight ]; 222 "elgato" = ps: with ps; [ elgato ];
··· 2 # Do not edit! 3 4 { 5 + version = "2021.10.2"; 6 components = { 7 "abode" = ps: with ps; [ abodepy ]; 8 "accuweather" = ps: with ps; [ accuweather ]; ··· 216 "edimax" = ps: with ps; [ pyedimax ]; 217 "edl21" = ps: with ps; [ pysml ]; 218 "ee_brightbox" = ps: with ps; [ eebrightbox ]; 219 + "efergy" = ps: with ps; [ pyefergy ]; 220 "egardia" = ps: with ps; [ pythonegardia ]; 221 "eight_sleep" = ps: with ps; [ pyeight ]; 222 "elgato" = ps: with ps; [ elgato ];
+2 -2
pkgs/servers/home-assistant/default.nix
··· 114 extraBuildInputs = extraPackages py.pkgs; 115 116 # Don't forget to run parse-requirements.py after updating 117 - hassVersion = "2021.10.0"; 118 119 in with py.pkgs; buildPythonApplication rec { 120 pname = "homeassistant"; ··· 131 owner = "home-assistant"; 132 repo = "core"; 133 rev = version; 134 - sha256 = "0m54ynx0i4a6wljg6d9i6xa79c15cqah5cgaswgrbaxhjw5q78iv"; 135 }; 136 137 # leave this in, so users don't have to constantly update their downstream patch handling
··· 114 extraBuildInputs = extraPackages py.pkgs; 115 116 # Don't forget to run parse-requirements.py after updating 117 + hassVersion = "2021.10.2"; 118 119 in with py.pkgs; buildPythonApplication rec { 120 pname = "homeassistant"; ··· 131 owner = "home-assistant"; 132 repo = "core"; 133 rev = version; 134 + sha256 = "0nds4491v8wy4d8w842asjpjj7xhqghlq0h61i7z6wp8jln7m418"; 135 }; 136 137 # leave this in, so users don't have to constantly update their downstream patch handling
+2 -2
pkgs/servers/home-assistant/frontend.nix
··· 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 pname = "home-assistant-frontend"; 7 - version = "20211006.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 - sha256 = "sha256-rlscTHqa1TMsIVW7kWFGR/feak0XewDRkybpo8dPXj0="; 12 }; 13 14 # there is nothing to strip in this package
··· 4 # the frontend version corresponding to a specific home-assistant version can be found here 5 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json 6 pname = "home-assistant-frontend"; 7 + version = "20211007.0"; 8 9 src = fetchPypi { 10 inherit pname version; 11 + sha256 = "sha256-GchSCqdVPk8RVe4iNEVvrsIgrV9/CHE5bQwyaT+ErvU="; 12 }; 13 14 # there is nothing to strip in this package
+5 -6
pkgs/servers/zoneminder/0001-Don-t-use-file-timestamp-in-cache-filename.patch
··· 1 - From db38a11228eceea10dc97ecc87023b4919caa918 Mon Sep 17 00:00:00 2001 2 From: Daniel Fullmer <danielrf12@gmail.com> 3 Date: Fri, 21 Feb 2020 21:52:00 -0500 4 Subject: [PATCH] Don't use file timestamp in cache filename ··· 14 1 file changed, 2 insertions(+), 1 deletion(-) 15 16 diff --git a/web/includes/functions.php b/web/includes/functions.php 17 - index 19567a5c1..0242c09bc 100644 18 --- a/web/includes/functions.php 19 +++ b/web/includes/functions.php 20 - @@ -2223,7 +2223,8 @@ function cache_bust($file) { 21 $parts = pathinfo($file); 22 global $css; 23 - $dirname = preg_replace('/\//', '_', $parts['dirname']); 24 - $cacheFile = $dirname.'_'.$parts['filename'].'-'.$css.'-'.filemtime($file).'.'.$parts['extension']; 25 + $srcHash = '@srcHash@'; 26 + $cacheFile = $dirname.'_'.$parts['filename'].'-'.$css.'-'.$srcHash.'.'.$parts['extension']; ··· 28 return 'cache/'.$cacheFile; 29 } else { 30 -- 31 - 2.25.1 32 -
··· 1 + From 8823e48b055b7e574c08069048ba21ffa4393699 Mon Sep 17 00:00:00 2001 2 From: Daniel Fullmer <danielrf12@gmail.com> 3 Date: Fri, 21 Feb 2020 21:52:00 -0500 4 Subject: [PATCH] Don't use file timestamp in cache filename ··· 14 1 file changed, 2 insertions(+), 1 deletion(-) 15 16 diff --git a/web/includes/functions.php b/web/includes/functions.php 17 + index 89d2cc8ad..52cbb6f38 100644 18 --- a/web/includes/functions.php 19 +++ b/web/includes/functions.php 20 + @@ -1941,7 +1941,8 @@ function cache_bust($file) { 21 $parts = pathinfo($file); 22 global $css; 23 + $dirname = str_replace('/', '_', $parts['dirname']); 24 - $cacheFile = $dirname.'_'.$parts['filename'].'-'.$css.'-'.filemtime($file).'.'.$parts['extension']; 25 + $srcHash = '@srcHash@'; 26 + $cacheFile = $dirname.'_'.$parts['filename'].'-'.$css.'-'.$srcHash.'.'.$parts['extension']; ··· 28 return 'cache/'.$cacheFile; 29 } else { 30 -- 31 + 2.32.0
+4 -3
pkgs/servers/zoneminder/default.nix
··· 78 79 in stdenv.mkDerivation rec { 80 pname = "zoneminder"; 81 - version = "1.34.22"; 82 83 src = fetchFromGitHub { 84 owner = "ZoneMinder"; 85 repo = "zoneminder"; 86 rev = version; 87 - sha256 = "1144j9crm0q5pwxnkmy3ahw1vbkddpbk2ys2m2pxxxiqifdhll83"; 88 }; 89 90 patches = [ ··· 130 131 for f in scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in \ 132 scripts/zmupdate.pl.in \ 133 - src/zm_config.h.in \ 134 web/api/app/Config/bootstrap.php.in \ 135 web/includes/config.php.in ; do 136 substituteInPlace $f --replace @ZM_CONFIG_SUBDIR@ /etc/zoneminder
··· 78 79 in stdenv.mkDerivation rec { 80 pname = "zoneminder"; 81 + version = "1.36.8"; 82 83 src = fetchFromGitHub { 84 owner = "ZoneMinder"; 85 repo = "zoneminder"; 86 rev = version; 87 + sha256 = "sha256-UUpq4CCZq+EwVNGsLCQuVWdY3yoGw977AaMk1iJ6a5U="; 88 + fetchSubmodules = true; 89 }; 90 91 patches = [ ··· 131 132 for f in scripts/ZoneMinder/lib/ZoneMinder/Config.pm.in \ 133 scripts/zmupdate.pl.in \ 134 + src/zm_config_data.h.in \ 135 web/api/app/Config/bootstrap.php.in \ 136 web/includes/config.php.in ; do 137 substituteInPlace $f --replace @ZM_CONFIG_SUBDIR@ /etc/zoneminder
+11 -6
pkgs/tools/networking/keepalived/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, nixosTests 2 - , libnfnetlink, libnl, net-snmp, openssl 3 - , pkg-config, autoreconfHook }: 4 5 stdenv.mkDerivation rec { 6 pname = "keepalived"; 7 - version = "2.2.2"; 8 9 src = fetchFromGitHub { 10 owner = "acassen"; 11 repo = "keepalived"; 12 rev = "v${version}"; 13 - sha256 = "sha256-qugEEbOQ4bemzelIOaNFvo3piMZpKUZGjR+4XF8aLHw="; 14 }; 15 16 buildInputs = [ 17 - libnfnetlink 18 libnl 19 net-snmp 20 openssl 21 ]; 22 23 passthru.tests.keepalived = nixosTests.keepalived; 24 ··· 32 meta = with lib; { 33 homepage = "https://keepalived.org"; 34 description = "Routing software written in C"; 35 - license = licenses.gpl2; 36 platforms = platforms.linux; 37 }; 38 }
··· 1 { lib, stdenv, fetchFromGitHub, nixosTests 2 + , file, libmnl, libnftnl, libnl 3 + , net-snmp, openssl, pkg-config 4 + , autoreconfHook }: 5 6 stdenv.mkDerivation rec { 7 pname = "keepalived"; 8 + version = "2.2.4"; 9 10 src = fetchFromGitHub { 11 owner = "acassen"; 12 repo = "keepalived"; 13 rev = "v${version}"; 14 + sha256 = "sha256-WXKu+cabMmXNHiLwXrQqS8GQHIWYkee7vPddyGURWic="; 15 }; 16 17 buildInputs = [ 18 + file 19 + libmnl 20 + libnftnl 21 libnl 22 net-snmp 23 openssl 24 ]; 25 + 26 + enableParallelBuilding = true; 27 28 passthru.tests.keepalived = nixosTests.keepalived; 29 ··· 37 meta = with lib; { 38 homepage = "https://keepalived.org"; 39 description = "Routing software written in C"; 40 + license = licenses.gpl2Plus; 41 platforms = platforms.linux; 42 }; 43 }
+10
pkgs/top-level/all-packages.nix
··· 5623 5624 gnuapl = callPackage ../development/interpreters/gnu-apl { }; 5625 5626 gnucap = callPackage ../applications/science/electronics/gnucap { }; 5627 5628 gnu-cobol = callPackage ../development/compilers/gnu-cobol { };
··· 5623 5624 gnuapl = callPackage ../development/interpreters/gnu-apl { }; 5625 5626 + dapl = callPackage ../development/interpreters/dzaima-apl { 5627 + buildNativeImage = false; 5628 + stdenv = stdenvNoCC; 5629 + jdk = jre; 5630 + }; 5631 + dapl-native = callPackage ../development/interpreters/dzaima-apl { 5632 + buildNativeImage = true; 5633 + jdk = graalvm11-ce; 5634 + }; 5635 + 5636 gnucap = callPackage ../applications/science/electronics/gnucap { }; 5637 5638 gnu-cobol = callPackage ../development/compilers/gnu-cobol { };