Merge master into staging-next

authored by github-actions[bot] and committed by GitHub a1eb3e0b 05782cfb

+564 -263
+1 -1
nixos/modules/services/continuous-integration/gitlab-runner.nix
··· 34 text = if (cfg.configFile != null) then '' 35 cp ${cfg.configFile} ${configPath} 36 # make config file readable by service 37 - chown -R --reference=$HOME $(dirname ${configPath}) 38 '' else '' 39 export CONFIG_FILE=${configPath} 40
··· 34 text = if (cfg.configFile != null) then '' 35 cp ${cfg.configFile} ${configPath} 36 # make config file readable by service 37 + chown -R --reference="$HOME" "$(dirname ${configPath})" 38 '' else '' 39 export CONFIG_FILE=${configPath} 40
+2 -2
nixos/modules/services/monitoring/parsedmarc.nix
··· 409 410 provision = { 411 enable = cfg.provision.grafana.datasource || cfg.provision.grafana.dashboard; 412 - datasources = 413 let 414 esVersion = lib.getVersion config.services.elasticsearch.package; 415 in ··· 435 }; 436 } 437 ]; 438 - dashboards = lib.mkIf cfg.provision.grafana.dashboard [{ 439 name = "parsedmarc"; 440 options.path = "${pkgs.python3Packages.parsedmarc.dashboard}"; 441 }];
··· 409 410 provision = { 411 enable = cfg.provision.grafana.datasource || cfg.provision.grafana.dashboard; 412 + datasources.settings.datasources = 413 let 414 esVersion = lib.getVersion config.services.elasticsearch.package; 415 in ··· 435 }; 436 } 437 ]; 438 + dashboards.settings.providers = lib.mkIf cfg.provision.grafana.dashboard [{ 439 name = "parsedmarc"; 440 options.path = "${pkgs.python3Packages.parsedmarc.dashboard}"; 441 }];
+4 -4
pkgs/applications/science/astronomy/gildas/default.nix
··· 7 in 8 9 stdenv.mkDerivation rec { 10 - srcVersion = "oct22b"; 11 - version = "20221001_b"; 12 pname = "gildas"; 13 14 src = fetchurl { ··· 16 # source code of the previous release to a different directory 17 urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz" 18 "http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ]; 19 - sha256 = "sha256-MGfU2gzBbJ8ITpU7OiwCaHbi8s9Y6gvcAvSUuEZjfqk="; 20 }; 21 22 nativeBuildInputs = [ pkg-config groff perl getopt gfortran which ]; ··· 24 buildInputs = [ gtk2-x11 lesstif cfitsio python3Env ncurses ] 25 ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation ]); 26 27 - patches = [ ./wrapper.patch ./clang.patch ./aarch64.patch ./python-ldflags.patch ]; 28 29 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument"; 30
··· 7 in 8 9 stdenv.mkDerivation rec { 10 + srcVersion = "feb23a"; 11 + version = "20230201_a"; 12 pname = "gildas"; 13 14 src = fetchurl { ··· 16 # source code of the previous release to a different directory 17 urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz" 18 "http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ]; 19 + sha256 = "sha256-A6jtcC8QMtJ7YcNaPiOjwNPDGPAjmRA3jZLEt5iBONE="; 20 }; 21 22 nativeBuildInputs = [ pkg-config groff perl getopt gfortran which ]; ··· 24 buildInputs = [ gtk2-x11 lesstif cfitsio python3Env ncurses ] 25 ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation ]); 26 27 + patches = [ ./wrapper.patch ./clang.patch ./aarch64.patch ]; 28 29 NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument"; 30
-13
pkgs/applications/science/astronomy/gildas/python-ldflags.patch
··· 1 - diff -ruN gildas-src-oct22b/admin/python-config-ldflags.py gildas-src-oct22b.patched/admin/python-config-ldflags.py 2 - --- gildas-src-oct22b/admin/python-config-ldflags.py 2022-10-03 14:16:33.000000000 +0200 3 - +++ gildas-src-oct22b.patched/admin/python-config-ldflags.py 2022-10-19 22:03:53.000000000 +0200 4 - @@ -32,7 +32,7 @@ 5 - libs.insert(0, '-L' + getvar('LIBDIR')) 6 - 7 - # Framework (specific for Mac) 8 - -if not getvar('PYTHONFRAMEWORK'): 9 - - libs.extend(getvar('LINKFORSHARED').split()) 10 - +#if not getvar('PYTHONFRAMEWORK'): 11 - +# libs.extend(getvar('LINKFORSHARED').split()) 12 - 13 - print(' '.join(libs))
···
+39
pkgs/applications/science/logic/cvc4/cvc4-bash-patsub-replacement.patch
···
··· 1 + Per https://bodhi.fedoraproject.org/updates/FEDORA-2022-dc47174c36: 2 + 3 + This update fixes a failure to build with source with bash 5.2. Bash's 4 + `patsub_replacement` feature makes ampersand a special character when doing 5 + variable substitution, which was not previously the case. This update instructs 6 + bash to turn off the new behavior. 7 + 8 + The patch itself is adapted from 9 + https://src.fedoraproject.org/rpms/cvc4/blob/f7c24c6ad72a8812d244313f13032fa23d393315/f/cvc4-bash-patsub-replacement.patch. 10 + --- a/src/expr/mkexpr 2020-06-19 10:59:27.000000000 -0600 11 + +++ b/src/expr/mkexpr 2022-10-11 14:28:31.120453409 -0600 12 + @@ -16,6 +16,7 @@ 13 + # 14 + 15 + copyright=2010-2014 16 + +shopt -u patsub_replacement 17 + 18 + filename=`basename "$1" | sed 's,_template,,'` 19 + 20 + --- a/src/expr/mkkind 2020-06-19 10:59:27.000000000 -0600 21 + +++ b/src/expr/mkkind 2022-10-11 14:34:17.008996126 -0600 22 + @@ -15,6 +15,7 @@ 23 + # 24 + 25 + copyright=2010-2014 26 + +shopt -u patsub_replacement 27 + 28 + filename=`basename "$1" | sed 's,_template,,'` 29 + 30 + --- a/src/expr/mkmetakind 2020-06-19 10:59:27.000000000 -0600 31 + +++ b/src/expr/mkmetakind 2022-10-11 14:34:32.248020036 -0600 32 + @@ -18,6 +18,7 @@ 33 + # 34 + 35 + copyright=2010-2014 36 + +shopt -u patsub_replacement 37 + 38 + cat <<EOF 39 + /********************* */
+4
pkgs/applications/science/logic/cvc4/default.nix
··· 28 patch -p1 -i ${./minisat-fenv.patch} -d src/prop/bvminisat 29 ''; 30 31 preConfigure = '' 32 patchShebangs ./src/ 33 '';
··· 28 patch -p1 -i ${./minisat-fenv.patch} -d src/prop/bvminisat 29 ''; 30 31 + patches = [ 32 + ./cvc4-bash-patsub-replacement.patch 33 + ]; 34 + 35 preConfigure = '' 36 patchShebangs ./src/ 37 '';
+9 -1
pkgs/applications/search/recoll/default.nix
··· 19 , libwpd 20 , libxslt 21 , lyx 22 , perl 23 , pkg-config 24 , poppler_utils 25 , python3Packages ··· 66 file 67 pkg-config 68 python3Packages.setuptools 69 which 70 ]; 71 ··· 73 bison 74 chmlib 75 python3Packages.python 76 xapian 77 zlib 78 ] ++ lib.optional withGui [ ··· 111 substituteInPlace $f --replace /usr/bin/perl ${lib.getBin perl}/bin/perl 112 fi 113 done 114 '' + lib.optionalString stdenv.isLinux '' 115 substituteInPlace $f --replace '"lyx"' '"${lib.getBin lyx}/bin/lyx"' 116 '' + lib.optionalString (stdenv.isDarwin && withGui) '' ··· 130 changelog = "https://www.lesbonscomptes.com/recoll/pages/release-${version}.html"; 131 license = licenses.gpl2Plus; 132 platforms = platforms.unix; 133 - maintainers = with maintainers; [ jcumming ]; 134 }; 135 }
··· 19 , libwpd 20 , libxslt 21 , lyx 22 + , makeWrapper 23 , perl 24 + , perlPackages 25 , pkg-config 26 , poppler_utils 27 , python3Packages ··· 68 file 69 pkg-config 70 python3Packages.setuptools 71 + makeWrapper 72 which 73 ]; 74 ··· 76 bison 77 chmlib 78 python3Packages.python 79 + python3Packages.mutagen 80 xapian 81 zlib 82 ] ++ lib.optional withGui [ ··· 115 substituteInPlace $f --replace /usr/bin/perl ${lib.getBin perl}/bin/perl 116 fi 117 done 118 + wrapProgram $out/share/recoll/filters/rclaudio.py \ 119 + --prefix PYTHONPATH : $PYTHONPATH 120 + wrapProgram $out/share/recoll/filters/rclimg \ 121 + --prefix PERL5LIB : "${with perlPackages; makeFullPerlPath [ ImageExifTool ]}" 122 '' + lib.optionalString stdenv.isLinux '' 123 substituteInPlace $f --replace '"lyx"' '"${lib.getBin lyx}/bin/lyx"' 124 '' + lib.optionalString (stdenv.isDarwin && withGui) '' ··· 138 changelog = "https://www.lesbonscomptes.com/recoll/pages/release-${version}.html"; 139 license = licenses.gpl2Plus; 140 platforms = platforms.unix; 141 + maintainers = with maintainers; [ jcumming ehmry ]; 142 }; 143 }
+15 -14
pkgs/applications/video/vdr/plugins.nix
··· 1 - { lib, stdenv, fetchurl, fetchgit, vdr, fetchFromGitHub 2 , graphicsmagick, pcre, xorgserver, ffmpeg 3 , libiconv, boost, libgcrypt, perl, util-linux, groff, libva, xorg, ncurses 4 , callPackage 5 }: let 6 mkPlugin = name: stdenv.mkDerivation { 7 - name = "vdr-${vdr.version}-${name}"; 8 inherit (vdr) src; 9 buildInputs = [ vdr ]; 10 preConfigure = "cd PLUGINS/src/${name}"; ··· 55 56 markad = stdenv.mkDerivation rec { 57 pname = "vdr-markad"; 58 - version = "3.0.26"; 59 60 src = fetchFromGitHub { 61 repo = "vdr-plugin-markad"; 62 owner = "kfb77"; 63 - sha256 = "sha256-0J6XeLgr9IZSWsheQZWVNRLIxp8iyCvR9Y0z/yrbTnI="; 64 - rev = "v${version}"; 65 }; 66 67 buildInputs = [ vdr ffmpeg ]; ··· 101 102 epgsearch = stdenv.mkDerivation rec { 103 pname = "vdr-epgsearch"; 104 - version = "2.4.1"; 105 106 src = fetchFromGitHub { 107 repo = "vdr-plugin-epgsearch"; 108 owner = "vdr-projects"; 109 - sha256 = "sha256-UlbPCkUFN0Gyxjw9xq2STFTDZRVcPPNjadSQd4o2o9U="; 110 rev = "v${version}"; 111 }; 112 ··· 150 151 vnsiserver = stdenv.mkDerivation rec { 152 pname = "vdr-vnsiserver"; 153 - version = "1.8.1"; 154 155 buildInputs = [ vdr ]; 156 ··· 160 repo = "vdr-plugin-vnsiserver"; 161 owner = "vdr-projects"; 162 rev = version; 163 - sha256 = "sha256-1C0Z7NoU+FNch4BhrAcbJdzVvGuH1YDaxJ+9PflR78E="; 164 }; 165 166 meta = with lib; { ··· 173 174 }; 175 176 - text2skin = stdenv.mkDerivation { 177 pname = "vdr-text2skin"; 178 version = "1.3.4-20170702"; 179 180 - src = fetchgit { 181 - url = "git://projects.vdr-developer.org/vdr-plugin-text2skin.git"; 182 - sha256 = "19hkwmaw6nwak38bv6cm2vcjjkf4w5yjyxb98qq6zfjjh5wq54aa"; 183 rev = "8f7954da2488ced734c30e7c2704b92a44e6e1ad"; 184 }; 185 186 buildInputs = [ vdr graphicsmagick ]; ··· 200 dontInstall = true; 201 202 meta = with lib; { 203 - homepage = "https://projects.vdr-developer.org/projects/plg-text2skin"; 204 description = "VDR Text2Skin Plugin"; 205 maintainers = [ maintainers.ck3d ]; 206 license = licenses.gpl2;
··· 1 + { lib, stdenv, vdr, fetchFromGitHub 2 , graphicsmagick, pcre, xorgserver, ffmpeg 3 , libiconv, boost, libgcrypt, perl, util-linux, groff, libva, xorg, ncurses 4 , callPackage 5 }: let 6 mkPlugin = name: stdenv.mkDerivation { 7 + name = "vdr-${name}-${vdr.version}"; 8 inherit (vdr) src; 9 buildInputs = [ vdr ]; 10 preConfigure = "cd PLUGINS/src/${name}"; ··· 55 56 markad = stdenv.mkDerivation rec { 57 pname = "vdr-markad"; 58 + version = "3.1.1"; 59 60 src = fetchFromGitHub { 61 repo = "vdr-plugin-markad"; 62 owner = "kfb77"; 63 + sha256 = "sha256-h2a400T6mHzZRWAVFXF5Wzhu4Zp1D3btEKlxnCtB13M="; 64 + rev = "V${version}"; 65 }; 66 67 buildInputs = [ vdr ffmpeg ]; ··· 101 102 epgsearch = stdenv.mkDerivation rec { 103 pname = "vdr-epgsearch"; 104 + version = "2.4.2"; 105 106 src = fetchFromGitHub { 107 repo = "vdr-plugin-epgsearch"; 108 owner = "vdr-projects"; 109 + sha256 = "sha256-C+WSdGTnDBTWLvpjG5GBaK8pYbht431nL5iaL/a0H4Y="; 110 rev = "v${version}"; 111 }; 112 ··· 150 151 vnsiserver = stdenv.mkDerivation rec { 152 pname = "vdr-vnsiserver"; 153 + version = "1.8.3"; 154 155 buildInputs = [ vdr ]; 156 ··· 160 repo = "vdr-plugin-vnsiserver"; 161 owner = "vdr-projects"; 162 rev = version; 163 + sha256 = "sha256-ivHdzX90ozMXSvIc5OrKC5qHeK5W3TK8zyrN8mY3IhE="; 164 }; 165 166 meta = with lib; { ··· 173 174 }; 175 176 + text2skin = stdenv.mkDerivation rec { 177 pname = "vdr-text2skin"; 178 version = "1.3.4-20170702"; 179 180 + src = fetchFromGitHub { 181 + repo = "vdr-plugin-text2skin"; 182 + owner = "vdr-projects"; 183 rev = "8f7954da2488ced734c30e7c2704b92a44e6e1ad"; 184 + sha256 = "19hkwmaw6nwak38bv6cm2vcjjkf4w5yjyxb98qq6zfjjh5wq54aa"; 185 }; 186 187 buildInputs = [ vdr graphicsmagick ]; ··· 201 dontInstall = true; 202 203 meta = with lib; { 204 + inherit (src.meta) homepage; 205 description = "VDR Text2Skin Plugin"; 206 maintainers = [ maintainers.ck3d ]; 207 license = licenses.gpl2;
+2 -2
pkgs/applications/video/vdr/softhddevice/default.nix
··· 12 }: 13 stdenv.mkDerivation rec { 14 pname = "vdr-softhddevice"; 15 - version = "1.9.3"; 16 17 src = fetchFromGitHub { 18 owner = "ua0lnj"; 19 repo = "vdr-plugin-softhddevice"; 20 - sha256 = "sha256-0jtA64RVlh57zjrGDJAR/tt8V6sSksAx9kBDRW1m+WM="; 21 rev = "v${version}"; 22 }; 23
··· 12 }: 13 stdenv.mkDerivation rec { 14 pname = "vdr-softhddevice"; 15 + version = "1.9.7"; 16 17 src = fetchFromGitHub { 18 owner = "ua0lnj"; 19 repo = "vdr-plugin-softhddevice"; 20 + sha256 = "sha256-SviAuV+71pxnuEcmoLQkA1yti2jAAuG7yZZDlf3cODc="; 21 rev = "v${version}"; 22 }; 23
+8 -8
pkgs/applications/window-managers/katriawm/default.nix
··· 7 , pkg-config 8 }: 9 10 - stdenv.mkDerivation (finalAttrs: { 11 pname = "katriawm"; 12 - version = "21.09"; 13 14 src = fetchzip { 15 - name = finalAttrs.pname + "-" + finalAttrs.version; 16 - url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${finalAttrs.version}.tar.gz"; 17 - hash = "sha256-xt0sWEwTcCs5cwoB3wVbYcyAKL0jx7KyeCefEBVFhH8="; 18 }; 19 20 nativeBuildInputs = [ ··· 33 34 installFlags = [ "prefix=$(out)" ]; 35 36 - meta = with lib; { 37 homepage = "https://www.uninformativ.de/git/katriawm/file/README.html"; 38 description = "A non-reparenting, dynamic window manager with decorations"; 39 - license = licenses.mit; 40 - maintainers = with maintainers; [ AndersonTorres ]; 41 inherit (libX11.meta) platforms; 42 }; 43 })
··· 7 , pkg-config 8 }: 9 10 + stdenv.mkDerivation (self: { 11 pname = "katriawm"; 12 + version = "22.12"; 13 14 src = fetchzip { 15 + name = self.pname + "-" + self.version; 16 + url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${self.version}.tar.gz"; 17 + hash = "sha256-xFKr4PxqvnQEAWplhRsaL5rhmSJpnImpk1eXFX0N1tc="; 18 }; 19 20 nativeBuildInputs = [ ··· 33 34 installFlags = [ "prefix=$(out)" ]; 35 36 + meta = { 37 homepage = "https://www.uninformativ.de/git/katriawm/file/README.html"; 38 description = "A non-reparenting, dynamic window manager with decorations"; 39 + license = lib.licenses.mit; 40 + maintainers = [ lib.maintainers.AndersonTorres ]; 41 inherit (libX11.meta) platforms; 42 }; 43 })
+1
pkgs/development/compilers/gcc/12/default.nix
··· 165 lib 166 libcCross 167 libmpc 168 libxcrypt 169 mpfr 170 name
··· 165 lib 166 libcCross 167 libmpc 168 + libucontext 169 libxcrypt 170 mpfr 171 name
+28 -18
pkgs/development/interpreters/supercollider/default.nix
··· 2 , pkg-config, alsa-lib, libjack2, libsndfile, fftw 3 , curl, gcc, libXt, qtbase, qttools, qtwebengine 4 , readline, qtwebsockets, useSCEL ? false, emacs 5 - , supercollider-with-plugins, supercolliderPlugins 6 - , writeText, runCommand 7 }: 8 9 mkDerivation rec { ··· 26 }) 27 ]; 28 29 nativeBuildInputs = [ cmake pkg-config qttools ]; 30 31 buildInputs = [ gcc libjack2 libsndfile fftw curl libXt qtbase qtwebengine qtwebsockets readline ] ··· 39 "-DSC_EL=${if useSCEL then "ON" else "OFF"}" 40 ]; 41 42 - passthru.tests = { 43 - # test to make sure sclang runs and included plugins are successfully found 44 - sclang-sc3-plugins = let 45 - supercollider-with-test-plugins = supercollider-with-plugins.override { 46 - plugins = with supercolliderPlugins; [ sc3-plugins ]; 47 - }; 48 - testsc = writeText "test.sc" '' 49 - var err = 0; 50 - try { 51 - MdaPiano.name.postln; 52 - } { 53 - err = 1; 54 }; 55 - err.exit; 56 ''; 57 - in runCommand "sclang-sc3-plugins-test" {} '' 58 - timeout 60s env XDG_CONFIG_HOME="$(mktemp -d)" QT_QPA_PLATFORM=minimal ${supercollider-with-test-plugins}/bin/sclang ${testsc} >$out 59 - ''; 60 }; 61 62 meta = with lib; {
··· 2 , pkg-config, alsa-lib, libjack2, libsndfile, fftw 3 , curl, gcc, libXt, qtbase, qttools, qtwebengine 4 , readline, qtwebsockets, useSCEL ? false, emacs 5 + , gitUpdater, supercollider-with-plugins 6 + , supercolliderPlugins, writeText, runCommand 7 }: 8 9 mkDerivation rec { ··· 26 }) 27 ]; 28 29 + strictDeps = true; 30 + 31 nativeBuildInputs = [ cmake pkg-config qttools ]; 32 33 buildInputs = [ gcc libjack2 libsndfile fftw curl libXt qtbase qtwebengine qtwebsockets readline ] ··· 41 "-DSC_EL=${if useSCEL then "ON" else "OFF"}" 42 ]; 43 44 + passthru = { 45 + updateScript = gitUpdater { 46 + url = "https://github.com/supercollider/supercollider.git"; 47 + rev-prefix = "Version-"; 48 + ignoredVersions = "rc|beta"; 49 + }; 50 + 51 + tests = { 52 + # test to make sure sclang runs and included plugins are successfully found 53 + sclang-sc3-plugins = let 54 + supercollider-with-test-plugins = supercollider-with-plugins.override { 55 + plugins = with supercolliderPlugins; [ sc3-plugins ]; 56 }; 57 + testsc = writeText "test.sc" '' 58 + var err = 0; 59 + try { 60 + MdaPiano.name.postln; 61 + } { 62 + err = 1; 63 + }; 64 + err.exit; 65 + ''; 66 + in runCommand "sclang-sc3-plugins-test" { } '' 67 + timeout 60s env XDG_CONFIG_HOME="$(mktemp -d)" QT_QPA_PLATFORM=minimal ${supercollider-with-test-plugins}/bin/sclang ${testsc} >$out 68 ''; 69 + }; 70 }; 71 72 meta = with lib; {
+9 -1
pkgs/development/interpreters/supercollider/plugins/sc3-plugins.nix
··· 1 - { stdenv, lib, fetchurl, cmake, supercollider, fftw }: 2 3 stdenv.mkDerivation rec { 4 pname = "sc3-plugins"; ··· 8 url = "https://github.com/supercollider/sc3-plugins/releases/download/Version-${version}/sc3-plugins-${version}-Source.tar.bz2"; 9 sha256 = "sha256-JjUmu7PJ+x3yRibr+Av2gTREng51fPo7Rk+B4y2JvkQ="; 10 }; 11 12 nativeBuildInputs = [ cmake ]; 13 ··· 22 ]; 23 24 stripDebugList = [ "lib" "share" ]; 25 26 meta = with lib; { 27 description = "Community plugins for SuperCollider";
··· 1 + { stdenv, lib, fetchurl, cmake, supercollider, fftw, gitUpdater }: 2 3 stdenv.mkDerivation rec { 4 pname = "sc3-plugins"; ··· 8 url = "https://github.com/supercollider/sc3-plugins/releases/download/Version-${version}/sc3-plugins-${version}-Source.tar.bz2"; 9 sha256 = "sha256-JjUmu7PJ+x3yRibr+Av2gTREng51fPo7Rk+B4y2JvkQ="; 10 }; 11 + 12 + strictDeps = true; 13 14 nativeBuildInputs = [ cmake ]; 15 ··· 24 ]; 25 26 stripDebugList = [ "lib" "share" ]; 27 + 28 + passthru.updateScript = gitUpdater { 29 + url = "https://github.com/supercollider/sc3-plugins.git"; 30 + rev-prefix = "Version-"; 31 + ignoredVersions = "rc|beta"; 32 + }; 33 34 meta = with lib; { 35 description = "Community plugins for SuperCollider";
+26
pkgs/development/libraries/cyclondds/0001-Use-full-path-in-pkgconfig.patch
···
··· 1 + From 4534f88f676d9a07a227aed7b56255dd84d2b906 Mon Sep 17 00:00:00 2001 2 + From: Pascal Bach <pascal.bach@nextrem.ch> 3 + Date: Mon, 3 Oct 2022 22:57:34 +0200 4 + Subject: [PATCH] Use full path in pkgconfig 5 + 6 + Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch> 7 + --- 8 + PkgConfig.pc.in | 4 ++-- 9 + 1 file changed, 2 insertions(+), 2 deletions(-) 10 + 11 + diff --git a/PkgConfig.pc.in b/PkgConfig.pc.in 12 + index 381e2343..93860ff0 100644 13 + --- a/PkgConfig.pc.in 14 + +++ b/PkgConfig.pc.in 15 + @@ -1,6 +1,6 @@ 16 + prefix=@CMAKE_INSTALL_PREFIX@ 17 + -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ 18 + -libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ 19 + +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 20 + +libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 21 + 22 + Name: @PROJECT_NAME@ 23 + Description: Eclipse Cyclone DDS library 24 + -- 25 + 2.37.3 26 +
+30
pkgs/development/libraries/cyclondds/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + }: 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "cyclondds"; 9 + version = "0.10.2"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "eclipse-cyclonedds"; 13 + repo = "cyclonedds"; 14 + rev = version; 15 + sha256 = "sha256-xr9H9n+gyFMgEMHn59T6ELYVZJ1m8laG0d99SE9k268="; 16 + }; 17 + 18 + patches = [ 19 + ./0001-Use-full-path-in-pkgconfig.patch 20 + ]; 21 + 22 + nativeBuildInputs = [ cmake ]; 23 + 24 + meta = with lib; { 25 + description = "Eclipse Cyclone DDS project"; 26 + homepage = "https://cyclonedds.io/"; 27 + license = with licenses; [ epl20 ]; 28 + maintainers = with maintainers; [ bachp ]; 29 + }; 30 + }
+16 -8
pkgs/development/python-modules/ha-ffmpeg/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy3k 2 - , async-timeout }: 3 4 buildPythonPackage rec { 5 pname = "ha-ffmpeg"; 6 - version = "3.0.2"; 7 8 - disabled = !isPy3k; 9 10 src = fetchPypi { 11 inherit pname version; 12 - sha256 = "8d92f2f5790da038d828ac862673e0bb43e8e972e4c70b1714dd9a0fb776c8d1"; 13 }; 14 15 - propagatedBuildInputs = [ async-timeout ]; 16 17 # only manual tests 18 doCheck = false; ··· 24 ]; 25 26 meta = with lib; { 27 - homepage = "https://github.com/pvizeli/ha-ffmpeg"; 28 - description = "Library for home-assistant to handle ffmpeg"; 29 license = licenses.bsd3; 30 maintainers = teams.home-assistant.members; 31 };
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + , async-timeout 6 + }: 7 8 buildPythonPackage rec { 9 pname = "ha-ffmpeg"; 10 + version = "3.1.0"; 11 + format = "setuptools"; 12 13 + disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-sheNYtmp1panthglpEqJTdaCgGBTUJRswikl5hu9k7s="; 18 }; 19 20 + propagatedBuildInputs = [ 21 + async-timeout 22 + ]; 23 24 # only manual tests 25 doCheck = false; ··· 31 ]; 32 33 meta = with lib; { 34 + description = "Library for Home Assistant to handle ffmpeg"; 35 + homepage = "https://github.com/home-assistant-libs/ha-ffmpeg/"; 36 + changelog = "https://github.com/home-assistant-libs/ha-ffmpeg/releases/tag/${version}"; 37 license = licenses.bsd3; 38 maintainers = teams.home-assistant.members; 39 };
+2 -2
pkgs/development/python-modules/niaarm/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "niaarm"; 14 - version = "0.2.4"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = "firefly-cpp"; 21 repo = "NiaARM"; 22 rev = version; 23 - hash = "sha256-JPsBpVMeVZxUhCHoIBP47LhR8nrc8ZtJHREZLwL5Zxw="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "niaarm"; 14 + version = "0.3.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = "firefly-cpp"; 21 repo = "NiaARM"; 22 rev = version; 23 + hash = "sha256-5XOE3c7amvhw1KrX1hcmTxneYNvAuiHz+OZLb/yhB+I="; 24 }; 25 26 nativeBuildInputs = [
+7 -1
pkgs/development/python-modules/pygatt/default.nix
··· 29 pexpect 30 ]; 31 32 nativeCheckInputs = [ 33 mock 34 - nose 35 pytestCheckHook 36 ] 37 ++ passthru.optional-dependencies.GATTTOOL;
··· 29 pexpect 30 ]; 31 32 + nativeBuildInputs = [ 33 + # For cross compilation the doCheck is false and therefor the 34 + # nativeCheckInputs not included. We have to include nose here, since 35 + # setup.py requires nose unconditionally. 36 + nose 37 + ]; 38 + 39 nativeCheckInputs = [ 40 mock 41 pytestCheckHook 42 ] 43 ++ passthru.optional-dependencies.GATTTOOL;
+18 -1
pkgs/development/python-modules/spacy/default.nix
··· 27 , typer 28 , typing-extensions 29 , wasabi 30 }: 31 32 buildPythonPackage rec { ··· 85 "spacy" 86 ]; 87 88 - passthru.tests.annotation = callPackage ./annotation-test { }; 89 90 meta = with lib; { 91 description = "Industrial-strength Natural Language Processing (NLP)";
··· 27 , typer 28 , typing-extensions 29 , wasabi 30 + , writeScript 31 + , stdenv 32 + , nix 33 + , git 34 + , nix-update 35 }: 36 37 buildPythonPackage rec { ··· 90 "spacy" 91 ]; 92 93 + passthru = { 94 + updateScript = writeScript "update-spacy" '' 95 + #!${stdenv.shell} 96 + set -eou pipefail 97 + PATH=${lib.makeBinPath [ nix git nix-update ]} 98 + 99 + nix-update python3Packages.spacy 100 + 101 + # update spacy models as well 102 + echo | nix-shell maintainers/scripts/update.nix --argstr package python3Packages.spacy_models.en_core_web_sm 103 + ''; 104 + tests.annotation = callPackage ./annotation-test { }; 105 + }; 106 107 meta = with lib; { 108 description = "Industrial-strength Natural Language Processing (NLP)";
+124 -124
pkgs/development/python-modules/spacy/models.json
··· 1 [ 2 { 3 "pname": "ca_core_news_lg", 4 - "version": "3.3.0", 5 - "sha256": "06dyd5h3c1q7vndg8j0vja24y49lvdqkb6cy6i25ldz306b6aa0l", 6 "license": "gpl3" 7 }, 8 { 9 "pname": "ca_core_news_md", 10 - "version": "3.3.0", 11 - "sha256": "0ac8n8lg4x5mknplsfbzhsl1qxhkbi5plx4xd252zmr0kilxkykn", 12 "license": "gpl3" 13 }, 14 { 15 "pname": "ca_core_news_sm", 16 - "version": "3.3.0", 17 - "sha256": "1gj4ni9mwksrwqxjipvn13lhbfk7wqh8k7hh9gfpsm2saa951yf6", 18 "license": "gpl3" 19 }, 20 { 21 "pname": "ca_core_news_trf", 22 - "version": "3.3.0", 23 - "sha256": "0fhf71rj568akcwxvzjr2j5x5f5qz7g7i49bz5m9lbqs01bj0rjw", 24 "license": "gpl3" 25 }, 26 { 27 "pname": "da_core_news_lg", 28 - "version": "3.3.0", 29 - "sha256": "0wyw9lyxbs0jgy8qgxhpqpfhm8y4a9hanar0ggrvhsaxcfjs6qhr", 30 "license": "cc-by-sa-40" 31 }, 32 { 33 "pname": "da_core_news_md", 34 - "version": "3.3.0", 35 - "sha256": "0rj8l0v6m1ia5r4j0180gl0kh2srfw90bkvq21wr1gq142536f2d", 36 "license": "cc-by-sa-40" 37 }, 38 { 39 "pname": "da_core_news_sm", 40 - "version": "3.3.0", 41 - "sha256": "0a8786jqlpjrvg27h9nww0v4p3p9f0rr7kilbpmb7w9466hjbkjy", 42 "license": "cc-by-sa-40" 43 }, 44 { 45 "pname": "de_core_news_lg", 46 - "version": "3.3.0", 47 - "sha256": "1k80mq5gfiw7m7z60by1qis2zhszwb9z9hg55r0qam71pnbsqb0f", 48 "license": "mit" 49 }, 50 { 51 "pname": "de_core_news_md", 52 - "version": "3.3.0", 53 - "sha256": "0y13qwkfh7nzp2m8w3qna0qj3gaxrpsncmc1ramnn515565j62in", 54 "license": "mit" 55 }, 56 { 57 "pname": "de_core_news_sm", 58 - "version": "3.3.0", 59 - "sha256": "0ln5p4dg5y4hzpx1738qlh6591j2ydrf8gyvhfvx5dr1pkwps83d", 60 "license": "mit" 61 }, 62 { 63 "pname": "de_dep_news_trf", 64 - "version": "3.3.0", 65 - "sha256": "18clx5dck1wmk39miqlsqgwvzhhqd7xh8vmi6ilpjnwgx48yfjh7", 66 "license": "mit" 67 }, 68 { 69 "pname": "el_core_news_lg", 70 - "version": "3.3.0", 71 - "sha256": "165vji0d4imylpgpywnmdjvylsi2l8kz8fpxbhwjdx5cv40ywcda", 72 "license": "cc-by-nc-sa-30" 73 }, 74 { 75 "pname": "el_core_news_md", 76 - "version": "3.3.0", 77 - "sha256": "0jz32glmwj1a662ciz1ay6g2shil0ia8smmbj42ghnjl4dlf2n3b", 78 "license": "cc-by-nc-sa-30" 79 }, 80 { 81 "pname": "el_core_news_sm", 82 - "version": "3.3.0", 83 - "sha256": "179fqj781wfrh9nkizv7s5ia8abb73sgnnl3yim35nbkpwnps47v", 84 "license": "cc-by-nc-sa-30" 85 }, 86 { 87 "pname": "en_core_web_lg", 88 - "version": "3.3.0", 89 - "sha256": "0j1d9i2xqqbaiyzr1aghzm42nfjlxx3qv2mlfhav3yi69hmy8aj3", 90 "license": "mit" 91 }, 92 { 93 "pname": "en_core_web_md", 94 - "version": "3.3.0", 95 - "sha256": "1anq8vlk3rwf7by1j7b9gvc5pjdvc9cz4mazqvrs4448xs3r0ndl", 96 "license": "mit" 97 }, 98 { 99 "pname": "en_core_web_sm", 100 - "version": "3.3.0", 101 - "sha256": "1bknji6j21pm9y0v48zhc0r4di5wm4lxxab35wmzakn0myhag2il", 102 "license": "mit" 103 }, 104 { 105 "pname": "en_core_web_trf", 106 - "version": "3.3.0", 107 - "sha256": "1qfkif2dzs9gvkydca2mq1w9xb818zmz14rwramxpvq17bfraqdw", 108 "license": "mit" 109 }, 110 { 111 "pname": "es_core_news_lg", 112 - "version": "3.3.0", 113 - "sha256": "0jd9wq7nxw4iywr9v2m19kf84hhgnh1sy9j2zrz6w5vv16363cr9", 114 "license": "gpl3" 115 }, 116 { 117 "pname": "es_core_news_md", 118 - "version": "3.3.0", 119 - "sha256": "0gk2rca1qmgy5bnv4r8h9kxpix19h3dgbgjwky60fagnbvch5pzc", 120 "license": "gpl3" 121 }, 122 { 123 "pname": "es_core_news_sm", 124 - "version": "3.3.0", 125 - "sha256": "0r3hvx5za3iydqfqz65p586c8g86b7pw8mjnipj43y0qnz2d0x14", 126 "license": "gpl3" 127 }, 128 { 129 "pname": "es_dep_news_trf", 130 - "version": "3.3.0", 131 - "sha256": "1rmccrgddgbfagj2vasfr6bqc5kpziy4gln5bcmnxwhh6mh66rwd", 132 "license": "gpl3" 133 }, 134 { 135 "pname": "fr_core_news_lg", 136 - "version": "3.3.0", 137 - "sha256": "15vxksw3g7g721cwrp9436w5wx43gicq6i2v6v1h63qifxjhkp3j", 138 "license": "lgpllr" 139 }, 140 { 141 "pname": "fr_core_news_md", 142 - "version": "3.3.0", 143 - "sha256": "1x3d6nlfmclq961b292aqvgz8ldijpsi330vja75ncrbyz9wygav", 144 "license": "lgpllr" 145 }, 146 { 147 "pname": "fr_core_news_sm", 148 - "version": "3.3.0", 149 - "sha256": "1gqzspi8y8b54ja7ikhlr5ip137kgv7x4flavgj456sdhfzkaqkz", 150 "license": "lgpllr" 151 }, 152 { 153 "pname": "fr_dep_news_trf", 154 - "version": "3.3.0", 155 - "sha256": "09n067v07233gr8sw6yma1s2bi2m6wf8ripn74npjjs28akmr5p3", 156 "license": "lgpllr" 157 }, 158 { 159 "pname": "it_core_news_lg", 160 - "version": "3.3.0", 161 - "sha256": "1c5zqfpkmjwr21nmcnky6sgf7fr4lpiaai9hz2z14yrnnvby80y1", 162 "license": "cc-by-nc-sa-30" 163 }, 164 { 165 "pname": "it_core_news_md", 166 - "version": "3.3.0", 167 - "sha256": "1jpcivp0djfm975czn41k23y7ly6b54myrlj5fyjql1scwf0xzh1", 168 "license": "cc-by-nc-sa-30" 169 }, 170 { 171 "pname": "it_core_news_sm", 172 - "version": "3.3.0", 173 - "sha256": "0lkgs8sw02p7l5mrbrwkaiqs524hd9bkhfiiz7wzcc0p0zn4hn8h", 174 "license": "cc-by-nc-sa-30" 175 }, 176 { 177 "pname": "lt_core_news_lg", 178 - "version": "3.3.0", 179 - "sha256": "08azxjqpsa66b5vm7gwllbjli36wv1n11m07andlkg3p2nmn6m85", 180 "license": "cc-by-sa-40" 181 }, 182 { 183 "pname": "lt_core_news_md", 184 - "version": "3.3.0", 185 - "sha256": "05qj4bhjq4v31r05rza7kc52kmp954f4h4zs344pdddzdzzc8h4q", 186 "license": "cc-by-sa-40" 187 }, 188 { 189 "pname": "lt_core_news_sm", 190 - "version": "3.3.0", 191 - "sha256": "0wmaxixrm08ikicgnbz5zw3iimmm9dl7j7yy78bqixzym0iv2hxy", 192 "license": "cc-by-sa-40" 193 }, 194 { 195 "pname": "mk_core_news_lg", 196 - "version": "3.3.0", 197 - "sha256": "17q62v8nvyz73d5jsbd5nw1mzxkj1cn7g6f0cl0lrl6pqn2b2rgl", 198 "license": "cc-by-sa-40" 199 }, 200 { 201 "pname": "mk_core_news_md", 202 - "version": "3.3.0", 203 - "sha256": "103z7hkr5jbk6zmqihzsm9jlmr4mg32r6ph90j6xx71jdmnjz4ky", 204 "license": "cc-by-sa-40" 205 }, 206 { 207 "pname": "mk_core_news_sm", 208 - "version": "3.3.0", 209 - "sha256": "09k56dds3mjc2qxa6mbcha1i2h4hqjvbavkhnijmdfhsk6azk3v5", 210 "license": "cc-by-sa-40" 211 }, 212 { 213 "pname": "nb_core_news_lg", 214 - "version": "3.3.0", 215 - "sha256": "11iq62w96zc5z51i9kkxp5bqbfmhzm3jpivrs8arw9fs7xrscjn0", 216 "license": "mit" 217 }, 218 { 219 "pname": "nb_core_news_md", 220 - "version": "3.3.0", 221 - "sha256": "0891z1c867jyhg9jr0ais2vv6h3v5b98sc7c8hxy4apf7nwnkjss", 222 "license": "mit" 223 }, 224 { 225 "pname": "nb_core_news_sm", 226 - "version": "3.3.0", 227 - "sha256": "1v19jvzvhix6rfac4szggdcqi3qkljwqmrynl75qz28piff0sln5", 228 "license": "mit" 229 }, 230 { 231 "pname": "nl_core_news_lg", 232 - "version": "3.3.0", 233 - "sha256": "0ai6pydmd2rabpl8fy98ild7n2wwk2z11qha20x4gn33d8k60ih0", 234 "license": "cc-by-sa-40" 235 }, 236 { 237 "pname": "nl_core_news_md", 238 - "version": "3.3.0", 239 - "sha256": "1c95xcivn09dmfgrq21hh9i82v6wbnk0cwglcdgnx9kfidzgpgjc", 240 "license": "cc-by-sa-40" 241 }, 242 { 243 "pname": "nl_core_news_sm", 244 - "version": "3.3.0", 245 - "sha256": "1jp978ish3hvn48i1dard82czzx3vvh4lnlhhb50j0kk4b7xv5z1", 246 "license": "cc-by-sa-40" 247 }, 248 { 249 "pname": "pl_core_news_lg", 250 - "version": "3.3.0", 251 - "sha256": "0w5rpz43ix16sq8h6h5g3h1a64ww8r5z4fydz2vr7bphajkwrhlq", 252 "license": "gpl3" 253 }, 254 { 255 "pname": "pl_core_news_md", 256 - "version": "3.3.0", 257 - "sha256": "1sllknhw689nbf9rmnc5604r0vig1yzkpg3s6yvgjyli7m04k6d1", 258 "license": "gpl3" 259 }, 260 { 261 "pname": "pl_core_news_sm", 262 - "version": "3.3.0", 263 - "sha256": "0gpa140y04kazr8imifgdjsdzj7m10s15vy8q0vbi8chc8m14i1s", 264 "license": "gpl3" 265 }, 266 { 267 "pname": "pt_core_news_lg", 268 - "version": "3.3.0", 269 - "sha256": "1pk0m03hyck3g6riq1x5n5k0jp70z2fqaw6pl7zrm0rcf2165rh0", 270 "license": "cc-by-sa-40" 271 }, 272 { 273 "pname": "pt_core_news_md", 274 - "version": "3.3.0", 275 - "sha256": "190d74ihga38kp68r8xs9rxnavxdzw2j917f7b75wmr04brbf824", 276 "license": "cc-by-sa-40" 277 }, 278 { 279 "pname": "pt_core_news_sm", 280 - "version": "3.3.0", 281 - "sha256": "1477yddal5cjn7a6adw1bvmal4pc4p8bcc4x7q016a22fgk9lcpl", 282 "license": "cc-by-sa-40" 283 }, 284 { 285 "pname": "ro_core_news_lg", 286 - "version": "3.3.0", 287 - "sha256": "1w8cwll2dp9a1k40b5njbypdrxwf7vacf9sdwc18kkiadkrihy4g", 288 "license": "cc-by-sa-40" 289 }, 290 { 291 "pname": "ro_core_news_md", 292 - "version": "3.3.0", 293 - "sha256": "1mr3s0fm571idbgi0g3qg4x7hyy1kw9br98vn8g21f8h05qmlc72", 294 "license": "cc-by-sa-40" 295 }, 296 { 297 "pname": "ro_core_news_sm", 298 - "version": "3.3.0", 299 - "sha256": "1n6dwfx2l0wzb02r14z47r19v5dy7ld35s11w1kq40k5bbkbakhm", 300 "license": "cc-by-sa-40" 301 }, 302 { 303 "pname": "ru_core_news_lg", 304 - "version": "3.3.0", 305 - "sha256": "1yv2r6b6n9ccvizi23q2xdrzbws1asa5mbiw4771irrmqzan9wiq", 306 "license": "mit" 307 }, 308 { 309 "pname": "ru_core_news_md", 310 - "version": "3.3.0", 311 - "sha256": "0s2yjlibg2r2pdf8cfn36nx6rp9ppk8jjjph91az0sp5lj0c38pp", 312 "license": "mit" 313 }, 314 { 315 "pname": "ru_core_news_sm", 316 - "version": "3.3.0", 317 - "sha256": "0cnn8daf90hnl5mmgk3y6fc0f6x62j7rm9gkq16zbb0qmayb7ri0", 318 "license": "mit" 319 }, 320 { 321 "pname": "sv_core_news_lg", 322 - "version": "3.3.0", 323 - "sha256": "0503xnr8cdzb2ckj12b51hkayv2gzf2c2rv746w4y50pjk4cmfsx", 324 "license": "cc-by-sa-40" 325 }, 326 { 327 "pname": "sv_core_news_md", 328 - "version": "3.3.0", 329 - "sha256": "1hzfl92j13hxf8im4b4mjbgxawp8xqpi3ych6bi2x5pr7qjx6gab", 330 "license": "cc-by-sa-40" 331 }, 332 { 333 "pname": "sv_core_news_sm", 334 - "version": "3.3.0", 335 - "sha256": "0sjg1ab8r7m1g735amgakslchn1jba0ygyri59h6qsp8cmhvajw7", 336 "license": "cc-by-sa-40" 337 }, 338 { 339 "pname": "xx_ent_wiki_sm", 340 - "version": "3.3.0", 341 - "sha256": "1925y6n90qwy703v410si8sq7vzvlwi6zaj9n19ggysr78kyrsqz", 342 "license": "mit" 343 }, 344 { 345 "pname": "xx_sent_ud_sm", 346 - "version": "3.3.0", 347 - "sha256": "0dgd2lwh269f8m7qsv8x3743b3mc5r2lw6kcvdh1cs8qk8hxlfnx", 348 "license": "cc-by-sa-30" 349 }, 350 { 351 "pname": "zh_core_web_lg", 352 - "version": "3.3.0", 353 - "sha256": "15yps28i86shnf313xbsmv1sgnr71aymxnx5s155hbn2fk8pdzwc", 354 "license": "mit" 355 }, 356 { 357 "pname": "zh_core_web_md", 358 - "version": "3.3.0", 359 - "sha256": "0mvqgmm4y1ng6asxb2ic215ikk8lx0dm7c5cfwhx02vamllxv20q", 360 "license": "mit" 361 }, 362 { 363 "pname": "zh_core_web_sm", 364 - "version": "3.3.0", 365 - "sha256": "05qc50wxddfacf6x7i8q0r9dnrr6gsfnaldzmavry96nfngmqp6v", 366 "license": "mit" 367 }, 368 { 369 "pname": "zh_core_web_trf", 370 - "version": "3.3.0", 371 - "sha256": "0pmb456q8b02qw5zmw735w9yv3clfaqcqm91ng8lphxbcxqkp9jc", 372 "license": "mit" 373 } 374 ]
··· 1 [ 2 { 3 "pname": "ca_core_news_lg", 4 + "version": "3.5.0", 5 + "sha256": "01wssrmfjnx2lycqbpjpvzpfymwhiy1336s1123y747q7klzic08", 6 "license": "gpl3" 7 }, 8 { 9 "pname": "ca_core_news_md", 10 + "version": "3.5.0", 11 + "sha256": "0z8p2wqp1jsv9ipiqkw7c144nla2xgfwzijkwbb6qf4k2gdizzmq", 12 "license": "gpl3" 13 }, 14 { 15 "pname": "ca_core_news_sm", 16 + "version": "3.5.0", 17 + "sha256": "0kwifrwf8iaxpry7v453hf8vawlwqpqm9df364k4ai6bhcpqad3k", 18 "license": "gpl3" 19 }, 20 { 21 "pname": "ca_core_news_trf", 22 + "version": "3.5.0", 23 + "sha256": "12vlgy6n2xmap1z8fsf44dbnrw69fbdipss88v9ivwffn6yy3mj8", 24 "license": "gpl3" 25 }, 26 { 27 "pname": "da_core_news_lg", 28 + "version": "3.5.0", 29 + "sha256": "1289r8qmzfzwyvsz3dvl6r6wrbr6s1jfw1nmb0bpybjzcp48nfnh", 30 "license": "cc-by-sa-40" 31 }, 32 { 33 "pname": "da_core_news_md", 34 + "version": "3.5.0", 35 + "sha256": "1i3vamzxnv6xfa1ky2zf6cb9c0blvm5rkfmif15kvgfkjbmhi7id", 36 "license": "cc-by-sa-40" 37 }, 38 { 39 "pname": "da_core_news_sm", 40 + "version": "3.5.0", 41 + "sha256": "0bmbk6vnad3xqhg0jg8dhfhh75vyahsm16mn8ddzchhl7wm8axcc", 42 "license": "cc-by-sa-40" 43 }, 44 { 45 "pname": "de_core_news_lg", 46 + "version": "3.5.0", 47 + "sha256": "0l3sg853xfkab7mj41n370x37iksp79nrjp7s60hhajpfbl546a0", 48 "license": "mit" 49 }, 50 { 51 "pname": "de_core_news_md", 52 + "version": "3.5.0", 53 + "sha256": "01z9bg59k4aw324dzwa3hlf8fg8yys70k6c3ih93if55svfc5xym", 54 "license": "mit" 55 }, 56 { 57 "pname": "de_core_news_sm", 58 + "version": "3.5.0", 59 + "sha256": "1qlqiqadv8r44a2y6iwpf28khmixsnwm8pss6miwdn0k5xh4kqbp", 60 "license": "mit" 61 }, 62 { 63 "pname": "de_dep_news_trf", 64 + "version": "3.5.0", 65 + "sha256": "0d5vkdz653yhqwykn39xm78vmxn9bcl5a9wh6hsvzhg9brffh2cn", 66 "license": "mit" 67 }, 68 { 69 "pname": "el_core_news_lg", 70 + "version": "3.5.0", 71 + "sha256": "1y0na4fz3jfsjh43prc76rmkc508vk42mi9mgahz7n7nwfgyxspj", 72 "license": "cc-by-nc-sa-30" 73 }, 74 { 75 "pname": "el_core_news_md", 76 + "version": "3.5.0", 77 + "sha256": "10li1rklw2yjs5rhzm2cr2pa0x9wx504hamkyb2d9fkcq1vnj3ds", 78 "license": "cc-by-nc-sa-30" 79 }, 80 { 81 "pname": "el_core_news_sm", 82 + "version": "3.5.0", 83 + "sha256": "1j728bmmavhhn22k6ppz29ck8ag5y4299jir4y0bjjhn1ghmxq4d", 84 "license": "cc-by-nc-sa-30" 85 }, 86 { 87 "pname": "en_core_web_lg", 88 + "version": "3.5.0", 89 + "sha256": "0ib93cn1nv5wv39dpxxs68nzmwr3j6qdc5l71mp6hi74cy0jqwr9", 90 "license": "mit" 91 }, 92 { 93 "pname": "en_core_web_md", 94 + "version": "3.5.0", 95 + "sha256": "02w0kjsbzmnp17p7b7cs4lqzg37mbk0ygva7c4qfb312x4wyr9vg", 96 "license": "mit" 97 }, 98 { 99 "pname": "en_core_web_sm", 100 + "version": "3.5.0", 101 + "sha256": "09j61i5nrdy2amml3kij2xndqawha3dgdm7lg9f67422vpn8zlv3", 102 "license": "mit" 103 }, 104 { 105 "pname": "en_core_web_trf", 106 + "version": "3.5.0", 107 + "sha256": "1rqb9p8khy1zy041gsc04b5v9l4v0pc6nqzn5lm5p85161k55c7c", 108 "license": "mit" 109 }, 110 { 111 "pname": "es_core_news_lg", 112 + "version": "3.5.0", 113 + "sha256": "0zw6z8aygh9pzdws88iclgnp277v0nlklykmdkkhqs75acpckzkx", 114 "license": "gpl3" 115 }, 116 { 117 "pname": "es_core_news_md", 118 + "version": "3.5.0", 119 + "sha256": "1b5xsidys6jhq9rnv0q38q3hck11jx4z3yvmka83cbdwvzkncaq3", 120 "license": "gpl3" 121 }, 122 { 123 "pname": "es_core_news_sm", 124 + "version": "3.5.0", 125 + "sha256": "169xg2xwn3rkhal9ygwrnkb9xzdgz4rz3419xr252zji34cr8d6a", 126 "license": "gpl3" 127 }, 128 { 129 "pname": "es_dep_news_trf", 130 + "version": "3.5.0", 131 + "sha256": "1py98kc6dxx5a6v6pc7hpldd6jm5s2a8vwp7l7d2jxadh947ma12", 132 "license": "gpl3" 133 }, 134 { 135 "pname": "fr_core_news_lg", 136 + "version": "3.5.0", 137 + "sha256": "1zjf348c60xf35zaldgykrlskvrryxv9vdaz49xlwq9caw0yzyh4", 138 "license": "lgpllr" 139 }, 140 { 141 "pname": "fr_core_news_md", 142 + "version": "3.5.0", 143 + "sha256": "1ph768pv2brv94fzydw8d2daxypvy61zwbmi4hbalgaar62lglhl", 144 "license": "lgpllr" 145 }, 146 { 147 "pname": "fr_core_news_sm", 148 + "version": "3.5.0", 149 + "sha256": "1vhamgrv7adk85i9b3s5bh6j0aw21rma5xcb3ggy9ay51jfmkzzm", 150 "license": "lgpllr" 151 }, 152 { 153 "pname": "fr_dep_news_trf", 154 + "version": "3.5.0", 155 + "sha256": "0ciyilnc5gx0f1qakim57pizj1dknm8l8gd72avmrmzg3z52mgl2", 156 "license": "lgpllr" 157 }, 158 { 159 "pname": "it_core_news_lg", 160 + "version": "3.5.0", 161 + "sha256": "1z64s632wbjlqmnmppcnpf2pfrjbml30gbil7mk0qln2i2hrh0qq", 162 "license": "cc-by-nc-sa-30" 163 }, 164 { 165 "pname": "it_core_news_md", 166 + "version": "3.5.0", 167 + "sha256": "055gj5ai4rda5yc8lkhmfcwpfm7yfzyl6v05xhziz8sh1x4z58kz", 168 "license": "cc-by-nc-sa-30" 169 }, 170 { 171 "pname": "it_core_news_sm", 172 + "version": "3.5.0", 173 + "sha256": "1fw262m7bl3g31gz0jb6fxrd385p67q82wfrsff6z9daxi3pi6ip", 174 "license": "cc-by-nc-sa-30" 175 }, 176 { 177 "pname": "lt_core_news_lg", 178 + "version": "3.5.0", 179 + "sha256": "002xalsrf85vg4c3gmj1zaka1zfy7smxv2xpqkl00idiixc5822y", 180 "license": "cc-by-sa-40" 181 }, 182 { 183 "pname": "lt_core_news_md", 184 + "version": "3.5.0", 185 + "sha256": "0rd3jmy7d42q5vwgx5kdf24kzd333i5l6v7pjmc5qnq4vwhqr96j", 186 "license": "cc-by-sa-40" 187 }, 188 { 189 "pname": "lt_core_news_sm", 190 + "version": "3.5.0", 191 + "sha256": "039ldh4wvlnkq7cfxahk0m9hvb90hh2x0dqsqygglbdflxibmia0", 192 "license": "cc-by-sa-40" 193 }, 194 { 195 "pname": "mk_core_news_lg", 196 + "version": "3.5.0", 197 + "sha256": "11daxcyapaqskwmfxl57s3hbjaajk79khnafg4k7zshlqpdyvc3p", 198 "license": "cc-by-sa-40" 199 }, 200 { 201 "pname": "mk_core_news_md", 202 + "version": "3.5.0", 203 + "sha256": "0iky995dql569vg1manz4gv65jgr01nlx0559fljmysiqhq8ax76", 204 "license": "cc-by-sa-40" 205 }, 206 { 207 "pname": "mk_core_news_sm", 208 + "version": "3.5.0", 209 + "sha256": "1ghjpk6p5p19l4gichg361191i7xibp5zw0g1hqn87y0x12d20y3", 210 "license": "cc-by-sa-40" 211 }, 212 { 213 "pname": "nb_core_news_lg", 214 + "version": "3.5.0", 215 + "sha256": "06pcfcy28r57n9dysjqx6py8r0awwfan4g5s97byl1486h77jkaz", 216 "license": "mit" 217 }, 218 { 219 "pname": "nb_core_news_md", 220 + "version": "3.5.0", 221 + "sha256": "05vsaqw4x8swi4yamwlwg4rw7nj3bsyxdq8g5qjhcj0mjdabz6kj", 222 "license": "mit" 223 }, 224 { 225 "pname": "nb_core_news_sm", 226 + "version": "3.5.0", 227 + "sha256": "030j0v1csn2q38sy7nfxkx60i8ga7mlkma2f99mlh739j1s4nxaz", 228 "license": "mit" 229 }, 230 { 231 "pname": "nl_core_news_lg", 232 + "version": "3.5.0", 233 + "sha256": "0qcfka8ahcdv1y9lz4zsd1q6xlfxajf5qbymg9cabxxyqjzjqwys", 234 "license": "cc-by-sa-40" 235 }, 236 { 237 "pname": "nl_core_news_md", 238 + "version": "3.5.0", 239 + "sha256": "1cl3vynhlgkby7cnda1sgxqi8vrcj5amplmm96xhq5nmb6z6b8jx", 240 "license": "cc-by-sa-40" 241 }, 242 { 243 "pname": "nl_core_news_sm", 244 + "version": "3.5.0", 245 + "sha256": "16dkiklayp7irc5hwf7qv4pjww6kjg5pd0say25niclrgxfn3482", 246 "license": "cc-by-sa-40" 247 }, 248 { 249 "pname": "pl_core_news_lg", 250 + "version": "3.5.0", 251 + "sha256": "194mjgbph4xgf7xywwajb0p4l19ww2z2ln7jykhnn2gy3j5dm6pd", 252 "license": "gpl3" 253 }, 254 { 255 "pname": "pl_core_news_md", 256 + "version": "3.5.0", 257 + "sha256": "0435glcxzw1axlq8dkqv0wn8nxgav0dpx3pzvx475avxfp4qm1rv", 258 "license": "gpl3" 259 }, 260 { 261 "pname": "pl_core_news_sm", 262 + "version": "3.5.0", 263 + "sha256": "1ifl01ncfdph32ij1kl8f74ksjw0xiyszabi6q6pskjmcwhfixp7", 264 "license": "gpl3" 265 }, 266 { 267 "pname": "pt_core_news_lg", 268 + "version": "3.5.0", 269 + "sha256": "182bl598x65akb368fy2nf4qnq89a8n1hcj2g92n3jwhn6d1xfpw", 270 "license": "cc-by-sa-40" 271 }, 272 { 273 "pname": "pt_core_news_md", 274 + "version": "3.5.0", 275 + "sha256": "19h8nzx5qfmfcv97sqrzwlv0n45i5yqcngf855djc360mfp2hv69", 276 "license": "cc-by-sa-40" 277 }, 278 { 279 "pname": "pt_core_news_sm", 280 + "version": "3.5.0", 281 + "sha256": "19raq2b6q6a3ipxfzg4mdhq2wff9di5ip2mzf48blrj2xp2rjxyg", 282 "license": "cc-by-sa-40" 283 }, 284 { 285 "pname": "ro_core_news_lg", 286 + "version": "3.5.0", 287 + "sha256": "10dc7c94wm3mia3japcsplxsv708q30yrqjml68zrrm5awwk30a7", 288 "license": "cc-by-sa-40" 289 }, 290 { 291 "pname": "ro_core_news_md", 292 + "version": "3.5.0", 293 + "sha256": "1j8321nn8i13gy6n6rlcw7vsf2wnaf2ybiscwif3wrkzvb07113b", 294 "license": "cc-by-sa-40" 295 }, 296 { 297 "pname": "ro_core_news_sm", 298 + "version": "3.5.0", 299 + "sha256": "117dyvkdgfrymh8qvdcfrcc6s8pcbnyzg83sib4vjv0nxxfp2xl8", 300 "license": "cc-by-sa-40" 301 }, 302 { 303 "pname": "ru_core_news_lg", 304 + "version": "3.5.0", 305 + "sha256": "1zdlsvlhcfxg2nvcrqvjyx9qyzjl39xb482qqhn572bv89v35h76", 306 "license": "mit" 307 }, 308 { 309 "pname": "ru_core_news_md", 310 + "version": "3.5.0", 311 + "sha256": "0nqlr2kpbznksh5djc669kcqc61i0ljiazn4z81dblfhxxhv692x", 312 "license": "mit" 313 }, 314 { 315 "pname": "ru_core_news_sm", 316 + "version": "3.5.0", 317 + "sha256": "0yb0gx8kl5w0f9pkii788vxv9alc0xb08gdfnim0g2givqa5p4fn", 318 "license": "mit" 319 }, 320 { 321 "pname": "sv_core_news_lg", 322 + "version": "3.5.0", 323 + "sha256": "100rf8wv4nf679fvvrnvd67wlx5w5d755ssvk9g76gzalzxywrmz", 324 "license": "cc-by-sa-40" 325 }, 326 { 327 "pname": "sv_core_news_md", 328 + "version": "3.5.0", 329 + "sha256": "0ll1i767xb63gqmarxqk7nwg1xn5wjjhrix17hjq03q7rms267mw", 330 "license": "cc-by-sa-40" 331 }, 332 { 333 "pname": "sv_core_news_sm", 334 + "version": "3.5.0", 335 + "sha256": "1c0w85xn8lnx394qmmnv3px68w0pha7fxx0qlqa74r2mfi3sv6s7", 336 "license": "cc-by-sa-40" 337 }, 338 { 339 "pname": "xx_ent_wiki_sm", 340 + "version": "3.5.0", 341 + "sha256": "042aszgyzbp5n5bn6lgk1m38zxfl1irbryid5fslgh19b19l8v3x", 342 "license": "mit" 343 }, 344 { 345 "pname": "xx_sent_ud_sm", 346 + "version": "3.5.0", 347 + "sha256": "08hqldksllz387d6h3ch95g6rb6ls329hqh0cxyglg9njw9sc97z", 348 "license": "cc-by-sa-30" 349 }, 350 { 351 "pname": "zh_core_web_lg", 352 + "version": "3.5.0", 353 + "sha256": "17z7g5my5lyp34prcdqzv6w3cgyb7h5gvq61iwbkzppv0n2kldz2", 354 "license": "mit" 355 }, 356 { 357 "pname": "zh_core_web_md", 358 + "version": "3.5.0", 359 + "sha256": "03qxsxdvxn8l11drzicp53jma6j54gxgi8bw53xvbqr9cajxbqva", 360 "license": "mit" 361 }, 362 { 363 "pname": "zh_core_web_sm", 364 + "version": "3.5.0", 365 + "sha256": "0n3ajnbiyr56vy0kplm53rb421cxlc12q5f9p5i7icyv14dy4kml", 366 "license": "mit" 367 }, 368 { 369 "pname": "zh_core_web_trf", 370 + "version": "3.5.0", 371 + "sha256": "0gc4nn7zsng80j2qn8f7y85akls87dng72jkxp9pldav7k8435nb", 372 "license": "mit" 373 } 374 ]
+58 -28
pkgs/development/python-modules/spacy/models.nix
··· 6 , sentencepiece 7 , spacy 8 , spacy-pkuseg 9 - , spacy-transformers }: 10 let 11 buildModelPackage = { pname, version, sha256, license }: 12 - let 13 - lang = builtins.substring 0 2 pname; 14 - in buildPythonPackage { 15 - inherit pname version; 16 17 - src = fetchurl { 18 - url = "https://github.com/explosion/spacy-models/releases/download/${pname}-${version}/${pname}-${version}.tar.gz"; 19 - inherit sha256; 20 - }; 21 22 - propagatedBuildInputs = [ spacy ] 23 - ++ lib.optionals (lang == "zh") [ jieba spacy-pkuseg ] 24 - ++ lib.optionals (lib.hasSuffix "_trf" pname) [ spacy-transformers ] 25 - ++ lib.optionals (lang == "ru") [ pymorphy2 ] 26 - ++ lib.optionals (pname == "fr_dep_news_trf") [ sentencepiece ]; 27 28 - postPatch = lib.optionalString (pname == "fr_dep_news_trf") '' 29 - substituteInPlace meta.json \ 30 - --replace "sentencepiece==0.1.91" "sentencepiece>=0.1.91" 31 - ''; 32 33 - pythonImportsCheck = [ pname ]; 34 35 - meta = with lib; { 36 - description = "Models for the spaCy NLP library"; 37 - homepage = "https://github.com/explosion/spacy-models"; 38 - license = licenses.${license}; 39 - maintainers = with maintainers; [ rvl ]; 40 }; 41 - }; 42 43 makeModelSet = models: with lib; listToAttrs (map (m: nameValuePair m.pname (buildModelPackage m)) models); 44 45 - in makeModelSet (lib.importJSON ./models.json) 46 - 47 - # cat models.json | jq -r '.[] | @uri "https://github.com/explosion/spacy-models/releases/download/\(.pname)-\(.version)/\(.pname)-\(.version).tar.gz"' | xargs -n1 nix-prefetch-url
··· 6 , sentencepiece 7 , spacy 8 , spacy-pkuseg 9 + , spacy-transformers 10 + , writeScript 11 + , stdenv 12 + , jq 13 + , nix 14 + , moreutils 15 + }: 16 let 17 buildModelPackage = { pname, version, sha256, license }: 18 + let 19 + lang = builtins.substring 0 2 pname; 20 + in 21 + buildPythonPackage { 22 + inherit pname version; 23 24 + src = fetchurl { 25 + url = "https://github.com/explosion/spacy-models/releases/download/${pname}-${version}/${pname}-${version}.tar.gz"; 26 + inherit sha256; 27 + }; 28 29 + propagatedBuildInputs = [ spacy ] 30 + ++ lib.optionals (lang == "zh") [ jieba spacy-pkuseg ] 31 + ++ lib.optionals (lib.hasSuffix "_trf" pname) [ spacy-transformers ] 32 + ++ lib.optionals (lang == "ru") [ pymorphy2 ] 33 + ++ lib.optionals (pname == "fr_dep_news_trf") [ sentencepiece ]; 34 35 + postPatch = lib.optionalString (pname == "fr_dep_news_trf") '' 36 + substituteInPlace meta.json \ 37 + --replace "sentencepiece==0.1.91" "sentencepiece>=0.1.91" 38 + ''; 39 40 + pythonImportsCheck = [ pname ]; 41 + 42 + passthru.updateScript = writeScript "update-spacy-models" '' 43 + #!${stdenv.shell} 44 + set -eou pipefail 45 + PATH=${lib.makeBinPath [ jq nix moreutils ]} 46 + 47 + IFS=. read -r major minor patch <<<"${spacy.version}" 48 + spacyVersion="$(echo "$major.$minor.0")" 49 + 50 + pushd pkgs/development/python-modules/spacy/ || exit 51 + 52 + jq -r '.[] | .pname' models.json | while IFS= read -r pname; do 53 + if [ "$(jq --arg pname "$pname" -r '.[] | select(.pname == $pname) | .version' models.json)" == "$spacyVersion" ]; then 54 + continue 55 + fi 56 + 57 + newHash="$(nix-prefetch-url "https://github.com/explosion/spacy-models/releases/download/$pname-$spacyVersion/$pname-$spacyVersion.tar.gz")" 58 + jq --arg newHash "$newHash" --arg pname "$pname" --arg spacyVersion "$spacyVersion" \ 59 + '[(.[] | select(.pname != $pname)), (.[] | select(.pname == $pname) | .sha256 = $newHash | .version = $spacyVersion)] | sort_by(.pname)' \ 60 + models.json | sponge models.json 61 + done 62 63 + popd || exit 64 + ''; 65 + 66 + meta = with lib; { 67 + description = "Models for the spaCy NLP library"; 68 + homepage = "https://github.com/explosion/spacy-models"; 69 + license = licenses.${license}; 70 + maintainers = with maintainers; [ rvl ]; 71 + }; 72 }; 73 74 makeModelSet = models: with lib; listToAttrs (map (m: nameValuePair m.pname (buildModelPackage m)) models); 75 76 + in 77 + makeModelSet (lib.importJSON ./models.json)
+10 -3
pkgs/development/python-modules/stravalib/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , nose 5 , arrow 6 , requests 7 , units 8 , pytz 9 , six 10 }: 11 12 buildPythonPackage rec { 13 pname = "stravalib"; 14 - version = "1.1.0"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "sha256-qn46u1Kq2fkEL/JnjDNKbJZMTz/pitveNFPaf2xkbYs="; 19 }; 20 21 nativeCheckInputs = [ ··· 26 arrow 27 requests 28 units 29 pytz 30 six 31 ]; 32 ··· 36 37 meta = with lib; { 38 description = "Python library for interacting with Strava v3 REST API"; 39 - homepage = "https://github.com/hozn/stravalib"; 40 license = licenses.asl20; 41 maintainers = [ maintainers.costrouc ]; 42 };
··· 2 , buildPythonPackage 3 , fetchPypi 4 , nose 5 + , setuptools 6 , arrow 7 , requests 8 , units 9 + , pint 10 + , pydantic 11 , pytz 12 , six 13 }: 14 15 buildPythonPackage rec { 16 pname = "stravalib"; 17 + version = "1.2.0"; 18 + format = "pyproject"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + sha256 = "sha256-P00oxUz0oVQB969c/N2wpKLe09wtvQWPH4DH4EZUaxc="; 23 }; 24 25 nativeCheckInputs = [ ··· 30 arrow 31 requests 32 units 33 + pint 34 + pydantic 35 pytz 36 + setuptools 37 six 38 ]; 39 ··· 43 44 meta = with lib; { 45 description = "Python library for interacting with Strava v3 REST API"; 46 + homepage = "https://github.com/stravalib/stravalib"; 47 license = licenses.asl20; 48 maintainers = [ maintainers.costrouc ]; 49 };
+2 -2
pkgs/development/python-modules/winacl/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "winacl"; 10 - version = "0.1.6"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - hash = "sha256-GAw3Vgej9v8gSIpMaN2pbOptWsqTvC0Kph70yfj2LDQ="; 18 }; 19 20 propagatedBuildInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "winacl"; 10 + version = "0.1.7"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-ymYsCRRxpsYp12xe7GPYob8a98BUNI8JwSQvM4hQsr0="; 18 }; 19 20 propagatedBuildInputs = [
+31
pkgs/development/tools/paging-calculator/default.nix
···
··· 1 + { fetchCrate 2 + , lib 3 + , rustPlatform 4 + }: 5 + 6 + rustPlatform.buildRustPackage rec { 7 + pname = "paging-calculator"; 8 + version = "0.1.2"; 9 + 10 + src = fetchCrate { 11 + inherit pname version; 12 + hash = "sha256-9DbpfJbarWXYGNzTqfHHSaKFqSJ59E/VhOhuMUWk8ho="; 13 + }; 14 + 15 + cargoHash = "sha256-IfOhJwR5eRHeeAbEZ8zeUVojQXtrYHdzAeht/lvdlUQ="; 16 + 17 + meta = { 18 + description = "CLI utility that helps calculating page table indices from a virtual address"; 19 + longDescription = '' 20 + paging-calculator is a CLI utility written in Rust that helps you find the indices that a virtual 21 + address will have on different architectures or paging implementations. 22 + 23 + It takes a (virtual) address in hexadecimal format and shows you which index will be used for 24 + what page-table level. It can be installed with $ cargo install paging-calculator. 25 + ''; 26 + homepage = "https://github.com/phip1611/paging-calculator"; 27 + changelog = "https://github.com/phip1611/paging-calculator/blob/v${version}/CHANGELOG.md"; 28 + license = with lib.licenses; [ mit ]; 29 + maintainers = with lib.maintainers; [ phip1611 ]; 30 + }; 31 + }
+30
pkgs/development/tools/wambo/default.nix
···
··· 1 + { fetchCrate 2 + , lib 3 + , rustPlatform 4 + }: 5 + 6 + rustPlatform.buildRustPackage rec { 7 + pname = "wambo"; 8 + version = "0.3.1"; 9 + 10 + src = fetchCrate { 11 + inherit pname version; 12 + hash = "sha256-WZQgQmoFmsWLgPYRWonJmyKq9IIJ+a6J+O19XPppJG4="; 13 + }; 14 + 15 + cargoHash = "sha256-ghUdhWW5gURWxj/OhbcKPNeLzeJvndqAxEZmwKBATUk="; 16 + 17 + meta = { 18 + description = "All-in-one tool to convert decimal/bin/oct/hex and interpret bits as integers"; 19 + longDescription = '' 20 + wambo is a binary that can easily shows you a numeric value in all important numeral systems 21 + (bin, hex, dec) + interprets the input as both signed and unsigned values (from i8 to i64, 22 + including f32 and f64). It also easily calculates you mibibytes to bytes, kilobytes to gibibytes, 23 + and so on. 24 + ''; 25 + homepage = "https://github.com/phip1611/wambo"; 26 + changelog = "https://github.com/phip1611/wambo/blob/v${version}/CHANGELOG.md"; 27 + license = with lib.licenses; [ mit ]; 28 + maintainers = with lib.maintainers; [ phip1611 ]; 29 + }; 30 + }
+3 -12
pkgs/games/nethack/default.nix
··· 1 - { stdenv, lib, fetchurl, coreutils, ncurses, gzip, flex, bison, fetchpatch 2 , less 3 , buildPackages 4 , x11Mode ? false, qtMode ? false, libXaw, libXext, libXpm, bdftopcf, mkfontdir, pkg-config, qt5 ··· 19 binPath = lib.makeBinPath [ coreutils less ]; 20 21 in stdenv.mkDerivation rec { 22 - version = "3.6.6"; 23 pname = if x11Mode then "nethack-x11" 24 else if qtMode then "nethack-qt" 25 else "nethack"; 26 27 - patches = [ 28 - # Don't unset `__warn_unused_result__`, breaks on glibc-2.34 29 - (fetchpatch { 30 - url = "https://github.com/NetHack/NetHack/commit/81d73ce417dda6a98e2e918e06922e68b67c53f7.patch"; 31 - sha256 = "sha256-PX9XtJTEE3K1yg/IwIzEIT+EZWi02gU+9msrsG9ZWQY="; 32 - revert = true; 33 - }) 34 - ]; 35 - 36 src = fetchurl { 37 url = "https://nethack.org/download/${version}/nethack-${lib.replaceStrings ["."] [""] version}-src.tgz"; 38 - sha256 = "1liyckjp34j354qnxc1zn9730lh1p2dabrg1hap24z6xnqx0rpng"; 39 }; 40 41 buildInputs = [ ncurses ]
··· 1 + { stdenv, lib, fetchurl, coreutils, ncurses, gzip, flex, bison 2 , less 3 , buildPackages 4 , x11Mode ? false, qtMode ? false, libXaw, libXext, libXpm, bdftopcf, mkfontdir, pkg-config, qt5 ··· 19 binPath = lib.makeBinPath [ coreutils less ]; 20 21 in stdenv.mkDerivation rec { 22 + version = "3.6.7"; 23 pname = if x11Mode then "nethack-x11" 24 else if qtMode then "nethack-qt" 25 else "nethack"; 26 27 src = fetchurl { 28 url = "https://nethack.org/download/${version}/nethack-${lib.replaceStrings ["."] [""] version}-src.tgz"; 29 + sha256 = "sha256-mM9n323r+WaKYXRaqEwJvKs2Ll0z9blE7FFV1E0qrLI="; 30 }; 31 32 buildInputs = [ ncurses ]
+5 -5
pkgs/games/quake3/ioquake/default.nix
··· 19 20 stdenv.mkDerivation { 21 pname = "ioquake3"; 22 - version = "unstable-2021-07-20"; 23 24 src = fetchFromGitHub { 25 owner = "ioquake"; 26 repo = "ioq3"; 27 - rev = "bc8737d707595aebd7cc11d6d5a5d65ede750f59"; 28 - sha256 = "1icrkaw6c5c5ndy886bn65lycwnxzxwvz0ndz4p9i6r716k11add"; 29 }; 30 31 nativeBuildInputs = [ which pkg-config ]; ··· 50 51 installTargets = [ "copyfiles" ]; 52 53 - installFlags = [ "COPYDIR=$(out)" ]; 54 55 preInstall = '' 56 - mkdir -p $out/baseq3 57 ''; 58 59 meta = with lib; {
··· 19 20 stdenv.mkDerivation { 21 pname = "ioquake3"; 22 + version = "unstable-2022-11-24"; 23 24 src = fetchFromGitHub { 25 owner = "ioquake"; 26 repo = "ioq3"; 27 + rev = "70d07d91d62dcdd2f2268d1ac401bfb697b4c991"; 28 + sha256 = "sha256-WDjR0ik+xAs6OA1DNbUGIF1MXSuEoy8nNkPiHaegfF0="; 29 }; 30 31 nativeBuildInputs = [ which pkg-config ]; ··· 50 51 installTargets = [ "copyfiles" ]; 52 53 + installFlags = [ "COPYDIR=$(out)" "COPYBINDIR=$(out)/bin" ]; 54 55 preInstall = '' 56 + mkdir -p $out/baseq3 $out/bin 57 ''; 58 59 meta = with lib; {
+34
pkgs/misc/nflz/default.nix
···
··· 1 + { fetchCrate 2 + , lib 3 + , rustPlatform 4 + }: 5 + 6 + rustPlatform.buildRustPackage rec { 7 + pname = "nflz"; 8 + version = "1.0.2"; 9 + 10 + src = fetchCrate { 11 + inherit pname version; 12 + hash = "sha256-c9+79zrIU/M1Rh+DiaLJzbrNSa4IKrYk1gP0dsabUiw="; 13 + }; 14 + 15 + cargoHash = "sha256-+SOoZFVJ6mASRKufQE4JmHGKR5rbBgg1PmCrI6dvvko="; 16 + 17 + # Tests do not work in the package published on crates.io, since the folder 18 + # with test resources is not packaged. 19 + doCheck = false; 20 + 21 + meta = { 22 + description = "Numbered Files Leading Zeros helps you to manage ascending numbered file names"; 23 + longDescription = '' 24 + CLI to add leading zeros to ascending numbered file names. 25 + NFLZ stands for Numbered Files Leading Zeros. 26 + 27 + This library helps you to manage files inside your file system that 28 + belong to a set of ordered files. An example are photos from a camera. 29 + ''; 30 + homepage = "https://github.com/phip1611/nflz"; 31 + license = with lib.licenses; [ mit ]; 32 + maintainers = with lib.maintainers; [ phip1611 ]; 33 + }; 34 + }
+10
pkgs/os-specific/linux/kernel/common-config.nix
··· 70 PM_ADVANCED_DEBUG = yes; 71 PM_WAKELOCKS = yes; 72 POWERCAP = yes; 73 } // optionalAttrs (stdenv.hostPlatform.isx86) { 74 INTEL_IDLE = yes; 75 INTEL_RAPL = whenAtLeast "5.3" module; 76 X86_INTEL_LPSS = yes; 77 X86_INTEL_PSTATE = yes; 78 X86_AMD_PSTATE = whenAtLeast "5.17" yes; 79 }; 80 81 external-firmware = {
··· 70 PM_ADVANCED_DEBUG = yes; 71 PM_WAKELOCKS = yes; 72 POWERCAP = yes; 73 + # ACPI Firmware Performance Data Table Support 74 + ACPI_FPDT = whenAtLeast "5.12" yes; 75 + # ACPI Heterogeneous Memory Attribute Table Support 76 + ACPI_HMAT = whenAtLeast "5.2" yes; 77 + # ACPI Platform Error Interface 78 + ACPI_APEI = yes; 79 + # APEI Generic Hardware Error Source 80 + ACPI_APEI_GHES = yes; 81 } // optionalAttrs (stdenv.hostPlatform.isx86) { 82 INTEL_IDLE = yes; 83 INTEL_RAPL = whenAtLeast "5.3" module; 84 X86_INTEL_LPSS = yes; 85 X86_INTEL_PSTATE = yes; 86 X86_AMD_PSTATE = whenAtLeast "5.17" yes; 87 + # Intel DPTF (Dynamic Platform and Thermal Framework) Support 88 + ACPI_DPTF = whenAtLeast "5.10" yes; 89 }; 90 91 external-firmware = {
-2
pkgs/servers/mir/default.nix
··· 179 export XDG_RUNTIME_DIR=/tmp 180 ''; 181 182 - checkTarget = "ptest"; 183 - 184 outputs = [ "out" "dev" "doc" ]; 185 186 passthru = {
··· 179 export XDG_RUNTIME_DIR=/tmp 180 ''; 181 182 outputs = [ "out" "dev" "doc" ]; 183 184 passthru = {
+18 -3
pkgs/tools/graphics/ploticus/default.nix
··· 7 , libjpeg 8 , gd 9 , freetype 10 }: 11 12 - stdenv.mkDerivation rec { 13 pname = "ploticus"; 14 version = "2.42"; 15 16 src = fetchurl { 17 - url = "mirror://sourceforge/ploticus/ploticus/${version}/ploticus${lib.replaceStrings [ "." ] [ "" ] version}_src.tar.gz"; 18 sha256 = "PynkufQFIDqT7+yQDlgW2eG0OBghiB4kHAjKt91m4LA="; 19 }; 20 ··· 42 43 hardeningDisable = [ "format" ]; 44 45 preBuild = '' 46 cd src 47 ''; ··· 62 ln -s "pl" "$out/bin/ploticus" 63 ''; 64 65 meta = with lib; { 66 description = "A non-interactive software package for producing plots and charts"; 67 longDescription = '' ··· 77 homepage = "https://ploticus.sourceforge.net/"; 78 platforms = with platforms; linux ++ darwin; 79 }; 80 - }
··· 7 , libjpeg 8 , gd 9 , freetype 10 + , runCommand 11 }: 12 13 + stdenv.mkDerivation (finalAttrs: { 14 pname = "ploticus"; 15 version = "2.42"; 16 17 src = fetchurl { 18 + url = "mirror://sourceforge/ploticus/ploticus/${finalAttrs.version}/ploticus${lib.replaceStrings [ "." ] [ "" ] finalAttrs.version}_src.tar.gz"; 19 sha256 = "PynkufQFIDqT7+yQDlgW2eG0OBghiB4kHAjKt91m4LA="; 20 }; 21 ··· 43 44 hardeningDisable = [ "format" ]; 45 46 + postPatch = '' 47 + substituteInPlace src/pl.h --subst-var out 48 + ''; 49 + 50 preBuild = '' 51 cd src 52 ''; ··· 67 ln -s "pl" "$out/bin/ploticus" 68 ''; 69 70 + passthru.tests = { 71 + prefab = runCommand "ploticus-prefab-test" { 72 + buildInputs = [ finalAttrs.finalPackage ]; 73 + } '' 74 + # trivial test to see if the prefab path munging works 75 + mkdir $out/ 76 + pl -prefab scat inlinedata="A 1 2" x=2 y=3 -png -o $out/out.png 77 + ''; 78 + }; 79 + 80 meta = with lib; { 81 description = "A non-interactive software package for producing plots and charts"; 82 longDescription = '' ··· 92 homepage = "https://ploticus.sourceforge.net/"; 93 platforms = with platforms; linux ++ darwin; 94 }; 95 + })
+3 -3
pkgs/tools/package-management/apx/default.nix
··· 9 10 buildGoModule rec { 11 pname = "apx"; 12 - version = "1.4.2"; 13 14 src = fetchFromGitHub { 15 owner = "Vanilla-OS"; 16 repo = pname; 17 - rev = version; 18 - sha256 = "sha256-BswX4Jo/RReM/tXo29V9rIvKjN8ylECPe0oo0FCQcGY="; 19 }; 20 21 vendorSha256 = null;
··· 9 10 buildGoModule rec { 11 pname = "apx"; 12 + version = "1.7.0-1"; 13 14 src = fetchFromGitHub { 15 owner = "Vanilla-OS"; 16 repo = pname; 17 + rev = "v${version}"; 18 + hash = "sha256-tonI3S0a08MbR369qaKS2BoWc3QzXWzTuGx/zSgUz7s="; 19 }; 20 21 vendorSha256 = null;
+4 -4
pkgs/tools/security/hologram/default.nix
··· 2 3 buildGoModule rec { 4 pname = "hologram"; 5 - version = "1.2.1"; 6 7 src = fetchFromGitHub { 8 owner = "AdRoll"; 9 repo = "hologram"; 10 rev = version; 11 - sha256 = "sha256-rdV/oVo+M5ALyU3a3XlA4kt+TLg0Rnr7/qDyZ9iuIb4="; 12 }; 13 14 postPatch = '' ··· 17 rm -f agent/metadata_service_test.go server/persistent_ldap_test.go server/server_test.go 18 ''; 19 20 - vendorSha256 = "sha256-pEYMpBiNbq5eSDiFT+9gMjGHDeTzWIej802Zz6Xtays="; 21 22 ldflags = [ "-s" "-w" ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/AdRoll/hologram/"; 26 description = "Easy, painless AWS credentials on developer laptops"; 27 - maintainers = with maintainers; [ ]; 28 license = licenses.asl20; 29 }; 30 }
··· 2 3 buildGoModule rec { 4 pname = "hologram"; 5 + version = "1.3"; 6 7 src = fetchFromGitHub { 8 owner = "AdRoll"; 9 repo = "hologram"; 10 rev = version; 11 + hash = "sha256-b65mplfDuwk8lEfJLKBY7BF0yGRksxHjwbEW6A7moo4="; 12 }; 13 14 postPatch = '' ··· 17 rm -f agent/metadata_service_test.go server/persistent_ldap_test.go server/server_test.go 18 ''; 19 20 + vendorHash = "sha256-HI5+02qSQVLy6ZKaFjy1bWtvVk5bqMBg1umu2ic5HuY="; 21 22 ldflags = [ "-s" "-w" ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/AdRoll/hologram/"; 26 description = "Easy, painless AWS credentials on developer laptops"; 27 + maintainers = with maintainers; [ aaronjheng ]; 28 license = licenses.asl20; 29 }; 30 }
+8
pkgs/top-level/all-packages.nix
··· 3097 3098 cuelsp = callPackage ../development/tools/cuelsp {}; 3099 3100 cyclone-scheme = callPackage ../development/interpreters/cyclone { }; 3101 3102 cyclonedx-gomod = callPackage ../tools/security/cyclonedx-gomod { }; ··· 10120 10121 nfs-ganesha = callPackage ../servers/nfs-ganesha { }; 10122 10123 ngrep = callPackage ../tools/networking/ngrep { }; 10124 10125 ngrok = callPackage ../tools/networking/ngrok { }; ··· 10679 page = callPackage ../tools/misc/page { }; 10680 10681 PageEdit = libsForQt5.callPackage ../applications/office/PageEdit { }; 10682 10683 pagmo2 = callPackage ../development/libraries/pagmo2 { }; 10684 ··· 13131 wakapi = callPackage ../tools/misc/wakapi { }; 13132 13133 wakatime = python2Packages.callPackage ../tools/misc/wakatime { }; 13134 13135 weather = callPackage ../applications/misc/weather { }; 13136
··· 3097 3098 cuelsp = callPackage ../development/tools/cuelsp {}; 3099 3100 + cyclondds = callPackage ../development/libraries/cyclondds { }; 3101 + 3102 cyclone-scheme = callPackage ../development/interpreters/cyclone { }; 3103 3104 cyclonedx-gomod = callPackage ../tools/security/cyclonedx-gomod { }; ··· 10122 10123 nfs-ganesha = callPackage ../servers/nfs-ganesha { }; 10124 10125 + nflz = callPackage ../misc/nflz { }; 10126 + 10127 ngrep = callPackage ../tools/networking/ngrep { }; 10128 10129 ngrok = callPackage ../tools/networking/ngrok { }; ··· 10683 page = callPackage ../tools/misc/page { }; 10684 10685 PageEdit = libsForQt5.callPackage ../applications/office/PageEdit { }; 10686 + 10687 + paging-calculator = callPackage ../development/tools/paging-calculator { }; 10688 10689 pagmo2 = callPackage ../development/libraries/pagmo2 { }; 10690 ··· 13137 wakapi = callPackage ../tools/misc/wakapi { }; 13138 13139 wakatime = python2Packages.callPackage ../tools/misc/wakatime { }; 13140 + 13141 + wambo = callPackage ../development/tools/wambo { }; 13142 13143 weather = callPackage ../applications/misc/weather { }; 13144
+3 -1
pkgs/top-level/python-packages.nix
··· 10808 10809 spacy-loggers = callPackage ../development/python-modules/spacy-loggers { }; 10810 10811 - spacy_models = callPackage ../development/python-modules/spacy/models.nix { }; 10812 10813 spacy-pkuseg = callPackage ../development/python-modules/spacy-pkuseg { }; 10814
··· 10808 10809 spacy-loggers = callPackage ../development/python-modules/spacy-loggers { }; 10810 10811 + spacy_models = callPackage ../development/python-modules/spacy/models.nix { 10812 + inherit (pkgs) jq; 10813 + }; 10814 10815 spacy-pkuseg = callPackage ../development/python-modules/spacy-pkuseg { }; 10816