Merge branch 'master' into staging-next

+466 -1138
+6
maintainers/maintainer-list.nix
··· 3704 fingerprint = "4749 0887 CF3B 85A1 6355 C671 78C7 DD40 DF23 FB16"; 3705 }]; 3706 }; 3707 dpercy = { 3708 email = "dpercy@dpercy.dev"; 3709 github = "dpercy";
··· 3704 fingerprint = "4749 0887 CF3B 85A1 6355 C671 78C7 DD40 DF23 FB16"; 3705 }]; 3706 }; 3707 + DPDmancul = { 3708 + name = "Davide Peressoni"; 3709 + email = "davide.peressoni@tuta.io"; 3710 + matrix = "@dpd-:matrix.org"; 3711 + githubId = 3186857; 3712 + }; 3713 dpercy = { 3714 email = "dpercy@dpercy.dev"; 3715 github = "dpercy";
+5 -3
nixos/modules/config/zram.nix
··· 132 options zram num_devices=${toString cfg.numDevices} 133 ''; 134 135 services.udev.extraRules = '' 136 KERNEL=="zram[0-9]*", ENV{SYSTEMD_WANTS}="zram-init-%k.service", TAG+="systemd" 137 ''; ··· 178 serviceConfig = { 179 Type = "oneshot"; 180 RemainAfterExit = true; 181 - ExecStartPre = "${modprobe} -r zram"; 182 - ExecStart = "${modprobe} zram"; 183 - ExecStop = "${modprobe} -r zram"; 184 }; 185 restartTriggers = [ 186 cfg.numDevices
··· 132 options zram num_devices=${toString cfg.numDevices} 133 ''; 134 135 + boot.kernelParams = ["zram.num_devices=${toString cfg.numDevices}"]; 136 + 137 services.udev.extraRules = '' 138 KERNEL=="zram[0-9]*", ENV{SYSTEMD_WANTS}="zram-init-%k.service", TAG+="systemd" 139 ''; ··· 180 serviceConfig = { 181 Type = "oneshot"; 182 RemainAfterExit = true; 183 + ExecStartPre = "-${modprobe} -r zram"; 184 + ExecStart = "-${modprobe} zram"; 185 + ExecStop = "-${modprobe} -r zram"; 186 }; 187 restartTriggers = [ 188 cfg.numDevices
+16 -8
nixos/modules/programs/firejail.nix
··· 8 wrappedBins = pkgs.runCommand "firejail-wrapped-binaries" 9 { preferLocalBuild = true; 10 allowSubstitutes = false; 11 } 12 '' 13 mkdir -p $out/bin 14 ${lib.concatStringsSep "\n" (lib.mapAttrsToList (command: value: 15 let 16 opts = if builtins.isAttrs value 17 then value 18 - else { executable = value; profile = null; extraArgs = []; }; 19 args = lib.escapeShellArgs ( 20 opts.extraArgs 21 ++ (optional (opts.profile != null) "--profile=${toString opts.profile}") 22 - ); 23 in 24 '' 25 cat <<_EOF >$out/bin/${command} ··· 27 exec /run/wrappers/bin/firejail ${args} -- ${toString opts.executable} "\$@" 28 _EOF 29 chmod 0755 $out/bin/${command} 30 '') cfg.wrappedBinaries)} 31 ''; 32 ··· 42 description = lib.mdDoc "Executable to run sandboxed"; 43 example = literalExpression ''"''${lib.getBin pkgs.firefox}/bin/firefox"''; 44 }; 45 profile = mkOption { 46 type = types.nullOr types.path; 47 default = null; ··· 71 ''; 72 description = lib.mdDoc '' 73 Wrap the binaries in firejail and place them in the global path. 74 - 75 - You will get file collisions if you put the actual application binary in 76 - the global environment (such as by adding the application package to 77 - `environment.systemPackages`), and applications started via 78 - .desktop files are not wrapped if they specify the absolute path to the 79 - binary. 80 ''; 81 }; 82 };
··· 8 wrappedBins = pkgs.runCommand "firejail-wrapped-binaries" 9 { preferLocalBuild = true; 10 allowSubstitutes = false; 11 + # take precedence over non-firejailed versions 12 + meta.priority = -1; 13 } 14 '' 15 mkdir -p $out/bin 16 + mkdir -p $out/share/applications 17 ${lib.concatStringsSep "\n" (lib.mapAttrsToList (command: value: 18 let 19 opts = if builtins.isAttrs value 20 then value 21 + else { executable = value; desktop = null; profile = null; extraArgs = []; }; 22 args = lib.escapeShellArgs ( 23 opts.extraArgs 24 ++ (optional (opts.profile != null) "--profile=${toString opts.profile}") 25 + ); 26 in 27 '' 28 cat <<_EOF >$out/bin/${command} ··· 30 exec /run/wrappers/bin/firejail ${args} -- ${toString opts.executable} "\$@" 31 _EOF 32 chmod 0755 $out/bin/${command} 33 + 34 + ${lib.optionalString (opts.desktop != null) '' 35 + substitute ${opts.desktop} $out/share/applications/$(basename ${opts.desktop}) \ 36 + --replace ${opts.executable} $out/bin/${command} 37 + ''} 38 '') cfg.wrappedBinaries)} 39 ''; 40 ··· 50 description = lib.mdDoc "Executable to run sandboxed"; 51 example = literalExpression ''"''${lib.getBin pkgs.firefox}/bin/firefox"''; 52 }; 53 + desktop = mkOption { 54 + type = types.nullOr types.path; 55 + default = null; 56 + description = lib.mkDoc ".desktop file to modify. Only necessary if it uses the absolute path to the executable."; 57 + example = literalExpression ''"''${pkgs.firefox}/share/applications/firefox.desktop"''; 58 + }; 59 profile = mkOption { 60 type = types.nullOr types.path; 61 default = null; ··· 85 ''; 86 description = lib.mdDoc '' 87 Wrap the binaries in firejail and place them in the global path. 88 ''; 89 }; 90 };
+3 -2
nixos/modules/services/web-apps/mastodon.nix
··· 658 recommendedProxySettings = true; # required for redirections to work 659 virtualHosts."${cfg.localDomain}" = { 660 root = "${cfg.package}/public/"; 661 - forceSSL = true; # mastodon only supports https 662 - enableACME = true; 663 664 locations."/system/".alias = "/var/lib/mastodon/public-system/"; 665
··· 658 recommendedProxySettings = true; # required for redirections to work 659 virtualHosts."${cfg.localDomain}" = { 660 root = "${cfg.package}/public/"; 661 + # mastodon only supports https, but you can override this if you offload tls elsewhere. 662 + forceSSL = lib.mkDefault true; 663 + enableACME = lib.mkDefault true; 664 665 locations."/system/".alias = "/var/lib/mastodon/public-system/"; 666
+33
pkgs/applications/audio/alsa-scarlett-gui/default.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkg-config 5 + , alsa-lib 6 + , gtk4 7 + , wrapGAppsHook4 8 + }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "alsa-scarlett-gui"; 12 + version = "unstable-2022-08-11"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "geoffreybennett"; 16 + repo = pname; 17 + rev = "65c0f6aa432501355803a823be1d3f8aafe907a8"; 18 + sha256 = "sha256-wzBOPTs8PTHzu5RpKwKhx552E7QnDx2Zn4OFaes8Q2I="; 19 + }; 20 + 21 + makeFlags = [ "DESTDIR=\${out}" "PREFIX=''" ]; 22 + sourceRoot = "source/src"; 23 + nativeBuildInputs = [ pkg-config wrapGAppsHook4 ]; 24 + buildInputs = [ gtk4 alsa-lib ]; 25 + 26 + meta = with lib; { 27 + description = "GUI for alsa controls presented by Focusrite Scarlett Gen 2/3 Mixer Driver"; 28 + homepage = "https://github.com/geoffreybennett/alsa-scarlett-gui"; 29 + license = licenses.gpl3Plus; 30 + maintainers = with maintainers; [ sebtm ]; 31 + platforms = platforms.linux; 32 + }; 33 + }
+2 -2
pkgs/applications/audio/mopidy/mopidy.nix
··· 4 5 pythonPackages.buildPythonApplication rec { 6 pname = "mopidy"; 7 - version = "3.4.0"; 8 9 src = fetchFromGitHub { 10 owner = "mopidy"; 11 repo = "mopidy"; 12 rev = "refs/tags/v${version}"; 13 - sha256 = "sha256-cr4v1ScrXLRjqlsCXTm0KvLc+jJbFX1HVKJLrDAtIw8="; 14 }; 15 16 nativeBuildInputs = [ wrapGAppsHook ];
··· 4 5 pythonPackages.buildPythonApplication rec { 6 pname = "mopidy"; 7 + version = "3.4.1"; 8 9 src = fetchFromGitHub { 10 owner = "mopidy"; 11 repo = "mopidy"; 12 rev = "refs/tags/v${version}"; 13 + sha256 = "sha256-IUQe5WH2vsrAOgokhTNVVM3lnJXphT2xNGu27hWBLSo="; 14 }; 15 16 nativeBuildInputs = [ wrapGAppsHook ];
-2
pkgs/applications/misc/bleachbit/default.nix
··· 7 , glib 8 , gtk3 9 , libnotify 10 - , scandir ? null 11 }: 12 13 python3Packages.buildPythonApplication rec { ··· 37 chardet 38 pygobject3 39 requests 40 - scandir 41 ]; 42 43 # Patch the many hardcoded uses of /usr/share/ and /usr/bin
··· 7 , glib 8 , gtk3 9 , libnotify 10 }: 11 12 python3Packages.buildPythonApplication rec { ··· 36 chardet 37 pygobject3 38 requests 39 ]; 40 41 # Patch the many hardcoded uses of /usr/share/ and /usr/bin
+2 -2
pkgs/applications/misc/metadata-cleaner/default.nix
··· 18 19 python3.pkgs.buildPythonApplication rec { 20 pname = "metadata-cleaner"; 21 - version = "2.2.7"; 22 23 format = "other"; 24 ··· 26 owner = "rmnvgr"; 27 repo = pname; 28 rev = "v${version}"; 29 - hash = "sha256-Kqvnw0cPPkqgJQdc6vkP4U96AQuyFSNMQTzTdIUghWw="; 30 }; 31 32 nativeBuildInputs = [
··· 18 19 python3.pkgs.buildPythonApplication rec { 20 pname = "metadata-cleaner"; 21 + version = "2.2.8"; 22 23 format = "other"; 24 ··· 26 owner = "rmnvgr"; 27 repo = pname; 28 rev = "v${version}"; 29 + hash = "sha256-646jGcgcEbhHk3PWdkKHWLVX8bNIB3BmYVMoXaGxHUw="; 30 }; 31 32 nativeBuildInputs = [
+2 -2
pkgs/applications/networking/browsers/luakit/default.nix
··· 15 16 stdenv.mkDerivation rec { 17 pname = "luakit"; 18 - version = "2.3.1"; 19 20 src = fetchFromGitHub { 21 owner = "luakit"; 22 repo = pname; 23 rev = version; 24 - hash = "sha256-6baN3e5ZJ8hw6mhQ0AapyVIYFSdmXcfo45ReQNliIPw="; 25 }; 26 27 nativeBuildInputs = [
··· 15 16 stdenv.mkDerivation rec { 17 pname = "luakit"; 18 + version = "2.3.3"; 19 20 src = fetchFromGitHub { 21 owner = "luakit"; 22 repo = pname; 23 rev = version; 24 + hash = "sha256-DtoixcLq+ddbacTAo+Qq6q4k1i6thirACw1zqUeOxXo="; 25 }; 26 27 nativeBuildInputs = [
+11 -11
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 103 "vendorHash": "sha256-yDkox74g0N8iniWHSNk6KjfM0HJa8H2HUxm6RxrdhkE=" 104 }, 105 "aviatrix": { 106 - "hash": "sha256-1zHaSdDcGynLhgLMDRbRgRzt0IvQI25TDZrYzZwwQ34=", 107 "homepage": "https://registry.terraform.io/providers/AviatrixSystems/aviatrix", 108 "owner": "AviatrixSystems", 109 "repo": "terraform-provider-aviatrix", 110 - "rev": "v2.24.1", 111 "spdx": "MPL-2.0", 112 "vendorHash": null 113 }, ··· 130 "vendorHash": null 131 }, 132 "azurerm": { 133 - "hash": "sha256-2RjraGiMtITdBJ47crqlqFR51WbKpk4U6fkGHCTNXuo=", 134 "homepage": "https://registry.terraform.io/providers/hashicorp/azurerm", 135 "owner": "hashicorp", 136 "repo": "terraform-provider-azurerm", 137 - "rev": "v3.34.0", 138 "spdx": "MPL-2.0", 139 "vendorHash": null 140 }, ··· 424 "vendorHash": "sha256-cStVmI58V46I3MYYYrbCY3llnOx2pyuM2Ku+rhe5DVQ=" 425 }, 426 "github": { 427 - "hash": "sha256-1C/GG3VhQfnU71rucYefpRsfrS//lpPXHqT/QAHM2z0=", 428 "homepage": "https://registry.terraform.io/providers/integrations/github", 429 "owner": "integrations", 430 "repo": "terraform-provider-github", 431 - "rev": "v5.11.0", 432 "spdx": "MIT", 433 "vendorHash": null 434 }, ··· 507 "vendorHash": null 508 }, 509 "heroku": { 510 - "hash": "sha256-GmrzvE1Wc1dQSlEL4mLYHIkAVxKwElx2fCWkrnZra18=", 511 "homepage": "https://registry.terraform.io/providers/heroku/heroku", 512 "owner": "heroku", 513 "repo": "terraform-provider-heroku", 514 - "rev": "v5.1.8", 515 "spdx": "MPL-2.0", 516 "vendorHash": null 517 }, ··· 734 "vendorHash": "sha256-QxbZv6YMa5/I4bTeQBNdmG3EKtLEmstnH7HMiZzFJrI=" 735 }, 736 "minio": { 737 - "hash": "sha256-mtguRBSa+XrpUqEXb9voDHraae9fOaayX1nQpaeAlo4=", 738 "homepage": "https://registry.terraform.io/providers/aminueza/minio", 739 "owner": "aminueza", 740 "repo": "terraform-provider-minio", 741 - "rev": "v1.9.1", 742 "spdx": "Apache-2.0", 743 - "vendorHash": "sha256-VxISNcWEnBAa+8WsmqxcT+DPF74X8rLlvdSNJtx0++I=" 744 }, 745 "mongodbatlas": { 746 "hash": "sha256-QMwsVD1RZwL9DPF0gnio4quqUa1b4G0SK73yd6BYnG4=",
··· 103 "vendorHash": "sha256-yDkox74g0N8iniWHSNk6KjfM0HJa8H2HUxm6RxrdhkE=" 104 }, 105 "aviatrix": { 106 + "hash": "sha256-2KJVXIThZ3g1++y5fhKLQjeXZ9r685B8stmWfs2MAs0=", 107 "homepage": "https://registry.terraform.io/providers/AviatrixSystems/aviatrix", 108 "owner": "AviatrixSystems", 109 "repo": "terraform-provider-aviatrix", 110 + "rev": "v3.0.0", 111 "spdx": "MPL-2.0", 112 "vendorHash": null 113 }, ··· 130 "vendorHash": null 131 }, 132 "azurerm": { 133 + "hash": "sha256-GNp4Am/ooMm//LGMMxJlMxQIh4rHmQdnpVEYZn3Hjb8=", 134 "homepage": "https://registry.terraform.io/providers/hashicorp/azurerm", 135 "owner": "hashicorp", 136 "repo": "terraform-provider-azurerm", 137 + "rev": "v3.35.0", 138 "spdx": "MPL-2.0", 139 "vendorHash": null 140 }, ··· 424 "vendorHash": "sha256-cStVmI58V46I3MYYYrbCY3llnOx2pyuM2Ku+rhe5DVQ=" 425 }, 426 "github": { 427 + "hash": "sha256-o7Sge0rCfP6Yueq+DP7siBsEinawgGe+nEu0/Olu8uQ=", 428 "homepage": "https://registry.terraform.io/providers/integrations/github", 429 "owner": "integrations", 430 "repo": "terraform-provider-github", 431 + "rev": "v5.12.0", 432 "spdx": "MIT", 433 "vendorHash": null 434 }, ··· 507 "vendorHash": null 508 }, 509 "heroku": { 510 + "hash": "sha256-6SNBi4hSGD6XhUSmIOjmPVzo2HnvRBGFW1jMHJLDhuI=", 511 "homepage": "https://registry.terraform.io/providers/heroku/heroku", 512 "owner": "heroku", 513 "repo": "terraform-provider-heroku", 514 + "rev": "v5.1.9", 515 "spdx": "MPL-2.0", 516 "vendorHash": null 517 }, ··· 734 "vendorHash": "sha256-QxbZv6YMa5/I4bTeQBNdmG3EKtLEmstnH7HMiZzFJrI=" 735 }, 736 "minio": { 737 + "hash": "sha256-QMaK/c4Rv7rChiVVGY8JizqTfLY98HwONyu5qU/LPGQ=", 738 "homepage": "https://registry.terraform.io/providers/aminueza/minio", 739 "owner": "aminueza", 740 "repo": "terraform-provider-minio", 741 + "rev": "v1.10.0", 742 "spdx": "Apache-2.0", 743 + "vendorHash": "sha256-w/1eNrXK4Zpt80J1FidnhMAD0lhSskHMt/hrdrgfSYw=" 744 }, 745 "mongodbatlas": { 746 "hash": "sha256-QMwsVD1RZwL9DPF0gnio4quqUa1b4G0SK73yd6BYnG4=",
+4 -4
pkgs/applications/networking/instant-messengers/discord/default.nix
··· 2 let 3 versions = if stdenv.isLinux then { 4 stable = "0.0.21"; 5 - ptb = "0.0.35"; 6 - canary = "0.0.144"; 7 } else { 8 stable = "0.0.264"; 9 ptb = "0.0.59"; ··· 18 }; 19 ptb = fetchurl { 20 url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; 21 - sha256 = "bnp5wfcR21s7LMPxFgj5G3UsxPWlFj4t6CbeosiufHY="; 22 }; 23 canary = fetchurl { 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; 25 - sha256 = "sha256-/le3YT8djSj60H+Pq1qUxqc8CNgEZladOeFa9D2ZGl8="; 26 }; 27 }; 28 x86_64-darwin = {
··· 2 let 3 versions = if stdenv.isLinux then { 4 stable = "0.0.21"; 5 + ptb = "0.0.38"; 6 + canary = "0.0.145"; 7 } else { 8 stable = "0.0.264"; 9 ptb = "0.0.59"; ··· 18 }; 19 ptb = fetchurl { 20 url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"; 21 + sha256 = "bPg7ZNQQxEpRSpp8j5/XLBDEJyId8mDGxS6tqkzzI1s="; 22 }; 23 canary = fetchurl { 24 url = "https://dl-canary.discordapp.net/apps/linux/${version}/discord-canary-${version}.tar.gz"; 25 + sha256 = "sha256-TF+7SnCTsbh+Z8AeEESEFVLSpD3c5HOAwpU1UBuB1BU="; 26 }; 27 }; 28 x86_64-darwin = {
+3 -2
pkgs/applications/networking/nextcloud-client/default.nix
··· 26 27 mkDerivation rec { 28 pname = "nextcloud-client"; 29 - version = "3.6.2"; 30 31 outputs = [ "out" "dev" ]; 32 ··· 34 owner = "nextcloud"; 35 repo = "desktop"; 36 rev = "v${version}"; 37 - sha256 = "sha256-eTcQrbYYY+V87i6PuIEWCFczIqL8oxtdojPY/mZpJBU="; 38 }; 39 40 patches = [ ··· 82 ]; 83 84 cmakeFlags = [ 85 "-DCMAKE_INSTALL_LIBDIR=lib" # expected to be prefix-relative by build code setting RPATH 86 "-DNO_SHIBBOLETH=1" # allows to compile without qtwebkit 87 ];
··· 26 27 mkDerivation rec { 28 pname = "nextcloud-client"; 29 + version = "3.6.4"; 30 31 outputs = [ "out" "dev" ]; 32 ··· 34 owner = "nextcloud"; 35 repo = "desktop"; 36 rev = "v${version}"; 37 + sha256 = "sha256-ZtDgm9xlBQflVXsxjt4bFmRby6ni0wjaGYaoiEWH9Q0="; 38 }; 39 40 patches = [ ··· 82 ]; 83 84 cmakeFlags = [ 85 + "-DBUILD_UPDATER=off" 86 "-DCMAKE_INSTALL_LIBDIR=lib" # expected to be prefix-relative by build code setting RPATH 87 "-DNO_SHIBBOLETH=1" # allows to compile without qtwebkit 88 ];
+2 -1
pkgs/applications/networking/p2p/transmission/default.nix
··· 16 , miniupnpc 17 , dht 18 , libnatpmp 19 # Build options 20 , enableGTK3 ? false 21 , gtk3 ··· 93 ++ lib.optionals enableGTK3 [ gtk3 xorg.libpthreadstubs ] 94 ++ lib.optionals enableSystemd [ systemd ] 95 ++ lib.optionals stdenv.isLinux [ inotify-tools ] 96 - ; 97 98 postInstall = '' 99 mkdir $apparmor
··· 16 , miniupnpc 17 , dht 18 , libnatpmp 19 + , libiconv 20 # Build options 21 , enableGTK3 ? false 22 , gtk3 ··· 94 ++ lib.optionals enableGTK3 [ gtk3 xorg.libpthreadstubs ] 95 ++ lib.optionals enableSystemd [ systemd ] 96 ++ lib.optionals stdenv.isLinux [ inotify-tools ] 97 + ++ lib.optionals stdenv.isDarwin [ libiconv ]; 98 99 postInstall = '' 100 mkdir $apparmor
+3 -13
pkgs/applications/networking/pjsip/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, openssl, libsamplerate, alsa-lib, AppKit, fetchpatch }: 2 3 stdenv.mkDerivation rec { 4 pname = "pjsip"; 5 - version = "2.12.1"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = "pjproject"; 10 rev = version; 11 - sha256 = "sha256-HIDL4xzzTu3irzrIOf8qSNCAvHGOMpi8EDeqZb8mMnc="; 12 }; 13 14 patches = [ 15 ./fix-aarch64.patch 16 - (fetchpatch { 17 - name = "CVE-2022-39269.patch"; 18 - url = "https://github.com/pjsip/pjproject/commit/d2acb9af4e27b5ba75d658690406cec9c274c5cc.patch"; 19 - sha256 = "sha256-bKE/MrRAqN1FqD2ubhxIOOf5MgvZluHHeVXPjbR12iQ="; 20 - }) 21 - (fetchpatch { 22 - name = "CVE-2022-39244.patch"; 23 - url = "https://github.com/pjsip/pjproject/commit/c4d34984ec92b3d5252a7d5cddd85a1d3a8001ae.patch"; 24 - sha256 = "sha256-hTUMh6bYAizn6GF+sRV1vjKVxSf9pnI+eQdPOqsdJI4="; 25 - }) 26 ]; 27 28 buildInputs = [ openssl libsamplerate ]
··· 1 + { lib, stdenv, fetchFromGitHub, openssl, libsamplerate, alsa-lib, AppKit }: 2 3 stdenv.mkDerivation rec { 4 pname = "pjsip"; 5 + version = "2.13"; 6 7 src = fetchFromGitHub { 8 owner = pname; 9 repo = "pjproject"; 10 rev = version; 11 + sha256 = "sha256-yzszmm3uIyXtYFgZtUP3iswLx4u/8UbFt80Ln25ToFE="; 12 }; 13 14 patches = [ 15 ./fix-aarch64.patch 16 ]; 17 18 buildInputs = [ openssl libsamplerate ]
+22 -26
pkgs/applications/office/appflowy/default.nix
··· 1 - { stdenv, 2 - lib, 3 - fetchzip, 4 - autoPatchelfHook, 5 - makeWrapper, 6 - copyDesktopItems, 7 - makeDesktopItem, 8 - gtk3, 9 - openssl, 10 - xdg-user-dirs, 11 - keybinder3 12 }: 13 14 stdenv.mkDerivation rec { 15 pname = "appflowy"; 16 - version = "0.0.6.2"; 17 18 src = fetchzip { 19 url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-linux-x86.tar.gz"; 20 - sha256 = "sha256-LOrXGFctAaiz2z9M8ghrXsQ+qygwNPyYragmL/EjlDQ="; 21 }; 22 23 nativeBuildInputs = [ 24 - autoPatchelfHook 25 - makeWrapper 26 - copyDesktopItems 27 ]; 28 29 buildInputs = [ 30 - gtk3 31 - openssl 32 - keybinder3 33 ]; 34 35 dontBuild = true; ··· 47 runHook postInstall 48 ''; 49 50 - preFixup = let 51 - binPath = lib.makeBinPath [ 52 - xdg-user-dirs 53 - ]; 54 - in '' 55 # Add missing libraries to appflowy using the ones it comes with 56 makeWrapper $out/opt/app_flowy $out/bin/appflowy \ 57 - --set LD_LIBRARY_PATH "$out/opt/lib/" \ 58 - --prefix PATH : "${binPath}" 59 ''; 60 61 desktopItems = [
··· 1 + { stdenv 2 + , lib 3 + , fetchzip 4 + , autoPatchelfHook 5 + , makeWrapper 6 + , copyDesktopItems 7 + , makeDesktopItem 8 + , gtk3 9 + , openssl 10 + , xdg-user-dirs 11 + , keybinder3 12 }: 13 14 stdenv.mkDerivation rec { 15 pname = "appflowy"; 16 + version = "0.0.8"; 17 18 src = fetchzip { 19 url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-linux-x86.tar.gz"; 20 + sha256 = "sha256-+nizRA42c0ZzuN8D/puh0TFLnRJVgyAujcTmJZ1UVzo="; 21 }; 22 23 nativeBuildInputs = [ 24 + autoPatchelfHook 25 + makeWrapper 26 + copyDesktopItems 27 ]; 28 29 buildInputs = [ 30 + gtk3 31 + openssl 32 + keybinder3 33 ]; 34 35 dontBuild = true; ··· 47 runHook postInstall 48 ''; 49 50 + preFixup = '' 51 # Add missing libraries to appflowy using the ones it comes with 52 makeWrapper $out/opt/app_flowy $out/bin/appflowy \ 53 + --set LD_LIBRARY_PATH "$out/opt/lib/" \ 54 + --prefix PATH : "${lib.makeBinPath [ xdg-user-dirs ]}" 55 ''; 56 57 desktopItems = [
+11 -6
pkgs/applications/version-management/git-and-tools/git-bug/default.nix
··· 2 3 buildGoModule rec { 4 pname = "git-bug"; 5 - version = "0.7.2"; # the `rev` below pins the version of the source to get 6 - rev = "cc4a93c8ce931b1390c61035b888ad17110b7bd6"; 7 8 src = fetchFromGitHub { 9 inherit rev; 10 owner = "MichaelMure"; 11 repo = "git-bug"; 12 - sha256 = "0r6wh0y1fj3d3fbbrzq5n9k6z94xvwqww3xfbslkgyrin5bmziiq"; 13 }; 14 15 - vendorSha256 = "15hhsrwwjc4krfc2d0r15lys3vr9rb9xk62pan4jr9ycbv0dny90"; 16 17 doCheck = false; 18 ··· 23 ]; 24 25 postInstall = '' 26 - install -D -m 0644 misc/bash_completion/git-bug "$out/share/bash-completion/completions/git-bug" 27 - install -D -m 0644 misc/zsh_completion/git-bug "$out/share/zsh/site-functions/git-bug" 28 install -D -m 0644 -t "$out/share/man/man1" doc/man/* 29 ''; 30 31 meta = with lib; {
··· 2 3 buildGoModule rec { 4 pname = "git-bug"; 5 + version = "0.8.0"; # the `rev` below pins the version of the source to get 6 + rev = "v0.8.0"; 7 8 src = fetchFromGitHub { 9 inherit rev; 10 owner = "MichaelMure"; 11 repo = "git-bug"; 12 + sha256 = "12byf6nsamwz0ssigan1z299s01cyh8bhgj86bibl90agd4zs9n8"; 13 }; 14 15 + vendorSha256 = "sha256-32kNDoBE50Jx1Ef9YwhDk7nd3CaTSnHPlu7PgWPUGfE="; 16 17 doCheck = false; 18 ··· 23 ]; 24 25 postInstall = '' 26 + install -D -m 0644 misc/completion/bash/git-bug "$out/share/bash-completion/completions/git-bug" 27 + install -D -m 0644 misc/completion/zsh/git-bug "$out/share/zsh/site-functions/git-bug" 28 install -D -m 0644 -t "$out/share/man/man1" doc/man/* 29 + 30 + # not sure why the following executables are in $out/bin/ 31 + rm -f $out/bin/cmd 32 + rm -f $out/bin/completion 33 + rm -f $out/bin/doc 34 ''; 35 36 meta = with lib; {
+2 -2
pkgs/applications/version-management/monotone-viz/default.nix
··· 1 { lib, stdenv, fetchurl, ocamlPackages, gnome2, pkg-config, makeWrapper, glib 2 - , libtool, libpng, bison, expat, fontconfig, gd, pango, libjpeg, libwebp, xlibsWrapper, libXaw 3 }: 4 # We need an old version of Graphviz for format compatibility reasons. 5 # This version is vulnerable, but monotone-viz will never feed it bad input. 6 let graphviz_2_0 = import ./graphviz-2.0.nix { 7 - inherit lib stdenv fetchurl pkg-config xlibsWrapper libpng libjpeg expat libXaw 8 bison libtool fontconfig pango gd libwebp; 9 }; in 10 let inherit (gnome2) libgnomecanvas; in
··· 1 { lib, stdenv, fetchurl, ocamlPackages, gnome2, pkg-config, makeWrapper, glib 2 + , libtool, libpng, bison, expat, fontconfig, gd, pango, libjpeg, libwebp, libX11, libXaw 3 }: 4 # We need an old version of Graphviz for format compatibility reasons. 5 # This version is vulnerable, but monotone-viz will never feed it bad input. 6 let graphviz_2_0 = import ./graphviz-2.0.nix { 7 + inherit lib stdenv fetchurl pkg-config libX11 libpng libjpeg expat libXaw 8 bison libtool fontconfig pango gd libwebp; 9 }; in 10 let inherit (gnome2) libgnomecanvas; in
+3 -3
pkgs/applications/version-management/monotone-viz/graphviz-2.0.nix
··· 2 , stdenv 3 , fetchurl 4 , pkg-config 5 - , xlibsWrapper 6 , libpng 7 , libjpeg 8 , expat ··· 26 27 nativeBuildInputs = [ pkg-config ]; 28 buildInputs = [ 29 - xlibsWrapper 30 libpng 31 libjpeg 32 expat ··· 52 "--with-ltdl-include=${libtool}/include" 53 "--with-ltdl-lib=${libtool.lib}/lib" 54 ] 55 - ++ lib.optional (xlibsWrapper == null) "--without-x"; 56 57 meta = { 58 description = "A program for visualising graphs";
··· 2 , stdenv 3 , fetchurl 4 , pkg-config 5 + , libX11 6 , libpng 7 , libjpeg 8 , expat ··· 26 27 nativeBuildInputs = [ pkg-config ]; 28 buildInputs = [ 29 + libX11 30 libpng 31 libjpeg 32 expat ··· 52 "--with-ltdl-include=${libtool}/include" 53 "--with-ltdl-lib=${libtool.lib}/lib" 54 ] 55 + ++ lib.optional (libX11 == null) "--without-x"; 56 57 meta = { 58 description = "A program for visualising graphs";
+22 -6
pkgs/applications/version-management/sapling/default.nix
··· 17 , CoreFoundation 18 , CoreServices 19 , Security 20 }: 21 22 let ··· 123 sed -i "s|https://files.pythonhosted.org/packages/[[:alnum:]]*/[[:alnum:]]*/[[:alnum:]]*/|file://$NIX_BUILD_TOP/$sourceRoot/hack_pydeps/|g" $sourceRoot/setup.py 124 ''; 125 126 postFixup = lib.optionalString stdenv.isLinux '' 127 wrapProgram $out/bin/sl \ 128 --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" ··· 138 ]); 139 140 buildInputs = [ 141 - curl 142 openssl 143 ] ++ lib.optionals stdenv.isDarwin [ 144 libiconv 145 CoreFoundation 146 CoreServices ··· 165 runHook preInstall 166 167 mkdir -p $out 168 - 169 cp -r ${sapling}/* $out 170 - 171 - sitepackages=$out/lib/${python38Packages.python.libPrefix}/site-packages 172 - chmod +w $sitepackages 173 - cp -r ${isl} $sitepackages/edenscm-isl 174 175 runHook postInstall 176 '';
··· 17 , CoreFoundation 18 , CoreServices 19 , Security 20 + 21 + , enableMinimal ? false 22 }: 23 24 let ··· 125 sed -i "s|https://files.pythonhosted.org/packages/[[:alnum:]]*/[[:alnum:]]*/[[:alnum:]]*/|file://$NIX_BUILD_TOP/$sourceRoot/hack_pydeps/|g" $sourceRoot/setup.py 126 ''; 127 128 + # Now, copy the "sl web" (aka edenscm-isl) results into the output of this 129 + # package, so that the command can actually work. NOTES: 130 + # 131 + # 1) This applies on all systems (so no conditional a la postFixup) 132 + # 2) This doesn't require any kind of fixup itself, so we leave it out 133 + # of postFixup for that reason, too 134 + # 3) If asked, we optionally patch in a hardcoded path to the 'nodejs' package, 135 + # so that 'sl web' always works 136 + # 4) 'sl web' will still work if 'nodejs' is in $PATH, just not OOTB 137 + preFixup = '' 138 + sitepackages=$out/lib/${python38Packages.python.libPrefix}/site-packages 139 + chmod +w $sitepackages 140 + cp -r ${isl} $sitepackages/edenscm-isl 141 + '' + lib.optionalString (!enableMinimal) '' 142 + chmod +w $sitepackages/edenscm-isl/run-isl 143 + substituteInPlace $sitepackages/edenscm-isl/run-isl \ 144 + --replace 'NODE=node' 'NODE=${nodejs}/bin/node' 145 + ''; 146 + 147 postFixup = lib.optionalString stdenv.isLinux '' 148 wrapProgram $out/bin/sl \ 149 --set LOCALE_ARCHIVE "${glibcLocales}/lib/locale/locale-archive" ··· 159 ]); 160 161 buildInputs = [ 162 openssl 163 ] ++ lib.optionals stdenv.isDarwin [ 164 + curl 165 libiconv 166 CoreFoundation 167 CoreServices ··· 186 runHook preInstall 187 188 mkdir -p $out 189 cp -r ${sapling}/* $out 190 191 runHook postInstall 192 '';
+4 -2
pkgs/applications/video/streamlink/default.nix
··· 6 7 python3Packages.buildPythonApplication rec { 8 pname = "streamlink"; 9 - version = "5.0.1"; 10 format = "pyproject"; 11 12 src = python3Packages.fetchPypi { 13 inherit pname version; 14 - hash = "sha256-PKRioPBhTV6i3ckQgcKuhQFmpBvUQE4o3FLej8qx4mM="; 15 }; 16 17 checkInputs = with python3Packages; [ ··· 19 mock 20 requests-mock 21 freezegun 22 ]; 23 24 nativeBuildInputs = with python3Packages; [ ··· 33 pysocks 34 requests 35 websocket-client 36 ]) ++ [ 37 ffmpeg 38 ];
··· 6 7 python3Packages.buildPythonApplication rec { 8 pname = "streamlink"; 9 + version = "5.1.2"; 10 format = "pyproject"; 11 12 src = python3Packages.fetchPypi { 13 inherit pname version; 14 + hash = "sha256-UB9gTT2/rQXV1Q7UQywEHlGBCJDMDmXupD8nYII4dno="; 15 }; 16 17 checkInputs = with python3Packages; [ ··· 19 mock 20 requests-mock 21 freezegun 22 + pytest-asyncio 23 ]; 24 25 nativeBuildInputs = with python3Packages; [ ··· 34 pysocks 35 requests 36 websocket-client 37 + urllib3 38 ]) ++ [ 39 ffmpeg 40 ];
+2 -2
pkgs/development/libraries/aws-c-mqtt/default.nix
··· 13 14 stdenv.mkDerivation rec { 15 pname = "aws-c-mqtt"; 16 - version = "0.8.0"; 17 18 src = fetchFromGitHub { 19 owner = "awslabs"; 20 repo = "aws-c-mqtt"; 21 rev = "v${version}"; 22 - sha256 = "sha256-+Ah3D+cgGfunX46Fqv6NSNAOzVwrRdZz6oJKP+tHCmU="; 23 }; 24 25 nativeBuildInputs = [
··· 13 14 stdenv.mkDerivation rec { 15 pname = "aws-c-mqtt"; 16 + version = "0.8.1"; 17 18 src = fetchFromGitHub { 19 owner = "awslabs"; 20 repo = "aws-c-mqtt"; 21 rev = "v${version}"; 22 + sha256 = "sha256-nmSNG5o2Ck80OG4ZGYIayVdnw3Z2fn1VkUIuI9RYfL8="; 23 }; 24 25 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/libmodbus/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libmodbus"; 5 - version = "3.1.9"; 6 7 src = fetchFromGitHub { 8 owner = "stephane"; 9 repo = "libmodbus"; 10 rev = "v${version}"; 11 - hash = "sha256-aq8JB7CgzK6idU9AAJWkMXyYDXRynSTlNBMyPrNdpLw="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "libmodbus"; 5 + version = "3.1.10"; 6 7 src = fetchFromGitHub { 8 owner = "stephane"; 9 repo = "libmodbus"; 10 rev = "v${version}"; 11 + hash = "sha256-e2lB5D41a5MOmz9M90ZXfIltSOxNDOrQUpRNU2yYd1k="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ];
+8 -3
pkgs/development/libraries/ois/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "ois"; 5 - version = "1.5"; 6 7 src = fetchFromGitHub { 8 owner = "wgois"; 9 repo = "OIS"; 10 rev = "v${version}"; 11 - sha256 = "0g8krgq5bdx2rw7ig0xva4kqv4x815672i7z6lljp3n8847wmypa"; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 - buildInputs = [ libX11 ] ++ lib.optionals stdenv.isDarwin [ Cocoa IOKit Kernel ]; 17 18 meta = with lib; { 19 description = "Object-oriented C++ input system";
··· 2 3 stdenv.mkDerivation rec { 4 pname = "ois"; 5 + version = "1.5.1"; 6 7 src = fetchFromGitHub { 8 owner = "wgois"; 9 repo = "OIS"; 10 rev = "v${version}"; 11 + sha256 = "sha256-ir6p+Tzf8L5VOW/rsG4yelsth7INbhABO2T7pfMHcFo="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 + buildInputs = lib.optionals stdenv.isLinux [ libX11 ] 17 + ++ lib.optionals stdenv.isDarwin [ Cocoa IOKit Kernel ]; 18 + 19 + cmakeFlags = [ 20 + "-DCMAKE_INSTALL_LIBDIR=lib" 21 + ]; 22 23 meta = with lib; { 24 description = "Object-oriented C++ input system";
+2 -2
pkgs/development/libraries/physics/clhep/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "clhep"; 9 - version = "2.4.6.1"; 10 11 src = fetchurl { 12 url = "https://proj-clhep.web.cern.ch/proj-clhep/dist1/clhep-${version}.tgz"; 13 - hash = "sha256-FwFhuOSYVV91xt55Nq/elWqT/JqhIaFtd56mAgh6Mjk="; 14 }; 15 16 prePatch = ''
··· 6 7 stdenv.mkDerivation rec { 8 pname = "clhep"; 9 + version = "2.4.6.2"; 10 11 src = fetchurl { 12 url = "https://proj-clhep.web.cern.ch/proj-clhep/dist1/clhep-${version}.tgz"; 13 + hash = "sha256-re1z5JushaW06G9koO49bzz+VVGw93MceLbY+drG6Nw="; 14 }; 15 16 prePatch = ''
+5 -1
pkgs/development/libraries/science/math/liblapack/default.nix
··· 30 "-DCBLAS=ON" 31 "-DBUILD_TESTING=ON" 32 ] ++ lib.optional shared "-DBUILD_SHARED_LIBS=ON" 33 - ++ lib.optional blas64 "-DBUILD_INDEX64=ON"; 34 35 passthru = { inherit blas64; }; 36
··· 30 "-DCBLAS=ON" 31 "-DBUILD_TESTING=ON" 32 ] ++ lib.optional shared "-DBUILD_SHARED_LIBS=ON" 33 + ++ lib.optional blas64 "-DBUILD_INDEX64=ON" 34 + # Tries to run host platform binaries during the build 35 + # Will likely be disabled by default in 3.12, see: 36 + # https://github.com/Reference-LAPACK/lapack/issues/757 37 + ++ lib.optional (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) "-DTEST_FORTRAN_COMPILER=OFF"; 38 39 passthru = { inherit blas64; }; 40
+2 -2
pkgs/development/misc/brev-cli/default.nix
··· 5 6 buildGoModule rec { 7 pname = "brev-cli"; 8 - version = "0.6.185"; 9 10 src = fetchFromGitHub { 11 owner = "brevdev"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-vxU+UDPnW4OfhEs66ynN7tFbi8aIHIgLFx/jx+2Fp2w="; 15 }; 16 17 vendorSha256 = "sha256-uaLoh1VhJAT5liGqL77DLhAWviy5Ci8B16LuzCWuek8=";
··· 5 6 buildGoModule rec { 7 pname = "brev-cli"; 8 + version = "0.6.186"; 9 10 src = fetchFromGitHub { 11 owner = "brevdev"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-h8PUxSjC21BsjqFgOOvDPClFLwOTFTTEB57zxUtbuTw="; 15 }; 16 17 vendorSha256 = "sha256-uaLoh1VhJAT5liGqL77DLhAWviy5Ci8B16LuzCWuek8=";
+2 -2
pkgs/development/ocaml-modules/carton/default.nix
··· 7 8 buildDunePackage rec { 9 pname = "carton"; 10 - version = "0.4.4"; 11 12 minimalOCamlVersion = "4.08"; 13 14 src = fetchurl { 15 url = "https://github.com/mirage/ocaml-git/releases/download/${pname}-v${version}/git-${pname}-v${version}.tbz"; 16 - sha256 = "sha256-7mgCgu87Cn4XhjEhonlz9lhgTw0Cu5hnxNJ1wXr+Qhw="; 17 }; 18 19 # remove changelogs for mimic and the git* packages
··· 7 8 buildDunePackage rec { 9 pname = "carton"; 10 + version = "0.6.0"; 11 12 minimalOCamlVersion = "4.08"; 13 14 src = fetchurl { 15 url = "https://github.com/mirage/ocaml-git/releases/download/${pname}-v${version}/git-${pname}-v${version}.tbz"; 16 + sha256 = "sha256-NAm4Xq7L0Dgynr8cKZQ356M4GR6D19LbCRxvnSlIf1U="; 17 }; 18 19 # remove changelogs for mimic and the git* packages
+2 -4
pkgs/development/ocaml-modules/carton/git.nix
··· 1 { buildDunePackage, carton, carton-lwt 2 - , bigarray-compat, bigstringaf, lwt, fpath, result 3 - , mmap, fmt, decompress, astring 4 , alcotest, alcotest-lwt, cstruct, logs 5 , mirage-flow, rresult, ke 6 }: ··· 13 propagatedBuildInputs = [ 14 carton 15 carton-lwt 16 - bigarray-compat 17 bigstringaf 18 lwt 19 fpath 20 result 21 - mmap 22 fmt 23 decompress 24 astring
··· 1 { buildDunePackage, carton, carton-lwt 2 + , bigstringaf, lwt, fpath, result 3 + , fmt, decompress, astring 4 , alcotest, alcotest-lwt, cstruct, logs 5 , mirage-flow, rresult, ke 6 }: ··· 13 propagatedBuildInputs = [ 14 carton 15 carton-lwt 16 bigstringaf 17 lwt 18 fpath 19 result 20 fmt 21 decompress 22 astring
+2 -4
pkgs/development/ocaml-modules/carton/lwt.nix
··· 1 { buildDunePackage, carton 2 , lwt, decompress, optint, bigstringaf 3 , alcotest, alcotest-lwt, cstruct, fmt, logs 4 - , mirage-flow, result, rresult, bigarray-compat 5 - , ke, base64, bos, checkseum, digestif, fpath, mmap 6 , stdlib-shims 7 , git-binary # pkgs.git 8 }: ··· 31 mirage-flow 32 result 33 rresult 34 - bigarray-compat 35 ke 36 base64 37 bos 38 checkseum 39 digestif 40 fpath 41 - mmap 42 stdlib-shims 43 ]; 44
··· 1 { buildDunePackage, carton 2 , lwt, decompress, optint, bigstringaf 3 , alcotest, alcotest-lwt, cstruct, fmt, logs 4 + , mirage-flow, result, rresult 5 + , ke, base64, bos, checkseum, digestif, fpath 6 , stdlib-shims 7 , git-binary # pkgs.git 8 }: ··· 31 mirage-flow 32 result 33 rresult 34 ke 35 base64 36 bos 37 checkseum 38 digestif 39 fpath 40 stdlib-shims 41 ]; 42
-2
pkgs/development/ocaml-modules/git/paf.nix
··· 13 , rresult 14 , tls 15 , uri 16 - , bigarray-compat 17 , bigstringaf 18 , domain-name 19 , httpaf ··· 43 mirage-time 44 tls 45 uri 46 - bigarray-compat 47 bigstringaf 48 domain-name 49 httpaf
··· 13 , rresult 14 , tls 15 , uri 16 , bigstringaf 17 , domain-name 18 , httpaf ··· 42 mirage-time 43 tls 44 uri 45 bigstringaf 46 domain-name 47 httpaf
+6 -7
pkgs/development/ocaml-modules/otfm/default.nix
··· 1 - { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uutf, result }: 2 3 let 4 pname = "otfm"; 5 - version = "0.3.0"; 6 webpage = "https://erratique.ch/software/${pname}"; 7 in 8 9 - assert lib.versionAtLeast ocaml.version "4.01.0"; 10 - 11 stdenv.mkDerivation { 12 13 - name = "ocaml-${pname}-${version}"; 14 15 src = fetchurl { 16 url = "${webpage}/releases/${pname}-${version}.tbz"; 17 - sha256 = "054s82539k3kc9na6s47g3scsl04icjahpas7pv5351jmsgqcq3k"; 18 }; 19 20 nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ]; 21 buildInputs = [ topkg ]; 22 23 - propagatedBuildInputs = [ uutf result ]; 24 25 strictDeps = true; 26
··· 1 + { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, uutf }: 2 3 let 4 pname = "otfm"; 5 + version = "0.4.0"; 6 webpage = "https://erratique.ch/software/${pname}"; 7 in 8 9 stdenv.mkDerivation { 10 11 + pname = "ocaml${ocaml.version}-${pname}"; 12 + inherit version; 13 14 src = fetchurl { 15 url = "${webpage}/releases/${pname}-${version}.tbz"; 16 + hash = "sha256-02U23mYTy0ZJgSObDoyygPTGEMC4/Zge5bux4wshaEE="; 17 }; 18 19 nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ]; 20 buildInputs = [ topkg ]; 21 22 + propagatedBuildInputs = [ uutf ]; 23 24 strictDeps = true; 25
+4 -3
pkgs/development/python-modules/aionanoleaf/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "aionanoleaf"; 10 - version = "0.2.0"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; ··· 15 src = fetchFromGitHub { 16 owner = "milanmeu"; 17 repo = pname; 18 - rev = "v${version}"; 19 - sha256 = "sha256-bz568DlodWtSu2WTTd/QMhdiX9IkllW7UYVXuNlKFaY="; 20 }; 21 22 propagatedBuildInputs = [ ··· 33 meta = with lib; { 34 description = "Python wrapper for the Nanoleaf API"; 35 homepage = "https://github.com/milanmeu/aionanoleaf"; 36 license = licenses.lgpl3Plus; 37 maintainers = with maintainers; [ fab ]; 38 };
··· 7 8 buildPythonPackage rec { 9 pname = "aionanoleaf"; 10 + version = "0.2.1"; 11 format = "setuptools"; 12 13 disabled = pythonOlder "3.8"; ··· 15 src = fetchFromGitHub { 16 owner = "milanmeu"; 17 repo = pname; 18 + rev = "refs/tags/v${version}"; 19 + hash = "sha256-f0TyXhuAzI0s0n6sXH9mKWA4nad2YchZkQ0+jw/Bmv0="; 20 }; 21 22 propagatedBuildInputs = [ ··· 33 meta = with lib; { 34 description = "Python wrapper for the Nanoleaf API"; 35 homepage = "https://github.com/milanmeu/aionanoleaf"; 36 + changelog = "https://github.com/milanmeu/aionanoleaf/releases/tag/v${version}"; 37 license = licenses.lgpl3Plus; 38 maintainers = with maintainers; [ fab ]; 39 };
+2 -2
pkgs/development/python-modules/aioshelly/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "aioshelly"; 12 - version = "5.1.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.9"; ··· 18 owner = "home-assistant-libs"; 19 repo = pname; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-jhoPgwydB/DZx7hC16XgM0UBhmByVZRT5b7BDETA+FY="; 22 }; 23 24 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "aioshelly"; 12 + version = "5.1.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.9"; ··· 18 owner = "home-assistant-libs"; 19 repo = pname; 20 rev = "refs/tags/${version}"; 21 + hash = "sha256-6HUykGN0zx97K4372dU1RPncajJt2n20zp2FhrJG1sM="; 22 }; 23 24 propagatedBuildInputs = [
+3 -2
pkgs/development/python-modules/authlib/default.nix
··· 17 18 buildPythonPackage rec { 19 pname = "authlib"; 20 - version = "1.1.0"; 21 format = "setuptools"; 22 23 disabled = pythonOlder "3.7"; ··· 26 owner = "lepture"; 27 repo = "authlib"; 28 rev = "refs/tags/v${version}"; 29 - hash = "sha256-UTsQRAgmYu4BwT0WWE6XOjTYyGWZIt8bMH9qJ8KLOWA="; 30 }; 31 32 propagatedBuildInputs = [ ··· 60 meta = with lib; { 61 description = "Library for building OAuth and OpenID Connect servers"; 62 homepage = "https://github.com/lepture/authlib"; 63 license = licenses.bsd3; 64 maintainers = with maintainers; [ flokli ]; 65 };
··· 17 18 buildPythonPackage rec { 19 pname = "authlib"; 20 + version = "1.2.0"; 21 format = "setuptools"; 22 23 disabled = pythonOlder "3.7"; ··· 26 owner = "lepture"; 27 repo = "authlib"; 28 rev = "refs/tags/v${version}"; 29 + hash = "sha256-OYfvfPnpWE9g7L9cFXUD95B/9+OZy55ZVbmFhFgguUg="; 30 }; 31 32 propagatedBuildInputs = [ ··· 60 meta = with lib; { 61 description = "Library for building OAuth and OpenID Connect servers"; 62 homepage = "https://github.com/lepture/authlib"; 63 + changelog = "https://github.com/lepture/authlib/releases/tag/v${version}"; 64 license = licenses.bsd3; 65 maintainers = with maintainers; [ flokli ]; 66 };
+24
pkgs/development/python-modules/calver/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + let 6 + pname = "calver"; 7 + version = "2022.6.26"; 8 + 9 + in 10 + buildPythonPackage { 11 + inherit pname version; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + hash = "sha256-4FSTo7F1F+8XSPvmENoR8QSF+qfEFrnTP9SlLXSJT4s="; 16 + }; 17 + 18 + meta = { 19 + description = "Setuptools extension for CalVer package versions"; 20 + homepage = "https://github.com/di/calver"; 21 + license = lib.licenses.asl20; 22 + maintainers = [ ]; 23 + }; 24 + }
+2 -2
pkgs/development/python-modules/django-hijack/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "django-hijack"; 12 - version = "3.2.4"; 13 14 # the wheel comes with pre-built assets, allowing us to avoid fighting 15 # with npm/webpack/gettext to build them ourselves. ··· 19 pname = "django_hijack"; 20 dist = "py3"; 21 python = "py3"; 22 - sha256 = "sha256-tSIovIPEszq00Y0PMl/Wlx5YK5MTxLhCpNpHFZDi9rQ="; 23 }; 24 25 propagatedBuildInputs = [ django django_compat ];
··· 9 10 buildPythonPackage rec { 11 pname = "django-hijack"; 12 + version = "3.2.5"; 13 14 # the wheel comes with pre-built assets, allowing us to avoid fighting 15 # with npm/webpack/gettext to build them ourselves. ··· 19 pname = "django_hijack"; 20 dist = "py3"; 21 python = "py3"; 22 + sha256 = "sha256-8BHnC3uK6zmSWKfvtDJuTjAKwQlL75G/QwRPgtNJYkE="; 23 }; 24 25 propagatedBuildInputs = [ django django_compat ];
+15 -5
pkgs/development/python-modules/django_classytags/default.nix
··· 2 , buildPythonPackage 3 , fetchPypi 4 , django 5 - , six 6 }: 7 8 buildPythonPackage rec { 9 pname = "django-classy-tags"; 10 - version = "3.0.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 - sha256 = "sha256-0iK0VQKsmeVQpWZmeDnvrvlUucc2amST8UOGKqvqyHg="; 15 }; 16 17 - propagatedBuildInputs = [ django six ]; 18 19 # pypi version doesn't include runtest.py, needed to run tests 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Class based template tags for Django"; 24 homepage = "https://github.com/divio/django-classy-tags"; 25 license = licenses.bsd3; 26 }; 27 - 28 }
··· 2 , buildPythonPackage 3 , fetchPypi 4 , django 5 + , pythonOlder 6 }: 7 8 buildPythonPackage rec { 9 pname = "django-classy-tags"; 10 + version = "4.0.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; 17 + hash = "sha256-25/Hxe0I3CYZzEwZsZUUzawT3bYYJ4qwcJTGJtKO7w0="; 18 }; 19 20 + propagatedBuildInputs = [ 21 + django 22 + ]; 23 24 # pypi version doesn't include runtest.py, needed to run tests 25 doCheck = false; 26 27 + pythonImportsCheck = [ 28 + "classytags" 29 + ]; 30 + 31 meta = with lib; { 32 description = "Class based template tags for Django"; 33 homepage = "https://github.com/divio/django-classy-tags"; 34 + changelog = "https://github.com/django-cms/django-classy-tags/blob/${version}/CHANGELOG.rst"; 35 license = licenses.bsd3; 36 + maintainers = with maintainers; [ ]; 37 }; 38 }
+5 -2
pkgs/development/python-modules/docutils/default.nix
··· 2 , lib 3 , fetchPypi 4 , buildPythonPackage 5 - , isPy3k 6 , python 7 }: 8 9 buildPythonPackage rec { 10 pname = "docutils"; 11 version = "0.19"; 12 format = "setuptools"; 13 14 src = fetchPypi { ··· 18 19 # Only Darwin needs LANG, but we could set it in general. 20 # It's done here conditionally to prevent mass-rebuilds. 21 - checkPhase = lib.optionalString (isPy3k && stdenv.isDarwin) ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" '' + '' 22 ${python.interpreter} test/alltests.py 23 ''; 24
··· 2 , lib 3 , fetchPypi 4 , buildPythonPackage 5 , python 6 + , pythonOlder 7 }: 8 9 buildPythonPackage rec { 10 pname = "docutils"; 11 version = "0.19"; 12 + 13 + disabled = pythonOlder "3.7"; 14 + 15 format = "setuptools"; 16 17 src = fetchPypi { ··· 21 22 # Only Darwin needs LANG, but we could set it in general. 23 # It's done here conditionally to prevent mass-rebuilds. 24 + checkPhase = lib.optionalString stdenv.isDarwin ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" '' + '' 25 ${python.interpreter} test/alltests.py 26 ''; 27
-2
pkgs/development/python-modules/fs/default.nix
··· 5 , setuptools 6 , six 7 , appdirs 8 - , scandir ? null 9 , backports_os ? null 10 , typing ? null 11 , pytz ··· 36 propagatedBuildInputs = [ six appdirs pytz setuptools ] 37 ++ lib.optionals (!isPy3k) [ backports_os ] 38 ++ lib.optionals (!pythonAtLeast "3.6") [ typing ] 39 - ++ lib.optionals (!pythonAtLeast "3.5") [ scandir ] 40 ++ lib.optionals (!pythonAtLeast "3.5") [ enum34 ]; 41 42 LC_ALL="en_US.utf-8";
··· 5 , setuptools 6 , six 7 , appdirs 8 , backports_os ? null 9 , typing ? null 10 , pytz ··· 35 propagatedBuildInputs = [ six appdirs pytz setuptools ] 36 ++ lib.optionals (!isPy3k) [ backports_os ] 37 ++ lib.optionals (!pythonAtLeast "3.6") [ typing ] 38 ++ lib.optionals (!pythonAtLeast "3.5") [ enum34 ]; 39 40 LC_ALL="en_US.utf-8";
+2 -1
pkgs/development/python-modules/nettigo-air-monitor/default.nix
··· 1 { lib 2 , aiohttp 3 , aioresponses 4 , buildPythonPackage 5 , dacite 6 , fetchFromGitHub 7 - , aqipy-atmotech 8 , orjson 9 , pytest-asyncio 10 , pytest-error-for-skips ··· 47 meta = with lib; { 48 description = "Python module to get air quality data from Nettigo Air Monitor devices"; 49 homepage = "https://github.com/bieniu/nettigo-air-monitor"; 50 license = with licenses; [ asl20 ]; 51 maintainers = with maintainers; [ fab ]; 52 };
··· 1 { lib 2 , aiohttp 3 , aioresponses 4 + , aqipy-atmotech 5 , buildPythonPackage 6 , dacite 7 , fetchFromGitHub 8 , orjson 9 , pytest-asyncio 10 , pytest-error-for-skips ··· 47 meta = with lib; { 48 description = "Python module to get air quality data from Nettigo Air Monitor devices"; 49 homepage = "https://github.com/bieniu/nettigo-air-monitor"; 50 + changelog = "https://github.com/bieniu/nettigo-air-monitor/releases/tag/${version}"; 51 license = with licenses; [ asl20 ]; 52 maintainers = with maintainers; [ fab ]; 53 };
-32
pkgs/development/python-modules/parameterizedtestcase/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , python 5 - , isPy27 6 - }: 7 - 8 - buildPythonPackage rec { 9 - pname = "parameterizedtestcase"; 10 - version = "0.1.0"; 11 - 12 - src = fetchPypi { 13 - inherit pname version; 14 - sha256 = "4ccc1d15d7e7ef153619a6a9cd45b170268cf82c67fdd336794c75139aae127e"; 15 - }; 16 - 17 - checkPhase = '' 18 - runHook preCheck 19 - ${python.interpreter} -m parameterizedtestcase.tests 20 - runHook postCheck 21 - ''; 22 - 23 - doCheck = isPy27; 24 - 25 - meta = with lib; { 26 - description = "Parameterized tests for Python's unittest module"; 27 - homepage = "https://github.com/msabramo/python_unittest_parameterized_test_case"; 28 - license = licenses.mit; 29 - maintainers = with maintainers; [ dotlambda ]; 30 - broken = python.isPy3k; # uses use_2to3 31 - }; 32 - }
···
+1 -2
pkgs/development/python-modules/pathlib2/default.nix
··· 3 , fetchPypi 4 , six 5 , pythonOlder 6 - , scandir ? null 7 , glibcLocales 8 , mock 9 , typing ··· 19 }; 20 21 propagatedBuildInputs = [ six ] 22 - ++ lib.optionals (pythonOlder "3.5") [ scandir typing ]; 23 checkInputs = [ glibcLocales ] 24 ++ lib.optional (pythonOlder "3.3") mock; 25
··· 3 , fetchPypi 4 , six 5 , pythonOlder 6 , glibcLocales 7 , mock 8 , typing ··· 18 }; 19 20 propagatedBuildInputs = [ six ] 21 + ++ lib.optionals (pythonOlder "3.5") [ typing ]; 22 checkInputs = [ glibcLocales ] 23 ++ lib.optional (pythonOlder "3.3") mock; 24
-47
pkgs/development/python-modules/pygobject/default.nix
··· 1 - { lib, stdenv, fetchurl, fetchpatch, python, buildPythonPackage, pkg-config, glib, isPy3k, pythonAtLeast }: 2 - 3 - buildPythonPackage rec { 4 - pname = "pygobject"; 5 - version = "2.28.7"; 6 - format = "other"; 7 - disabled = pythonAtLeast "3.9"; 8 - 9 - src = fetchurl { 10 - url = "mirror://gnome/sources/pygobject/2.28/${pname}-${version}.tar.xz"; 11 - sha256 = "0nkam61rsn7y3wik3vw46wk5q2cjfh2iph57hl9m39rc8jijb7dv"; 12 - }; 13 - 14 - outputs = [ "out" "devdoc" ]; 15 - 16 - patches = lib.optionals stdenv.isDarwin [ 17 - ./pygobject-2.0-fix-darwin.patch 18 - (fetchpatch { 19 - url = "https://github.com/macports/macports-ports/raw/f2975d5bbbc2459c661905c5a850cc661fa32f55/python/py-gobject/files/py-gobject-dynamic_lookup-11.patch"; 20 - sha256 = "sha256-mtlyu+La3+iC5iQAmVJzDA5E35XGaRQy/EKXzvrWRCg="; 21 - extraPrefix = ""; 22 - }) 23 - ]; 24 - 25 - configureFlags = [ "--disable-introspection" ]; 26 - 27 - nativeBuildInputs = [ pkg-config ]; 28 - buildInputs = [ glib ]; 29 - 30 - # in a "normal" setup, pygobject and pygtk are installed into the 31 - # same site-packages: we need a pth file for both. pygtk.py would be 32 - # used to select a specific version, in our setup it should have no 33 - # effect, but we leave it in case somebody expects and calls it. 34 - postInstall = lib.optionalString (!isPy3k) '' 35 - mv $out/lib/${python.libPrefix}/site-packages/{pygtk.pth,${pname}-${version}.pth} 36 - 37 - # Prevent wrapping of codegen files as these are meant to be 38 - # executed by the python program 39 - chmod a-x $out/share/pygobject/*/codegen/*.py 40 - ''; 41 - 42 - meta = with lib; { 43 - homepage = "https://pygobject.readthedocs.io/"; 44 - description = "Python bindings for GLib"; 45 - platforms = platforms.unix; 46 - }; 47 - }
···
pkgs/development/python-modules/pygobject/pygobject-2.0-fix-darwin.patch pkgs/development/python2-modules/pygobject/pygobject-2.0-fix-darwin.patch
+2 -2
pkgs/development/python-modules/pyswitchbot/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "pyswitchbot"; 12 - version = "0.22.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; ··· 18 owner = "Danielhiversen"; 19 repo = "pySwitchbot"; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-/FECjJ/iVx4CTtOgxpPBF0lZCctghmD4qUrQQYwmAkQ="; 22 }; 23 24 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "pyswitchbot"; 12 + version = "0.23.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.7"; ··· 18 owner = "Danielhiversen"; 19 repo = "pySwitchbot"; 20 rev = "refs/tags/${version}"; 21 + hash = "sha256-vBXOZ+AhhqWUD6XukmkHF4wjjJxXbK7r0V+qCuZGc6s="; 22 }; 23 24 propagatedBuildInputs = [
+3 -2
pkgs/development/python-modules/python-fsutil/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "python-fsutil"; 11 - version = "0.7.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "fabiocaccamo"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-2T2C2bIOAdxppZxqI+QGE2R/+46LoqB7eNdlt4sVAd8="; 21 }; 22 23 propagatedBuildInputs = [ ··· 45 meta = with lib; { 46 description = "Module with file-system utilities"; 47 homepage = "https://github.com/fabiocaccamo/python-fsutil"; 48 license = licenses.mit; 49 maintainers = with maintainers; [ fab ]; 50 };
··· 8 9 buildPythonPackage rec { 10 pname = "python-fsutil"; 11 + version = "0.8.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "fabiocaccamo"; 18 repo = pname; 19 rev = "refs/tags/${version}"; 20 + hash = "sha256-J5B5THfB/yPG1JSCpO2HTHTH0jn0nbKFzXpZMGJ/dKA="; 21 }; 22 23 propagatedBuildInputs = [ ··· 45 meta = with lib; { 46 description = "Module with file-system utilities"; 47 homepage = "https://github.com/fabiocaccamo/python-fsutil"; 48 + changelog = "https://github.com/fabiocaccamo/python-fsutil/blob/${version}/CHANGELOG.md"; 49 license = licenses.mit; 50 maintainers = with maintainers; [ fab ]; 51 };
+2 -2
pkgs/development/python-modules/teslajsonpy/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "teslajsonpy"; 18 - version = "3.4.1"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "zabuldon"; 25 repo = pname; 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-RPCzxcuD57ma306GLYsxxvvvZ0e8RTd/KxOeMSaQQQQ="; 28 }; 29 30 nativeBuildInputs = [
··· 15 16 buildPythonPackage rec { 17 pname = "teslajsonpy"; 18 + version = "3.5.0"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "zabuldon"; 25 repo = pname; 26 rev = "refs/tags/v${version}"; 27 + hash = "sha256-mjKbCy4WalB3kRk1x6bTBLARCW0vrUbSdcvvDP//TzM="; 28 }; 29 30 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/types-setuptools/default.nix
··· 5 6 buildPythonPackage rec { 7 pname = "types-setuptools"; 8 - version = "65.6.0.0"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 - sha256 = "sha256-MnC+rbmbxvpLmlzDUQbnFEpcMwKM5ImSsQ50rcjMXII="; 14 }; 15 16 # Module doesn't have tests
··· 5 6 buildPythonPackage rec { 7 pname = "types-setuptools"; 8 + version = "65.6.0.2"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit pname version; 13 + sha256 = "sha256-rWDM8B1ibel2IiREjzbBPgZg6GOv1twR2Xmzc5psfSQ="; 14 }; 15 16 # Module doesn't have tests
-37
pkgs/development/python2-modules/Pygments/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , fetchpatch 5 - , docutils 6 - }: 7 - 8 - buildPythonPackage rec { 9 - pname = "Pygments"; 10 - version = "2.5.2"; 11 - 12 - src = fetchPypi { 13 - inherit pname version; 14 - sha256 = "98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe"; 15 - }; 16 - 17 - patches = [ 18 - (fetchpatch { 19 - name = "CVE-2021-27291.patch"; 20 - url = "https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14.patch"; 21 - sha256 = "0ap7jgkmvkkzijabsgnfrwl376cjsxa4jmzvqysrkwpjq3q4rxpa"; 22 - excludes = ["CHANGES"]; 23 - }) 24 - ]; 25 - 26 - propagatedBuildInputs = [ docutils ]; 27 - 28 - # Circular dependency with sphinx 29 - doCheck = false; 30 - 31 - meta = { 32 - homepage = "https://pygments.org/"; 33 - description = "A generic syntax highlighter"; 34 - license = lib.licenses.bsd2; 35 - maintainers = with lib.maintainers; [ ]; 36 - }; 37 - }
···
-50
pkgs/development/python2-modules/boto3/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , botocore 5 - , jmespath 6 - , s3transfer 7 - , futures ? null 8 - , docutils 9 - , nose 10 - , mock 11 - , isPy3k 12 - }: 13 - 14 - buildPythonPackage rec { 15 - pname = "boto3"; 16 - version = "1.17.97"; # N.B: if you change this, change botocore and awscli to a matching version 17 - 18 - src = fetchPypi { 19 - inherit pname version; 20 - sha256 = "0ab5afc51461c30f27aebef944211d16f47697b98ff8d2e2f6e49e59584853bb"; 21 - }; 22 - 23 - propagatedBuildInputs = [ botocore jmespath s3transfer ] ++ lib.optionals (!isPy3k) [ futures ]; 24 - checkInputs = [ docutils nose mock ]; 25 - 26 - checkPhase = '' 27 - runHook preCheck 28 - # This method is not in mock. It might have appeared in some versions. 29 - sed -i 's/action.assert_called_once()/self.assertEqual(action.call_count, 1)/' \ 30 - tests/unit/resources/test_factory.py 31 - nosetests -d tests/unit --verbose 32 - runHook postCheck 33 - ''; 34 - 35 - # Network access 36 - doCheck = false; 37 - 38 - pythonImportsCheck = [ "boto3" ]; 39 - 40 - meta = { 41 - homepage = "https://github.com/boto/boto3"; 42 - license = lib.licenses.asl20; 43 - description = "AWS SDK for Python"; 44 - longDescription = '' 45 - Boto3 is the Amazon Web Services (AWS) Software Development Kit (SDK) for 46 - Python, which allows Python developers to write software that makes use of 47 - services like Amazon S3 and Amazon EC2. 48 - ''; 49 - }; 50 - }
···
-46
pkgs/development/python2-modules/botocore/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , python-dateutil 5 - , jmespath 6 - , docutils 7 - , simplejson 8 - , mock 9 - , nose 10 - , urllib3 11 - }: 12 - 13 - buildPythonPackage rec { 14 - pname = "botocore"; 15 - version = "1.20.97"; # N.B: if you change this, change boto3 and awscli to a matching version 16 - 17 - src = fetchPypi { 18 - inherit pname version; 19 - sha256 = "f7e119cf3e0f4a36100f0e983583afa91a84fb27c479a1716820aee4f2e190ab"; 20 - }; 21 - 22 - propagatedBuildInputs = [ 23 - python-dateutil 24 - jmespath 25 - docutils 26 - simplejson 27 - urllib3 28 - ]; 29 - 30 - checkInputs = [ mock nose ]; 31 - 32 - checkPhase = '' 33 - nosetests -v 34 - ''; 35 - 36 - # Network access 37 - doCheck = false; 38 - 39 - pythonImportsCheck = [ "botocore" ]; 40 - 41 - meta = with lib; { 42 - homepage = "https://github.com/boto/botocore"; 43 - license = licenses.asl20; 44 - description = "A low-level interface to a growing number of Amazon Web Services"; 45 - }; 46 - }
···
-34
pkgs/development/python2-modules/certifi/default.nix
··· 1 - { lib 2 - , fetchPypi 3 - , buildPythonPackage 4 - , python3 5 - }: 6 - 7 - let 8 - inherit (python3.pkgs) certifi; 9 - 10 - in buildPythonPackage rec { 11 - pname = "certifi"; 12 - version = "2019.11.28"; 13 - 14 - src = fetchPypi { 15 - inherit pname version; 16 - sha256 = "25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f"; 17 - }; 18 - 19 - postPatch = '' 20 - cp ${certifi.src}/certifi/cacert.pem certifi/cacert.pem 21 - ''; 22 - 23 - pythonImportsCheck = [ "certifi" ]; 24 - 25 - # no tests implemented 26 - doCheck = false; 27 - 28 - meta = with lib; { 29 - homepage = "https://github.com/certifi/python-certifi"; 30 - description = "Python package for providing Mozilla's CA Bundle"; 31 - license = licenses.isc; 32 - maintainers = with maintainers; [ ]; # NixOps team 33 - }; 34 - }
···
-29
pkgs/development/python2-modules/chardet/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, fetchpatch 2 - , pytest, pytest-runner, hypothesis }: 3 - 4 - buildPythonPackage rec { 5 - pname = "chardet"; 6 - version = "3.0.4"; 7 - 8 - src = fetchPypi { 9 - inherit pname version; 10 - sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4"; 11 - }; 12 - 13 - patches = [ 14 - # Add pytest 4 support. See: https://github.com/chardet/chardet/pull/174 15 - (fetchpatch { 16 - url = "https://github.com/chardet/chardet/commit/0561ddcedcd12ea1f98b7ddedb93686ed8a5ffa4.patch"; 17 - sha256 = "1y1xhjf32rdhq9sfz58pghwv794f3w2f2qcn8p6hp4pc8jsdrn2q"; 18 - }) 19 - ]; 20 - 21 - checkInputs = [ pytest pytest-runner hypothesis ]; 22 - 23 - meta = with lib; { 24 - homepage = "https://github.com/chardet/chardet"; 25 - description = "Universal encoding detector"; 26 - license = licenses.lgpl2; 27 - maintainers = with maintainers; [ domenkozar ]; 28 - }; 29 - }
···
-41
pkgs/development/python2-modules/google-apputils/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , isPy3k 5 - , pytz 6 - , gflags 7 - , python-dateutil 8 - , mox 9 - , python 10 - }: 11 - 12 - buildPythonPackage rec { 13 - pname = "google-apputils"; 14 - version = "0.4.2"; 15 - disabled = isPy3k; 16 - 17 - src = fetchPypi { 18 - inherit pname version; 19 - sha256 = "0afw0gxmh0yw5g7xsmw49gs8bbp0zyhbh6fr1b0h48f3a439v5a7"; 20 - }; 21 - 22 - preConfigure = '' 23 - sed -i '/ez_setup/d' setup.py 24 - ''; 25 - 26 - propagatedBuildInputs = [ pytz gflags python-dateutil mox ]; 27 - 28 - checkPhase = '' 29 - ${python.executable} setup.py google_test 30 - ''; 31 - 32 - # ERROR:root:Trying to access flag test_tmpdir before flags were parsed. 33 - doCheck = false; 34 - 35 - meta = with lib; { 36 - description = "Google Application Utilities for Python"; 37 - homepage = "https://github.com/google/google-apputils"; 38 - license = licenses.asl20; 39 - maintainers = with maintainers; [ SuperSandro2000 ]; 40 - }; 41 - }
···
-36
pkgs/development/python2-modules/gtkme/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , pkg-config 5 - , gobject-introspection 6 - , pygobject3 7 - , gtk3 8 - , glib 9 - }: 10 - 11 - buildPythonPackage rec { 12 - pname = "gtkme"; 13 - version = "1.5.3"; 14 - 15 - src = fetchPypi { 16 - inherit pname version; 17 - sha256 = "sha256-NIUgnbfcHjbPfsH3CF2Bywo8owrdsi1wqDoMxOa+2U4="; 18 - }; 19 - 20 - nativeBuildInputs = [ pkg-config gobject-introspection gtk3 ]; 21 - buildInputs = [ pygobject3 glib ]; 22 - propagatedBuildInputs = [ gtk3 ]; 23 - 24 - pythonImportsCheck = [ 25 - "gtkme" 26 - ]; 27 - 28 - meta = with lib; { 29 - description = "Manages an Application with Gtk windows, forms, lists and other complex items easily"; 30 - homepage = "https://gitlab.com/doctormo/gtkme"; 31 - license = licenses.gpl3Plus; 32 - maintainers = with maintainers; [ 33 - revol-xut 34 - ]; 35 - }; 36 - }
···
-23
pkgs/development/python2-modules/idna/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , pytestCheckHook 5 - }: 6 - 7 - buildPythonPackage rec { 8 - pname = "idna"; 9 - version = "2.10"; 10 - 11 - src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"; 14 - }; 15 - 16 - checkInputs = [ pytestCheckHook ]; 17 - 18 - meta = { 19 - homepage = "https://github.com/kjd/idna/"; 20 - description = "Internationalized Domain Names in Applications (IDNA)"; 21 - license = lib.licenses.bsd3; 22 - }; 23 - }
···
-29
pkgs/development/python2-modules/marisa/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, marisa, swig 2 - , isPy3k 3 - }: 4 - 5 - buildPythonPackage rec { 6 - pname = "marisa"; 7 - version = "1.3.40"; 8 - 9 - disabled = isPy3k; 10 - 11 - src = fetchFromGitHub { 12 - owner = "s-yata"; 13 - repo = "marisa-trie"; 14 - rev = "8dba9850b89d7828ebf33b8ab84df2b54d31260b"; 15 - sha256 = "0pkp9fggk53lxlicfwrskgx33qplc4v6njbavlnz4x4z63zd4933"; 16 - }; 17 - 18 - nativeBuildInputs = [ swig marisa ]; 19 - buildInputs = [ marisa ]; 20 - 21 - sourceRoot = "${src.name}/bindings/python"; 22 - 23 - meta = with lib; { 24 - description = "Python binding for marisa package (do not confuse with marisa-trie python bindings)"; 25 - homepage = "https://github.com/s-yata/marisa-trie"; 26 - license = with licenses; [ bsd2 lgpl2 ]; 27 - maintainers = with maintainers; [ vanzef ]; 28 - }; 29 - }
···
-59
pkgs/development/python2-modules/protobuf/default.nix
··· 1 - { buildPackages 2 - , lib 3 - , fetchpatch 4 - , python 5 - , buildPythonPackage 6 - , isPy37 7 - , protobuf 8 - , google-apputils ? null 9 - , six 10 - , pyext 11 - , isPy27 12 - , disabled 13 - , doCheck ? true 14 - }: 15 - 16 - buildPythonPackage { 17 - inherit (protobuf) pname src version; 18 - inherit disabled; 19 - doCheck = doCheck && !isPy27; # setuptools>=41.4 no longer collects correctly on python2 20 - 21 - propagatedBuildInputs = [ six ] ++ lib.optionals isPy27 [ google-apputils ]; 22 - propagatedNativeBuildInputs = [ buildPackages.protobuf ]; # For protoc. 23 - nativeBuildInputs = [ pyext ] ++ lib.optionals isPy27 [ google-apputils ]; 24 - buildInputs = [ protobuf ]; 25 - 26 - patches = lib.optional (isPy37 && (lib.versionOlder protobuf.version "3.6.1.2")) 27 - # Python 3.7 compatibility (not needed for protobuf >= 3.6.1.2) 28 - (fetchpatch { 29 - url = "https://github.com/protocolbuffers/protobuf/commit/0a59054c30e4f0ba10f10acfc1d7f3814c63e1a7.patch"; 30 - sha256 = "09hw22y3423v8bbmc9xm07znwdxfbya6rp78d4zqw6fisdvjkqf1"; 31 - stripLen = 1; 32 - }) 33 - ; 34 - 35 - prePatch = '' 36 - while [ ! -d python ]; do 37 - cd * 38 - done 39 - cd python 40 - ''; 41 - 42 - setupPyGlobalFlags = lib.optional (lib.versionAtLeast protobuf.version "2.6.0") 43 - "--cpp_implementation"; 44 - 45 - pythonImportsCheck = [ 46 - "google.protobuf" 47 - ] ++ lib.optionals (lib.versionAtLeast protobuf.version "2.6.0") [ 48 - "google.protobuf.internal._api_implementation" # Verify that --cpp_implementation worked 49 - ]; 50 - 51 - meta = with lib; { 52 - description = "Protocol Buffers are Google's data interchange format"; 53 - homepage = "https://developers.google.com/protocol-buffers/"; 54 - license = licenses.bsd3; 55 - maintainers = with maintainers; [ knedlsepp ]; 56 - }; 57 - 58 - passthru.protobuf = protobuf; 59 - }
···
+31 -16
pkgs/development/python2-modules/pygobject/default.nix
··· 1 - { lib, stdenv, fetchurl, buildPythonPackage, pkg-config, glib, gobject-introspection, 2 - pycairo, cairo, which, ncurses, meson, ninja, isPy3k, gnome }: 3 4 buildPythonPackage rec { 5 pname = "pygobject"; 6 - version = "3.36.1"; 7 - 8 format = "other"; 9 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "0b9CgC0c7BE7Wtqg579/N0W0RSHcIWNYjSdtXNYdcY8="; 13 }; 14 15 - outputs = [ "out" "dev" ]; 16 17 - mesonFlags = [ 18 - "-Dpython=python${if isPy3k then "3" else "2" }" 19 ]; 20 21 - nativeBuildInputs = [ pkg-config meson ninja gobject-introspection ]; 22 - buildInputs = [ glib gobject-introspection ] 23 - ++ lib.optionals stdenv.isDarwin [ which ncurses ]; 24 - propagatedBuildInputs = [ pycairo cairo ]; 25 26 meta = with lib; { 27 homepage = "https://pygobject.readthedocs.io/"; 28 - description = "Python bindings for Glib"; 29 license = licenses.gpl2; 30 - maintainers = with maintainers; [ orivej ]; 31 - platforms = platforms.unix; 32 }; 33 }
··· 1 + { lib, stdenv, fetchurl, fetchpatch, python, buildPythonPackage, pkg-config, glib, isPy3k, pythonAtLeast }: 2 3 buildPythonPackage rec { 4 pname = "pygobject"; 5 + version = "2.28.7"; 6 format = "other"; 7 + disabled = pythonAtLeast "3.9"; 8 9 src = fetchurl { 10 + url = "mirror://gnome/sources/pygobject/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + sha256 = "0nkam61rsn7y3wik3vw46wk5q2cjfh2iph57hl9m39rc8jijb7dv"; 12 }; 13 14 + outputs = [ "out" "devdoc" ]; 15 16 + patches = lib.optionals stdenv.isDarwin [ 17 + ./pygobject-2.0-fix-darwin.patch 18 + (fetchpatch { 19 + url = "https://github.com/macports/macports-ports/raw/f2975d5bbbc2459c661905c5a850cc661fa32f55/python/py-gobject/files/py-gobject-dynamic_lookup-11.patch"; 20 + sha256 = "sha256-mtlyu+La3+iC5iQAmVJzDA5E35XGaRQy/EKXzvrWRCg="; 21 + extraPrefix = ""; 22 + }) 23 ]; 24 25 + configureFlags = [ "--disable-introspection" ]; 26 + 27 + nativeBuildInputs = [ pkg-config ]; 28 + buildInputs = [ glib ]; 29 + 30 + # in a "normal" setup, pygobject and pygtk are installed into the 31 + # same site-packages: we need a pth file for both. pygtk.py would be 32 + # used to select a specific version, in our setup it should have no 33 + # effect, but we leave it in case somebody expects and calls it. 34 + postInstall = lib.optionalString (!isPy3k) '' 35 + mv $out/${python.sitePackages}/{pygtk.pth,${pname}-${version}.pth} 36 + 37 + # Prevent wrapping of codegen files as these are meant to be 38 + # executed by the python program 39 + chmod a-x $out/share/pygobject/*/codegen/*.py 40 + ''; 41 42 meta = with lib; { 43 homepage = "https://pygobject.readthedocs.io/"; 44 + description = "Python bindings for GLib"; 45 license = licenses.gpl2; 46 + maintainers = with maintainers; [ ]; 47 }; 48 }
-26
pkgs/development/python2-modules/pyroma/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , docutils, pygments, setuptools 3 - }: 4 - 5 - buildPythonPackage rec { 6 - pname = "pyroma"; 7 - version = "2.6.1"; 8 - 9 - src = fetchPypi { 10 - inherit pname version; 11 - sha256 = "2527423e3a24ccd56951f3ce1b0ebbcc4fa0518c82fca882e696c78726ab9c2f"; 12 - }; 13 - 14 - postPatch = '' 15 - substituteInPlace setup.py \ 16 - --replace "pygments < 2.6" "pygments" 17 - ''; 18 - 19 - propagatedBuildInputs = [ docutils pygments setuptools ]; 20 - 21 - meta = with lib; { 22 - description = "Test your project's packaging friendliness"; 23 - homepage = "https://github.com/regebro/pyroma"; 24 - license = licenses.mit; 25 - }; 26 - }
···
-57
pkgs/development/python2-modules/pysqlite/default.nix
··· 1 - { lib, stdenv 2 - , buildPythonPackage 3 - , fetchPypi 4 - , isPy3k 5 - , pkgs 6 - }: 7 - 8 - buildPythonPackage rec { 9 - pname = "pysqlite"; 10 - version = "2.8.3"; 11 - 12 - src = fetchPypi { 13 - inherit pname version; 14 - sha256 = "17d3335863e8cf8392eea71add33dab3f96d060666fe68ab7382469d307f4490"; 15 - }; 16 - 17 - # Need to use the builtin sqlite3 on Python 3 18 - disabled = isPy3k; 19 - 20 - # Since the `.egg' file is zipped, the `NEEDED' of the `.so' files 21 - # it contains is not taken into account. Thus, we must explicitly make 22 - # it a propagated input. 23 - propagatedBuildInputs = [ pkgs.sqlite ]; 24 - 25 - patchPhase = '' 26 - substituteInPlace "setup.cfg" \ 27 - --replace "/usr/local/include" "${pkgs.sqlite.dev}/include" \ 28 - --replace "/usr/local/lib" "${pkgs.sqlite.out}/lib" 29 - ${lib.optionalString (!stdenv.isDarwin) ''export LDSHARED="$CC -pthread -shared"''} 30 - ''; 31 - 32 - meta = with lib; { 33 - homepage = "https://pysqlite.org/"; 34 - description = "Python bindings for the SQLite embedded relational database engine"; 35 - longDescription = '' 36 - pysqlite is a DB-API 2.0-compliant database interface for SQLite. 37 - 38 - SQLite is a relational database management system contained in 39 - a relatively small C library. It is a public domain project 40 - created by D. Richard Hipp. Unlike the usual client-server 41 - paradigm, the SQLite engine is not a standalone process with 42 - which the program communicates, but is linked in and thus 43 - becomes an integral part of the program. The library 44 - implements most of SQL-92 standard, including transactions, 45 - triggers and most of complex queries. 46 - 47 - pysqlite makes this powerful embedded SQL engine available to 48 - Python programmers. It stays compatible with the Python 49 - database API specification 2.0 as much as possible, but also 50 - exposes most of SQLite's native API, so that it is for example 51 - possible to create user-defined SQL functions and aggregates 52 - in Python. 53 - ''; 54 - license = licenses.bsd3; 55 - }; 56 - 57 - }
···
-30
pkgs/development/python2-modules/pytest-runner/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, setuptools-scm, pytest }: 2 - 3 - buildPythonPackage rec { 4 - pname = "pytest-runner"; 5 - version = "5.2"; 6 - 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "96c7e73ead7b93e388c5d614770d2bae6526efd997757d3543fe17b557a0942b"; 10 - }; 11 - 12 - nativeBuildInputs = [ setuptools-scm pytest ]; 13 - 14 - postPatch = '' 15 - rm pytest.ini 16 - ''; 17 - 18 - checkPhase = '' 19 - py.test tests 20 - ''; 21 - 22 - # Fixture not found 23 - doCheck = false; 24 - 25 - meta = with lib; { 26 - description = "Invoke py.test as distutils command with dependency resolution"; 27 - homepage = "https://github.com/pytest-dev/pytest-runner"; 28 - license = licenses.mit; 29 - }; 30 - }
···
-50
pkgs/development/python2-modules/s3transfer/default.nix
··· 1 - { lib 2 - , fetchPypi 3 - , pythonOlder 4 - , buildPythonPackage 5 - , docutils 6 - , mock 7 - , nose 8 - , coverage 9 - , wheel 10 - , botocore 11 - , futures ? null 12 - }: 13 - 14 - buildPythonPackage rec { 15 - pname = "s3transfer"; 16 - version = "0.4.2"; 17 - 18 - src = fetchPypi { 19 - inherit pname version; 20 - sha256 = "sha256-ywIvSxZVHt67sxo3fT8JYA262nNj2MXbeXbn9Hcy4bI="; 21 - }; 22 - 23 - propagatedBuildInputs = 24 - [ 25 - botocore 26 - ] ++ lib.optional (pythonOlder "3") futures; 27 - 28 - buildInputs = [ 29 - docutils 30 - mock 31 - nose 32 - coverage 33 - wheel 34 - ]; 35 - 36 - checkPhase = '' 37 - pushd s3transfer/tests 38 - nosetests -v unit/ functional/ 39 - popd 40 - ''; 41 - 42 - # version on pypi has no tests/ dir 43 - doCheck = false; 44 - 45 - meta = with lib; { 46 - homepage = "https://github.com/boto/s3transfer"; 47 - license = licenses.asl20; 48 - description = "A library for managing Amazon S3 transfers"; 49 - }; 50 - }
···
-28
pkgs/development/python2-modules/scandir/add-aarch64-darwin-dirent.patch
··· 1 - diff --git a/scandir.py b/scandir.py 2 - index 3f602fb..40af3e5 100644 3 - --- a/scandir.py 4 - +++ b/scandir.py 5 - @@ -23,6 +23,7 @@ from os import listdir, lstat, stat, strerror 6 - from os.path import join, islink 7 - from stat import S_IFDIR, S_IFLNK, S_IFREG 8 - import collections 9 - +import platform 10 - import sys 11 - 12 - try: 13 - @@ -432,6 +433,15 @@ elif sys.platform.startswith(('linux', 'darwin', 'sunos5')) or 'bsd' in sys.plat 14 - ('__d_padding', ctypes.c_uint8 * 4), 15 - ('d_name', ctypes.c_char * 256), 16 - ) 17 - + elif 'darwin' in sys.platform and 'arm64' in platform.machine(): 18 - + _fields_ = ( 19 - + ('d_ino', ctypes.c_uint64), 20 - + ('d_off', ctypes.c_uint64), 21 - + ('d_reclen', ctypes.c_uint16), 22 - + ('d_namlen', ctypes.c_uint16), 23 - + ('d_type', ctypes.c_uint8), 24 - + ('d_name', ctypes.c_char * 1024), 25 - + ) 26 - else: 27 - _fields_ = ( 28 - ('d_ino', ctypes.c_uint32), # must be uint32, not ulong
···
-24
pkgs/development/python2-modules/scandir/default.nix
··· 1 - { lib, python, buildPythonPackage, fetchPypi }: 2 - 3 - buildPythonPackage rec { 4 - pname = "scandir"; 5 - version = "1.10.0"; 6 - 7 - src = fetchPypi { 8 - inherit pname version; 9 - sha256 = "1bkqwmf056pkchf05ywbnf659wqlp6lljcdb0y88wr9f0vv32ijd"; 10 - }; 11 - 12 - patches = [ 13 - ./add-aarch64-darwin-dirent.patch 14 - ]; 15 - 16 - checkPhase = "${python.interpreter} test/run_tests.py"; 17 - 18 - meta = with lib; { 19 - description = "A better directory iterator and faster os.walk()"; 20 - homepage = "https://github.com/benhoyt/scandir"; 21 - license = licenses.gpl3; 22 - maintainers = with maintainers; [ abbradar ]; 23 - }; 24 - }
···
-82
pkgs/development/python2-modules/sphinx/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , pytest 5 - , simplejson 6 - , mock 7 - , glibcLocales 8 - , html5lib 9 - , pythonOlder 10 - , enum34 11 - , python 12 - , docutils 13 - , jinja2 14 - , pygments 15 - , alabaster 16 - , babel 17 - , snowballstemmer 18 - , six 19 - , sqlalchemy 20 - , whoosh 21 - , imagesize 22 - , requests 23 - , typing 24 - , sphinxcontrib-websupport 25 - , setuptools 26 - }: 27 - 28 - buildPythonPackage rec { 29 - pname = "sphinx"; 30 - version = "1.8.5"; 31 - src = fetchPypi { 32 - pname = "Sphinx"; 33 - inherit version; 34 - sha256 = "c7658aab75c920288a8cf6f09f244c6cfdae30d82d803ac1634d9f223a80ca08"; 35 - }; 36 - LC_ALL = "en_US.UTF-8"; 37 - 38 - checkInputs = [ pytest ]; 39 - buildInputs = [ simplejson mock glibcLocales html5lib ] ++ lib.optional (pythonOlder "3.4") enum34; 40 - # Disable two tests that require network access. 41 - checkPhase = '' 42 - cd tests; ${python.interpreter} run.py --ignore py35 -k 'not test_defaults and not test_anchors_ignored' 43 - ''; 44 - propagatedBuildInputs = [ 45 - docutils 46 - jinja2 47 - pygments 48 - alabaster 49 - babel 50 - setuptools 51 - snowballstemmer 52 - six 53 - sphinxcontrib-websupport 54 - sqlalchemy 55 - whoosh 56 - imagesize 57 - requests 58 - ] ++ lib.optional (pythonOlder "3.5") typing; 59 - 60 - # Lots of tests. Needs network as well at some point. 61 - doCheck = false; 62 - 63 - patches = [ 64 - # Since pygments 2.5, PythonLexer refers to python3. If we want to use 65 - # python2, we need to explicitly specify Python2Lexer. 66 - # Not upstreamed since there doesn't seem to be any upstream maintenance 67 - # branch for 1.8 (and this patch doesn't make any sense for 2.x). 68 - ./python2-lexer.patch 69 - ]; 70 - # https://github.com/NixOS/nixpkgs/issues/22501 71 - # Do not run `python sphinx-build arguments` but `sphinx-build arguments`. 72 - postPatch = '' 73 - substituteInPlace sphinx/make_mode.py --replace "sys.executable, " "" 74 - ''; 75 - 76 - meta = { 77 - description = "A tool that makes it easy to create intelligent and beautiful documentation for Python projects"; 78 - homepage = "http://sphinx.pocoo.org/"; 79 - license = lib.licenses.bsd3; 80 - maintainers = with lib.maintainers; [ ]; 81 - }; 82 - }
···
-22
pkgs/development/python2-modules/sphinx/python2-lexer.patch
··· 1 - diff --git a/sphinx/highlighting.py b/sphinx/highlighting.py 2 - index ac2bd1b06..63ca52de2 100644 3 - --- a/sphinx/highlighting.py 4 - +++ b/sphinx/highlighting.py 5 - @@ -16,7 +16,7 @@ from pygments.filters import ErrorToken 6 - from pygments.formatters import HtmlFormatter, LatexFormatter 7 - from pygments.lexer import Lexer # NOQA 8 - from pygments.lexers import get_lexer_by_name, guess_lexer 9 - -from pygments.lexers import PythonLexer, Python3Lexer, PythonConsoleLexer, \ 10 - +from pygments.lexers import Python2Lexer, Python3Lexer, PythonConsoleLexer, \ 11 - CLexer, TextLexer, RstLexer 12 - from pygments.styles import get_style_by_name 13 - from pygments.util import ClassNotFound 14 - @@ -40,7 +40,7 @@ logger = logging.getLogger(__name__) 15 - 16 - lexers = dict( 17 - none = TextLexer(stripnl=False), 18 - - python = PythonLexer(stripnl=False), 19 - + python = Python2Lexer(stripnl=False), 20 - python3 = Python3Lexer(stripnl=False), 21 - pycon = PythonConsoleLexer(stripnl=False), 22 - pycon3 = PythonConsoleLexer(python3=True, stripnl=False),
···
-25
pkgs/development/python2-modules/sphinxcontrib-websupport/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , six 5 - }: 6 - 7 - buildPythonPackage rec { 8 - pname = "sphinxcontrib-websupport"; 9 - version = "1.1.2"; 10 - 11 - src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "1501befb0fdf1d1c29a800fdbf4ef5dc5369377300ddbdd16d2cd40e54c6eefc"; 14 - }; 15 - 16 - propagatedBuildInputs = [ six ]; 17 - 18 - doCheck = false; 19 - 20 - meta = { 21 - description = "Sphinx API for Web Apps"; 22 - homepage = "http://sphinx-doc.org/"; 23 - license = lib.licenses.bsd2; 24 - }; 25 - }
···
-32
pkgs/development/python2-modules/typing/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, pythonOlder, isPy3k, isPyPy, unittestCheckHook 2 - , pythonAtLeast }: 3 - 4 - let 5 - testDir = if isPy3k then "src" else "python2"; 6 - 7 - in buildPythonPackage rec { 8 - pname = "typing"; 9 - version = "3.10.0.0"; 10 - 11 - src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "13b4ad211f54ddbf93e5901a9967b1e07720c1d1b78d596ac6a439641aa1b130"; 14 - }; 15 - 16 - disabled = pythonAtLeast "3.5"; 17 - 18 - # Error for Python3.6: ImportError: cannot import name 'ann_module' 19 - # See https://github.com/python/typing/pull/280 20 - # Also, don't bother on PyPy: AssertionError: TypeError not raised 21 - doCheck = pythonOlder "3.6" && !isPyPy; 22 - 23 - checkInputs = [ unittestCheckHook ]; 24 - 25 - unittestFlagsArray = [ "-s" testDir ]; 26 - 27 - meta = with lib; { 28 - description = "Backport of typing module to Python versions older than 3.5"; 29 - homepage = "https://docs.python.org/3/library/typing.html"; 30 - license = licenses.psfl; 31 - }; 32 - }
···
+5 -5
pkgs/development/tools/build-managers/bmake/default.nix
··· 3 , fetchurl 4 , fetchpatch 5 , getopt 6 - , tzdata 7 , ksh 8 , pkgsMusl # for passthru.tests 9 }: 10 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "bmake"; 13 - version = "20220726"; 14 15 src = fetchurl { 16 url = "http://www.crufty.net/ftp/pub/sjg/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; 17 - hash = "sha256-G/N3B4lyJyHcp7C/+K/EqVINog8CGbt7xSNQrwEz8KA="; 18 }; 19 20 # Make tests work with musl ··· 41 (fetchpatch { 42 name = "separate-tests.patch"; 43 url = "https://raw.githubusercontent.com/alpinelinux/aports/2a36f7b79df44136c4d2b8e9512f908af65adfee/community/bmake/separate-tests.patch"; 44 - sha256 = "00s76jwyr83c6rkvq67b1lxs8jhm0gj2rjgy77xazqr5400slj9a"; 45 }) 46 # add a shebang to bmake's install(1) replacement 47 (fetchpatch { 48 name = "install-sh.patch"; 49 url = "https://raw.githubusercontent.com/alpinelinux/aports/34cd8c45397c63c041cf3cbe1ba5232fd9331196/community/bmake/install-sh.patch"; 50 - sha256 = "0z8icd6akb96r4cksqnhynkn591vbxlmrrs4w6wil3r6ggk6mwa6"; 51 }) 52 ]; 53
··· 3 , fetchurl 4 , fetchpatch 5 , getopt 6 , ksh 7 + , tzdata 8 , pkgsMusl # for passthru.tests 9 }: 10 11 stdenv.mkDerivation (finalAttrs: { 12 pname = "bmake"; 13 + version = "20220928"; 14 15 src = fetchurl { 16 url = "http://www.crufty.net/ftp/pub/sjg/${finalAttrs.pname}-${finalAttrs.version}.tar.gz"; 17 + hash = "sha256-yAS3feP+uOMd7ipMn7Hp7CTFo0dk56KBXIi07QFlDpA="; 18 }; 19 20 # Make tests work with musl ··· 41 (fetchpatch { 42 name = "separate-tests.patch"; 43 url = "https://raw.githubusercontent.com/alpinelinux/aports/2a36f7b79df44136c4d2b8e9512f908af65adfee/community/bmake/separate-tests.patch"; 44 + hash = "sha256-KkmqASAl46/6Of7JLOQDFUqkOw3rGLxnNmyg7Lk0RwM="; 45 }) 46 # add a shebang to bmake's install(1) replacement 47 (fetchpatch { 48 name = "install-sh.patch"; 49 url = "https://raw.githubusercontent.com/alpinelinux/aports/34cd8c45397c63c041cf3cbe1ba5232fd9331196/community/bmake/install-sh.patch"; 50 + hash = "sha256-RvFq5nsmDxq54UTnXGlfO6Rip/XQYj0ZySatqUxjEX0="; 51 }) 52 ]; 53
+3
pkgs/development/tools/poetry2nix/poetry2nix/pkgs/poetry/default.nix
··· 52 meta = with lib; { 53 inherit (python.meta) platforms; 54 maintainers = with maintainers; [ adisbladis jakewaksbaum ]; 55 }; 56 }
··· 52 meta = with lib; { 53 inherit (python.meta) platforms; 54 maintainers = with maintainers; [ adisbladis jakewaksbaum ]; 55 + knownVulnerabilities = [ 56 + "CVE-2022-42966" # cleo version in poetry.lock is vulnerable 57 + ]; 58 }; 59 }
+6 -6
pkgs/development/tools/rust/cargo-tally/default.nix
··· 1 - { lib, rustPlatform, fetchCrate, stdenv, DiskArbitration, Foundation, IOKit }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-tally"; 5 - version = "1.0.17"; 6 7 src = fetchCrate { 8 inherit pname version; 9 - sha256 = "sha256-vtVE7BITzYP9vhSj7HfDm0Mar2bRPmeW1/mE977vvrA="; 10 }; 11 12 - cargoSha256 = "sha256-VHlnRk5EXZjf+EW/clDOFA+ohh9SqJiRvq1xQcP0Wrk="; 13 14 - buildInputs = lib.optionals stdenv.isDarwin [ 15 DiskArbitration 16 Foundation 17 IOKit 18 - ]; 19 20 meta = with lib; { 21 description = "Graph the number of crates that depend on your crate over time";
··· 1 + { lib, rustPlatform, fetchCrate, stdenv, darwin }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-tally"; 5 + version = "1.0.18"; 6 7 src = fetchCrate { 8 inherit pname version; 9 + sha256 = "sha256-BlWPdZb85XaTGV6ZE3XRVKHJyXimfrezhRyqJVmCFMY="; 10 }; 11 12 + cargoSha256 = "sha256-1qtlsItLP8MdxebgktzTr3R4Kq+PBIAiHGaikbQ796E="; 13 14 + buildInputs = lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [ 15 DiskArbitration 16 Foundation 17 IOKit 18 + ]); 19 20 meta = with lib; { 21 description = "Graph the number of crates that depend on your crate over time";
+5 -5
pkgs/development/web/bun/default.nix
··· 12 }: 13 14 stdenvNoCC.mkDerivation rec { 15 - version = "0.2.2"; 16 pname = "bun"; 17 18 src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); ··· 33 sources = { 34 "aarch64-darwin" = fetchurl { 35 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; 36 - sha256 = "IIy5ZEx/+StAhtRcGqM3uvvEqu4wGzGUls0K/ot4jRI="; 37 }; 38 "aarch64-linux" = fetchurl { 39 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; 40 - sha256 = "5cScLXujNm14+SCr8OcO93RDL3EfAjsuAzfcwj+EMKs="; 41 }; 42 "x86_64-darwin" = fetchurl { 43 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; 44 - sha256 = "3PdLVz4qTJQHmM9laL413xnZaSuD6xlaSy8cuJ9M8us="; 45 }; 46 "x86_64-linux" = fetchurl { 47 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; 48 - sha256 = "eVEopSvyjzY8J3q52wowTlSVHZ4s1lIc8/yU6Ya+0QU="; 49 }; 50 }; 51 updateScript = writeShellScript "update-bun" ''
··· 12 }: 13 14 stdenvNoCC.mkDerivation rec { 15 + version = "0.3.0"; 16 pname = "bun"; 17 18 src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); ··· 33 sources = { 34 "aarch64-darwin" = fetchurl { 35 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; 36 + sha256 = "CPoSo8Kqu87c0bF4J2KSoamz6bsfS/DnkYqRi+XL8Qw="; 37 }; 38 "aarch64-linux" = fetchurl { 39 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; 40 + sha256 = "0ymZ4cYJn3Qth4jiTeXuAAsY0wFrYO2OHumY5WLamME="; 41 }; 42 "x86_64-darwin" = fetchurl { 43 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; 44 + sha256 = "8f5w+wu1vId0R7UQsdbi/yopw1R00lR9ibEAOYwUglI="; 45 }; 46 "x86_64-linux" = fetchurl { 47 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; 48 + sha256 = "bnuz+n8pAhBUgQKImCUKRZCwIqGHHaB3KtZOVfqy4Zw="; 49 }; 50 }; 51 updateScript = writeShellScript "update-bun" ''
+45
pkgs/os-specific/darwin/pam-reattach/default.nix
···
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, openpam, darwin }: 2 + 3 + let 4 + sdk = 5 + if stdenv.isAarch64 6 + then null 7 + else darwin.apple_sdk.sdk; 8 + in 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "pam_reattach"; 12 + version = "1.3"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "fabianishere"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "1k77kxqszdwgrb50w7algj22pb4fy5b9649cjb08zq9fqrzxcbz7"; 19 + }; 20 + 21 + cmakeFlags = [ 22 + "-DCMAKE_OSX_ARCHITECTURES=${ 23 + if stdenv.hostPlatform.system == "x86_64-darwin" then 24 + "x86_64" 25 + else 26 + "arm64" 27 + }" 28 + "-DENABLE_CLI=ON" 29 + ] 30 + ++ lib.optional (sdk != null) 31 + "-DCMAKE_LIBRARY_PATH=${sdk}/usr/lib"; 32 + 33 + buildInputs = [ openpam ] 34 + ++ lib.optional (sdk != null) sdk; 35 + 36 + nativeBuildInputs = [ cmake ]; 37 + 38 + meta = with lib; { 39 + homepage = "https://github.com/fabianishere/pam_reattach"; 40 + description = "Reattach to the user's GUI session on macOS during authentication (for Touch ID support in tmux)"; 41 + license = licenses.mit; 42 + maintainers = with maintainers; [ lockejan ]; 43 + platforms = platforms.darwin; 44 + }; 45 + }
+2 -2
pkgs/servers/jackett/default.nix
··· 9 10 buildDotnetModule rec { 11 pname = "jackett"; 12 - version = "0.20.2325"; 13 14 src = fetchFromGitHub { 15 owner = pname; 16 repo = pname; 17 rev = "v${version}"; 18 - sha256 = "LFdgvLFdVSkSaJKonbFz+Wi6+BWkIcybNLvW0C21FOU="; 19 }; 20 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
··· 9 10 buildDotnetModule rec { 11 pname = "jackett"; 12 + version = "0.20.2352"; 13 14 src = fetchFromGitHub { 15 owner = pname; 16 repo = pname; 17 rev = "v${version}"; 18 + sha256 = "vxe5B+R5zxKlvnxnXXw9tfgtXGNlEZF3z14NZ7pA3zE="; 19 }; 20 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
+1
pkgs/servers/jackett/deps.nix
··· 181 (fetchNuGet { pname = "Newtonsoft.Json"; version = "10.0.1"; sha256 = "15ncqic3p2rzs8q8ppi0irl2miq75kilw4lh8yfgjq96id0ds3hv"; }) 182 (fetchNuGet { pname = "Newtonsoft.Json"; version = "11.0.2"; sha256 = "1784xi44f4k8v1fr696hsccmwpy94bz7kixxqlri98zhcxn406b2"; }) 183 (fetchNuGet { pname = "Newtonsoft.Json"; version = "13.0.1"; sha256 = "0fijg0w6iwap8gvzyjnndds0q4b8anwxxvik7y8vgq97dram4srb"; }) 184 (fetchNuGet { pname = "Newtonsoft.Json"; version = "9.0.1"; sha256 = "0mcy0i7pnfpqm4pcaiyzzji4g0c8i3a5gjz28rrr28110np8304r"; }) 185 (fetchNuGet { pname = "Newtonsoft.Json.Bson"; version = "1.0.1"; sha256 = "1r1hvj5gjl466bya2bfl5aaj8rbwyf5x1msg710wf3k2llbci1xa"; }) 186 (fetchNuGet { pname = "Newtonsoft.Json.Bson"; version = "1.0.2"; sha256 = "0c27bhy9x3c2n26inq32kmp6drpm71n6mqnmcr19wrlcaihglj35"; })
··· 181 (fetchNuGet { pname = "Newtonsoft.Json"; version = "10.0.1"; sha256 = "15ncqic3p2rzs8q8ppi0irl2miq75kilw4lh8yfgjq96id0ds3hv"; }) 182 (fetchNuGet { pname = "Newtonsoft.Json"; version = "11.0.2"; sha256 = "1784xi44f4k8v1fr696hsccmwpy94bz7kixxqlri98zhcxn406b2"; }) 183 (fetchNuGet { pname = "Newtonsoft.Json"; version = "13.0.1"; sha256 = "0fijg0w6iwap8gvzyjnndds0q4b8anwxxvik7y8vgq97dram4srb"; }) 184 + (fetchNuGet { pname = "Newtonsoft.Json"; version = "13.0.2"; sha256 = "1p9splg1min274dpz7xdfgzrwkyfd3xlkygwpr1xgjvvyjvs6b0i"; }) 185 (fetchNuGet { pname = "Newtonsoft.Json"; version = "9.0.1"; sha256 = "0mcy0i7pnfpqm4pcaiyzzji4g0c8i3a5gjz28rrr28110np8304r"; }) 186 (fetchNuGet { pname = "Newtonsoft.Json.Bson"; version = "1.0.1"; sha256 = "1r1hvj5gjl466bya2bfl5aaj8rbwyf5x1msg710wf3k2llbci1xa"; }) 187 (fetchNuGet { pname = "Newtonsoft.Json.Bson"; version = "1.0.2"; sha256 = "0c27bhy9x3c2n26inq32kmp6drpm71n6mqnmcr19wrlcaihglj35"; })
+2 -2
pkgs/servers/matrix-synapse/matrix-appservice-slack/package.json
··· 1 { 2 "name": "matrix-appservice-slack", 3 - "version": "2.0.1", 4 "description": "A Matrix <--> Slack bridge", 5 "engines": { 6 "node": ">=16 <=18" ··· 38 "Slackdown": "git+https://Half-Shot@github.com/half-shot/slackdown.git", 39 "axios": "^0.27.2", 40 "escape-string-regexp": "^4.0.0", 41 - "matrix-appservice-bridge": "^5.1.0", 42 "minimist": "^1.2.6", 43 "nedb": "^1.8.0", 44 "node-emoji": "^1.10.0",
··· 1 { 2 "name": "matrix-appservice-slack", 3 + "version": "2.0.2", 4 "description": "A Matrix <--> Slack bridge", 5 "engines": { 6 "node": ">=16 <=18" ··· 38 "Slackdown": "git+https://Half-Shot@github.com/half-shot/slackdown.git", 39 "axios": "^0.27.2", 40 "escape-string-regexp": "^4.0.0", 41 + "matrix-appservice-bridge": "^6.0.0", 42 "minimist": "^1.2.6", 43 "nedb": "^1.8.0", 44 "node-emoji": "^1.10.0",
+3 -3
pkgs/servers/matrix-synapse/matrix-appservice-slack/pin.json
··· 1 { 2 - "version": "2.0.1", 3 - "srcHash": "N7EzhqKL3GiuoU2d/Y33eZhKJSCvtLDRVO40mpIBEkw=", 4 - "yarnHash": "1d9kyrzcs1c54xk0yl8n3jp61l3n8dzph1d5a4daifa7ad635hv7" 5 }
··· 1 { 2 + "version": "2.0.2", 3 + "srcHash": "Z8PQuAOQbQMxmso/KV9n8fu2FqzqLsADqLczmm584QQ=", 4 + "yarnHash": "1ngmgr9li7jagvzfl0jq4bxqw0q1sdqh8k9wlar6q292263g287z" 5 }
+4
pkgs/servers/search/manticoresearch/default.nix
··· 58 59 cmakeFlags = [ 60 "-DWITH_GALERA=0" 61 ]; 62 63 meta = with lib; { 64 description = "Easy to use open source fast database for search"; 65 homepage = "https://manticoresearch.com"; 66 license = licenses.gpl2; 67 maintainers = with maintainers; [ jdelStrother ]; 68 platforms = platforms.all; 69 };
··· 58 59 cmakeFlags = [ 60 "-DWITH_GALERA=0" 61 + "-DWITH_MYSQL=1" 62 + "-DMYSQL_INCLUDE_DIR=${mariadb-connector-c.dev}/include/mariadb" 63 + "-DMYSQL_LIB=${mariadb-connector-c.out}/lib/mariadb/libmysqlclient.a" 64 ]; 65 66 meta = with lib; { 67 description = "Easy to use open source fast database for search"; 68 homepage = "https://manticoresearch.com"; 69 license = licenses.gpl2; 70 + mainProgram = "searchd"; 71 maintainers = with maintainers; [ jdelStrother ]; 72 platforms = platforms.all; 73 };
+2 -2
pkgs/servers/web-apps/freshrss/default.nix
··· 8 9 stdenvNoCC.mkDerivation rec { 10 pname = "FreshRSS"; 11 - version = "1.20.1"; 12 13 src = fetchFromGitHub { 14 owner = "FreshRSS"; 15 repo = "FreshRSS"; 16 rev = version; 17 - hash = "sha256-hpxBPYNFw5Wz07SdYT9GLX8XicAtKi82HjlLCccQMtk="; 18 }; 19 20 passthru.tests = nixosTests.freshrss;
··· 8 9 stdenvNoCC.mkDerivation rec { 10 pname = "FreshRSS"; 11 + version = "1.20.2"; 12 13 src = fetchFromGitHub { 14 owner = "FreshRSS"; 15 repo = "FreshRSS"; 16 rev = version; 17 + hash = "sha256-l1SOaQA4C8yXbrfi7pEE1PpUO4DVmLTTDUSACCSQ5LE="; 18 }; 19 20 passthru.tests = nixosTests.freshrss;
+2 -2
pkgs/tools/audio/abcmidi/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "abcMIDI"; 5 - version = "2022.09.01"; 6 7 src = fetchzip { 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 - hash = "sha256-to9hbhW7t5On4PrQEm2CDrpexaMB4frbVQOdS4DGseg="; 10 }; 11 12 meta = with lib; {
··· 2 3 stdenv.mkDerivation rec { 4 pname = "abcMIDI"; 5 + version = "2022.12.05"; 6 7 src = fetchzip { 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 + hash = "sha256-DLPew6pz+ABgdxSdHSX62VieRnTvbaj2sY3ujti1aj0="; 10 }; 11 12 meta = with lib; {
+2 -2
pkgs/tools/graphics/adriconf/default.nix
··· 15 16 stdenv.mkDerivation rec { 17 pname = "adriconf"; 18 - version = "2.5.0"; 19 20 src = fetchFromGitLab { 21 domain = "gitlab.freedesktop.org"; 22 owner = "mesa"; 23 repo = pname; 24 rev = "v${version}"; 25 - sha256 = "sha256-nxqrs8c1sRruZLwFwK/JfXQPfpEq08Pe2n7ojQkH3SM="; 26 }; 27 28 nativeBuildInputs = [ cmake pkg-config ];
··· 15 16 stdenv.mkDerivation rec { 17 pname = "adriconf"; 18 + version = "2.5.1"; 19 20 src = fetchFromGitLab { 21 domain = "gitlab.freedesktop.org"; 22 owner = "mesa"; 23 repo = pname; 24 rev = "v${version}"; 25 + sha256 = "sha256-RhHmrjb5TvJnZ6R0aefqdmwMBpu4iTrxSHru7JAwrgs="; 26 }; 27 28 nativeBuildInputs = [ cmake pkg-config ];
+4 -7
pkgs/tools/misc/fd/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "fd"; 5 - version = "8.5.3"; 6 7 src = fetchFromGitHub { 8 owner = "sharkdp"; 9 repo = "fd"; 10 - # On the next release, go back to `rev = "v${version}";` 11 - # The 8.5.3 release appears to have been mysteriously re-tagged: 12 - # https://github.com/sharkdp/fd/issues/1184 13 - rev = "f6e74407e80a5563a9e4d0530371aed281e05838"; 14 - sha256 = "sha256-7QQHLw+isXtr1FDQr4aiUhvOjJUPbaxFGDwukiWBG9g="; 15 }; 16 17 - cargoSha256 = "sha256-QFh47Pr+7lIdT++huziKgMJxvsZElTTwu11c7/wjyHE="; 18 19 nativeBuildInputs = [ installShellFiles ]; 20
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "fd"; 5 + version = "8.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "sharkdp"; 9 repo = "fd"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-RVGCSUYyWo2wKRIrnci+aWEAPW9jHhMfYkYJkCgd7f8="; 12 }; 13 14 + cargoSha256 = "sha256-PT95U1l+BVX7sby3GKktZMmbNNQoPYR8nL+H90EnqZY="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+3 -3
pkgs/tools/misc/procyon/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "procyon"; 5 - version = "0.6-prerelease"; 6 7 src = fetchurl { 8 - url = "https://github.com/mstrobel/procyon/releases/download/${version}/procyon-decompiler-${version}.jar"; 9 - sha256 = "sha256-eBVWKCo8ccAT/T9HgjxUCNFzGyzofc9Mbyp0ldUmrdk="; 10 }; 11 12 dontUnpack = true;
··· 2 3 stdenv.mkDerivation rec { 4 pname = "procyon"; 5 + version = "0.6.0"; 6 7 src = fetchurl { 8 + url = "https://github.com/mstrobel/procyon/releases/download/v${version}/procyon-decompiler-${version}.jar"; 9 + sha256 = "sha256-gh2pYBL8aSRPoeopjJBFXuTgIUNLx5bTuVRqskYBt3k="; 10 }; 11 12 dontUnpack = true;
+10 -6
pkgs/tools/networking/amass/default.nix
··· 1 - { buildGoModule 2 , fetchFromGitHub 3 - , lib 4 }: 5 6 buildGoModule rec { 7 pname = "amass"; 8 - version = "3.20.0"; 9 10 src = fetchFromGitHub { 11 owner = "OWASP"; 12 repo = "Amass"; 13 rev = "v${version}"; 14 - sha256 = "sha256-c6PAmCIxQEkLJi0PNS+8oO/q3lWS0ZSXMiOiExWRpgY="; 15 }; 16 17 - vendorSha256 = "sha256-hoX/i3RIMhs2ssm1qELHKceS3Vzo6cj/eMuAROyz/mQ="; 18 19 - outputs = [ "out" "wordlists" ]; 20 21 postInstall = '' 22 mkdir -p $wordlists ··· 41 that are found under the wordlists output. 42 ''; 43 homepage = "https://owasp.org/www-project-amass/"; 44 license = licenses.asl20; 45 maintainers = with maintainers; [ kalbasit fab ]; 46 };
··· 1 + { lib 2 + , buildGoModule 3 , fetchFromGitHub 4 }: 5 6 buildGoModule rec { 7 pname = "amass"; 8 + version = "3.21.1"; 9 10 src = fetchFromGitHub { 11 owner = "OWASP"; 12 repo = "Amass"; 13 rev = "v${version}"; 14 + hash = "sha256-QHFMHAKAwPdVhCTLUFtRcX252kyHfLQNPOTJ1WwSLgU="; 15 }; 16 17 + vendorHash = "sha256-ytTHJoWjCiIoUJtUYUguphWVXr6gp43pY/L2ik2Bb+A="; 18 19 + outputs = [ 20 + "out" 21 + "wordlists" 22 + ]; 23 24 postInstall = '' 25 mkdir -p $wordlists ··· 44 that are found under the wordlists output. 45 ''; 46 homepage = "https://owasp.org/www-project-amass/"; 47 + changelog = "https://github.com/OWASP/Amass/releases/tag/v${version}"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ kalbasit fab ]; 50 };
+2 -2
pkgs/tools/networking/pritunl-client/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pritunl-client"; 5 - version = "1.3.3343.50"; 6 7 src = fetchFromGitHub { 8 owner = "pritunl"; 9 repo = "pritunl-client-electron"; 10 rev = version; 11 - sha256 = "sha256-xooTPJFtCIIQG8cibfqxGDTIzF2vjvmo8zteVNiHsGQ="; 12 }; 13 14 modRoot = "cli";
··· 2 3 buildGoModule rec { 4 pname = "pritunl-client"; 5 + version = "1.3.3370.14"; 6 7 src = fetchFromGitHub { 8 owner = "pritunl"; 9 repo = "pritunl-client-electron"; 10 rev = version; 11 + sha256 = "sha256-/HXnD2P2fsNxWXMe5U7SUgxzOaHokktTogYIdiH8Kk8="; 12 }; 13 14 modRoot = "cli";
+17
pkgs/tools/security/modsecurity/Makefile.am.patch
···
··· 1 + --- a/apache2/Makefile.am 2 + +++ b/apache2/Makefile.am 3 + @@ -179,7 +179,6 @@ install-exec-hook: $(pkglib_LTLIBRARIES) 4 + for m in $(pkglib_LTLIBRARIES); do \ 5 + base=`echo $$m | sed 's/\..*//'`; \ 6 + rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \ 7 + - install -D -m444 $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES)/$$base.so; \ 8 + done 9 + else 10 + install-exec-hook: $(pkglib_LTLIBRARIES) 11 + @@ -187,6 +186,5 @@ install-exec-hook: $(pkglib_LTLIBRARIES) 12 + for m in $(pkglib_LTLIBRARIES); do \ 13 + base=`echo $$m | sed 's/\..*//'`; \ 14 + rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \ 15 + - cp -p $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES); \ 16 + done 17 + endif
-17
pkgs/tools/security/modsecurity/Makefile.in.patch
··· 1 - --- a/apache2/Makefile.in 2017-10-10 09:45:51.000000000 -0400 2 - +++ b/apache2/Makefile.in 2017-10-10 09:46:04.000000000 -0400 3 - @@ -1208,14 +1208,12 @@ 4 - @LINUX_TRUE@ for m in $(pkglib_LTLIBRARIES); do \ 5 - @LINUX_TRUE@ base=`echo $$m | sed 's/\..*//'`; \ 6 - @LINUX_TRUE@ rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \ 7 - -@LINUX_TRUE@ install -D -m444 $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES)/$$base.so; \ 8 - @LINUX_TRUE@ done 9 - @LINUX_FALSE@install-exec-hook: $(pkglib_LTLIBRARIES) 10 - @LINUX_FALSE@ @echo "Removing unused static libraries..."; \ 11 - @LINUX_FALSE@ for m in $(pkglib_LTLIBRARIES); do \ 12 - @LINUX_FALSE@ base=`echo $$m | sed 's/\..*//'`; \ 13 - @LINUX_FALSE@ rm -f $(DESTDIR)$(pkglibdir)/$$base.*a; \ 14 - -@LINUX_FALSE@ cp -p $(DESTDIR)$(pkglibdir)/$$base.so $(DESTDIR)$(APXS_MODULES); \ 15 - @LINUX_FALSE@ done 16 - 17 - # Tell versions [3.59,3.63) of GNU make to not export all variables.
···
+13 -8
pkgs/tools/security/modsecurity/default.nix
··· 1 - { stdenv, lib, fetchurl, pkg-config 2 , curl, apacheHttpd, pcre, apr, aprutil, libxml2 3 - , luaSupport ? false, lua5 4 }: 5 6 with lib; ··· 11 12 stdenv.mkDerivation rec { 13 pname = "modsecurity"; 14 - version = "2.9.3"; 15 16 - src = fetchurl { 17 - url = "https://www.modsecurity.org/tarball/${version}/${pname}-${version}.tar.gz"; 18 - sha256 = "0611nskd2y6yagrciqafxdn4rxbdk2v4swf45kc1sgwx2sfh34j1"; 19 }; 20 21 - nativeBuildInputs = [ pkg-config ]; 22 buildInputs = [ curl apacheHttpd pcre apr aprutil libxml2 ] ++ 23 optional luaSupport lua5; 24 ··· 37 outputs = ["out" "nginx"]; 38 # by default modsecurity's install script copies compiled output to httpd's modules folder 39 # this patch removes those lines 40 - patches = [ ./Makefile.in.patch ]; 41 42 postInstall = '' 43 mkdir -p $nginx
··· 1 + { stdenv, lib, fetchFromGitHub, pkg-config, autoreconfHook 2 , curl, apacheHttpd, pcre, apr, aprutil, libxml2 3 + , luaSupport ? false, lua5, perl 4 }: 5 6 with lib; ··· 11 12 stdenv.mkDerivation rec { 13 pname = "modsecurity"; 14 + version = "2.9.6"; 15 16 + src = fetchFromGitHub { 17 + owner = "SpiderLabs"; 18 + repo = pname; 19 + rev = "v${version}"; 20 + sha256 = "sha256-C/D/UWaI4GsXjfhLmNnYhRJoUvlsps1551SqhmZUc/4="; 21 }; 22 23 + nativeBuildInputs = [ pkg-config autoreconfHook ]; 24 buildInputs = [ curl apacheHttpd pcre apr aprutil libxml2 ] ++ 25 optional luaSupport lua5; 26 ··· 39 outputs = ["out" "nginx"]; 40 # by default modsecurity's install script copies compiled output to httpd's modules folder 41 # this patch removes those lines 42 + patches = [ ./Makefile.am.patch ]; 43 + 44 + doCheck = true; 45 + checkInputs = [ perl ]; 46 47 postInstall = '' 48 mkdir -p $nginx
+1
pkgs/tools/typesetting/satysfi/default.nix
··· 17 rev = "v0.3.7+satysfi"; 18 sha256 = "0y8s0ij1vp1s4h5y1hn3ns76fzki2ba5ysqdib33akdav9krbj8p"; 19 }; 20 }); 21 yojson-with-position = ocamlPackages.buildDunePackage { 22 pname = "yojson-with-position";
··· 17 rev = "v0.3.7+satysfi"; 18 sha256 = "0y8s0ij1vp1s4h5y1hn3ns76fzki2ba5ysqdib33akdav9krbj8p"; 19 }; 20 + propagatedBuildInputs = o.propagatedBuildInputs ++ [ ocamlPackages.result ]; 21 }); 22 yojson-with-position = ocamlPackages.buildDunePackage { 23 pname = "yojson-with-position";
+36
pkgs/tools/wayland/wpaperd/default.nix
···
··· 1 + { lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "wpaperd"; 5 + version = "0.2.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "danyspin97"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "n1zlC2afog0UazsJEBAzXpnhVDeP3xqpNGXlJ65umHQ="; 12 + }; 13 + 14 + nativeBuildInputs = [ 15 + pkg-config 16 + ]; 17 + buildInputs = [ 18 + libxkbcommon 19 + ]; 20 + 21 + cargoSha256 = "8ZMdbJvedDqoDr2rhKM1TMB5N4aRde04x/9H212fe68="; 22 + 23 + meta = with lib; { 24 + description = "Minimal wallpaper daemon for Wayland"; 25 + longDescription = '' 26 + It allows the user to choose a different image for each output (aka for each monitor) 27 + just as swaybg. Moreover, a directory can be chosen and wpaperd will randomly choose 28 + an image from it. Optionally, the user can set a duration, after which the image 29 + displayed will be changed with another random one. 30 + ''; 31 + homepage = "https://github.com/danyspin97/wpaperd"; 32 + license = licenses.gpl3Plus; 33 + platforms = platforms.linux; 34 + maintainers = with maintainers; [ DPDmancul ]; 35 + }; 36 + }
+8 -6
pkgs/top-level/all-packages.nix
··· 185 meta.platforms = lib.platforms.linux; 186 } ../build-support/setup-hooks/auto-patchelf.sh; 187 188 - appflowy = callPackage ../applications/office/appflowy { 189 - openssl = openssl_1_1; 190 - }; 191 192 appimageTools = callPackage ../build-support/appimage { 193 buildFHSUserEnv = buildFHSUserEnvBubblewrap; ··· 3304 3305 plausible = callPackage ../servers/web-apps/plausible { }; 3306 3307 reattach-to-user-namespace = callPackage ../os-specific/darwin/reattach-to-user-namespace {}; 3308 3309 skhd = callPackage ../os-specific/darwin/skhd { ··· 4000 wluma = callPackage ../tools/wayland/wluma { }; 4001 4002 wob = callPackage ../tools/wayland/wob { }; 4003 4004 wshowkeys = callPackage ../tools/wayland/wshowkeys { }; 4005 ··· 15378 }; 15379 cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { }; 15380 cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {}; 15381 - cargo-tally = callPackage ../development/tools/rust/cargo-tally { 15382 - inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation IOKit; 15383 - }; 15384 cargo-temp = callPackage ../development/tools/rust/cargo-temp { }; 15385 cargo-udeps = callPackage ../development/tools/rust/cargo-udeps { 15386 inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; ··· 38185 aitrack = libsForQt5.callPackage ../applications/misc/aitrack { }; 38186 38187 widevine-cdm = callPackage ../applications/networking/browsers/misc/widevine-cdm.nix { }; 38188 }
··· 185 meta.platforms = lib.platforms.linux; 186 } ../build-support/setup-hooks/auto-patchelf.sh; 187 188 + appflowy = callPackage ../applications/office/appflowy { }; 189 190 appimageTools = callPackage ../build-support/appimage { 191 buildFHSUserEnv = buildFHSUserEnvBubblewrap; ··· 3302 3303 plausible = callPackage ../servers/web-apps/plausible { }; 3304 3305 + pam-reattach = callPackage ../os-specific/darwin/pam-reattach {}; 3306 + 3307 reattach-to-user-namespace = callPackage ../os-specific/darwin/reattach-to-user-namespace {}; 3308 3309 skhd = callPackage ../os-specific/darwin/skhd { ··· 4000 wluma = callPackage ../tools/wayland/wluma { }; 4001 4002 wob = callPackage ../tools/wayland/wob { }; 4003 + 4004 + wpaperd = callPackage ../tools/wayland/wpaperd { }; 4005 4006 wshowkeys = callPackage ../tools/wayland/wshowkeys { }; 4007 ··· 15380 }; 15381 cargo-sweep = callPackage ../development/tools/rust/cargo-sweep { }; 15382 cargo-sync-readme = callPackage ../development/tools/rust/cargo-sync-readme {}; 15383 + cargo-tally = callPackage ../development/tools/rust/cargo-tally { }; 15384 cargo-temp = callPackage ../development/tools/rust/cargo-temp { }; 15385 cargo-udeps = callPackage ../development/tools/rust/cargo-udeps { 15386 inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration; ··· 38185 aitrack = libsForQt5.callPackage ../applications/misc/aitrack { }; 38186 38187 widevine-cdm = callPackage ../applications/networking/browsers/misc/widevine-cdm.nix { }; 38188 + 38189 + alsa-scarlett-gui = callPackage ../applications/audio/alsa-scarlett-gui { }; 38190 }
+2 -4
pkgs/top-level/python-packages.nix
··· 1508 1509 caldav = callPackage ../development/python-modules/caldav { }; 1510 1511 callee = callPackage ../development/python-modules/callee { }; 1512 1513 calmjs-parse = callPackage ../development/python-modules/calmjs-parse { }; ··· 6877 6878 pandas-stubs = callPackage ../development/python-modules/pandas-stubs { }; 6879 6880 - parameterizedtestcase = callPackage ../development/python-modules/parameterizedtestcase { }; 6881 - 6882 pdunehd = callPackage ../development/python-modules/pdunehd { }; 6883 6884 pencompy = callPackage ../development/python-modules/pencompy { }; ··· 7907 pygmo = callPackage ../development/python-modules/pygmo { }; 7908 7909 pygmt = callPackage ../development/python-modules/pygmt { }; 7910 - 7911 - pygobject2 = callPackage ../development/python-modules/pygobject { }; 7912 7913 pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { 7914 # inherit (pkgs) meson won't work because it won't be spliced
··· 1508 1509 caldav = callPackage ../development/python-modules/caldav { }; 1510 1511 + calver = callPackage ../development/python-modules/calver { }; 1512 + 1513 callee = callPackage ../development/python-modules/callee { }; 1514 1515 calmjs-parse = callPackage ../development/python-modules/calmjs-parse { }; ··· 6879 6880 pandas-stubs = callPackage ../development/python-modules/pandas-stubs { }; 6881 6882 pdunehd = callPackage ../development/python-modules/pdunehd { }; 6883 6884 pencompy = callPackage ../development/python-modules/pencompy { }; ··· 7907 pygmo = callPackage ../development/python-modules/pygmo { }; 7908 7909 pygmt = callPackage ../development/python-modules/pygmt { }; 7910 7911 pygobject3 = callPackage ../development/python-modules/pygobject/3.nix { 7912 # inherit (pkgs) meson won't work because it won't be spliced
+1 -44
pkgs/top-level/python2-packages.nix
··· 9 10 bootstrapped-pip = toPythonModule (callPackage ../development/python2-modules/bootstrapped-pip { }); 11 12 - boto3 = callPackage ../development/python2-modules/boto3 {}; 13 - 14 - botocore = callPackage ../development/python2-modules/botocore {}; 15 - 16 - certifi = callPackage ../development/python2-modules/certifi { }; 17 - 18 cffi = callPackage ../development/python2-modules/cffi { inherit cffi; }; 19 20 - chardet = callPackage ../development/python2-modules/chardet { }; 21 - 22 configparser = callPackage ../development/python2-modules/configparser { }; 23 24 contextlib2 = callPackage ../development/python2-modules/contextlib2 { }; ··· 30 filelock = callPackage ../development/python2-modules/filelock { }; 31 32 futures = callPackage ../development/python2-modules/futures { }; 33 - 34 - google-apputils = callPackage ../development/python2-modules/google-apputils { }; 35 - 36 - gtkme = callPackage ../development/python2-modules/gtkme { }; 37 38 hypothesis = callPackage ../development/python2-modules/hypothesis { }; 39 40 - idna = callPackage ../development/python2-modules/idna { }; 41 - 42 importlib-metadata = callPackage ../development/python2-modules/importlib-metadata { }; 43 44 jinja2 = callPackage ../development/python2-modules/jinja2 { }; 45 - 46 - marisa = callPackage ../development/python2-modules/marisa { 47 - inherit (pkgs) marisa; 48 - }; 49 50 markupsafe = callPackage ../development/python2-modules/markupsafe { }; 51 ··· 58 pip = callPackage ../development/python2-modules/pip { }; 59 60 pluggy = callPackage ../development/python2-modules/pluggy { }; 61 - 62 - protobuf = callPackage ../development/python2-modules/protobuf { 63 - disabled = isPyPy; 64 - protobuf = pkgs.protobuf3_17; # last version compatible with Python 2 65 - }; 66 67 pycairo = callPackage ../development/python2-modules/pycairo { 68 inherit (pkgs.buildPackages) meson; 69 }; 70 71 - pygments = callPackage ../development/python2-modules/Pygments { }; 72 - 73 - pygobject3 = callPackage ../development/python2-modules/pygobject { 74 - inherit (pkgs) meson; 75 - }; 76 77 pygtk = callPackage ../development/python2-modules/pygtk { }; 78 79 pyparsing = callPackage ../development/python2-modules/pyparsing { }; 80 81 - pyroma = callPackage ../development/python2-modules/pyroma { }; 82 - 83 - pysqlite = callPackage ../development/python2-modules/pysqlite { }; 84 - 85 pytest = pytest_4; 86 87 pytest_4 = callPackage ··· 92 }; 93 }; 94 95 - pytest-runner = callPackage ../development/python2-modules/pytest-runner { }; 96 - 97 pytest-xdist = callPackage ../development/python2-modules/pytest-xdist { }; 98 99 recoll = disabled super.recoll; ··· 102 103 rpm = disabled super.rpm; 104 105 - s3transfer = callPackage ../development/python2-modules/s3transfer { }; 106 - 107 - scandir = callPackage ../development/python2-modules/scandir { }; 108 - 109 sequoia = disabled super.sequoia; 110 111 setuptools = callPackage ../development/python2-modules/setuptools { }; 112 113 setuptools-scm = callPackage ../development/python2-modules/setuptools-scm { }; 114 - 115 - sphinxcontrib-websupport = callPackage ../development/python2-modules/sphinxcontrib-websupport { }; 116 - 117 - sphinx = callPackage ../development/python2-modules/sphinx { }; 118 - 119 - typing = callPackage ../development/python2-modules/typing { }; 120 121 zeek = disabled super.zeek; 122
··· 9 10 bootstrapped-pip = toPythonModule (callPackage ../development/python2-modules/bootstrapped-pip { }); 11 12 cffi = callPackage ../development/python2-modules/cffi { inherit cffi; }; 13 14 configparser = callPackage ../development/python2-modules/configparser { }; 15 16 contextlib2 = callPackage ../development/python2-modules/contextlib2 { }; ··· 22 filelock = callPackage ../development/python2-modules/filelock { }; 23 24 futures = callPackage ../development/python2-modules/futures { }; 25 26 hypothesis = callPackage ../development/python2-modules/hypothesis { }; 27 28 importlib-metadata = callPackage ../development/python2-modules/importlib-metadata { }; 29 30 jinja2 = callPackage ../development/python2-modules/jinja2 { }; 31 32 markupsafe = callPackage ../development/python2-modules/markupsafe { }; 33 ··· 40 pip = callPackage ../development/python2-modules/pip { }; 41 42 pluggy = callPackage ../development/python2-modules/pluggy { }; 43 44 pycairo = callPackage ../development/python2-modules/pycairo { 45 inherit (pkgs.buildPackages) meson; 46 }; 47 48 + pygobject2 = callPackage ../development/python2-modules/pygobject { }; 49 50 pygtk = callPackage ../development/python2-modules/pygtk { }; 51 52 pyparsing = callPackage ../development/python2-modules/pyparsing { }; 53 54 pytest = pytest_4; 55 56 pytest_4 = callPackage ··· 61 }; 62 }; 63 64 pytest-xdist = callPackage ../development/python2-modules/pytest-xdist { }; 65 66 recoll = disabled super.recoll; ··· 69 70 rpm = disabled super.rpm; 71 72 sequoia = disabled super.sequoia; 73 74 setuptools = callPackage ../development/python2-modules/setuptools { }; 75 76 setuptools-scm = callPackage ../development/python2-modules/setuptools-scm { }; 77 78 zeek = disabled super.zeek; 79