Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub ed5ed282 69382d41

+764 -1053
+1 -1
nixos/modules/services/web-servers/nginx/default.nix
··· 924 924 PrivateMounts = true; 925 925 # System Call Filtering 926 926 SystemCallArchitectures = "native"; 927 - SystemCallFilter = [ "~@cpu-emulation @debug @keyring @mount @obsolete @privileged @setuid @mincore" ] ++ optionals (cfg.package != pkgs.tengine) [ "~@ipc" ]; 927 + SystemCallFilter = [ "~@cpu-emulation @debug @keyring @mount @obsolete @privileged @setuid" ] ++ optionals (cfg.package != pkgs.tengine) [ "~@ipc" ]; 928 928 }; 929 929 }; 930 930
+2 -2
pkgs/applications/audio/cozy/default.nix
··· 22 22 format = "other"; # no setup.py 23 23 24 24 pname = "cozy"; 25 - version = "1.1.2"; 25 + version = "1.2.0"; 26 26 27 27 # Temporary fix 28 28 # See https://github.com/NixOS/nixpkgs/issues/57029 ··· 33 33 owner = "geigi"; 34 34 repo = pname; 35 35 rev = version; 36 - sha256 = "sha256-QENn8mFMk06/Uj8QJo0mJQ7frJNcv5RVNJwDB+H/LkI="; 36 + sha256 = "0igqf9b77i13sxlk4ziw549h379hmz1slrb3vvf8irk94gxabsaw"; 37 37 }; 38 38 39 39 nativeBuildInputs = [
+2 -2
pkgs/applications/audio/cyanrip/default.nix
··· 12 12 }: 13 13 stdenv.mkDerivation rec { 14 14 pname = "cyanrip"; 15 - version = "0.8.0"; 15 + version = "0.8.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "cyanreg"; 19 19 repo = pname; 20 20 rev = "v${version}"; 21 - sha256 = "1aip52bwkq8cb1d8ifyv2m6m5dz7jk6qmbhyb97yyf4nhxv445ky"; 21 + sha256 = "17bi2xhjv3f3i870whkyqckvjlg32wqkspash87zi0jw7m7jm229"; 22 22 }; 23 23 24 24 nativeBuildInputs = [ meson ninja pkg-config ];
+2 -2
pkgs/applications/misc/clight/clightd.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "clightd"; 12 - version = "5.4"; 12 + version = "5.5"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "FedeDP"; 16 16 repo = "Clightd"; 17 17 rev = version; 18 - sha256 = "sha256-ppaxfnZB3+aOzvc/wk1f8D2mFYngQspEOl9XArNMdBE="; 18 + sha256 = "sha256-uygMc4SPYBk+G+ENp+KsgDhkm+oq9ZMvWX4wF6iohPM="; 19 19 }; 20 20 21 21 # dbus-1.pc has datadir=/etc
+3 -3
pkgs/applications/misc/dbeaver/default.nix
··· 20 20 21 21 stdenv.mkDerivation rec { 22 22 pname = "dbeaver"; 23 - version = "21.3.2"; # When updating also update fetchedMavenDeps.sha256 23 + version = "21.3.3"; # When updating also update fetchedMavenDeps.sha256 24 24 25 25 src = fetchFromGitHub { 26 26 owner = "dbeaver"; 27 27 repo = "dbeaver"; 28 28 rev = version; 29 - sha256 = "SifnnzuETFKtnEwLjJtB7CV2QZaToex3MjKGuiShlwo="; 29 + sha256 = "sha256-WycjNxPa4hkxBtT8Pq7ayUu8pNV0DvaJ+29GDKNJNWE="; 30 30 }; 31 31 32 32 fetchedMavenDeps = stdenv.mkDerivation { ··· 52 52 dontFixup = true; 53 53 outputHashAlgo = "sha256"; 54 54 outputHashMode = "recursive"; 55 - outputHash = "grSFtkohTlLtK8qE4A4wVppC6UHcyaXRQlGnrOmQDC4="; 55 + outputHash = "sha256-pfYNHue7tZKYgU16kypZEfr2bXuDoPc4KorIAVjSylo="; 56 56 }; 57 57 58 58 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/neo4j-desktop/default.nix
··· 1 1 { appimageTools, lib, fetchurl }: 2 2 let 3 3 pname = "neo4j-desktop"; 4 - version = "1.4.7"; 4 + version = "1.4.12"; 5 5 name = "${pname}-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "https://s3-eu-west-1.amazonaws.com/dist.neo4j.org/${pname}/linux-offline/${name}-x86_64.AppImage"; 9 - hash = "sha256-oEcSW7UIeiGY2fCPJQ5EtDBRtd73Q04HaSk+7ObLKJc="; 9 + hash = "sha256-CfdXus9Zj6Tx6wAXpV2tRdqvJqowgE+NIL04v3fwtJE="; 10 10 }; 11 11 12 12 appimageContents = appimageTools.extract { inherit name src; };
+2 -2
pkgs/applications/misc/snapmaker-luban/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "snapmaker-luban"; 11 - version = "4.1.3"; 11 + version = "4.1.4"; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/Snapmaker/Luban/releases/download/v${version}/snapmaker-luban-${version}-linux-x64.tar.gz"; 15 - sha256 = "sha256-GXpM5dJ3JPf2HgrgTONyeCG6JjK4JhbcGP5ck7v4cqk="; 15 + sha256 = "sha256-hbqIwX6YCrUQAjvKKWFAUjHvcZycnIA6v6l6qmAMuUI="; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/spicetify-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "spicetify-cli"; 5 - version = "2.8.4"; 5 + version = "2.8.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "khanhas"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-WsNiMlqr9ya06Urvw/m3yPsGLCTOvYFaO0oNHuVKNTs="; 11 + sha256 = "sha256-cCIlKTHo+LyhIZkN6ncggBvZMwDBgXqDJVAfGWbUtj8="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-g0RYIVIq4oMXdRZDBDnVYg7ombN5WEo/6O9hChQvOYs=";
+4 -4
pkgs/applications/misc/todoist-electron/default.nix
··· 1 - { lib, stdenv, fetchurl, appimageTools, makeWrapper, electron, libsecret }: 1 + { lib, stdenv, fetchurl, appimageTools, makeWrapper, electron_15, libsecret }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "todoist-electron"; 5 - version = "1.0.1"; 5 + version = "1.0.3"; 6 6 7 7 src = fetchurl { 8 8 url = "https://electron-dl.todoist.com/linux/Todoist-${version}.AppImage"; 9 - sha256 = "1c4qmfyfi4hm3fs5bkxjbq1hxs5sgyp531xi5z5vpnzzi5z7dw0k"; 9 + sha256 = "sha256-bHX/RWDfe+ht66U7xg4HBZxeWlNBu4gYlIVd+9OuMNU="; 10 10 }; 11 11 12 12 appimageContents = appimageTools.extractType2 { ··· 36 36 ''; 37 37 38 38 postFixup = '' 39 - makeWrapper ${electron}/bin/electron $out/bin/${pname} \ 39 + makeWrapper ${electron_15}/bin/electron $out/bin/${pname} \ 40 40 --add-flags $out/share/${pname}/resources/app.asar \ 41 41 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ stdenv.cc.cc libsecret ]}" 42 42 '';
+2 -2
pkgs/applications/misc/xmrig/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "xmrig"; 7 - version = "6.16.2"; 7 + version = "6.16.3"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "xmrig"; 11 11 repo = "xmrig"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-RbpvEPjRwwGbjt4+A4tbnvEdLc+hH1VszE36xXnIxPE="; 13 + sha256 = "sha256-YR/8ApkuZtO2vJA/VlZ06JdQnGDbTzQ5fNqHgBpFZjQ="; 14 14 }; 15 15 16 16 nativeBuildInputs = [ cmake ];
+13 -17
pkgs/applications/networking/aether/default.nix
··· 9 9 10 10 let 11 11 binaryName = "AetherP2P"; 12 + aether-app-git = fetchFromGitHub { 13 + owner = "aethereans"; 14 + repo = "aether-app"; 15 + rev = "53b6c8b2a9253cbf056ea3ebb077e0e08cbc5b1d"; 16 + sha256 = "1kgkzh7ih2q9dsckdkinh5dbzvr7gdykf8yz6h8pyhvzyjhk1v0r"; 17 + }; 12 18 in 13 19 stdenv.mkDerivation rec { 14 20 pname = "aether"; 15 21 version = "2.0.0-dev.15"; 16 22 17 - srcs = [ 18 - (fetchurl { 19 - url = "https://static.getaether.net/Releases/Aether-${version}/2011262249.19338c93/linux/Aether-${version}%2B2011262249.19338c93.tar.gz"; 20 - sha256 = "1hi8w83zal3ciyzg2m62shkbyh6hj7gwsidg3dn88mhfy68himf7"; 21 - # % in the url / canonical filename causes an error 22 - name = "aether-tarball.tar.gz"; 23 - }) 24 - (fetchFromGitHub { 25 - owner = "aethereans"; 26 - repo = "aether-app"; 27 - rev = "53b6c8b2a9253cbf056ea3ebb077e0e08cbc5b1d"; 28 - sha256 = "1kgkzh7ih2q9dsckdkinh5dbzvr7gdykf8yz6h8pyhvzyjhk1v0r"; 29 - }) 30 - ]; 31 - 32 - sourceRoot = "Aether-${version}+2011262249.19338c93"; 23 + src = fetchurl { 24 + url = "https://static.getaether.net/Releases/Aether-${version}/2011262249.19338c93/linux/Aether-${version}%2B2011262249.19338c93.tar.gz"; 25 + sha256 = "1hi8w83zal3ciyzg2m62shkbyh6hj7gwsidg3dn88mhfy68himf7"; 26 + # % in the url / canonical filename causes an error 27 + name = "aether-tarball.tar.gz"; 28 + }; 33 29 34 30 # there is no logo in the tarball so we grab it from github and convert it in the build phase 35 31 buildPhase = '' 36 - convert ../source/aether-core/aether/client/src/app/ext_dep/images/Linux-Windows-App-Icon.png -resize 512x512 aether.png 32 + convert ${aether-app-git}/aether-core/aether/client/src/app/ext_dep/images/Linux-Windows-App-Icon.png -resize 512x512 aether.png 37 33 ''; 38 34 39 35 dontWrapGApps = true;
+2 -2
pkgs/applications/networking/browsers/lagrange/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "lagrange"; 22 - version = "1.10.1"; 22 + version = "1.10.3"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "skyjake"; 26 26 repo = "lagrange"; 27 27 rev = "v${version}"; 28 - sha256 = "sha256-HwrIdQv4LDVLLuvukzp28AuKKbEMQeHSb0ZW+a9q4ug="; 28 + sha256 = "sha256-4Xjm4P4uK0aZxUT0WzcSDdY6rEeh5YFwsMfVtFB14No="; 29 29 fetchSubmodules = true; 30 30 }; 31 31
+3 -3
pkgs/applications/networking/cluster/driftctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "driftctl"; 5 - version = "0.18.3"; 5 + version = "0.18.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cloudskiff"; 9 9 repo = "driftctl"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-JD3T0dCRg0UQlG0pWnI8RJZuRrIFfSMVHMoaEIymdWE="; 11 + sha256 = "sha256-Qz/yObF1Df62Hqwl6fPHGkWcsifvgO5EfeiyU3aql3Q="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-g3+g+mPXEO2ZcVraKuVYZCMBD5zEr1l8ogcYt3r4UjU="; 14 + vendorSha256 = "sha256-wOk4IXD9qHG8R4iddlc4TLH39jVSof9bwTDU1kyAmuA="; 15 15 16 16 postUnpack = '' 17 17 # Without this, tests fail to locate aws/3.19.0.json
+3 -3
pkgs/applications/networking/cluster/starboard/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "starboard"; 5 - version = "0.14.0"; 5 + version = "0.14.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "aquasecurity"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-/k9lQS3oPOYxhaaXuaDwPnai7byDkge4yBu7/9g4RUE="; 11 + sha256 = "sha256-sB7C0IKadgpQ2h6HuH4D6ku/GXnFfFS+fGCW/RBSc10="; 12 12 # populate values that require us to use git. By doing this in postFetch we 13 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 14 leaveDotGit = true; ··· 22 22 find "$out" -name .git -print0 | xargs -0 rm -rf 23 23 ''; 24 24 }; 25 - vendorSha256 = "sha256-7SVEyyJRE7oYIhuENraZy0aieIAoFFWtq4mrSXxURlQ="; 25 + vendorSha256 = "sha256-R7tF724y5WNIByE+9nRoNSZDZzfLtPfK/9tSBkARaN0="; 26 26 27 27 nativeBuildInputs = [ installShellFiles ]; 28 28
+2 -2
pkgs/applications/networking/instant-messengers/bluejeans/default.nix
··· 44 44 45 45 stdenv.mkDerivation rec { 46 46 pname = "bluejeans"; 47 - version = "2.25.0.78"; 47 + version = "2.26.0.136"; 48 48 49 49 src = fetchurl { 50 50 url = "https://swdl.bluejeans.com/desktop-app/linux/${getFirst 3 version}/BlueJeans_${version}.rpm"; 51 - sha256 = "sha256-Xk9iU7mNm3YlXKsmf6yPqd1YAklsFOWu+04Llb+2yWQ="; 51 + sha256 = "sha256-9QiE7CjCepDXQCzduqGzNUGqUgYS+PWBS71ouzHa83o="; 52 52 }; 53 53 54 54 nativeBuildInputs = [ rpmextract makeWrapper ];
+9 -14
pkgs/applications/networking/instant-messengers/discord/default.nix
··· 7 7 canary = "0.0.132"; 8 8 } else { 9 9 stable = "0.0.264"; 10 - ptb = "0.0.58"; 10 + ptb = "0.0.59"; 11 11 canary = "0.0.280"; 12 12 }; 13 13 version = versions.${branch}; 14 - srcs = { 14 + srcs = let 15 + darwin-ptb = fetchurl { 16 + url = "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg"; 17 + sha256 = "sha256-LS7KExVXkOv8O/GrisPMbBxg/pwoDXIOo1dK9wk1yB8="; 18 + }; 19 + in { 15 20 x86_64-linux = { 16 21 stable = fetchurl { 17 22 url = ··· 34 39 url = "https://dl.discordapp.net/apps/osx/${version}/Discord.dmg"; 35 40 sha256 = "1jvlxmbfqhslsr16prsgbki77kq7i3ipbkbn67pnwlnis40y9s7p"; 36 41 }; 37 - ptb = fetchurl { 38 - url = 39 - "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg"; 40 - sha256 = "sha256-GwYUoPBbx9lSaRP1JwzI0UE9gEU+rV4a9BNPVSxHki0="; 41 - }; 42 + ptb = darwin-ptb; 42 43 canary = fetchurl { 43 44 url = 44 45 "https://dl-canary.discordapp.net/apps/osx/${version}/DiscordCanary.dmg"; ··· 46 47 }; 47 48 }; 48 49 # Only PTB bundles a MachO Universal binary with ARM support. 49 - aarch64-darwin = { 50 - ptb = fetchurl { 51 - url = 52 - "https://dl-ptb.discordapp.net/apps/osx/${version}/DiscordPTB.dmg"; 53 - sha256 = "sha256-GwYUoPBbx9lSaRP1JwzI0UE9gEU+rV4a9BNPVSxHki0="; 54 - }; 55 - }; 50 + aarch64-darwin = { ptb = darwin-ptb; }; 56 51 }; 57 52 src = srcs.${stdenv.hostPlatform.system}.${branch}; 58 53
+2 -2
pkgs/applications/networking/remote/teamviewer/default.nix
··· 6 6 7 7 mkDerivation rec { 8 8 pname = "teamviewer"; 9 - version = "15.25.5"; 9 + version = "15.26.4"; 10 10 11 11 src = fetchurl { 12 12 url = "https://dl.tvcdn.de/download/linux/version_15x/teamviewer_${version}_amd64.deb"; 13 - sha256 = "sha256-LtITPS0bLy85dv/zdOo8JcsEZ0ZgtVmM+CcggaYJxXA="; 13 + sha256 = "sha256-2CprtdKHHTLxS8jA4bRVoHvj/8zyVUV0aGPzU7mNxM8="; 14 14 }; 15 15 16 16 unpackPhase = ''
+2 -2
pkgs/applications/office/foliate/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "foliate"; 7 - version = "2.6.3"; 7 + version = "2.6.4"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "johnfactotum"; 11 11 repo = pname; 12 12 rev = version; 13 - sha256 = "0ribqaxl8g1i83fxbn288afwbzzls48ni57xqi07d19p9ka892mr"; 13 + sha256 = "sha256-Pr2YA2MHXD4W7lyCxGAVLKyoZarZ8t92RSkWle3LNuc="; 14 14 }; 15 15 16 16 nativeBuildInputs = [ meson ninja python3 wrapGAppsHook ];
+2 -2
pkgs/applications/office/jabref/default.nix
··· 2 2 , zlib , libX11, libXext, libXi, libXrender, libXtst, libGL, alsa-lib, cairo, freetype, pango, gdk-pixbuf, glib }: 3 3 4 4 stdenv.mkDerivation rec { 5 - version = "5.1"; 5 + version = "5.5"; 6 6 pname = "jabref"; 7 7 8 8 src = fetchurl { 9 9 url = "https://github.com/JabRef/jabref/releases/download/v${version}/JabRef-${version}-portable_linux.tar.gz"; 10 - sha256 = "04f612byrq3agzy26byg1sgrjyhcpa8xfj0ssh8dl8d8vnhx9742"; 10 + sha256 = "sha256-9MHNehyAmu7CiBp1rgb4zTkSqmjXm2tcmiGKFBFapKI="; 11 11 }; 12 12 13 13 preferLocalBuild = true;
+51
pkgs/applications/office/libreoffice/darwin.nix
··· 1 + { stdenv 2 + , lib 3 + , fetchurl 4 + , undmg 5 + }: 6 + 7 + let 8 + appName = "LibreOffice.app"; 9 + version = "7.2.5"; 10 + dist = { 11 + aarch64-darwin = { 12 + arch = "aarch64"; 13 + sha256 = "bdbcb9a98211f866ca089d440aebcd1d313aa99e8ab4104aae4e65ea3cee74ca"; 14 + }; 15 + 16 + x86_64-darwin = { 17 + arch = "x86_64"; 18 + sha256 = "0b7ef18ed08341ac6c15339fe9a161ad17f6b469009d987cfc7d50c628d12a4e"; 19 + }; 20 + }."${stdenv.hostPlatform.system}"; 21 + in 22 + stdenv.mkDerivation { 23 + inherit version; 24 + pname = "libreoffice"; 25 + src = fetchurl { 26 + url = "https://download.documentfoundation.org/libreoffice/stable/${version}/mac/${dist.arch}/LibreOffice_${version}_MacOS_${dist.arch}.dmg"; 27 + inherit (dist) sha256; 28 + }; 29 + 30 + nativeBuildInputs = [ undmg ]; 31 + sourceRoot = "${appName}"; 32 + dontPatch = true; 33 + dontConfigure = true; 34 + dontBuild = true; 35 + 36 + installPhase = '' 37 + runHook preInstallPhase 38 + mkdir -p $out/{Applications/${appName},bin} 39 + cp -R . $out/Applications/${appName} 40 + ln -s $out/Applications/${appName}/Contents/MacOS/soffice $out/bin 41 + runHook postInstallPhase 42 + ''; 43 + 44 + meta = with lib; { 45 + description = "Comprehensive, professional-quality productivity suite, a variant of openoffice.org"; 46 + homepage = "https://libreoffice.org/"; 47 + license = licenses.lgpl3; 48 + maintainers = with maintainers; [ tricktron ]; 49 + platforms = [ "aarch64-darwin" "x86_64-darwin" ]; 50 + }; 51 + }
+2 -2
pkgs/applications/radio/gnuradio/default.nix
··· 48 48 , pname ? "gnuradio" 49 49 , versionAttr ? { 50 50 major = "3.10"; 51 - minor = "0"; 51 + minor = "1"; 52 52 patch = "0"; 53 53 } 54 54 }: 55 55 56 56 let 57 - sourceSha256 = "sha256-1K8nlNiirks3MJ+9cH9bkILVFtu5OxhKkNhetGqojn4="; 57 + sourceSha256 = "sha256-bU6z7H08G8QIToogAMI2P5tHBtVZezlBDqSbnEsqAjE="; 58 58 featuresInfo = { 59 59 # Needed always 60 60 basic = {
+2 -2
pkgs/applications/science/biology/kallisto/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kallisto"; 5 - version = "0.46.2"; 5 + version = "0.48.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 repo = "kallisto"; 9 9 owner = "pachterlab"; 10 10 rev = "v${version}"; 11 - sha256 = "0m0r2820ca3rch99md1zzbgkilmlfkhdkpys2lfnb87qxmf1jnmb"; 11 + sha256 = "sha256-r0cdR0jTRa1wu/LDKW6NdxI3XaKj6wcIVbIlct0fFvI="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoconf cmake ];
+27
pkgs/applications/science/biology/repseek/default.nix
··· 1 + { lib, stdenv, fetchurl }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "repseek"; 5 + version = "9Sep2014"; 6 + src = fetchurl { 7 + url = "https://bioinfo.mnhn.fr/abi/public/RepSeek/RepSeek.${version}.tgz"; 8 + sha256 = "1jiknji3ivrv7zmrfbf2mccfpdwhin3lfxfsciaqwf69b3sda8nf"; 9 + }; 10 + 11 + preConfigure = '' 12 + mkdir -p $out/bin 13 + substituteInPlace Makefile \ 14 + --replace "INSTALLDIR = \$\$HOME/bin" "INSTALLDIR = $out/bin/" \ 15 + --replace "CC= gcc" "CC = $CC" 16 + '' + lib.optionalString stdenv.isLinux '' 17 + substituteInPlace Makefile --replace "MACHINE = MACOSX" "MACHINE = LINUX" 18 + ''; 19 + 20 + meta = { 21 + description = "Tool to retrieve approximate repeats from large DNA sequences"; 22 + homepage = "https://bioinfo.mnhn.fr/abi/public/RepSeek"; 23 + maintainers = [ lib.maintainers.bzizou ]; 24 + license = lib.licenses.lgpl21; 25 + }; 26 + 27 + }
+10 -9
pkgs/applications/science/math/sage/default.nix
··· 14 14 # `sagelib`, i.e. all of sage except some wrappers and runtime dependencies 15 15 sagelib = self.callPackage ./sagelib.nix { 16 16 inherit flint arb; 17 - inherit sage-src env-locations pynac singular; 17 + inherit sage-src env-locations singular; 18 18 inherit (maxima) lisp-compiler; 19 19 linbox = pkgs.linbox.override { withSage = true; }; 20 20 pkg-config = pkgs.pkg-config; # not to confuse with pythonPackages.pkg-config 21 21 }; 22 22 23 - sage_docbuild = self.callPackage ./sage_docbuild.nix { 23 + sage-docbuild = self.callPackage ./python-modules/sage-docbuild.nix { 24 + inherit sage-src; 25 + }; 26 + 27 + sage-setup = self.callPackage ./python-modules/sage-setup.nix { 24 28 inherit sage-src; 25 29 }; 26 30 }; ··· 58 62 # the env-locations file. 59 63 sage-env = callPackage ./sage-env.nix { 60 64 sagelib = python3.pkgs.sagelib; 61 - sage_docbuild = python3.pkgs.sage_docbuild; 65 + sage-docbuild = python3.pkgs.sage-docbuild; 62 66 inherit env-locations; 63 - inherit python3 singular palp flint pynac pythonEnv maxima; 67 + inherit python3 singular palp flint pythonEnv maxima; 64 68 pkg-config = pkgs.pkg-config; # not to confuse with pythonPackages.pkg-config 65 69 }; 66 70 ··· 74 78 sage-with-env = callPackage ./sage-with-env.nix { 75 79 inherit python3 pythonEnv; 76 80 inherit sage-env; 77 - inherit pynac singular maxima; 81 + inherit singular maxima; 78 82 inherit three; 79 83 pkg-config = pkgs.pkg-config; # not to confuse with pythonPackages.pkg-config 80 84 }; ··· 91 95 92 96 pythonRuntimeDeps = with python3.pkgs; [ 93 97 sagelib 94 - sage_docbuild 98 + sage-docbuild 95 99 cvxopt 96 100 networkx 97 101 service-identity ··· 131 135 useBoehmgc = true; 132 136 }; 133 137 }; 134 - 135 - # *not* to confuse with the python package "pynac" 136 - pynac = pkgs.pynac.override { inherit singular flint; }; 137 138 138 139 # With openblas (64 bit), the tests fail the same way as when sage is build with 139 140 # openblas instead of openblasCompat. Apparently other packages somehow use flints
+46
pkgs/applications/science/math/sage/patches/Only-test-external-software-when-all-of-sage-is.patch
··· 1 + diff --git a/src/sage/doctest/control.py b/src/sage/doctest/control.py 2 + index 01f32fb8e4..4d83dc7b47 100644 3 + --- a/src/sage/doctest/control.py 4 + +++ b/src/sage/doctest/control.py 5 + @@ -1253,6 +1253,7 @@ class DocTestController(SageObject): 6 + 7 + self.log("Using --optional=" + self._optional_tags_string()) 8 + available_software._allow_external = self.options.optional is True or 'external' in self.options.optional 9 + + available_software._autodetect_safe = self.options.optional is True or 'sage' in self.options.optional 10 + self.log("Features to be detected: " + ','.join(available_software.detectable())) 11 + self.add_files() 12 + self.expand_files_into_sources() 13 + diff --git a/src/sage/doctest/external.py b/src/sage/doctest/external.py 14 + index 84dae19ea5..badc61466e 100644 15 + --- a/src/sage/doctest/external.py 16 + +++ b/src/sage/doctest/external.py 17 + @@ -409,6 +409,7 @@ class AvailableSoftware(object): 18 + [] 19 + """ 20 + self._allow_external = True 21 + + self._autodetect_safe = True 22 + # For multiprocessing of doctests, the data self._seen should be 23 + # shared among subprocesses. Thus we use Array class from the 24 + # multiprocessing module. 25 + @@ -430,6 +431,8 @@ class AvailableSoftware(object): 26 + sage: 'internet' in available_software # random, optional - internet 27 + True 28 + """ 29 + + if not self._autodetect_safe: 30 + + return False 31 + try: 32 + idx = self._indices[item] 33 + except KeyError: 34 + diff --git a/src/sage/features/sagemath.py b/src/sage/features/sagemath.py 35 + index 433338766d..233623b14a 100644 36 + --- a/src/sage/features/sagemath.py 37 + +++ b/src/sage/features/sagemath.py 38 + @@ -12,7 +12,7 @@ class sagemath_doc_html(StaticFile): 39 + 40 + EXAMPLES:: 41 + 42 + - sage: from sage.features.sagemath import sagemath_doc_html 43 + + sage: from sage.features.sagemath import sagemath_doc_html # optional - sagemath_doc_html 44 + sage: sagemath_doc_html().is_present() # optional - sagemath_doc_html 45 + FeatureTestResult('sagemath_doc_html', True) 46 + """
-26
pkgs/applications/science/math/sage/patches/Only-test-py2-py3-optional-tests-when-all-of-sage-is.patch
··· 1 - From f5ea42a7aaed7611fb55b65897b9fcf2b7bcf97e Mon Sep 17 00:00:00 2001 2 - From: Timo Kaufmann <timokau@zoho.com> 3 - Date: Sun, 21 Oct 2018 17:52:40 +0200 4 - Subject: [PATCH] Only test py2/py3 optional tests when all of sage is tested 5 - 6 - --- 7 - src/sage/doctest/control.py | 3 ++- 8 - 1 file changed, 2 insertions(+), 1 deletion(-) 9 - 10 - diff --git a/src/sage/doctest/control.py b/src/sage/doctest/control.py 11 - index 2d93841e50..6d156e29a1 100644 12 - --- a/src/sage/doctest/control.py 13 - +++ b/src/sage/doctest/control.py 14 - @@ -375,7 +375,8 @@ class DocTestController(SageObject): 15 - if not optionaltag_regex.search(o): 16 - raise ValueError('invalid optional tag {!r}'.format(o)) 17 - 18 - - options.optional |= auto_optional_tags 19 - + if "sage" in options.optional: 20 - + options.optional |= auto_optional_tags 21 - 22 - self.options = options 23 - 24 - -- 25 - 2.28.0 26 -
+4 -17
pkgs/applications/science/math/sage/patches/do-not-test-find-library.patch
··· 1 1 diff --git a/src/sage/env.py b/src/sage/env.py 2 - index 95980cc2df..37107a30e1 100644 2 + index c4953cfa65..47b880f9ad 100644 3 3 --- a/src/sage/env.py 4 4 +++ b/src/sage/env.py 5 - @@ -227,93 +227,12 @@ OPENMP_CXXFLAGS = var("OPENMP_CXXFLAGS", "") 5 + @@ -244,81 +244,8 @@ os.environ['MPMATH_SAGE'] = '1' 6 6 SAGE_BANNER = var("SAGE_BANNER", "") 7 7 SAGE_IMPORTALL = var("SAGE_IMPORTALL", "yes") 8 8 ··· 29 29 - 30 30 - EXAMPLES:: 31 31 - 32 - - sage: import sys 33 - - sage: from fnmatch import fnmatch 34 32 - sage: from sage.env import _get_shared_lib_path 35 - - sage: lib_filename = _get_shared_lib_path("Singular", "singular-Singular") 36 - - sage: if sys.platform == 'cygwin': 37 - - ....: pattern = "*/cygSingular-*.dll" 38 - - ....: elif sys.platform == 'darwin': 39 - - ....: pattern = "*/libSingular-*.dylib" 40 - - ....: else: 41 - - ....: pattern = "*/lib*Singular-*.so" 42 - - sage: fnmatch(str(lib_filename), pattern) 33 + - sage: "gap" in _get_shared_lib_path("gap") 43 34 - True 44 35 - sage: _get_shared_lib_path("an_absurd_lib") is None 45 36 - True 37 + - 46 38 - """ 47 39 - 48 40 - for libname in libnames: ··· 87 79 - # Just return None if no files were found 88 80 - return None 89 81 - 90 - # locate singular shared object 91 - # On Debian it's libsingular-Singular so try that as well 92 - -SINGULAR_SO = var("SINGULAR_SO", _get_shared_lib_path("Singular", "singular-Singular")) 93 - +SINGULAR_SO = var("SINGULAR_SO", '/default') 94 - 95 82 # locate libgap shared object 96 83 -GAP_SO = var("GAP_SO", _get_shared_lib_path("gap", "")) 97 84 +GAP_SO = var("GAP_SO", '/default')
+58
pkgs/applications/science/math/sage/patches/linbox-1.7-upgrade.patch
··· 1 + diff --git a/src/sage/libs/linbox/conversion.pxd b/src/sage/libs/linbox/conversion.pxd 2 + index 7794c9edc3..1753277b1f 100644 3 + --- a/src/sage/libs/linbox/conversion.pxd 4 + +++ b/src/sage/libs/linbox/conversion.pxd 5 + @@ -177,9 +177,8 @@ cdef inline Vector_integer_dense new_sage_vector_integer_dense(P, DenseVector_in 6 + - v -- linbox vector 7 + """ 8 + cdef Vector_integer_dense res = P() 9 + - cdef cppvector[Integer] * vec = &v.refRep() 10 + cdef size_t i 11 + for i in range(<size_t> res._degree): 12 + - mpz_set(res._entries[i], vec[0][i].get_mpz_const()) 13 + + mpz_set(res._entries[i], v.getEntry(i).get_mpz_const()) 14 + 15 + return res 16 + diff --git a/src/sage/libs/linbox/linbox.pxd b/src/sage/libs/linbox/linbox.pxd 17 + index 9112d151f8..dcc482960c 100644 18 + --- a/src/sage/libs/linbox/linbox.pxd 19 + +++ b/src/sage/libs/linbox/linbox.pxd 20 + @@ -32,7 +32,7 @@ cdef extern from "linbox/matrix/dense-matrix.h": 21 + ctypedef Modular_double Field 22 + ctypedef double Element 23 + DenseMatrix_Modular_double(Field F, size_t m, size_t n) 24 + - DenseMatrix_Modular_double(Field F, Element*, size_t m, size_t n) 25 + + DenseMatrix_Modular_double(Field F, size_t m, size_t n, Element*) 26 + void setEntry(size_t i, size_t j, Element& a) 27 + Element &getEntry(size_t i, size_t j) 28 + 29 + @@ -42,7 +42,7 @@ cdef extern from "linbox/matrix/dense-matrix.h": 30 + ctypedef Modular_float Field 31 + ctypedef float Element 32 + DenseMatrix_Modular_float(Field F, size_t m, size_t n) 33 + - DenseMatrix_Modular_float(Field F, Element*, size_t m, size_t n) 34 + + DenseMatrix_Modular_float(Field F, size_t m, size_t n, Element*) 35 + void setEntry(size_t i, size_t j, Element& a) 36 + Element &getEntry(size_t i, size_t j) 37 + 38 + @@ -101,7 +101,6 @@ cdef extern from "linbox/vector/vector.h": 39 + DenseVector_integer (Field &F) 40 + DenseVector_integer (Field &F, long& m) 41 + DenseVector_integer (Field &F, cppvector[Integer]&) 42 + - cppvector[Element]& refRep() 43 + size_t size() 44 + void resize(size_t) 45 + void resize(size_t n, const Element&) 46 + diff --git a/src/sage/matrix/matrix_modn_dense_template.pxi b/src/sage/matrix/matrix_modn_dense_template.pxi 47 + index 010365d76f..3d60726ff9 100644 48 + --- a/src/sage/matrix/matrix_modn_dense_template.pxi 49 + +++ b/src/sage/matrix/matrix_modn_dense_template.pxi 50 + @@ -219,7 +219,7 @@ cdef inline linbox_echelonize_efd(celement modulus, celement* entries, Py_ssize_ 51 + return 0,[] 52 + 53 + cdef ModField *F = new ModField(<long>modulus) 54 + - cdef DenseMatrix *A = new DenseMatrix(F[0], <ModField.Element*>entries,<Py_ssize_t>nrows, <Py_ssize_t>ncols) 55 + + cdef DenseMatrix *A = new DenseMatrix(F[0], <Py_ssize_t>nrows, <Py_ssize_t>ncols, <ModField.Element*>entries) 56 + cdef Py_ssize_t r = reducedRowEchelonize(A[0]) 57 + cdef Py_ssize_t i,j 58 + for i in range(nrows):
+6 -6
pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patch
··· 1 1 diff --git a/src/sage_docbuild/__init__.py b/src/sage_docbuild/__init__.py 2 - index 79005b903a..fbe6fe2595 100644 2 + index 8a5c1a19d2..21fd192642 100644 3 3 --- a/src/sage_docbuild/__init__.py 4 4 +++ b/src/sage_docbuild/__init__.py 5 - @@ -85,27 +85,6 @@ def builder_helper(type): 5 + @@ -89,27 +89,6 @@ def builder_helper(type): 6 6 """ 7 7 Returns a function which builds the documentation for 8 8 output type ``type``. ··· 12 12 - Check that :trac:`25161` has been resolved:: 13 13 - 14 14 - sage: from sage_docbuild import DocBuilder, setup_parser 15 - - sage: DocBuilder._options = setup_parser().parse_args([])[0] # builder_helper needs _options to be set 15 + - sage: DocBuilder._options = setup_parser().parse_args([]) # builder_helper needs _options to be set 16 16 - 17 17 - sage: import sage_docbuild.sphinxbuild 18 18 - sage: def raiseBaseException(): ··· 30 30 """ 31 31 def f(self, *args, **kwds): 32 32 output_dir = self._output_dir(type) 33 - @@ -127,10 +106,9 @@ def builder_helper(type): 33 + @@ -131,10 +110,9 @@ def builder_helper(type): 34 34 logger.debug(build_command) 35 35 36 36 # Run Sphinx with Sage's special logger ··· 44 44 if ABORT_ON_ERROR: 45 45 raise 46 46 diff --git a/src/sage_docbuild/sphinxbuild.py b/src/sage_docbuild/sphinxbuild.py 47 - index f58f6c61d7..ef51a55411 100644 47 + index d917c3e9d4..551cc8028a 100644 48 48 --- a/src/sage_docbuild/sphinxbuild.py 49 49 +++ b/src/sage_docbuild/sphinxbuild.py 50 - @@ -326,3 +326,8 @@ def runsphinx(): 50 + @@ -327,3 +327,8 @@ def runsphinx(): 51 51 sys.stderr = saved_stderr 52 52 sys.stdout.flush() 53 53 sys.stderr.flush()
+28
pkgs/applications/science/math/sage/python-modules/sage-docbuild.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , sage-src 4 + , sphinx 5 + }: 6 + 7 + buildPythonPackage rec { 8 + version = src.version; 9 + pname = "sage-docbuild"; 10 + src = sage-src; 11 + 12 + propagatedBuildInputs = [ 13 + sphinx 14 + ]; 15 + 16 + preBuild = '' 17 + cd pkgs/sage-docbuild 18 + ''; 19 + 20 + doCheck = false; # we will run tests in sagedoc.nix 21 + 22 + meta = with lib; { 23 + description = "Build system of the Sage documentation"; 24 + homepage = "https://www.sagemath.org"; 25 + license = licenses.gpl2Plus; 26 + maintainers = teams.sage.members; 27 + }; 28 + }
+28
pkgs/applications/science/math/sage/python-modules/sage-setup.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , sage-src 4 + , pkgconfig # the python module, not the pkg-config alias 5 + }: 6 + 7 + buildPythonPackage rec { 8 + version = src.version; 9 + pname = "sage-setup"; 10 + src = sage-src; 11 + 12 + buildInputs = [ 13 + pkgconfig 14 + ]; 15 + 16 + preBuild = '' 17 + cd pkgs/sage-setup 18 + ''; 19 + 20 + doCheck = false; # sagelib depends on sage-setup, but sage-setup's tests depend on sagelib 21 + 22 + meta = with lib; { 23 + description = "Build system of the Sage library"; 24 + homepage = "https://www.sagemath.org"; 25 + license = licenses.gpl2Plus; 26 + maintainers = teams.sage.members; 27 + }; 28 + }
+3 -8
pkgs/applications/science/math/sage/sage-env.nix
··· 2 2 , lib 3 3 , writeTextFile 4 4 , sagelib 5 - , sage_docbuild 5 + , sage-docbuild 6 6 , env-locations 7 7 , gfortran 8 8 , bash ··· 45 45 , flint 46 46 , gmp 47 47 , mpfr 48 - , pynac 49 48 , zlib 50 49 , gsl 51 50 , ntl 52 - , jdk8 51 + , jdk 53 52 , less 54 53 }: 55 54 ··· 60 59 # dependencies. 61 60 62 61 let 63 - jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 64 - 65 62 runtimepath = (lib.makeBinPath ([ 66 63 "@sage-local@" 67 64 "@sage-local@/build" ··· 163 160 gmp 164 161 mpfr 165 162 pari 166 - pynac 167 163 zlib 168 164 eclib 169 165 gsl ··· 179 175 glpk 180 176 flint 181 177 gap 182 - pynac 183 178 mpfr.dev 184 179 ]) 185 180 }' ··· 193 188 ''; 194 189 } // { # equivalent of `passthru`, which `writeTextFile` doesn't support 195 190 lib = sagelib; 196 - docbuild = sage_docbuild; 191 + docbuild = sage-docbuild; 197 192 }
+17 -47
pkgs/applications/science/math/sage/sage-src.nix
··· 57 57 ); 58 58 in 59 59 stdenv.mkDerivation rec { 60 - version = "9.4"; 60 + version = "9.5"; 61 61 pname = "sage-src"; 62 62 63 63 src = fetchFromGitHub { 64 64 owner = "sagemath"; 65 65 repo = "sage"; 66 66 rev = version; 67 - sha256 = "sha256-jqkr4meG02KbTCMsGvyr1UbosS4ZuUJhPXU/InuS+9A="; 67 + sha256 = "sha256-uOsLpsGpcIGs8Xr82X82MElnTB2E908gytyNJ8WVD5w="; 68 68 }; 69 69 70 70 # Patches needed because of particularities of nix or the way this is packaged. 71 71 # The goal is to upstream all of them and get rid of this list. 72 72 nixPatches = [ 73 - # Make sure py2/py3 tests are only run when their expected context (all "sage" 74 - # tests) are also run. That is necessary to test dochtml individually. See 75 - # https://trac.sagemath.org/ticket/26110 for an upstream discussion. 76 - # TODO: Determine if it is still necessary. 77 - ./patches/Only-test-py2-py3-optional-tests-when-all-of-sage-is.patch 73 + # Since https://trac.sagemath.org/ticket/32174, some external features are 74 + # marked as "safe" and get auto-detected, in which case the corresponding 75 + # optional tests are executed. We disable auto-detection of safe features if 76 + # we are doctesting with an "--optional" argument which does not include 77 + # "sage", because tests from autodetected features expect context provided 78 + # by running basic sage tests. This is necessary to test sagemath_doc_html 79 + # separately. See https://trac.sagemath.org/ticket/26110 for a related 80 + # upstream discussion (from the time when Sage still had optional py2/py3 81 + # tags). 82 + ./patches/Only-test-external-software-when-all-of-sage-is.patch 78 83 79 84 # Fixes a potential race condition which can lead to transient doctest failures. 80 85 ./patches/fix-ecl-race.patch ··· 117 122 # Let's just assume warnings are expected until we update to 4.27.0. 118 123 ./patches/fonttools-deprecation-warnings.patch 119 124 120 - # https://trac.sagemath.org/ticket/32305 121 - (fetchSageDiff { 122 - base = "9.4"; 123 - name = "networkx-2.6-upgrade.patch"; 124 - rev = "9808325853ba9eb035115e5b056305a1c9d362a0"; 125 - sha256 = "sha256-gJSqycCtbAVr5qnVEbHFUvIuTOvaxFIeffpzd6nH4DE="; 126 - }) 127 - 128 - # https://trac.sagemath.org/ticket/32420 129 - (fetchSageDiff { 130 - base = "9.5.beta2"; 131 - name = "sympy-1.9-update.patch"; 132 - rev = "beed4e16aff32e47d0c3b1c58cb1e2f4c38590f8"; 133 - sha256 = "sha256-3eJPfWfCrCAQ5filIn7FbzjRQeO9QyTIVl/HyRuqFtE="; 134 - }) 135 - 136 - # https://trac.sagemath.org/ticket/32567 137 - (fetchSageDiff { 138 - base = "9.5.beta2"; 139 - name = "arb-2.21.0-update.patch"; 140 - rev = "eb3304dd521a3d5a9334e747a08e234bbf16b4eb"; 141 - sha256 = "sha256-XDkaY4VQGyESXI6zuD7nCNzyQOl/fmBFvAESH9+RRvk="; 142 - }) 143 - 144 - # https://trac.sagemath.org/ticket/32797 145 - (fetchSageDiff { 146 - base = "9.5.beta7"; 147 - name = "pari-2.13.3-update.patch"; 148 - rev = "f5f7a86908daf60b25e66e6a189c51ada7e0a732"; 149 - sha256 = "sha256-H/caGx3q4KcdsyGe+ojV9bUTQ5y0siqM+QHgDbeEnbw="; 150 - }) 151 - 152 - # https://trac.sagemath.org/ticket/32909 153 - (fetchSageDiff { 154 - base = "9.5.beta7"; 155 - name = "matplotlib-3.5-deprecation-warnings.patch"; 156 - rev = "a5127dc56fdf5c2e82f6bc781cfe78dbd04e97b7"; 157 - sha256 = "sha256-p23qUu9mgEUbdbX6cy7ArxZAtpcFjCKbgyxN4jWvj1o="; 158 - }) 159 - 160 125 # https://trac.sagemath.org/ticket/32968 161 126 (fetchSageDiff { 162 127 base = "9.5.beta8"; ··· 164 129 rev = "fc84f82f52b6f05f512cb359ec7c100f93cf8841"; 165 130 sha256 = "sha256-bBbfdcnw/9LUOlY8rHJRbFJEdMXK4shosqTNaobTS1Q="; 166 131 }) 132 + 133 + # Upstream has not upgraded to linbox 1.7 yet because it conflicts with 134 + # pre-4.2.1p3 versions of Singular, but we don't have this problem. 135 + # https://trac.sagemath.org/ticket/32959 136 + ./patches/linbox-1.7-upgrade.patch 167 137 ]; 168 138 169 139 patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
+4 -2
pkgs/applications/science/math/sage/sage-with-env.nix
··· 18 18 , eclib 19 19 , ntl 20 20 , ecm 21 - , pynac 22 21 , pythonEnv 23 22 }: 24 23 ··· 36 35 blas lapack 37 36 singular 38 37 three 39 - pynac 40 38 giac 41 39 gap 42 40 pari ··· 125 123 # the scripts in src/bin will find the actual sage source files using environment variables set in `sage-env` 126 124 cp -r src/bin "$out/bin" 127 125 cp -r build/bin "$out/build/bin" 126 + 127 + # sage assumes the existence of sage-src-env-config.in means it's being executed in-tree. in this case, it 128 + # adds SAGE_SRC/bin to PATH, breaking our wrappers 129 + rm "$out/bin"/*.in "$out/build/bin"/*.in 128 130 129 131 cp -f '${sage-env}/sage-env' "$out/bin/sage-env" 130 132 substituteInPlace "$out/bin/sage-env" \
+2 -1
pkgs/applications/science/math/sage/sage.nix
··· 62 62 63 63 meta = with lib; { 64 64 description = "Open Source Mathematics Software, free alternative to Magma, Maple, Mathematica, and Matlab"; 65 - license = licenses.gpl2; 65 + homepage = "https://www.sagemath.org"; 66 + license = licenses.gpl2Plus; 66 67 maintainers = teams.sage.members; 67 68 }; 68 69 }
-20
pkgs/applications/science/math/sage/sage_docbuild.nix
··· 1 - { buildPythonPackage 2 - , sage-src 3 - , sphinx 4 - }: 5 - 6 - buildPythonPackage rec { 7 - version = src.version; 8 - pname = "sage_docbuild"; 9 - src = sage-src; 10 - 11 - propagatedBuildInputs = [ 12 - sphinx 13 - ]; 14 - 15 - preBuild = '' 16 - cd build/pkgs/sage_docbuild/src 17 - ''; 18 - 19 - doCheck = false; # we will run tests in sagedoc.nix 20 - }
+2 -2
pkgs/applications/science/math/sage/sagedoc.nix
··· 23 23 jmol 24 24 cddlib 25 25 ] ++ (with python3.pkgs; [ 26 - sage_docbuild 26 + sage-docbuild 27 27 psutil 28 28 future 29 29 sphinx ··· 83 83 84 84 doCheck = true; 85 85 checkPhase = '' 86 - ${sage-with-env}/bin/sage -t --optional=dochtml --all 86 + ${sage-with-env}/bin/sage -t --optional=sagemath_doc_html --all 87 87 ''; 88 88 }
+48 -4
pkgs/applications/science/math/sage/sagelib.nix
··· 2 2 , env-locations 3 3 , perl 4 4 , buildPythonPackage 5 + , m4 5 6 , arb 6 7 , blas 7 8 , lapack ··· 37 38 , pkg-config 38 39 , planarity 39 40 , ppl 40 - , pynac 41 + , primecountpy 41 42 , python 42 43 , ratpoints 43 44 , readline ··· 49 50 , singular 50 51 , pip 51 52 , jupyter_core 53 + , sage-setup 52 54 , libhomfly 53 55 , libbraiding 54 56 , gmpy2 55 57 , pplpy 56 58 , sqlite 59 + , jupyter-client 60 + , ipywidgets 61 + , mpmath 62 + , rpy2 63 + , fpylll 64 + , scipy 65 + , sympy 66 + , matplotlib 67 + , pillow 68 + , ipykernel 69 + , networkx 70 + , sphinx # TODO: this is in setup.cfg, bug should we override it? 57 71 }: 58 72 59 73 assert (!blas.isILP64) && (!lapack.isILP64); ··· 73 87 perl 74 88 jupyter_core 75 89 pkg-config 90 + sage-setup 76 91 pip # needed to query installed packages 77 92 lisp-compiler 93 + m4 78 94 ]; 79 95 80 96 buildInputs = [ ··· 116 132 pari 117 133 planarity 118 134 ppl 119 - pynac 135 + primecountpy 120 136 rankwidth 121 137 ratpoints 122 138 singular ··· 130 146 gmpy2 131 147 pplpy 132 148 sqlite 149 + mpmath 150 + rpy2 151 + scipy 152 + sympy 153 + matplotlib 154 + pillow 155 + ipykernel 156 + fpylll 157 + networkx 158 + jupyter-client 159 + ipywidgets 160 + sphinx 133 161 ]; 134 162 135 163 preBuild = '' ··· 148 176 mkdir -p "$SAGE_SHARE/sage/ext/notebook-ipython" 149 177 mkdir -p "var/lib/sage/installed" 150 178 151 - # src/setup.py should not be used, see https://trac.sagemath.org/ticket/31377#comment:124 152 - cd build/pkgs/sagelib/src 179 + cd build/pkgs/sagelib 180 + 181 + # some files, like Pipfile, pyproject.toml, requirements.txt and setup.cfg 182 + # are generated by the bootstrap script using m4. these can fetch data from 183 + # build/pkgs, either directly or via sage-get-system-packages. 184 + sed -i 's/==2.1.0rc1/>=2.1.1/' ../gmpy2/install-requires.txt 185 + sed -i 's/, <3.4//' ../rpy2/install-requires.txt 186 + sed -i 's/, <4.3//' ../sphinx/install-requires.txt 187 + sed -i '/sage_conf/d' src/setup.cfg.m4 188 + sed -i '/sage_conf/d' src/requirements.txt.m4 189 + for infile in src/*.m4; do 190 + if [ -f "$infile" ]; then 191 + outfile="src/$(basename $infile .m4)" 192 + m4 "$infile" > "$outfile" 193 + fi 194 + done 195 + 196 + cd src 153 197 ''; 154 198 155 199 postInstall = ''
+17 -60
pkgs/applications/science/math/singular/default.nix
··· 1 1 { stdenv, fetchFromGitHub, gmp, bison, perl, ncurses, readline, coreutils, pkg-config 2 2 , lib 3 - , fetchpatch 4 3 , autoreconfHook 4 + , buildPackages 5 5 , sharutils 6 6 , file 7 7 , flint ··· 11 11 , lrcalc 12 12 , doxygen 13 13 , graphviz 14 + , latex2html 14 15 # upstream generates docs with texinfo 4. later versions of texinfo 15 16 # use letters instead of numbers for post-appendix chapters, and we 16 17 # want it to match the upstream format because sage depends on it. ··· 22 23 23 24 stdenv.mkDerivation rec { 24 25 pname = "singular"; 25 - version = "4.2.0p2"; 26 + version = "4.3.0"; 26 27 27 - # since the tarball does not contain tests or documentation (and 28 - # there is no separate tests tarball for 4.2.0), we fetch from 29 - # GitHub. 28 + # since the tarball does not contain tests, we fetch from GitHub. 30 29 src = fetchFromGitHub { 31 30 owner = "Singular"; 32 31 repo = "Singular"; 33 32 34 - # 4.2.0p2 is not tagged, but the tarball matches the commit below. 35 - rev = "6f68939ddf612d96e3caaaaa8275f77613ac1da8"; 36 - sha256 = "sha256-BJNzYylzDqD/5YjzjxPRb/c96tYiuGy9Y+A7qf3ZSG8="; 37 - 38 - # if a release is tagged it will be in the format below. 39 - # rev = "Release${lib.replaceStrings ["."] ["-"] version}"; 33 + # if a release is tagged (which sometimes does not happen), it will 34 + # be in the format below. 35 + # rev = "Release-${lib.replaceStrings ["."] ["-"] version}"; 36 + rev = "d895b0f1f543c61eb03adddad20f08655a419d4e"; 37 + sha256 = "sha256-c5Qr6VUuPKjfw8fowjJJz3oGAyUwo/K0WeMvU5djzVA="; 40 38 41 39 # the repository's .gitattributes file contains the lines "/Tst/ 42 40 # export-ignore" and "/doc/ export-ignore" so some directories are 43 - # not included in the tarball downloaded by fetchzip. setting 44 - # fetchSubmodules works around this by using fetchgit instead of 45 - # fetchzip. 46 - fetchSubmodules = true; 41 + # not included in the tarball downloaded by fetchzip. 42 + forceFetchGit = true; 47 43 }; 48 44 49 - patches = [ 50 - # fix timeouts when docbuilding with >= 64 cpus 51 - # https://github.com/Singular/Singular/issues/1117 52 - ./vspace-MAX_PROCESS.patch 53 - 54 - # add aarch64 support to cpu-check.m4. copied from redhat. 55 - ./redhat-aarch64.patch 56 - 57 - # the newest version of ax-prog-cc-for-build.m4 seems to trigger 58 - # linker errors. see 59 - # https://github.com/alsa-project/alsa-firmware/issues/3 for a 60 - # related issue. 61 - ./use-older-ax-prog-cc-for-build.patch 62 - 63 - # https://github.com/Singular/Singular/issues/1086 64 - (fetchpatch { 65 - name = "schubert-lib-fails-with-too-many-cpus.patch"; 66 - url = "https://github.com/Singular/Singular/commit/3cda50c00a849455efa2502e56596955491a353a.patch"; 67 - sha256 = "sha256-fgYd+2vT32w5Ki8kKx6PfZn2e4QSJcYWOwEFXtc+lSA="; 68 - }) 69 - ] ++ lib.optionals enableDocs [ 70 - # singular supports building without 4ti2, bertini, normaliz or 71 - # topcom just fine, but the docbuilding does not skip manual pages 72 - # tagged as depending on those binaries (probably a bug in 73 - # doc2tex.pl::HandleLib, since it seems to ignore "-exclude" 74 - # argumens). skip them manually. 75 - ./disable-docs-for-optional-unpackaged-deps.patch 76 - 77 - # fix some non-ascii characters in doc/decodegb.doc 78 - (fetchpatch { 79 - name = "decodegb-ascii.patch"; 80 - url = "https://github.com/Singular/Singular/commit/36966d9009de572ee4dbc487f3e5744098fe91be.patch"; 81 - sha256 = "sha256-9WcEov/oOQRC584ag6WVHFwY2aCjbM75HWyvZoEwppw="; 82 - }) 83 - ]; 84 - 85 45 configureFlags = [ 86 46 "--with-ntl=${ntl}" 87 47 "--disable-pyobject-module" ··· 114 74 ] ++ lib.optionals enableGfanlib [ 115 75 cddlib 116 76 ]; 77 + 117 78 nativeBuildInputs = [ 118 79 bison 119 80 perl ··· 123 84 ] ++ lib.optionals enableDocs [ 124 85 doxygen 125 86 graphviz 87 + latex2html 126 88 texinfo4 127 89 texlive.combined.scheme-small 128 90 ]; 91 + depsBuildBuild = [ buildPackages.stdenv.cc ]; 129 92 130 93 preAutoreconf = '' 131 94 find . -type f -readable -writable -exec sed \ ··· 137 100 138 101 hardeningDisable = lib.optional stdenv.isi686 "stackprotector"; 139 102 140 - # The Makefile actually defaults to `make install` anyway 141 - buildPhase = '' 142 - # do nothing 143 - ''; 144 - 145 103 doCheck = true; # very basic checks, does not test any libraries 146 104 147 105 installPhase = '' 148 - mkdir -p "$out" 149 - cp -r Singular/LIB "$out/lib" 150 106 make install 151 107 '' + lib.optionalString enableDocs '' 152 - # Sage uses singular.hlp (which is not in the tarball) 108 + # Sage uses singular.info, which is not installed by default 153 109 mkdir -p $out/share/info 154 - cp doc/singular.hlp $out/share/info 110 + cp doc/singular.info $out/share/info 155 111 '' + '' 156 112 # Make sure patchelf picks up the right libraries 157 113 rm -rf libpolys factory resources omalloc Singular ··· 211 167 license = licenses.gpl3; # Or GPLv2 at your option - but not GPLv4 212 168 homepage = "http://www.singular.uni-kl.de"; 213 169 downloadPage = "http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/"; 170 + mainProgram = "Singular"; 214 171 }; 215 172 }
-112
pkgs/applications/science/math/singular/disable-docs-for-optional-unpackaged-deps.patch
··· 1 - commit 9e8b044d982e132cf35a106a1cc0cf7e77b27f7c 2 - Author: Mauricio Collares <mauricio@collares.org> 3 - Date: Thu Apr 15 20:33:21 2021 -0300 4 - 5 - Disable manual sections using optional packages not yet in Nixpkgs 6 - 7 - * normaliz.lib depends on normaliz. 8 - * polymake.lib depends on topcom. 9 - * recover.lib depends on bertini. 10 - * sing4ti2.lib depends on 4ti2. 11 - * tateProdCplxNegGrad.lib uses multigrading.lib, which depends on 4ti2. 12 - 13 - diff --git a/doc/singular.doc b/doc/singular.doc 14 - index 64b969d39..e704f95f0 100644 15 - --- a/doc/singular.doc 16 - +++ b/doc/singular.doc 17 - @@ -407,7 +407,6 @@ LIB "all.lib"; 18 - * nfmodsyz_lib:: Syzygy modules of submodules of free modules over algebraic number fields 19 - * noether_lib:: Noether normalization of an ideal 20 - * normal_lib:: procedure for normalization 21 - -* normaliz_lib:: integral closure, normalization for monomial ideals, toric ideals 22 - * pointid_lib:: factorized lex GB of the vanishing ideal of a set of points 23 - * primdec_lib:: procedures for primary decomposition 24 - * primdecint_lib:: primary decomposition over the integers 25 - @@ -416,7 +415,6 @@ LIB "all.lib"; 26 - * reesclos_lib:: Rees Algebra and integral closure of an ideal 27 - * rstandard_lib:: Janet bases and border bases for ideals 28 - * sagbi_lib:: Subalgebras bases Analogous to Groebner bases for ideals 29 - -* sing4ti2_lib:: interface to program 4ti2 30 - * symodstd_lib:: Groebner bases for symmetric ideals 31 - * toric_lib:: toric ideals 32 - @end menu 33 - @@ -521,10 +519,6 @@ LIB "all.lib"; 34 - @node normal_lib 35 - @subsection normal_lib 36 - @c lib normal.lib 37 - -@c --------------------------------------------------------- 38 - -@node normaliz_lib 39 - -@subsection normaliz_lib 40 - -@c lib normaliz.lib tag:normaliz 41 - @c ---------------------------------------------------------- 42 - @node pointid_lib 43 - @subsection pointid_lib 44 - @@ -558,10 +552,6 @@ LIB "all.lib"; 45 - @subsection sagbi_lib 46 - @c lib sagbi.lib 47 - @c --------------------------------------------------------- 48 - -@node sing4ti2_lib 49 - -@subsection sing4ti2_lib 50 - -@c lib sing4ti2.lib tag:sing4ti2 51 - -@c ---------------------------------------------------------- 52 - @node symodstd_lib 53 - @subsection symodstd_lib 54 - @c lib symodstd.lib 55 - @@ -873,7 +863,6 @@ iniD, reslist, sumlist, dividelist, createlist 56 - * solve_lib:: procedures to solve polynomial systems 57 - * triang_lib:: procedures for decomposing zero-dimensional ideals 58 - * ntsolve_lib:: one real solution of polynomial systems (Newton iteration) 59 - -* recover_lib:: Hybrid numerical/symbolical algorithms 60 - * rootisolation_lib:: real root isolation with intervals 61 - * signcond_lib:: computing realizable sign conditions 62 - * zeroset_lib:: procedures for roots and factorization 63 - @@ -904,10 +893,6 @@ iniD, reslist, sumlist, dividelist, createlist 64 - @subsection ntsolve_lib 65 - @c lib ntsolve.lib 66 - @c --------------------------------------------------------- 67 - -@node recover_lib 68 - -@subsection recover_lib 69 - -@c lib recover.lib tag:bertini 70 - -@c ---------------------------------------------------------- 71 - @node rootisolation_lib 72 - @subsection rootisolation_lib 73 - @c lib rootisolation.lib 74 - @@ -1108,7 +1093,6 @@ but not for serious computations. 75 - * cimonom_lib:: complete intersection for toric ideals 76 - * gfan_lib:: A gfanlib interface for Singular 77 - * gitfan_lib:: Compute GIT-fans 78 - -* polymake_lib:: interface to TOPCOM 79 - * realizationMatroids_lib:: Realizability for Tropical Fan Curves 80 - * tropical_lib:: interface to gfan 81 - * tropicalNewton_lib:: Newton polygons in tropical geometry 82 - @@ -1125,10 +1109,7 @@ but not for serious computations. 83 - @node gitfan_lib 84 - @subsection gitfan_lib 85 - @c lib gitfan.lib 86 - -@c ---------------------------------------------------------- 87 - -@node polymake_lib 88 - -@subsection polymake_lib 89 - -@c lib polymake.lib tag:topcom 90 - + 91 - @c ---------------------------------------------------------- 92 - @node realizationMatroids_lib 93 - @subsection realizationMatroids_lib 94 - @@ -1219,7 +1200,6 @@ Comments should be send to the author of the library directly. 95 - * stanleyreisner_lib:: T1 and T2 for a general Stanley-Reiser ring 96 - * swalk_lib:: Sagbi Walk Conversion Algorithm 97 - * systhreads_lib:: multi-threaded objects 98 - -* tateProdCplxNegGrad_lib:: sheaf cohomology on product of projective spaces 99 - * VecField_lib:: vector fields 100 - @end menu 101 - @c ---------------------------------------------------------- 102 - @@ -1310,10 +1290,6 @@ Todos/Issues: 103 - @subsection systhreads_lib 104 - @c lib systhreads.lib 105 - @c --------------------------------------------------------- 106 - -@node tateProdCplxNegGrad_lib 107 - -@subsection tateProdCplxNegGrad_lib 108 - -@c lib tateProdCplxNegGrad.lib 109 - -@c --------------------------------------------------------- 110 - @node VecField_lib 111 - @subsection VecField_lib 112 - @c lib VecField.lib
-38
pkgs/applications/science/math/singular/redhat-aarch64.patch
··· 1 - diff --git a/m4/cpu-check.m4 b/m4/cpu-check.m4 2 - index 3cf0a7f08..12bb926ac 100644 3 - --- a/m4/cpu-check.m4 4 - +++ b/m4/cpu-check.m4 5 - @@ -37,6 +37,18 @@ if test "$ac_cv_singcpuname" = ppc; then 6 - AC_DEFINE(SI_CPU_PPC,1,"PPC") 7 - AC_SUBST(SI_CPU_PPC) 8 - fi 9 - +if test "$ac_cv_singcpuname" = arm -o "$ac_cv_singcpuname" = armel; then 10 - + AC_DEFINE(SI_CPU_ARM,1,"ARM") 11 - + AC_SUBST(SI_CPU_ARM) 12 - +fi 13 - +if test "$ac_cv_singcpuname" = aarch64; then 14 - + AC_DEFINE(SI_CPU_AARCH64,1,"AARCH64") 15 - + AC_SUBST(SI_CPU_AARCH64) 16 - +fi 17 - +if test "$ac_cv_singcpuname" = s390; then 18 - + AC_DEFINE(SI_CPU_S390,1,"S390") 19 - + AC_SUBST(SI_CPU_S390) 20 - +fi 21 - 22 - # UNAME and PATH 23 - AC_MSG_CHECKING(uname for Singular) 24 - @@ -65,6 +77,14 @@ dnl testet on: ppc_Linux, 740/750 PowerMac G3, 512k L2 cache 25 - [powerpc*|ppc*], [AC_DEFINE(HAVE_GENERIC_MULT,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms)], 26 - dnl the following settings seems to be better on arm processors 27 - [arm*], [], 28 - +dnl FIXME: need to run some tests 29 - + [aarch64*], [ 30 - + AC_DEFINE(HAVE_MULT_MOD,1,multiplication is fast on the cpu: a*b is with mod otherwise using tables of logartihms) 31 - + AC_DEFINE(HAVE_GENERIC_ADD,1,use branch for addition in Z/p otherwise it uses a generic add) 32 - + AC_DEFINE(HAVE_DIV_MOD,1,division using extend euclidian algorithm otherwise using tables of logartihms) 33 - + ], 34 - +dnl FIXME: need to run some tests 35 - + [s390*], [AC_DEFINE(HAVE_GENERIC_ADD,1,use branch for addition in Z/p otherwise it uses a generic add)], 36 - [] 37 - ) 38 -
-194
pkgs/applications/science/math/singular/use-older-ax-prog-cc-for-build.patch
··· 1 - diff --git a/m4/ax_prog_cc_for_build.m4 b/m4/ax_prog_cc_for_build.m4 2 - index f7410d74b..12cb005a5 100644 3 - --- a/m4/ax_prog_cc_for_build.m4 4 - +++ b/m4/ax_prog_cc_for_build.m4 5 - @@ -32,35 +32,31 @@ 6 - # and this notice are preserved. This file is offered as-is, without any 7 - # warranty. 8 - 9 - -#serial 18 10 - +#serial 9 11 - 12 - AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD]) 13 - AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl 14 - AC_REQUIRE([AC_PROG_CC])dnl 15 - AC_REQUIRE([AC_PROG_CPP])dnl 16 - -AC_REQUIRE([AC_CANONICAL_BUILD])dnl 17 - +AC_REQUIRE([AC_EXEEXT])dnl 18 - +AC_REQUIRE([AC_CANONICAL_HOST])dnl 19 - 20 - dnl Use the standard macros, but make them use other variable names 21 - dnl 22 - pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl 23 - -pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl 24 - pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl 25 - pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl 26 - pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl 27 - pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl 28 - -pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl 29 - pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl 30 - pushdef([ac_cv_objext], ac_cv_build_objext)dnl 31 - pushdef([ac_exeext], ac_build_exeext)dnl 32 - pushdef([ac_objext], ac_build_objext)dnl 33 - pushdef([CC], CC_FOR_BUILD)dnl 34 - pushdef([CPP], CPP_FOR_BUILD)dnl 35 - -pushdef([GCC], GCC_FOR_BUILD)dnl 36 - pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl 37 - pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl 38 - -pushdef([EXEEXT], BUILD_EXEEXT)dnl 39 - pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl 40 - -pushdef([OBJEXT], BUILD_OBJEXT)dnl 41 - pushdef([host], build)dnl 42 - pushdef([host_alias], build_alias)dnl 43 - pushdef([host_cpu], build_cpu)dnl 44 - @@ -71,29 +67,27 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl 45 - pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl 46 - pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl 47 - pushdef([ac_cv_host_os], ac_cv_build_os)dnl 48 - -pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl 49 - -pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl 50 - -pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl 51 - -pushdef([cross_compiling], cross_compiling_build)dnl 52 - +pushdef([ac_cpp], ac_build_cpp)dnl 53 - +pushdef([ac_compile], ac_build_compile)dnl 54 - +pushdef([ac_link], ac_build_link)dnl 55 - 56 - -cross_compiling_build=no 57 - +save_cross_compiling=$cross_compiling 58 - +save_ac_tool_prefix=$ac_tool_prefix 59 - +cross_compiling=no 60 - +ac_tool_prefix= 61 - 62 - -ac_build_tool_prefix= 63 - -AS_IF([test -n "$build"], [ac_build_tool_prefix="$build-"], 64 - - [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"]) 65 - - 66 - -AC_LANG_PUSH([C]) 67 - AC_PROG_CC 68 - -_AC_COMPILER_EXEEXT 69 - -_AC_COMPILER_OBJEXT 70 - AC_PROG_CPP 71 - +AC_EXEEXT 72 - + 73 - +ac_tool_prefix=$save_ac_tool_prefix 74 - +cross_compiling=$save_cross_compiling 75 - 76 - dnl Restore the old definitions 77 - dnl 78 - -popdef([cross_compiling])dnl 79 - -popdef([am_cv_prog_cc_c_o])dnl 80 - -popdef([am_cv_CC_dependencies_compiler_type])dnl 81 - -popdef([ac_tool_prefix])dnl 82 - +popdef([ac_link])dnl 83 - +popdef([ac_compile])dnl 84 - +popdef([ac_cpp])dnl 85 - popdef([ac_cv_host_os])dnl 86 - popdef([ac_cv_host_vendor])dnl 87 - popdef([ac_cv_host_cpu])dnl 88 - @@ -104,33 +98,25 @@ popdef([host_vendor])dnl 89 - popdef([host_cpu])dnl 90 - popdef([host_alias])dnl 91 - popdef([host])dnl 92 - -popdef([OBJEXT])dnl 93 - popdef([LDFLAGS])dnl 94 - -popdef([EXEEXT])dnl 95 - popdef([CPPFLAGS])dnl 96 - popdef([CFLAGS])dnl 97 - -popdef([GCC])dnl 98 - popdef([CPP])dnl 99 - popdef([CC])dnl 100 - popdef([ac_objext])dnl 101 - popdef([ac_exeext])dnl 102 - popdef([ac_cv_objext])dnl 103 - popdef([ac_cv_exeext])dnl 104 - -popdef([ac_cv_c_compiler_gnu])dnl 105 - popdef([ac_cv_prog_cc_g])dnl 106 - popdef([ac_cv_prog_cc_cross])dnl 107 - popdef([ac_cv_prog_cc_works])dnl 108 - -popdef([ac_cv_prog_cc_c89])dnl 109 - popdef([ac_cv_prog_gcc])dnl 110 - popdef([ac_cv_prog_CPP])dnl 111 - 112 - -dnl restore global variables ac_ext, ac_cpp, ac_compile, 113 - -dnl ac_link, ac_compiler_gnu (dependant on the current 114 - -dnl language after popping): 115 - -AC_LANG_POP([C]) 116 - - 117 - dnl Finally, set Makefile variables 118 - dnl 119 - +BUILD_EXEEXT=$ac_build_exeext 120 - +BUILD_OBJEXT=$ac_build_objext 121 - AC_SUBST(BUILD_EXEEXT)dnl 122 - AC_SUBST(BUILD_OBJEXT)dnl 123 - AC_SUBST([CFLAGS_FOR_BUILD])dnl 124 - diff --git a/m4/ax_prog_cxx_for_build.m4 b/m4/ax_prog_cxx_for_build.m4 125 - index 4d976769f..17c19a89f 100644 126 - --- a/m4/ax_prog_cxx_for_build.m4 127 - +++ b/m4/ax_prog_cxx_for_build.m4 128 - @@ -31,7 +31,7 @@ 129 - # and this notice are preserved. This file is offered as-is, without any 130 - # warranty. 131 - 132 - -#serial 4 133 - +#serial 3 134 - 135 - AU_ALIAS([AC_PROG_CXX_FOR_BUILD], [AX_PROG_CXX_FOR_BUILD]) 136 - AC_DEFUN([AX_PROG_CXX_FOR_BUILD], [dnl 137 - @@ -49,7 +49,6 @@ pushdef([ac_cv_prog_cxx_cross], ac_cv_build_prog_cxx_cross)dnl 138 - pushdef([ac_cv_prog_cxx_g], ac_cv_build_prog_cxx_g)dnl 139 - pushdef([CXX], CXX_FOR_BUILD)dnl 140 - pushdef([CXXCPP], CXXCPP_FOR_BUILD)dnl 141 - -pushdef([GXX], GXX_FOR_BUILD)dnl 142 - pushdef([CXXFLAGS], CXXFLAGS_FOR_BUILD)dnl 143 - pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl 144 - pushdef([CXXCPPFLAGS], CXXCPPFLAGS_FOR_BUILD)dnl 145 - @@ -63,25 +62,26 @@ pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl 146 - pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl 147 - pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl 148 - pushdef([ac_cv_host_os], ac_cv_build_os)dnl 149 - -pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl 150 - -pushdef([am_cv_CXX_dependencies_compiler_type], am_cv_build_CXX_dependencies_compiler_type)dnl 151 - -pushdef([cross_compiling], cross_compiling_build)dnl 152 - +pushdef([ac_cxxcpp], ac_build_cxxcpp)dnl 153 - +pushdef([ac_compile], ac_build_compile)dnl 154 - +pushdef([ac_link], ac_build_link)dnl 155 - 156 - -cross_compiling_build=no 157 - +save_cross_compiling=$cross_compiling 158 - +save_ac_tool_prefix=$ac_tool_prefix 159 - +cross_compiling=no 160 - +ac_tool_prefix= 161 - 162 - -ac_build_tool_prefix= 163 - -AS_IF([test -n "$build"], [ac_build_tool_prefix="$build-"], 164 - - [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"]) 165 - - 166 - -AC_LANG_PUSH([C++]) 167 - AC_PROG_CXX 168 - AC_PROG_CXXCPP 169 - 170 - +ac_tool_prefix=$save_ac_tool_prefix 171 - +cross_compiling=$save_cross_compiling 172 - + 173 - dnl Restore the old definitions 174 - dnl 175 - -popdef([cross_compiling])dnl 176 - -popdef([am_cv_CXX_dependencies_compiler_type])dnl 177 - -popdef([ac_tool_prefix])dnl 178 - +popdef([ac_link])dnl 179 - +popdef([ac_compile])dnl 180 - +popdef([ac_cxxcpp])dnl 181 - popdef([ac_cv_host_os])dnl 182 - popdef([ac_cv_host_vendor])dnl 183 - popdef([ac_cv_host_cpu])dnl 184 - @@ -103,10 +103,6 @@ popdef([ac_cv_prog_cxx_works])dnl 185 - popdef([ac_cv_prog_gxx])dnl 186 - popdef([ac_cv_prog_CXXCPP])dnl 187 - 188 - -dnl restore global variables (dependant on the current 189 - -dnl language after popping): 190 - -AC_LANG_POP([C++]) 191 - - 192 - dnl Finally, set Makefile variables 193 - dnl 194 - AC_SUBST([CXXFLAGS_FOR_BUILD])dnl
-35
pkgs/applications/science/math/singular/vspace-MAX_PROCESS.patch
··· 1 - diff --git a/kernel/GBEngine/kChinese.cc b/kernel/GBEngine/kChinese.cc 2 - index 829a66609..84655caf2 100644 3 - --- a/kernel/GBEngine/kChinese.cc 4 - +++ b/kernel/GBEngine/kChinese.cc 5 - @@ -209,6 +209,8 @@ ideal id_ChineseRemainder_0(ideal *xx, number *q, int rl, const ring r) 6 - return NULL; 7 - } 8 - int cpus=(int)(long)feOptValue(FE_OPT_CPUS); 9 - + if (cpus>=vspace::internals::MAX_PROCESS) 10 - + cpus=vspace::internals::MAX_PROCESS-1; 11 - if ((cpus==1) || (2*cpus>=cnt)) 12 - /* at least 2 polys for each process, or switch to seriell version */ 13 - return id_ChineseRemainder(xx,q,rl,r); 14 - @@ -295,6 +297,8 @@ ideal id_Farey_0(ideal x, number N, const ring r) 15 - { 16 - int cnt=IDELEMS(x)*x->nrows; 17 - int cpus=(int)(long)feOptValue(FE_OPT_CPUS); 18 - + if (cpus>=vspace::internals::MAX_PROCESS) 19 - + cpus=vspace::internals::MAX_PROCESS-1; 20 - if (2*cpus>=cnt) /* at least 2 polys for each process, 21 - or switch to seriell version */ 22 - return id_Farey(x,N,r); 23 - diff --git a/kernel/GBEngine/kverify.cc b/kernel/GBEngine/kverify.cc 24 - index 909d84994..aa06d6624 100644 25 - --- a/kernel/GBEngine/kverify.cc 26 - +++ b/kernel/GBEngine/kverify.cc 27 - @@ -176,6 +176,8 @@ BOOLEAN kVerify2(ideal F, ideal Q) 28 - /*---------------------------------------------------------------------*/ 29 - BOOLEAN all_okay=TRUE; 30 - int cpus=(int)(long)feOptValue(FE_OPT_CPUS); 31 - + if (cpus>=vspace::internals::MAX_PROCESS) 32 - + cpus=vspace::internals::MAX_PROCESS-1; 33 - int parent_pid=getpid(); 34 - using namespace vspace; 35 - vmem_init();
+3 -3
pkgs/applications/version-management/git-and-tools/glitter/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "glitter"; 5 - version = "1.5.12"; 5 + version = "1.5.13"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "milo123459"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-XQ3HLmT3sWjoHTxnOU9FSHbnCwitFH0tOOpT7WwTEPE="; 11 + sha256 = "sha256-arHwIQXZYxwnFbyLoKQiv3gYHEN80DxbdaO4dM9ZBs8="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-V54Itj7/zUO1bp0y30TjV1mSo/oNJOxEofpSqrYz6xk="; 14 + cargoSha256 = "sha256-d+DERHE8Nzre1MXNj4Cp9fcRkLPEC8hzh0SeTpS2C5A="; 15 15 16 16 # tests require it to be in a git repository 17 17 preCheck = ''
+3 -3
pkgs/applications/version-management/gogs/default.nix
··· 8 8 9 9 buildGoModule rec { 10 10 pname = "gogs"; 11 - version = "0.12.3"; 11 + version = "0.12.4"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "gogs"; 15 15 repo = "gogs"; 16 16 rev = "v${version}"; 17 - sha256 = "0ix3mxy8cpqbx24qffbzyf5z88x7605icm7rk5n54r8bdsr7cckd"; 17 + sha256 = "sha256-t2aXRYCr54sqXwv6cJHDf1z1z94SqJM0WQRd2ejc7XY="; 18 18 }; 19 19 20 - vendorSha256 = "0m0g4dsiq8p2ngsbjxfi3wff7x4xpm67qlhgcgf8b48mqai4d2gc"; 20 + vendorSha256 = "sha256-3dT5D+oDd0mpJp/cP53TQcRUkmqh6g3sRBWWAUqhaAo="; 21 21 22 22 subPackages = [ "." ]; 23 23
+2 -2
pkgs/applications/version-management/got/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "got"; 5 - version = "0.64"; 5 + version = "0.66"; 6 6 7 7 src = fetchurl { 8 8 url = 9 9 "https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz"; 10 - sha256 = "1qigv8fnmiynrx6qrg28n2981a30n56nh3xbhmlpihl7fqxmg1sq"; 10 + sha256 = "13xrwndj80jix210fxkadivxyd1f5qavdrhxyl32n68xyv5xmkgg"; 11 11 }; 12 12 13 13 nativeBuildInputs = [ pkg-config ];
+5 -1
pkgs/applications/video/plex-media-player/default.nix
··· 36 36 37 37 cmakeFlags = [ "-DCMAKE_BUILD_TYPE=RelWithDebInfo" "-DQTROOT=${qtbase}" ]; 38 38 39 + # plexmediaplayer currently segfaults under wayland 40 + qtWrapperArgs = [ "--set" "QT_QPA_PLATFORM" "xcb" ]; 41 + 39 42 passthru.updateScript = ./update.sh; 40 43 41 44 meta = with lib; { 42 45 description = "Streaming media player for Plex"; 43 46 license = licenses.gpl2; 44 - maintainers = with maintainers; [ ]; 47 + maintainers = with maintainers; [ b4dm4n ]; 45 48 homepage = "https://plex.tv"; 49 + mainProgram = "plexmediaplayer"; 46 50 }; 47 51 }
+6 -3
pkgs/applications/virtualization/cloud-hypervisor/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cloud-hypervisor"; 5 - version = "20.2"; 5 + version = "21.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cloud-hypervisor"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-yIp1p8GyBojWKmvFRZ/OeyF2bjlqYsuXUrYTVunYV8Y="; 11 + sha256 = "00b0ij9sfv7zsrgwrcj2rzpy1z8bp0m0lmzjp433xzpcgcnzw3w5"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config ]; 15 15 buildInputs = [ openssl ] ++ lib.optional stdenv.isAarch64 dtc; 16 16 17 - cargoSha256 = "sha256-s2u6e2JbukPo3pXYzQJXP5d2G213u1+1ke9gZFnB+5g="; 17 + cargoSha256 = "0lf7bb468s2ic9vabx954i46605gf7c6064vvwqvz7djk30z0y0d"; 18 + 19 + # Integration tests require root. 20 + cargoTestFlags = [ "--bins" ]; 18 21 19 22 meta = with lib; { 20 23 homepage = "https://github.com/cloud-hypervisor/cloud-hypervisor";
+2 -2
pkgs/data/misc/ddccontrol-db/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "ddccontrol-db"; 11 - version = "20210812"; 11 + version = "20220119"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "ddccontrol"; 15 15 repo = "ddccontrol-db"; 16 16 rev = version; 17 - sha256 = "sha256-dRqyjDC9yNkNOnYQ9fkWPlnyzSqIZ4zxZ2T7t8Bu9FE="; 17 + sha256 = "sha256-8JJ6RG7yA1ssoYsvgDYp3/r+h1+rKnOwwoDhRx2brY8="; 18 18 }; 19 19 20 20 preConfigure = ''
+38
pkgs/data/themes/kwin-decorations/kde-rounded-corners/default.nix
··· 1 + { stdenv 2 + , fetchFromGitHub 3 + , cmake 4 + , extra-cmake-modules 5 + , wrapQtAppsHook 6 + , kwin 7 + , kdelibs4support 8 + , libepoxy 9 + , libXdmcp 10 + , lib 11 + }: 12 + 13 + stdenv.mkDerivation rec { 14 + pname = "kde-rounded-corners"; 15 + version = "unstable-2021-11-06"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "matinlotfali"; 19 + repo = "KDE-Rounded-Corners"; 20 + rev = "8ad8f5f5eff9d1625abc57cb24dc484d51f0e1bd"; 21 + sha256 = "0xbskf7jd03d2invfz1nnfc82klzvc784snw539n4kn6c6rc381p"; 22 + }; 23 + 24 + postConfigure = '' 25 + substituteInPlace cmake_install.cmake \ 26 + --replace "${kdelibs4support}" "$out" 27 + ''; 28 + 29 + nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ]; 30 + buildInputs = [ kwin kdelibs4support libepoxy libXdmcp ]; 31 + 32 + meta = with lib; { 33 + description = "Rounds the corners of your windows"; 34 + homepage = "https://github.com/matinlotfali/KDE-Rounded-Corners"; 35 + license = licenses.gpl3Only; 36 + maintainers = with maintainers; [ flexagoon ]; 37 + }; 38 + }
+3 -3
pkgs/development/interpreters/lunatic/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "lunatic"; 5 - version = "0.7.4"; 5 + version = "0.7.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "lunatic-solutions"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-RX8JarGpY6dhPGpvOX1FuUjirEPff0wGqLkGFxOa+bc="; 11 + sha256 = "sha256-HqDrGoyYzdx8OTanlRd95L1wAtFeew7Xs2rZ7nK2Zus="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-UvrDqxaZSgUJ/a6abigTuiUOfw+C7UolBApt5kVR+yo="; 14 + cargoSha256 = "sha256-t3EwVYrKx7dvUcSp0B1iUAklg7WdQDld/T0O1HgHw54="; 15 15 16 16 nativeBuildInputs = [ cmake ]; 17 17
+3 -3
pkgs/development/libraries/fflas-ffpack/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "fflas-ffpack"; 9 - version = "2.4.3"; 9 + version = "2.5.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "linbox-team"; 13 13 repo = pname; 14 - rev = version; 15 - sha256 = "1ynbjd72qrwp0b4kpn0p5d7gddpvj8dlb5fwdxajr5pvkvi3if74"; 14 + rev = "v${version}"; 15 + sha256 = "sha256-Eztc2jUyKRVUiZkYEh+IFHkDuPIy+Gx3ZW/MsuOVaMc="; 16 16 }; 17 17 18 18 checkInputs = [
+4 -3
pkgs/development/libraries/fplll/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitHub 3 - , fetchpatch 3 + , pkg-config 4 4 , gettext 5 5 , autoreconfHook 6 6 , gmp ··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 pname = "fplll"; 12 - version = "5.3.2"; 12 + version = "5.4.1"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "fplll"; 16 16 repo = "fplll"; 17 17 rev = version; 18 - sha256 = "00iyz218ywspizjiimrjdcqvdqmrsb2367zyy3vkmypnf9i9l680"; 18 + sha256 = "sha256-6Zde8/bPOQQ16DqhqrQuGXDrf5HQEn5lwxauvyBr4XQ="; 19 19 }; 20 20 21 21 nativeBuildInputs = [ 22 + pkg-config 22 23 gettext 23 24 autoreconfHook 24 25 ];
+2 -2
pkgs/development/libraries/givaro/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, autoreconfHook, gmpxx }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "givaro"; 4 - version = "4.1.1"; 4 + version = "4.2.0"; 5 5 src = fetchFromGitHub { 6 6 owner = "linbox-team"; 7 7 repo = pname; 8 8 rev = "v${version}"; 9 - sha256 = "11wz57q6ijsvfs5r82masxgr319as92syi78lnl9lgdblpc6xigk"; 9 + sha256 = "sha256-KR0WJc0CSvaBnPRott4hQJhWNBb/Wi6MIhcTExtVobQ="; 10 10 }; 11 11 12 12 enableParallelBuilding = true;
+2 -2
pkgs/development/libraries/leatherman/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "leatherman"; 5 - version = "1.12.6"; 5 + version = "1.12.7"; 6 6 7 7 src = fetchFromGitHub { 8 - sha256 = "sha256-k5Lt/NCSlBaTGhpR4T3Q4Ih+RR1xKROxz+RNYor7zaQ="; 8 + sha256 = "sha256-a79/seKO6Efn6g4RWdqsP83pL5AIBAp1InjnMdOs3Qk="; 9 9 rev = version; 10 10 repo = "leatherman"; 11 11 owner = "puppetlabs";
+2 -2
pkgs/development/libraries/libamqpcpp/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libamqpcpp"; 5 - version = "4.3.15"; 5 + version = "4.3.16"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "CopernicaMarketingSoftware"; 9 9 repo = "AMQP-CPP"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-S2/ecWC78Q4ihVLtDQ6DD8/qX1cDslnTjqd5IkKCjc4="; 11 + sha256 = "sha256-aBLNdw9LhHFwnIt70vIYlX1/j2IUTmpm5Ub+ZImF8FI="; 12 12 }; 13 13 14 14 buildInputs = [ openssl ];
+1
pkgs/development/libraries/libtorrent-rasterbar/1.1.nix
··· 46 46 license = licenses.bsd3; 47 47 maintainers = [ ]; 48 48 platforms = platforms.unix; 49 + broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/libtorrent-rasterbar-1_1_x.x86_64-darwin 49 50 }; 50 51 }
+2 -16
pkgs/development/libraries/linbox/default.nix
··· 14 14 15 15 stdenv.mkDerivation rec { 16 16 pname = "linbox"; 17 - version = "1.6.3"; # TODO: Check postPatch script on update 17 + version = "1.7.0"; 18 18 19 19 src = fetchFromGitHub { 20 20 owner = "linbox-team"; 21 21 repo = pname; 22 22 rev = "v${version}"; 23 - sha256 = "10j6dspbsq7d2l4q3y0c1l1xwmaqqba2fxg59q5bhgk9h5d7q571"; 23 + sha256 = "sha256-mW84a98KPLqcHMjX3LIYTmVe0ngUdz6RJLpoDaAqKU8="; 24 24 }; 25 25 26 26 nativeBuildInputs = [ ··· 34 34 gmpxx 35 35 fflas-ffpack 36 36 ]; 37 - 38 - patches = [ 39 - # Remove inappropriate `const &` qualifiers on data members that can be 40 - # modified via member functions. 41 - # See also: https://github.com/linbox-team/linbox/pull/256 42 - ./patches/linbox-pr256-part2.patch # TODO: Remove on 1.7.0 update 43 - ]; 44 - 45 - postPatch = '' 46 - # Remove @LINBOXSAGE_LIBS@ that is actually undefined. 47 - # See also: https://github.com/linbox-team/linbox/pull/249 48 - # TODO: Remove on 1.7.0 update 49 - find . -type f -exec sed -e 's/@LINBOXSAGE_LIBS@//' -i {} \; 50 - ''; 51 37 52 38 configureFlags = [ 53 39 "--with-blas-libs=-lblas"
-13
pkgs/development/libraries/linbox/patches/linbox-pr256-part2.patch
··· 1 - --- a/linbox/algorithms/det-rational.h 2 - +++ b/linbox/algorithms/det-rational.h 3 - @@ -79,8 +79,8 @@ 4 - struct MyRationalModularDet { 5 - const Blackbox &A; 6 - const MyMethod &M; 7 - - const Integer &mul;//multiplicative prec; 8 - - const Integer &div; 9 - + Integer mul;//multiplicative prec; 10 - + Integer div; 11 - 12 - MyRationalModularDet(const Blackbox& b, const MyMethod& n, 13 - const Integer & p1, const Integer & p2) :
+18 -74
pkgs/development/libraries/science/math/lcalc/default.nix
··· 1 1 { lib, stdenv 2 - , fetchurl 3 - , fetchpatch 2 + , autoreconfHook 3 + , gengetopt 4 + , pkg-config 5 + , fetchFromGitLab 4 6 , pari 5 7 }: 6 8 7 9 stdenv.mkDerivation rec { 8 - version = "1.23"; 10 + version = "2.0.5"; 9 11 pname = "lcalc"; 10 12 11 - src = fetchurl { 12 - # original at http://oto.math.uwaterloo.ca/~mrubinst/L_function_public/CODE/L-${version}.tar.gz, no longer available 13 - # "newer" version at google code https://code.google.com/archive/p/l-calc/source/default/source 14 - url = "mirror://sageupstream/lcalc/lcalc-${version}.tar.bz2"; 15 - sha256 = "1c6dsdshgxhqppjxvxhp8yhpxaqvnz3d1mlh26r571gkq8z2bm43"; 13 + src = fetchFromGitLab { 14 + owner = "sagemath"; 15 + repo = pname; 16 + rev = version; 17 + sha256 = "sha256-RxWZ7T0I9zV7jUVnL6jV/PxEoU32KY7Q1UsOL5Lonuc="; 16 18 }; 17 19 18 - preConfigure = "cd src"; 20 + nativeBuildInputs = [ 21 + autoreconfHook 22 + gengetopt 23 + pkg-config 24 + ]; 19 25 20 26 buildInputs = [ 21 27 pari 22 28 ]; 23 29 24 - patches = [ 25 - # Port to newer pari 26 - (fetchpatch { 27 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/lcalc/patches/pari-2.7.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 28 - sha256 = "1x3aslldm8njjm7p9g9s9w2c91kphnci2vpkxkrcxfihw3ayss6c"; 29 - }) 30 - 31 - # Uncomment the definition of lcalc_to_double(const long double& x). 32 - # (Necessary for GCC >= 4.6.0, cf. https://trac.sagemath.org/ticket/10892) 33 - (fetchpatch { 34 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/lcalc/patches/Lcommon.h.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 35 - sha256 = "0g4ybvsrcv48rmlh1xjnkms19jp25k58azv6ds1f2cm34hxs8fdx"; 36 - }) 37 - 38 - # Include also <time.h> in Lcommandline_numbertheory.h (at least required 39 - # on Cygwin, cf. https://trac.sagemath.org/ticket/9845) 40 - (fetchpatch { 41 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/lcalc/patches/time.h.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 42 - sha256 = "1brf04n11kkc43ylagf8dm32j5r2g9zv51dp5wag1mpm4p04l7cl"; 43 - }) 44 - 45 - # Fix for gcc >4.6 46 - (fetchpatch { 47 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/lcalc/patches/lcalc-1.23_default_parameters_1.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 48 - sha256 = "0i2yvxm5fx4z0v6m4srgh8rj98kijmlvyirlxf1ky0bp2si6bpka"; 49 - }) 50 - 51 - # gcc 5.1 52 - (fetchpatch { 53 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/lcalc/patches/lcalc-1.23_default_parameters_2.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba"; 54 - sha256 = "0dqwmxpm9wb53qbypsyfkgsvk2f8nf67sydphd4dkc2vw4yz6vlh"; 55 - }) 56 - 57 - # based on gentoos makefile patch -- fix paths, adhere to flags 58 - ./makefile.patch 59 - 60 - # (fetchpatch { 61 - # name = "default-double.patch"; 62 - # url = "https://github.com/dimpase/lcalc/pull/1/commits/0500c67b6aa1f492715591669f6647c8f7a3ea59.patch"; 63 - # sha256 = "0dqwmxpm9wb53qbypsyfkgsvk2f8nf67sydphd4dkc2vw4yz6vla"; 64 - # }) 65 - 66 - (fetchpatch { 67 - name = "c++11.patch"; 68 - url = "https://raw.githubusercontent.com/archlinux/svntogit-community/3607b97df5a8c231191115b0cb5c62426b339e71/trunk/lcalc-c++11.patch"; 69 - sha256 = "1ccrl61lv2vvx8ggldq54m5d0n1iy6mym7qz0i8nj6yj0dshnpk3"; 70 - }) 71 - ] ++ lib.optional stdenv.isDarwin 72 - (fetchpatch { 73 - url = "https://git.sagemath.org/sage.git/plain/build/pkgs/lcalc/patches/clang.patch"; 74 - sha256 = "0bb7656z6cp6i4p2qj745cmq0lhh52v2akl9whi760dynfdxbl18"; 75 - }); 76 - 77 - postPatch = lib.optionalString stdenv.isDarwin '' 78 - substituteInPlace src/Makefile --replace g++ c++ 79 - ''; 80 - 81 - installFlags = [ 82 - "DESTDIR=$(out)" 83 - ]; 84 - 85 - makeFlags = [ 86 - "PARI_DEFINE=-DINCLUDE_PARI" 87 - "PARI_PREFIX=${pari}" 30 + configureFlags = [ 31 + "--with-pari" 88 32 ]; 89 33 90 34 meta = with lib; { 91 - homepage = "http://oto.math.uwaterloo.ca/~mrubinst/L_function_public/L.html"; 35 + homepage = "https://gitlab.com/sagemath/lcalc"; 92 36 description = "A program for calculating with L-functions"; 93 37 license = with licenses; [ gpl2 ]; 94 38 maintainers = teams.sage.members;
-113
pkgs/development/libraries/science/math/lcalc/makefile.patch
··· 1 - diff --git a/src/Makefile b/src/Makefile 2 - index 84e4e88..56ca676 100644 3 - --- a/src/Makefile 4 - +++ b/src/Makefile 5 - @@ -58,7 +58,7 @@ ifeq ($(G5),TRUE) 6 - #MACHINE_SPECIFIC_FLAGS = -mpowerpc -mpowerpc64 -m64 7 - endif 8 - 9 - -CCFLAGS = -Wa,-W -O3 $(OPENMP_FLAG) -Wno-deprecated $(PREPROCESSOR_DEFINE) $(MACHINE_SPECIFIC_FLAGS) $(EXTRA) 10 - +CCFLAGS = $(CXXFLAGS) $(OPENMP_FLAG) $(PREPROCESSOR_DEFINE) $(MACHINE_SPECIFIC_FLAGS) 11 - #CCFLAGS = -Wa,-W -O3 $(OPENMP_FLAG) $(PREPROCESSOR_DEFINE) $(MACHINE_SPECIFIC_FLAGS) $(EXTRA) 12 - #CCFLAGS = -Wa,-W -O2 -fno-exceptions -Wno-deprecated $(PREPROCESSOR_DEFINE) $(MACHINE_SPECIFIC_FLAGS) $(EXTRA) 13 - 14 - @@ -68,12 +68,12 @@ CCFLAGS = -Wa,-W -O3 $(OPENMP_FLAG) -Wno-deprecated $(PREPROCESSOR_DEFINE) $(MA 15 - 16 - ifeq ($(PARI_DEFINE),-DINCLUDE_PARI) 17 - #location of pari.h. 18 - - LOCATION_PARI_H = /usr/local/include/pari #usual location 19 - + LOCATION_PARI_H = $(PARI_PREFIX)/include/pari #usual location 20 - 21 - #location of libpari.a or of libpari.so 22 - #depending on whether static or dynamic libraries are being used. 23 - #On mac os x it's the former, on linux I think usually the latter. 24 - - LOCATION_PARI_LIBRARY = /usr/local/lib #usual location 25 - + LOCATION_PARI_LIBRARY = $(PARI_PREFIX)/lib #usual location 26 - else 27 - #supplied as a dummy so as to avoid more ifeq's below 28 - LOCATION_PARI_H = . 29 - @@ -89,24 +89,24 @@ INCLUDEFILES= -I../include 30 - 31 - ifeq ($(OS_NAME),Darwin) 32 - LDFLAGS2 = 33 - - DYN_OPTION=dynamiclib 34 - + DYN_OPTION=-dynamiclib 35 - else 36 - - LDFLAGS1 = -Xlinker -export-dynamic #not sure why pari calls these when linking but on the web I found 37 - + LDFLAGS1 = #not sure why pari calls these when linking but on the web I found 38 - #'Libtool provides the `-export-dynamic' link flag (see section Link mode), which does this declaration. 39 - #You need to use this flag if you are linking a shared library that will be dlopened' 40 - #see notes below 41 - #ifeq ($(PARI_DEFINE),-DINCLUDE_PARI) 42 - - LDFLAGS2 = $(LDFLAGS1) -Xlinker -rpath -Xlinker $(LOCATION_PARI_LIBRARY) 43 - + LDFLAGS2 = $(LDFLAGS) 44 - #else 45 - # LDFLAGS2 = $(LDFLAGS1) 46 - #endif 47 - - DYN_OPTION=shared 48 - + DYN_OPTION=$(LDFLAGS) -shared -Wl,-soname,libLfunction.so 49 - endif 50 - 51 - ifeq ($(PARI_DEFINE),-DINCLUDE_PARI) 52 - - LDFLAGS = $(LDFLAGS2) -L$(LOCATION_PARI_LIBRARY) -lpari 53 - + MYLDFLAGS = $(LDFLAGS2) -L$(LOCATION_PARI_LIBRARY) -lpari 54 - else 55 - - LDFLAGS = $(LDFLAGS2) 56 - + MYLDFLAGS = $(LDFLAGS2) 57 - endif 58 - 59 - 60 - @@ -129,7 +129,8 @@ endif 61 - #become clear which libraries the computer can find. 62 - 63 - 64 - -INSTALL_DIR= /usr/local 65 - +INSTALL_DIR= $(DESTDIR) 66 - +LIB_DIR ?=lib 67 - 68 - #object files for the libLfunction library 69 - OBJ_L = Lglobals.o Lgamma.o Lriemannsiegel.o Lriemannsiegel_blfi.o Ldokchitser.o 70 - @@ -141,9 +142,8 @@ OBJECTS = $(OBJ3) 71 - 72 - all: 73 - # make print_vars 74 - - make libLfunction.so 75 - - make lcalc 76 - - make examples 77 - + ${MAKE} libLfunction.so 78 - + ${MAKE} lcalc 79 - # make find_L 80 - # make test 81 - 82 - @@ -151,7 +151,7 @@ print_vars: 83 - @echo OS_NAME = $(OS_NAME) 84 - 85 - lcalc: $(OBJECTS) 86 - - $(CC) $(CCFLAGS) $(INCLUDEFILES) $(OBJECTS) $(LDFLAGS) -o lcalc $(GMP_FLAGS) 87 - + $(CC) $(CCFLAGS) $(INCLUDEFILES) $(OBJECTS) $(MYLDFLAGS) -o lcalc $(GMP_FLAGS) 88 - 89 - examples: 90 - $(CC) $(CCFLAGS) $(INCLUDEFILES) example_programs/example.cc libLfunction.so -o example_programs/example $(GMP_FLAGS) 91 - @@ -262,15 +262,18 @@ Lcommandline.o: ../include/Lcommandline_values_zeros.h 92 - 93 - 94 - libLfunction.so: $(OBJ_L) 95 - - g++ -$(DYN_OPTION) -o libLfunction.so $(OBJ_L) 96 - + g++ $(DYN_OPTION) -o libLfunction.so $(OBJ_L) 97 - 98 - clean: 99 - rm -f *.o lcalc libLfunction.so example_programs/example 100 - 101 - install: 102 - - cp -f lcalc $(INSTALL_DIR)/bin/. 103 - - cp -f libLfunction.so $(INSTALL_DIR)/lib/. 104 - - cp -rf ../include $(INSTALL_DIR)/include/Lfunction 105 - + install -d $(INSTALL_DIR)/bin 106 - + install -d $(INSTALL_DIR)/$(LIB_DIR) 107 - + install -d $(INSTALL_DIR)/include/Lfunction 108 - + install lcalc $(INSTALL_DIR)/bin 109 - + install libLfunction.so $(INSTALL_DIR)/$(LIB_DIR) 110 - + install -m 644 -t $(INSTALL_DIR)/include/Lfunction ../include/*.h 111 - 112 - 113 - SRCS = Lcommandline.cc Lcommandline_elliptic.cc Lcommandline_globals.cc Lcommandline_misc.cc Lcommandline_numbertheory.cc Lcommandline_twist.cc Lcommandline_values_zeros.cc Lgamma.cc Lglobals.cc Lmisc.cc Lriemannsiegel.cc Lriemannsiegel_blfi.cc cmdline.c
+8
pkgs/development/libraries/science/math/primecount/default.nix
··· 15 15 sha256 = "sha256-/Cb/HkD4UQ9gXsRpvRiEuQBoRd0THxNHsBaAAa+CqQo="; 16 16 }; 17 17 18 + cmakeFlags = [ 19 + "-DBUILD_STATIC_LIBS=OFF" 20 + "-DBUILD_SHARED_LIBS=ON" 21 + "-DBUILD_TESTS=ON" 22 + "-DBUILD_PRIMECOUNT=ON" 23 + "-DBUILD_LIBPRIMESIEVE=ON" 24 + ]; 25 + 18 26 meta = with lib; { 19 27 description = "Fast prime counting function implementations"; 20 28 homepage = "https://github.com/kimwalisch/primecount";
+2 -2
pkgs/development/libraries/sofia-sip/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "sofia-sip"; 5 - version = "1.13.6"; 5 + version = "1.13.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "freeswitch"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0b1gq499ksgsi16f5nf3dzbj6s8knwkiak5j810jzdfm7vkm0vvm"; 11 + sha256 = "sha256-gBejwt5YAkCKQh0vzN00J4y1ifcdc4TglA+SqEevaGQ="; 12 12 }; 13 13 14 14 buildInputs = [ glib openssl ] ++ lib.optional stdenv.isDarwin SystemConfiguration;
+32 -12
pkgs/development/python-modules/breathe/default.nix
··· 1 - { lib, fetchPypi, buildPythonPackage, docutils, six, sphinx, isPy3k, isPy27 }: 1 + { lib 2 + , buildPythonPackage 3 + , docutils 4 + , fetchFromGitHub 5 + , pytestCheckHook 6 + , pythonOlder 7 + , sphinx 8 + }: 2 9 3 10 buildPythonPackage rec { 4 - version = "4.31.0"; 5 11 pname = "breathe"; 6 - disabled = isPy27; 12 + version = "4.32.0"; 13 + format = "setuptools"; 7 14 8 - src = fetchPypi { 9 - inherit pname version; 10 - sha256 = "925eeff96c6640cd857e4ddeae6f75464a1d5e2e08ee56dccce4043583ae2050"; 15 + disabled = pythonOlder "3.7"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "michaeljones"; 19 + repo = pname; 20 + rev = "v${version}"; 21 + hash = "sha256-U85iLVS6bmA2Ty0AC4z2qODy9u4rWg6Nb42/k2Ix+kk="; 11 22 }; 12 23 13 - propagatedBuildInputs = [ docutils six sphinx ]; 24 + propagatedBuildInputs = [ 25 + docutils 26 + sphinx 27 + ]; 14 28 15 - doCheck = !isPy3k; 29 + checkInputs = [ 30 + pytestCheckHook 31 + ]; 16 32 17 - meta = { 33 + pythonImportsCheck = [ 34 + "breathe" 35 + ]; 36 + 37 + meta = with lib; { 38 + description = "Sphinx Doxygen renderer"; 18 39 homepage = "https://github.com/michaeljones/breathe"; 19 - license = lib.licenses.bsd3; 20 - description = "Sphinx Doxygen renderer"; 40 + license = licenses.bsd3; 41 + maintainers = with maintainers; [ ]; 21 42 inherit (sphinx.meta) platforms; 22 43 }; 23 44 } 24 -
+8
pkgs/development/python-modules/cffsubr/default.nix
··· 3 3 , fetchPypi 4 4 , fonttools 5 5 , pytestCheckHook 6 + , setuptools-scm 6 7 }: 7 8 8 9 buildPythonPackage rec { ··· 16 17 sha256 = "azFBLc9JyPqEZkvahn4u3cVbb+b6aW/yU8TxOp/y/Fw="; 17 18 }; 18 19 20 + nativeBuildInputs = [ 21 + setuptools-scm 22 + ]; 23 + 19 24 propagatedBuildInputs = [ 20 25 fonttools 21 26 ]; ··· 24 29 pytestCheckHook 25 30 ]; 26 31 32 + pythonImportsCheck = [ "cffsubr" ]; 33 + 27 34 meta = with lib; { 28 35 description = "Standalone CFF subroutinizer based on AFDKO tx"; 29 36 homepage = "https://github.com/adobe-type-tools/cffsubr"; 30 37 license = licenses.asl20; 38 + maintainers = with maintainers; [ jtojnar ]; 31 39 }; 32 40 }
+1
pkgs/development/python-modules/compreffor/default.nix
··· 40 40 description = "CFF table subroutinizer for FontTools"; 41 41 homepage = "https://github.com/googlefonts/compreffor"; 42 42 license = licenses.asl20; 43 + maintainers = with maintainers; [ jtojnar ]; 43 44 }; 44 45 }
+2 -2
pkgs/development/python-modules/django_reversion/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "django-reversion"; 9 - version = "4.0.1"; 9 + version = "4.0.2"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "6991f16e5d3a972912db3d56e3a714d10b07becd566ab87f85f2e9b671981339"; 13 + sha256 = "sha256-XTO6lE2/GccDDJ5w43MSSK40Nozyr+3hDg0I+/ieb4w="; 14 14 }; 15 15 16 16 # tests assume the availability of a mysql/postgresql database
+2 -17
pkgs/development/python-modules/fpylll/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 - , fetchpatch 4 3 , buildPythonPackage 5 4 , pkgconfig 6 5 , gmp ··· 15 14 16 15 buildPythonPackage rec { 17 16 pname = "fpylll"; 18 - version = "0.5.1dev"; 17 + version = "0.5.6"; 19 18 20 19 src = fetchFromGitHub { 21 20 owner = "fplll"; 22 21 repo = "fpylll"; 23 22 rev = version; 24 - sha256 = "15vdfgx448mr1nf054h7lr2j3dd35fsfhikqzrh9zsng8n12hxa5"; 23 + sha256 = "sha256-Bxcc0941+pl2Uzam48qe+PFlcBWsJ0rDYZxrxIYQpEA="; 25 24 }; 26 - 27 - patches = [ 28 - # two patches to fix the testsuite on aarch64 (https://github.com/fplll/fpylll/issues/162) 29 - (fetchpatch { 30 - url = "https://github.com/fplll/fpylll/commit/d5809a8fdb86b2693b1fa94e655bbbe4ad80e286.patch"; 31 - name = "less-precision-in-tests.patch"; 32 - sha256 = "0vkvi25nwwvk5r4a4xmkbf060di4hjq32bys75l2hsaysxmk93nz"; 33 - }) 34 - (fetchpatch { 35 - url = "https://github.com/fplll/fpylll/commit/b5b146a010d50da219a313adc4b6f7deddcc146b.patch"; 36 - name = "dont-hardcode-precision.patch"; 37 - sha256 = "1rsbwh90i1j5p2rp6jd5n25v1jzw1n8728fzz1lhb91zmk0hlxc9"; 38 - }) 39 - ]; 40 25 41 26 buildInputs = [ 42 27 gmp
+2 -2
pkgs/development/python-modules/httpx-socks/default.nix
··· 20 20 21 21 buildPythonPackage rec { 22 22 pname = "httpx-socks"; 23 - version = "0.7.2"; 23 + version = "0.7.3"; 24 24 format = "setuptools"; 25 25 26 26 disabled = pythonOlder "3.6"; ··· 29 29 owner = "romis2012"; 30 30 repo = pname; 31 31 rev = "v${version}"; 32 - sha256 = "1wigmkhn4ymfr12z9vhdaimjcma9llicwrr29q0cc8xmy23f3445"; 32 + sha256 = "11wnhx9nfsg5lsnlgh33zngyhc2klichpfrkwajbbyq95fdqj8ri"; 33 33 }; 34 34 35 35 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/jc/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "jc"; 13 - version = "1.18.1"; 13 + version = "1.18.2"; 14 14 disabled = pythonOlder "3.6"; 15 15 16 16 src = fetchFromGitHub { 17 17 owner = "kellyjonbrazil"; 18 18 repo = pname; 19 19 rev = "v${version}"; 20 - sha256 = "0xzx32fnm39w916z8wm387ry480rbf7n9qppc18bjdv4jjwgf2rw"; 20 + sha256 = "sha256-5GGY23MDsUbSC2tYGVqwwtFi5vnSldozMR4HuY+h+l4="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [ ruamel-yaml xmltodict pygments ];
+2 -2
pkgs/development/python-modules/manimpango/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "manimpango"; 5 - version = "0.4.0.post1"; 5 + version = "0.4.0.post2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ManimCommunity"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "1in9ibis91rlqmd7apbdp9c8y1mgnpm5bg6ldad8whx62nkkvwa3"; 11 + sha256 = "sha256-BMRlEdvJJOUbsvKEoZx2qJqHSbL475dhBthUpnsXkn4="; 12 12 }; 13 13 14 14 postPatch = ''
+2 -2
pkgs/development/python-modules/mautrix/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "mautrix"; 7 - version = "0.14.6"; 7 + version = "0.14.7"; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "46a87a8ee9e45e90c72e17ebb75190073e773f0890cfde7b81b0a36e15caec5d"; 11 + sha256 = "sha256-P4yibI2KQQtIK8G28rkutaaMejiygZY1l/EjTl9Mju8="; 12 12 }; 13 13 14 14 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/nameparser/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "nameparser"; 9 - version = "1.1.0"; 9 + version = "1.1.1"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "bbd4831c72426757ec59674a1aad29c40bf411358a6d6e1cdd68002cbcb90d08"; 13 + sha256 = "sha256-zoM27XRk+nubh0X0i5xi3qa+2TG5lxXKlHk2BUSZIUM="; 14 14 }; 15 15 16 16 LC_ALL="en_US.UTF-8";
+2 -2
pkgs/development/python-modules/papermill/default.nix
··· 25 25 26 26 buildPythonPackage rec { 27 27 pname = "papermill"; 28 - version = "2.3.3"; 28 + version = "2.3.4"; 29 29 30 30 src = fetchPypi { 31 31 inherit pname version; 32 - sha256 = "349aecd526c15c39f73a08df836467e2fead877c474d82c7df349f27ad272525"; 32 + sha256 = "be12d2728989c0ae17b42fcb05b623500004e94b34f56bd153355ccebb84a59a"; 33 33 }; 34 34 35 35 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/pikepdf/default.nix
··· 25 25 26 26 buildPythonPackage rec { 27 27 pname = "pikepdf"; 28 - version = "4.4.0"; 28 + version = "4.4.1"; 29 29 disabled = ! isPy3k; 30 30 31 31 src = fetchFromGitHub { ··· 38 38 extraPostFetch = '' 39 39 rm "$out/.git_archival.txt" 40 40 ''; 41 - hash = "sha256-AfHqKcb+ejEmY53irbIv9+1fPEczMgd7/VaFt01cNUs="; 41 + hash = "sha256-8yYqyXz4ZqZxsk2Ka8S0rDsHaqO4l6cZTyNuVQuHkew="; 42 42 }; 43 43 44 44 patches = [
+33
pkgs/development/python-modules/primecountpy/default.nix
··· 1 + { lib 2 + , fetchPypi 3 + , buildPythonPackage 4 + , primecount 5 + , cython 6 + , cysignals 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "primecountpy"; 11 + version = "0.1.0"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + sha256 = "78fe7cc32115f0669a45d7c90faaf39f7ce3939e39e2e7e5f14c17fe4bff0676"; 16 + }; 17 + 18 + buildInputs = [ primecount ]; 19 + 20 + propagatedBuildInputs = [ cython cysignals ]; 21 + 22 + # depends on pytest-cython for "pytest --doctest-cython" 23 + doCheck = false; 24 + 25 + pythonImportsCheck = [ "primecountpy" ]; 26 + 27 + meta = with lib; { 28 + description = "Cython interface for C++ primecount library"; 29 + homepage = "https://github.com/dimpase/primecountpy/"; 30 + maintainers = teams.sage.members; 31 + license = licenses.gpl3Only; 32 + }; 33 + }
+2 -2
pkgs/development/python-modules/pycryptodome-test-vectors/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "pycryptodome-test-vectors"; 8 - version = "1.0.4"; 8 + version = "1.0.6"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - hash = "sha256-2+ZL8snmaB0tNxGZRbUM6SdfXZf4CM0nh3/wTOu9R50="; 13 + hash = "sha256-oNfIVm7wyhgU9pgDhdP6BVJehuEw4d238GDaYMuAYLQ="; 14 14 extension = "zip"; 15 15 }; 16 16
+2 -2
pkgs/development/python-modules/python-lsp-black/default.nix
··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "python-lsp-black"; 12 - version = "1.0.1"; 12 + version = "1.1.0"; 13 13 disabled = pythonOlder "3.6"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "python-lsp"; 17 17 repo = "python-lsp-black"; 18 18 rev = "v${version}"; 19 - sha256 = "03k32m4jfqfzrawj69yxhk9kwzsdcwginip77kxdbra2xwgqfc3w"; 19 + sha256 = "sha256-WIQf1oz3b1PLIcXfQsu4hQ58nfp7l3J7zkcWNT6RbUY="; 20 20 }; 21 21 22 22 checkInputs = [ pytestCheckHook ];
+2 -2
pkgs/development/python-modules/pywlroots/default.nix
··· 18 18 19 19 buildPythonPackage rec { 20 20 pname = "pywlroots"; 21 - version = "0.15.3"; 21 + version = "0.15.4"; 22 22 23 23 src = fetchPypi { 24 24 inherit pname version; 25 - sha256 = "sCHeiD6KugHZLtxcVcLggdHC1gqCxStuHy1065TbGiY="; 25 + sha256 = "Cyj3B9uK1RoIuStCO+z9/bq7RjTPdjTqVhfc+tCRofo="; 26 26 }; 27 27 28 28 # The XWayland detection uses some hard-coded FHS paths. Since we
+2 -2
pkgs/development/python-modules/seatconnect/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "seatconnect"; 16 - version = "1.1.3"; 16 + version = "1.1.4"; 17 17 format = "setuptools"; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 22 22 owner = "farfar"; 23 23 repo = pname; 24 24 rev = "v${version}"; 25 - sha256 = "sha256-EOaFZch/C9N4lacZ4IqIJUVSaEn8wOFN/WN6WOL/1mo="; 25 + sha256 = "sha256-NA/UiapJ/SyUmrj9hd2xGV5WWy1KhxwQtqGLV73TfHk="; 26 26 }; 27 27 28 28 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+1
pkgs/development/python-modules/statmake/default.nix
··· 53 53 description = "Applies STAT information from a Stylespace to a variable font"; 54 54 homepage = "https://github.com/daltonmaag/statmake"; 55 55 license = licenses.mit; 56 + maintainers = with maintainers; [ jtojnar ]; 56 57 }; 57 58 }
+2 -2
pkgs/development/python-modules/tablib/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "tablib"; 16 - version = "3.1.0"; 16 + version = "3.2.0"; 17 17 disabled = isPy27; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "d64c9f6712918a3d90ec5d71b44b8bab1083e3609e4844ad2be80eb633e097ed"; 21 + sha256 = "12d8686454c721de88d8ca5adf07e1f419ef6dbcecedf65e8950d4a329daf3a0"; 22 22 }; 23 23 24 24 nativeBuildInputs = [ setuptools-scm ];
+2 -2
pkgs/development/python-modules/timetagger/default.nix
··· 9 9 10 10 python3Packages.buildPythonPackage rec { 11 11 pname = "timetagger"; 12 - version = "22.1.3"; 12 + version = "22.1.4"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "almarklein"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "1x0hy9wnifi694glwv6irhnjvwh1kgl6wn6qlk5qy4x6z6bkii24"; 18 + sha256 = "sha256-aOA/2SqvTpXtkURyJ2vf5gGqPpy5reN7/2zUUdaJvyA="; 19 19 }; 20 20 21 21 propagatedBuildInputs = with python3Packages; [
+2 -2
pkgs/development/python-modules/types-setuptools/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-setuptools"; 8 - version = "57.4.7"; 8 + version = "57.4.8"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-lnfZabAOwcFFUvW+KytHpvvqTQ7U3g/c7hir2qDMkmc="; 13 + sha256 = "sha256-1VRfKrPa0k9cscAbp0way3QHqzGyYY1CMVj8hAhRYPE="; 14 14 }; 15 15 16 16 # Module doesn't have tests
+2 -5
pkgs/development/python-modules/ufo2ft/default.nix
··· 51 51 "--deselect=tests/preProcessor_test.py::TTFInterpolatablePreProcessorTest::test_custom_filters_as_argument" 52 52 ]; 53 53 54 - postPatch = '' 55 - # Does not seem to find 0.2.9.post1 for some reason. 56 - substituteInPlace setup.py \ 57 - --replace '"cffsubr>=0.2.8"' '"cffsubr"' 58 - ''; 54 + pythonImportsCheck = [ "ufo2ft" ]; 59 55 60 56 meta = with lib; { 61 57 description = "Bridge from UFOs to FontTools objects"; 62 58 homepage = "https://github.com/googlefonts/ufo2ft"; 63 59 license = licenses.mit; 60 + maintainers = with maintainers; [ jtojnar ]; 64 61 }; 65 62 }
+3
pkgs/development/python-modules/ufoLib2/default.nix
··· 29 29 pytestCheckHook 30 30 ]; 31 31 32 + pythonImportsCheck = [ "ufoLib2" ]; 33 + 32 34 meta = with lib; { 33 35 description = "Library to deal with UFO font sources"; 34 36 homepage = "https://github.com/fonttools/ufoLib2"; 35 37 license = licenses.mit; 38 + maintainers = with maintainers; [ jtojnar ]; 36 39 }; 37 40 }
+2 -2
pkgs/development/python-modules/zeroc-ice/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "zeroc-ice"; 5 - version = "3.7.6"; 5 + version = "3.7.7"; 6 6 7 7 src = fetchPypi { 8 8 inherit version pname; 9 - sha256 = "e8d8a7828e4994545bf57059bd0a0d431d387d31cc4af2eb5eeb93ef28c2d827"; 9 + sha256 = "415f4a673009fe9a5ef67b61c4469ddf14b73857b6d40f02d6b74f02ad935147"; 10 10 }; 11 11 12 12 buildInputs = [ openssl bzip2 ];
+3 -3
pkgs/development/tools/air/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "air"; 5 - version = "1.27.8"; 5 + version = "1.27.9"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cosmtrek"; 9 9 repo = "air"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-CVx4TDDAVIrJ3lnD2AIuxhmTV+/sIA0viX20zFkznNc="; 11 + sha256 = "sha256-8VuCZoAV54TG8MiF6n5O8ZStGujfJ/7w95BYhe5/7dE="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-dloXz1hiKAQUmSQv1rLbE5vYrZpKAcwakC71AFXWZqM="; 14 + vendorSha256 = "sha256-gUZPX1ymyzf0IuCpK8Nsq2UKPV5f9SAReJ6YxgpxpqE="; 15 15 16 16 subPackages = [ "." ]; 17 17
+3 -3
pkgs/development/tools/database/dbmate/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "dbmate"; 5 - version = "1.12.1"; 5 + version = "1.13.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "amacneil"; 9 9 repo = "dbmate"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-XNxy8CnhO3rQi3VHr7nikFNXvY2eM30jR0ngNc0FV3E="; 11 + sha256 = "sha256-j7u8TidiuaA5SbXoD+p23wwTsePi6/hzNdVS5IJMEh0="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-Qe3fwyEf/NiGmUSha/zZHRBR1okw2vE97u7tybqiWNI="; 14 + vendorSha256 = "sha256-GEJ8n0VN9Qt73dRj7Qjx1DAomSy+hQEH74Dx2h/hv9M="; 15 15 16 16 doCheck = false; 17 17
+2 -2
pkgs/development/tools/doctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "doctl"; 5 - version = "1.68.0"; 5 + version = "1.69.0"; 6 6 7 7 vendorSha256 = null; 8 8 ··· 31 31 owner = "digitalocean"; 32 32 repo = "doctl"; 33 33 rev = "v${version}"; 34 - sha256 = "sha256-3W6jDMT4UUtSND9bJJEexQ9LrqxL4oZtpucdcM1McdE="; 34 + sha256 = "sha256-Bm6Xrgp/6/NpIndCVRDamKndBbCANnW5j3vOVRVxnE4="; 35 35 }; 36 36 37 37 meta = with lib; {
+3 -3
pkgs/development/tools/earthly/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "earthly"; 5 - version = "0.6.2"; 5 + version = "0.6.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "earthly"; 9 9 repo = "earthly"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-a2NNpQvbhMY66nbk4RAXFb/o1qR5OXPm93ujzS2cxp4="; 11 + sha256 = "sha256-QrlxH9ihWAVzf9lh3CcVCqFPLmn7bM2pNZUqxnHD2WA="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-0wyefhY/KR79K9DDI4/8EaA/DFI1rf6wxsBIAZo+rUI="; 14 + vendorSha256 = "sha256-pI5aBBUJoAmeJ2Kr0eqP9O/tGhgHCBjINL3406LQ9Dc="; 15 15 16 16 ldflags = [ 17 17 "-s" "-w"
+2 -2
pkgs/development/tools/esbuild/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "esbuild"; 5 - version = "0.14.11"; 5 + version = "0.14.13"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "evanw"; 9 9 repo = "esbuild"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-hS+LJfYB+nH5z/UA6RKdqA8qc1jT9Gskt6LufHCiqv8="; 11 + sha256 = "sha256-DBu6j8UjbRVMoT0j/WwtVlJ+k3VwVKFbX2tdUs0neDs="; 12 12 }; 13 13 14 14 vendorSha256 = "sha256-QPkBR+FscUc3jOvH7olcGUhM6OW4vxawmNJuRQxPuGs=";
+2 -2
pkgs/development/tools/frugal/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "frugal"; 5 - version = "3.14.12"; 5 + version = "3.14.13"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Workiva"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-2fXefYvcclcxMeX6JtHjoVNRwJTsUAhxet646BDPHic="; 11 + sha256 = "sha256-apX4MFzeR7+5gWauw5HXPK0c7N4uTSqkE2vqnYB5LJs="; 12 12 }; 13 13 14 14 subPackages = [ "." ];
+2 -2
pkgs/development/tools/ginkgo/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ginkgo"; 5 - version = "2.0.0"; 5 + version = "2.1.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "onsi"; 9 9 repo = "ginkgo"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-a3AZ/7UfB9qjMK9yWHSaBRnDA/5FmIGGxXAvNhcfKCc="; 11 + sha256 = "sha256-GF96AOyQcVI01dP6yqMwyPmXMDRVxrScu1UL76jF2qA="; 12 12 }; 13 13 vendorSha256 = "sha256-kMQ60HdsorZU27qoOY52DpwFwP+Br2bp8mRx+ZwnQlI="; 14 14 doCheck = false;
+2 -2
pkgs/development/tools/java/visualvm/default.nix
··· 1 1 { stdenv, fetchzip, lib, makeWrapper, makeDesktopItem, jdk, gawk }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "2.1.1"; 4 + version = "2.1.2"; 5 5 pname = "visualvm"; 6 6 7 7 src = fetchzip { 8 8 url = "https://github.com/visualvm/visualvm.src/releases/download/${version}/visualvm_${builtins.replaceStrings ["."] [""] version}.zip"; 9 - sha256 = "sha256-LXMPdzIOFPzFUx3uufx+2UeJ6mg/9kJXGews4KU3rrU="; 9 + sha256 = "sha256-khbXzdsC0PA10HEu/dIFQ87+QbKpctmTUTt/zEuxV6c="; 10 10 }; 11 11 12 12 desktopItem = makeDesktopItem {
+3 -3
pkgs/development/tools/rust/cargo-make/default.nix
··· 13 13 14 14 rustPlatform.buildRustPackage rec { 15 15 pname = "cargo-make"; 16 - version = "0.35.7"; 16 + version = "0.35.8"; 17 17 18 18 src = fetchCrate { 19 19 inherit pname version; 20 - sha256 = "sha256-rMeaKzCGY9jRrw8GaGtgm1rg3FIdaX/P+bOZRAtAI/s="; 20 + sha256 = "sha256-YNPAIdN9FDUHs/5aCYJN+1/12ZYk1YJsUjjB1a09KvA="; 21 21 }; 22 22 23 23 nativeBuildInputs = [ pkg-config ]; ··· 25 25 buildInputs = [ openssl ] 26 26 ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration libiconv ]; 27 27 28 - cargoSha256 = "sha256-ZXQM2ij9Cpa5WCEHhcDc/tThfKZ7s1URmYsmqRg73m0="; 28 + cargoSha256 = "sha256-xLFBF8fEbupLgFNdYC1NzM6p7O2gvsv0Utk4Et2oBDc="; 29 29 30 30 # Some tests fail because they need network access. 31 31 # However, Travis ensures a proper build.
+3 -3
pkgs/development/tools/wasm-bindgen-cli/default.nix
··· 12 12 13 13 rustPlatform.buildRustPackage rec { 14 14 pname = "wasm-bindgen-cli"; 15 - version = "0.2.78"; 15 + version = "0.2.79"; 16 16 17 17 src = fetchCrate { 18 18 inherit pname version; 19 - sha256 = "sha256-5s+HidnVfDV0AXA+/YcXNGVjv/E9JeK0Ttng4mCVX8M="; 19 + sha256 = "sha256-3kWhhzYmIo/GFieI0i7XVJIZxIaaJHHuDp38k5xcFmI="; 20 20 }; 21 21 22 - cargoSha256 = "sha256-CbtjUFwowP/QqyAMCzmUiSib4EpRhQAmO4ekX00xYGE="; 22 + cargoSha256 = "sha256-xKYdvcrx3a9AKiRU8yJ3JNQp1Q2pEufwo+in82yTV6c="; 23 23 24 24 nativeBuildInputs = [ pkg-config ]; 25 25
+2 -2
pkgs/games/openttd/nml.nix
··· 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "openttd-nml"; 5 - version = "0.5.3"; 5 + version = "0.6.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "OpenTTD"; 9 9 repo = "nml"; 10 10 rev = version; 11 - sha256 = "0kfnkshff3wrxsj1wpfbbw2mmgww2q80v63p5d2pp1f38x8j33w9"; 11 + sha256 = "0z0n4lqvnqigfjjhmmz7mvis7iivd4a8d287ya2yscfg5hznnqh2"; 12 12 }; 13 13 14 14 propagatedBuildInputs = with python3Packages; [ply pillow];
+2 -2
pkgs/games/osu-lazer/default.nix
··· 13 13 14 14 buildDotnetModule rec { 15 15 pname = "osu-lazer"; 16 - version = "2021.1225.0"; 16 + version = "2022.118.0"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "ppy"; 20 20 repo = "osu"; 21 21 rev = version; 22 - sha256 = "sha256-kN5pR37b0giKGJVnJo/Mce+MWFwZiY+mZAHG/fUt0O4="; 22 + sha256 = "sha256-/BzoLiQLiBcWqThzDOVb4Y7s6WhcKnCRRhAzUi5Jstk="; 23 23 }; 24 24 25 25 projectFile = "osu.Desktop/osu.Desktop.csproj";
+7 -8
pkgs/games/osu-lazer/deps.nix
··· 1 1 { fetchNuGet }: [ 2 - (fetchNuGet { pname = "AutoMapper"; version = "10.1.1"; sha256 = "1l1p9g7f7finr8laklbm7h2c45k0swl47iq0ik68js5s6pzvd6f8"; }) 2 + (fetchNuGet { pname = "AutoMapper"; version = "11.0.0"; sha256 = "1ni9mmrqfbspwf7xz6by5415ci5zhg15z3f7596qqpmbn8bqg7wq"; }) 3 3 (fetchNuGet { pname = "DeltaCompressionDotNet"; version = "2.0.0.0"; sha256 = "0zhj7m3zaf9wcg51385in9qg1xgkvp8yyzgq3r5k4sagm7y68aqy"; }) 4 4 (fetchNuGet { pname = "DiffPlex"; version = "1.7.0"; sha256 = "09a8hkbx99iwikfl8war629945yv7i8llj9480dbc4kyp6qqlr00"; }) 5 5 (fetchNuGet { pname = "DiscordRichPresence"; version = "1.0.175"; sha256 = "180sax976327d70qbinv07f65g3w2zbw80n49hckg8wd4rw209vd"; }) 6 6 (fetchNuGet { pname = "FFmpeg.AutoGen"; version = "4.3.0.1"; sha256 = "0n6x57mnnvcjnrs8zyvy07h5zm4bcfy9gh4n4bvd9fx5ys4pxkvv"; }) 7 7 (fetchNuGet { pname = "Fody"; version = "6.6.0"; sha256 = "0cx708ah61cxmvpaq040mhqwrv937rvlmskwihg1w118729k9yv0"; }) 8 8 (fetchNuGet { pname = "HidSharpCore"; version = "1.2.1.1"; sha256 = "1zkndglmz0s8rblfhnqcvv90rkq2i7lf4bc380g7z8h1avf2ikll"; }) 9 - (fetchNuGet { pname = "HtmlAgilityPack"; version = "1.11.39"; sha256 = "05rlw9h3ps1gx4pwdxjwpx1lajyvj1b35j3536ixfmnnvjx4v2yj"; }) 9 + (fetchNuGet { pname = "HtmlAgilityPack"; version = "1.11.40"; sha256 = "0k1cpkfgz4v5qigvmmvlk8lv2a731kqkmx6acf3rzr8rlj3cfnc4"; }) 10 10 (fetchNuGet { pname = "Humanizer"; version = "2.13.14"; sha256 = "155g2700x6sbym2jd4dshm4rf3jjr8flx6w9xnw28zrrv7r2rdy8"; }) 11 11 (fetchNuGet { pname = "Humanizer.Core"; version = "2.13.14"; sha256 = "1ni4mcyhcs46ih9b8c8l3xq3iai56rdlcw0afwhji3hxwbxqbk7i"; }) 12 12 (fetchNuGet { pname = "Humanizer.Core"; version = "2.2.0"; sha256 = "08mzg65y9d3zvq16rsmpapcdan71ggq2mpks6k777h3wlm2sh3p5"; }) ··· 156 156 (fetchNuGet { pname = "OpenTabletDriver"; version = "0.5.3.1"; sha256 = "16xw8w943x9gvnnpbryahff5azzy8n26j2igyqgv88m352jd9rb8"; }) 157 157 (fetchNuGet { pname = "OpenTabletDriver.Plugin"; version = "0.5.3.1"; sha256 = "17dxsvcz9g8kzydk5xlfz9kfxl62x9wi20609rh76wjd881bg1br"; }) 158 158 (fetchNuGet { pname = "ppy.LocalisationAnalyser"; version = "2021.1210.0"; sha256 = "0dn6fc31yllr5nizylvkfl2b603b5m9694nsn5mmkh8w43h0rkbq"; }) 159 - (fetchNuGet { pname = "ppy.osu.Framework"; version = "2021.1225.0"; sha256 = "1md0zsjwi8zx2az42cch1wgvb5ygscncmpc4ysgz1pl6jn02v3by"; }) 159 + (fetchNuGet { pname = "ppy.osu.Framework"; version = "2022.118.0"; sha256 = "1c81r8s9zivj9hany0yqsza1y3nhh24zbkwwnjm0m6z4mls04l1y"; }) 160 160 (fetchNuGet { pname = "ppy.osu.Framework.NativeLibs"; version = "2021.1221.0"; sha256 = "1ffxp4nsgbqw1f6nypirmc0a3h203qikbmxm2x8w3kgcfga5dx3k"; }) 161 - (fetchNuGet { pname = "ppy.osu.Game.Resources"; version = "2021.1215.0"; sha256 = "1aarb8wkzz31xa8fa6g5axwmvx89ix66ygbqq7zcyz8k9yy2ilh1"; }) 161 + (fetchNuGet { pname = "ppy.osu.Game.Resources"; version = "2022.115.0"; sha256 = "0w2hnci93644ayfpgpsyxsifz38yklvn42fkgd860i3mn04lyl2z"; }) 162 162 (fetchNuGet { pname = "ppy.osuTK.NS20"; version = "1.0.187"; sha256 = "0ididsxn3005dvs0hvx7bz2xzjsfpa8kmnyfqq4c2ybjxlx15gkw"; }) 163 163 (fetchNuGet { pname = "ppy.SDL2-CS"; version = "1.0.486-alpha"; sha256 = "0hp6wfjgpwdgy1ag2bpjkyalw92k6qg9pc5mriij6a5vhxzadhk3"; }) 164 164 (fetchNuGet { pname = "ppy.squirrel.windows"; version = "1.9.0.5"; sha256 = "0nmhrg3q6izapfpwdslq80fqkvjj12ad9r94pd0nr2xx1zw0x1zl"; }) 165 - (fetchNuGet { pname = "Realm"; version = "10.7.1"; sha256 = "058jigmsxvzb7571ll9qkf0hwmgff5zddfq4pqvnzkf87i5kd2kq"; }) 166 - (fetchNuGet { pname = "Realm.Fody"; version = "10.7.1"; sha256 = "1m3cglh39fr84pr3nr7q1hyiq83gqj0m6h8m79wl96g5xxq5v6pa"; }) 165 + (fetchNuGet { pname = "Realm"; version = "10.8.0"; sha256 = "1ixpms8x9z5ia9yiqvhmgdlcrjvqrhbqnr8b9z6mlxwcms1z2f45"; }) 166 + (fetchNuGet { pname = "Realm.Fody"; version = "10.8.0"; sha256 = "0hj3cqan96y01k5qgs0knkqzg3rlr2794az68xqffd2vqphvqvqq"; }) 167 167 (fetchNuGet { pname = "Remotion.Linq"; version = "2.2.0"; sha256 = "1y46ni0xswmmiryp8sydjgryafwn458dr91f9xn653w73kdyk4xf"; }) 168 168 (fetchNuGet { pname = "runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl"; version = "4.3.0"; sha256 = "16rnxzpk5dpbbl1x354yrlsbvwylrq456xzpsha1n9y3glnhyx9d"; }) 169 169 (fetchNuGet { pname = "runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl"; version = "4.3.0"; sha256 = "0hkg03sgm2wyq8nqk6dbm9jh5vcq57ry42lkqdmfklrw89lsmr59"; }) ··· 185 185 (fetchNuGet { pname = "runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl"; version = "4.3.0"; sha256 = "160p68l2c7cqmyqjwxydcvgw7lvl1cr0znkw8fp24d1by9mqc8p3"; }) 186 186 (fetchNuGet { pname = "runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl"; version = "4.3.0"; sha256 = "15zrc8fgd8zx28hdghcj5f5i34wf3l6bq5177075m2bc2j34jrqy"; }) 187 187 (fetchNuGet { pname = "runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl"; version = "4.3.0"; sha256 = "1p4dgxax6p7rlgj4q73k73rslcnz4wdcv8q2flg1s8ygwcm58ld5"; }) 188 - (fetchNuGet { pname = "Sentry"; version = "3.12.1"; sha256 = "1bqldqc0bnrxdgfxh71w3vjf3cygcn6jyrhxmjvikciirlgcs3cz"; }) 188 + (fetchNuGet { pname = "Sentry"; version = "3.13.0"; sha256 = "0wnivy7rhzghr94pdczv7kw72y1hv5kp6hw0fkmw1nfgnsh4qjfm"; }) 189 189 (fetchNuGet { pname = "SharpCompress"; version = "0.17.1"; sha256 = "1ffiacghbcnr3fkgvdcad7b1nky54nhmmn2sm43sks9zm8grvva4"; }) 190 190 (fetchNuGet { pname = "SharpCompress"; version = "0.30.1"; sha256 = "1hib2hxjrlikwsczym1qn2slaapgjw8qzd8gmid8bryaz8hv044h"; }) 191 191 (fetchNuGet { pname = "SharpFNT"; version = "2.0.0"; sha256 = "1bgacgh9hbck0qvji6frbb50sdiqfdng2fvvfgfw8b9qaql91mx0"; }) ··· 276 276 (fetchNuGet { pname = "System.Reflection.Emit"; version = "4.0.1"; sha256 = "0ydqcsvh6smi41gyaakglnv252625hf29f7kywy2c70nhii2ylqp"; }) 277 277 (fetchNuGet { pname = "System.Reflection.Emit"; version = "4.3.0"; sha256 = "11f8y3qfysfcrscjpjym9msk7lsfxkk4fmz9qq95kn3jd0769f74"; }) 278 278 (fetchNuGet { pname = "System.Reflection.Emit"; version = "4.6.0"; sha256 = "18h375q5bn9h7swxnk4krrxym1dxmi9bm26p89xps9ygrj4q6zqw"; }) 279 - (fetchNuGet { pname = "System.Reflection.Emit"; version = "4.7.0"; sha256 = "121l1z2ypwg02yz84dy6gr82phpys0njk7yask3sihgy214w43qp"; }) 280 279 (fetchNuGet { pname = "System.Reflection.Emit.ILGeneration"; version = "4.0.1"; sha256 = "1pcd2ig6bg144y10w7yxgc9d22r7c7ww7qn1frdfwgxr24j9wvv0"; }) 281 280 (fetchNuGet { pname = "System.Reflection.Emit.ILGeneration"; version = "4.3.0"; sha256 = "0w1n67glpv8241vnpz1kl14sy7zlnw414aqwj4hcx5nd86f6994q"; }) 282 281 (fetchNuGet { pname = "System.Reflection.Emit.Lightweight"; version = "4.0.1"; sha256 = "1s4b043zdbx9k39lfhvsk68msv1nxbidhkq6nbm27q7sf8xcsnxr"; })
+2 -2
pkgs/games/vassal/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "VASSAL"; 5 - version = "3.6.1"; 5 + version = "3.6.4"; 6 6 7 7 src = fetchzip { 8 8 url = "https://github.com/vassalengine/vassal/releases/download/${version}/${pname}-${version}-linux.tar.bz2"; 9 - sha256 = "sha256-elcSwm7KvDpGVBF7Gs6GFreQPyVwWBxYN0NO1N6JWDM="; 9 + sha256 = "sha256-WUEpYxzNcH9kJRn4nROoaeXTe1+D4/0VRqTwc7ac1hc="; 10 10 }; 11 11 12 12 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/misc/emulators/vice/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "vice"; 28 - version = "3.6"; 28 + version = "3.6.1"; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://sourceforge/vice-emu/vice-${version}.tar.gz"; 32 - sha256 = "sha256-Zb/lXM5ifbm1oKx4dqkMCH6f6G6fVRfoCURsQGSi0/0="; 32 + sha256 = "sha256-IN+EyFGq8vUABRCSf20xsy8mmRbTUUZcNm3Ar8ncFQw="; 33 33 }; 34 34 35 35 nativeBuildInputs = [
+2 -2
pkgs/misc/vscode-extensions/default.nix
··· 243 243 mktplcRef = { 244 244 name = "vscode-pylance"; 245 245 publisher = "MS-python"; 246 - version = "2020.11.2"; 247 - sha256 = "0n2dm21vgzir3hx1m3pmx7jq4zy3hdxfsandd2wv5da4fs9b5g50"; 246 + version = "2022.1.5"; 247 + sha256 = "1b5ihrac9xsq35a39vlq7krr1ffqpdjxdlhv9s056hs033kayazl"; 248 248 }; 249 249 250 250 buildInputs = [ nodePackages.pyright ];
+3 -3
pkgs/servers/headscale/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "headscale"; 5 - version = "0.12.2"; 5 + version = "0.12.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "juanfont"; 9 9 repo = "headscale"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-PgSjxDmPahGd2o3QBfvytMva+LHWeLPm500DsNdB77Q="; 11 + sha256 = "sha256-0SIQninNnJZ6KN5RKIMJzJQZRV7ThfJZal1lhsBnTIY="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-gD4jGaR4KQiYL6+yA8g2u6cTEbfySTMErNqerw76Ook="; 14 + vendorSha256 = "sha256-n5E6pzswenMJrThCys0UM2LVXKDXqCXDW7uR0V4H56w="; 15 15 16 16 ldflags = [ "-s" "-w" "-X github.com/juanfont/headscale/cmd/headscale/cli.Version=v${version}" ]; 17 17
+25
pkgs/servers/misc/virtiofsd/default.nix
··· 1 + { lib, rustPlatform, fetchFromGitLab, libcap_ng, libseccomp }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "virtiofsd"; 5 + version = "1.0.0"; 6 + 7 + src = fetchFromGitLab { 8 + owner = "virtio-fs"; 9 + repo = "virtiofsd"; 10 + rev = "v${version}"; 11 + sha256 = "010xf482qip91mv91wy9zjdsq0gfg1fd6iclrcry0nfnwlbigbwd"; 12 + }; 13 + 14 + cargoSha256 = "0bfvqbmvkf17slra5k0nnva6j6w07769k226qnbzb3947zf4x2ga"; 15 + 16 + buildInputs = [ libcap_ng libseccomp ]; 17 + 18 + meta = with lib; { 19 + homepage = "https://gitlab.com/virtio-fs/virtiofsd"; 20 + description = "vhost-user virtio-fs device backend written in Rust"; 21 + maintainers = with maintainers; [ qyliss ]; 22 + platforms = platforms.linux; 23 + license = with licenses; [ asl20 /* and */ bsd3 ]; 24 + }; 25 + }
+3 -3
pkgs/servers/traefik/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "traefik"; 5 - version = "2.5.7"; 5 + version = "2.6.0"; 6 6 7 7 src = fetchzip { 8 8 url = "https://github.com/traefik/traefik/releases/download/v${version}/traefik-v${version}.src.tar.gz"; 9 - sha256 = "sha256-CQXrAKdfNqGKXw3Ds47uq6ALsDh6JRf+94axOvLzWbE="; 9 + sha256 = "sha256-+95GB4D6upo6s0K+rxpuolzF5Knind0bYCzgO33mNis="; 10 10 stripRoot = false; 11 11 }; 12 12 13 - vendorSha256 = "sha256-aZemr1waV2hIujbI+1PrivXxa1RrT0Ams4xT4QxTQPY="; 13 + vendorSha256 = "sha256-H67oCOCkS/xpkCZ4C3BuIzpUKuLvItDqC4tNSNKjv0E="; 14 14 15 15 doCheck = false; 16 16
+3 -3
pkgs/shells/zsh/oh-my-zsh/default.nix
··· 5 5 , git, nix, nixfmt, jq, coreutils, gnused, curl, cacert }: 6 6 7 7 stdenv.mkDerivation rec { 8 - version = "2021-12-18"; 8 + version = "2022-01-18"; 9 9 pname = "oh-my-zsh"; 10 - rev = "904f8685f75ff5dd3f544f8c6f2cabb8e5952e9a"; 10 + rev = "22c11da108764336d92d03d3113c1f486cdb5911"; 11 11 12 12 src = fetchFromGitHub { 13 13 inherit rev; 14 14 owner = "ohmyzsh"; 15 15 repo = "ohmyzsh"; 16 - sha256 = "Pos7LaNQllZrzBUx8a7QXi1sAVcIABQJOLUjIwGIP/U="; 16 + sha256 = "Tnwy+3lCWjzDhjXtgLIiX3SxpJG6shxmmPFyeWkO2R0="; 17 17 }; 18 18 19 19 installPhase = ''
+2 -2
pkgs/tools/filesystems/snapraid/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "snapraid"; 5 - version = "12.0"; 5 + version = "12.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "amadvance"; 9 9 repo = "snapraid"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-CcJaxnbRvGYiQjU38qnTgNyim5aDQWmxhQv16ZT1F00="; 11 + sha256 = "sha256-DaFL5YxKdL7swfiWAHNufkeQ7mNd/MdZ6E0yAtC58lc="; 12 12 }; 13 13 14 14 VERSION = version;
+3 -3
pkgs/tools/inputmethods/remote-touchpad/default.nix
··· 9 9 10 10 buildGoModule rec { 11 11 pname = "remote-touchpad"; 12 - version = "1.0.5"; 12 + version = "1.1.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "unrud"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-2oHjx5RpuZmWcv954ZOrmHhOkQBfrDpEFqgiBFQfAuo="; 18 + sha256 = "sha256-XyE8N+YVwfgxToKkhpe8zJ0e3HFDpKt7cfERxWCfbfU="; 19 19 }; 20 20 21 21 buildInputs = [ libX11 libXi libXt libXtst ]; 22 22 tags = [ "portal,x11" ]; 23 23 24 - vendorSha256 = "sha256-8w3muVJwDmFKY6AFKv/x6vS6jIyR7M/wlxzAvl5ROdE="; 24 + vendorSha256 = "sha256-zTx38kW/ylXXML73C2sFQciV2y3+qbO0S/ZdkiEh5Qs="; 25 25 26 26 meta = with lib; { 27 27 description = "Control mouse and keyboard from the webbrowser of a smartphone.";
+2 -2
pkgs/tools/misc/bdf2sfd/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bdf2sfd"; 5 - version = "1.1.6"; 5 + version = "1.1.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "fcambus"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-f3IdTk1GEo1GlbiJMCpqwheNJrndm7aCojA+GuKMTao="; 11 + sha256 = "sha256-q+FLmu2JCDTJ6zC8blkd27jAKWbNpPyKzmUj1bW1mfA="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+2 -2
pkgs/tools/misc/git-town/default.nix
··· 2 2 3 3 buildGoPackage rec { 4 4 pname = "git-town"; 5 - version = "7.6.0"; 5 + version = "7.7.0"; 6 6 7 7 goPackagePath = "github.com/git-town/git-town"; 8 8 src = fetchFromGitHub { 9 9 owner = "git-town"; 10 10 repo = "git-town"; 11 11 rev = "v${version}"; 12 - sha256 = "sha256-yarJWIEIZuBcXXxltkiM7LwrEM8fveD3+JVoPGarhJQ="; 12 + sha256 = "sha256-FpBEBx2gb33fGDndvZmvG1A61NoJ4Qy4V3YQSb+Ugsc="; 13 13 }; 14 14 15 15 ldflags = [ "-X github.com/git-town/git-town/src/cmd.version=v${version}" "-X github.com/git-town/git-town/src/cmd.buildDate=nix" ];
+2 -2
pkgs/tools/misc/remind/default.nix
··· 16 16 in 17 17 tcl.mkTclDerivation rec { 18 18 pname = "remind"; 19 - version = "03.03.11"; 19 + version = "03.03.12"; 20 20 21 21 src = fetchurl { 22 22 url = "https://dianne.skoll.ca/projects/remind/download/remind-${version}.tar.gz"; 23 - sha256 = "sha256-CCZ7CENeI8zNUgtBYesGWbqf53OCr9hBTN1ibegB4lo="; 23 + sha256 = "sha256-1KpM2lobU+KsxjHpNeAxwAx3mCrU8IZyhvfYJwlUQJ4="; 24 24 }; 25 25 26 26 propagatedBuildInputs = tclLibraries;
+3 -3
pkgs/tools/networking/tendermint/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "tendermint"; 5 - version = "0.35.0"; 5 + version = "0.35.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tendermint"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-fSDmwZNKAHXcMtNZlqJmUFkuFdZLkDbnn+ZrNtnszgU="; 11 + sha256 = "sha256-eEvSELCzpAm9Me46U54MQEQiAPCFlBa5iG2AZMn5BbE="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-DktuZ0NUyg8LbYklxde2ZZJ8/WOyBq50E9yEHtS+Hqw="; 14 + vendorSha256 = "sha256-aYY3rGm2Wvd5v1QrfhN0jWzAO9JYu4j5ZHk9UyEPjH8="; 15 15 16 16 subPackages = [ "cmd/tendermint" ]; 17 17
+3 -3
pkgs/tools/nix/statix/default.nix
··· 4 4 pname = "statix"; 5 5 # also update version of the vim plugin in pkgs/misc/vim-plugins/overrides.nix 6 6 # the version can be found in flake.nix of the source code 7 - version = "0.4.2"; 7 + version = "0.5.2"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "nerdypepper"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-4hVEwm2xuuHFy38/EJLKjGuxTYCAcKRHHfFKLvqp+M0="; 13 + sha256 = "sha256-68ejROWcDqc4SnivFIrbsSZDqCXEo0sXSiwpro7AmgU="; 14 14 }; 15 15 16 - cargoSha256 = "sha256-15C/ye8nYLtriBlqbf1ul41IFtShGY2LTX10z1/08Po="; 16 + cargoSha256 = "sha256-YHA97bnGHYRwSZYZ3ZViUlRQskwLPUC26FBWQyBG5Uc="; 17 17 18 18 buildFeatures = lib.optional withJson "json"; 19 19
+2 -2
pkgs/tools/security/aide/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "aide"; 5 - version = "0.17.3"; 5 + version = "0.17.4"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/aide/aide/releases/download/v${version}/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-ousYg8r6rQVvvkPuHorgn9NsqjCgvI7f6l1HvWfEZPg="; 9 + sha256 = "sha256-yBUFJG8//C52A21Dp3ISroKJW1iB2bniXBNhsam3qEY="; 10 10 }; 11 11 12 12 buildInputs = [ flex bison libmhash zlib acl attr libselinux pcre ];
+16 -8
pkgs/tools/system/goreman/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 2 - buildGoPackage rec { 3 - pname = "goreman"; 4 - version = "0.2.1"; 1 + { lib, buildGoModule, fetchFromGitHub }: 5 2 6 - goPackagePath = "github.com/mattn/goreman"; 7 - subPackages = ["."]; 3 + buildGoModule rec { 4 + pname = "goreman"; 5 + version = "0.3.9"; 6 + rev = "df1209e7cdbad10aecc0aa75d332bc32822925f5"; 8 7 9 8 src = fetchFromGitHub { 10 9 owner = "mattn"; 11 10 repo = "goreman"; 12 11 rev = "v${version}"; 13 - sha256 = "1h7ip788j7bkygahpp7ylgnrx9jrbhwjzqpjhd1pflmlaxcbflcy"; 12 + sha256 = "1irjf5i5ybdchyn42bamfq8pj3w00p633h1gg202n0vsr39h0bxw"; 14 13 }; 15 14 15 + ldflags = [ 16 + "-s" 17 + "-w" 18 + "-X main.revision=${builtins.substring 0 7 rev}" 19 + ]; 20 + 21 + vendorSha256 = "sha256-+RFh6Ppxxs7P7DWqOBeEJTvPsBgOfopMjx22hPEI1/U="; 22 + 23 + doCheck = false; 24 + 16 25 meta = with lib; { 17 26 description = "foreman clone written in go language"; 18 27 homepage = "https://github.com/mattn/goreman"; ··· 20 29 maintainers = with maintainers; [ zimbatm ]; 21 30 }; 22 31 } 23 -
+16 -7
pkgs/top-level/all-packages.nix
··· 2969 2969 inherit (darwin.apple_sdk.frameworks) Security AppKit CoreServices; 2970 2970 electron = electron_13; 2971 2971 }; 2972 - element-desktop-wayland = writeScript "element-desktop-wayland" '' 2972 + element-desktop-wayland = writeScriptBin "element-desktop" '' 2973 2973 #!/bin/sh 2974 2974 NIXOS_OZONE_WL=1 exec ${element-desktop}/bin/element-desktop "$@" 2975 2975 ''; ··· 3706 3706 3707 3707 stagit = callPackage ../development/tools/stagit { }; 3708 3708 3709 - starboard = callPackage ../applications/networking/cluster/starboard { }; 3709 + starboard = callPackage ../applications/networking/cluster/starboard { 3710 + buildGoModule = buildGo117Module; 3711 + }; 3710 3712 3711 3713 statserial = callPackage ../tools/misc/statserial { }; 3712 3714 ··· 4976 4978 inherit (darwin.apple_sdk.frameworks) Security AppKit CoreServices; 4977 4979 electron = electron_13; 4978 4980 }; 4979 - schildichat-desktop-wayland = writeScript "schildichat-desktop-wayland" '' 4981 + schildichat-desktop-wayland = writeScriptBin "schildichat-desktop" '' 4980 4982 #!/bin/sh 4981 4983 NIXOS_OZONE_WL=1 exec ${schildichat-desktop}/bin/schildichat-desktop "$@" 4982 4984 ''; ··· 9260 9262 redsocks = callPackage ../tools/networking/redsocks { }; 9261 9263 9262 9264 rep = callPackage ../development/tools/rep { }; 9265 + 9266 + repseek = callPackage ../applications/science/biology/repseek { }; 9263 9267 9264 9268 reicast = callPackage ../misc/emulators/reicast { }; 9265 9269 ··· 22078 22082 22079 22083 victoriametrics = callPackage ../servers/nosql/victoriametrics { }; 22080 22084 22085 + virtiofsd = callPackage ../servers/misc/virtiofsd { }; 22086 + 22081 22087 virtlyst = libsForQt5.callPackage ../servers/web-apps/virtlyst { }; 22082 22088 22083 22089 virtualenv = with python3Packages; toPythonApplication virtualenv; ··· 23759 23765 kanji-stroke-order-font = callPackage ../data/fonts/kanji-stroke-order-font {}; 23760 23766 23761 23767 kawkab-mono-font = callPackage ../data/fonts/kawkab-mono {}; 23768 + 23769 + kde-rounded-corners = libsForQt5.callPackage ../data/themes/kwin-decorations/kde-rounded-corners { }; 23762 23770 23763 23771 kochi-substitute = callPackage ../data/fonts/kochi-substitute {}; 23764 23772 ··· 27022 27030 boost = boost175; 27023 27031 }; 27024 27032 27025 - libreoffice = hiPrio libreoffice-still; 27026 - libreoffice-unwrapped = libreoffice.libreoffice; 27033 + libreoffice = if stdenv.isDarwin 27034 + then callPackage ../applications/office/libreoffice/darwin.nix {} 27035 + else hiPrio libreoffice-still; 27036 + libreoffice-unwrapped = (hiPrio libreoffice-still).libreoffice; 27027 27037 27028 27038 libreoffice-args = { 27029 27039 inherit (perlPackages) ArchiveZip IOCompress; ··· 28254 28264 28255 28265 plexamp = callPackage ../applications/audio/plexamp { }; 28256 28266 28257 - # Upstream says it supports only qt5.9 which is not packaged, and building with qt newer than 5.12 fails 28258 - plex-media-player = libsForQt512.callPackage ../applications/video/plex-media-player { }; 28267 + plex-media-player = libsForQt5.callPackage ../applications/video/plex-media-player { }; 28259 28268 28260 28269 plex-mpv-shim = python3Packages.callPackage ../applications/video/plex-mpv-shim { }; 28261 28270
+2
pkgs/top-level/python-packages.nix
··· 6321 6321 6322 6322 prettytable = callPackage ../development/python-modules/prettytable { }; 6323 6323 6324 + primecountpy = callPackage ../development/python-modules/primecountpy { }; 6325 + 6324 6326 primer3 = callPackage ../development/python-modules/primer3 { }; 6325 6327 6326 6328 priority = callPackage ../development/python-modules/priority { };