Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 4aad65bf e49468c2

+269 -83
+6
maintainers/maintainer-list.nix
··· 18857 githubId = 7038383; 18858 name = "Vojta Káně"; 18859 }; 18860 volhovm = { 18861 email = "volhovm.cs@gmail.com"; 18862 github = "volhovm";
··· 18857 githubId = 7038383; 18858 name = "Vojta Káně"; 18859 }; 18860 + volfyd = { 18861 + email = "lb.nix@lisbethmail.com"; 18862 + github = "volfyd"; 18863 + githubId = 3578382; 18864 + name = "Leif Huhn"; 18865 + }; 18866 volhovm = { 18867 email = "volhovm.cs@gmail.com"; 18868 github = "volhovm";
+2 -2
pkgs/applications/audio/munt/libmt32emu.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "libmt32emu"; 9 - version = "2.7.0"; 10 11 src = fetchFromGitHub { 12 owner = "munt"; 13 repo = "munt"; 14 rev = "${pname}_${lib.replaceStrings [ "." ] [ "_" ] version}"; 15 - sha256 = "sha256-XGds9lDfSiY0D8RhYG4TGyjYEVvVYuAfNSv9+VxiJEs="; 16 }; 17 18 outputs = [ "out" "dev" ];
··· 6 7 stdenv.mkDerivation rec { 8 pname = "libmt32emu"; 9 + version = "2.7.1"; 10 11 src = fetchFromGitHub { 12 owner = "munt"; 13 repo = "munt"; 14 rev = "${pname}_${lib.replaceStrings [ "." ] [ "_" ] version}"; 15 + sha256 = "sha256-zY1AFcm8uvFkrKUZHsqtKY2CYTY4bWmkTJ7bZPqXoxk="; 16 }; 17 18 outputs = [ "out" "dev" ];
+9 -3
pkgs/applications/misc/jrnl/default.nix
··· 1 { lib 2 , fetchFromGitHub 3 , python3 4 }: 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "jrnl"; 8 - version = "4.0.1"; 9 format = "pyproject"; 10 11 src = fetchFromGitHub { 12 owner = "jrnl-org"; 13 repo = pname; 14 rev = "refs/tags/v${version}"; 15 - hash = "sha256-NpI19NQxfDiqcfFI9kMqfMboI4fQTqCG7AoG9o8YoEI="; 16 }; 17 18 nativeBuildInputs = with python3.pkgs; [ ··· 20 ]; 21 22 propagatedBuildInputs = with python3.pkgs; [ 23 - ansiwrap 24 asteval 25 colorama 26 cryptography ··· 50 pythonImportsCheck = [ 51 "jrnl" 52 ]; 53 54 meta = with lib; { 55 changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";
··· 1 { lib 2 , fetchFromGitHub 3 , python3 4 + , testers 5 + , jrnl 6 }: 7 8 python3.pkgs.buildPythonApplication rec { 9 pname = "jrnl"; 10 + version = "4.1"; 11 format = "pyproject"; 12 13 src = fetchFromGitHub { 14 owner = "jrnl-org"; 15 repo = pname; 16 rev = "refs/tags/v${version}"; 17 + hash = "sha256-DtujXSDJWnOrHjVgJEJNKJMhSrNBHlR2hvHeHLSIF2o="; 18 }; 19 20 nativeBuildInputs = with python3.pkgs; [ ··· 22 ]; 23 24 propagatedBuildInputs = with python3.pkgs; [ 25 asteval 26 colorama 27 cryptography ··· 51 pythonImportsCheck = [ 52 "jrnl" 53 ]; 54 + 55 + passthru.tests.version = testers.testVersion { 56 + package = jrnl; 57 + version = "v${version}"; 58 + }; 59 60 meta = with lib; { 61 changelog = "https://github.com/jrnl-org/jrnl/releases/tag/v${version}";
+2 -2
pkgs/applications/misc/spicetify-cli/default.nix
··· 2 3 buildGoModule rec { 4 pname = "spicetify-cli"; 5 - version = "2.26.0"; 6 7 src = fetchFromGitHub { 8 owner = "spicetify"; 9 repo = "spicetify-cli"; 10 rev = "v${version}"; 11 - hash = "sha256-3u55Pcd4VNgWGyu/IVsrMqm8E4H9y4Bvt3JMyIL/KXo="; 12 }; 13 14 vendorHash = "sha256-VktAO3yKCdm5yz/RRLeLv6zzyGrwuHC/i8WdJtqZoYc=";
··· 2 3 buildGoModule rec { 4 pname = "spicetify-cli"; 5 + version = "2.27.0"; 6 7 src = fetchFromGitHub { 8 owner = "spicetify"; 9 repo = "spicetify-cli"; 10 rev = "v${version}"; 11 + hash = "sha256-5WIITzm9yZWB847WHL+okwpULdwHegtZfvsVrAzwTO0="; 12 }; 13 14 vendorHash = "sha256-VktAO3yKCdm5yz/RRLeLv6zzyGrwuHC/i8WdJtqZoYc=";
+3 -3
pkgs/applications/networking/cluster/helm/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kubernetes-helm"; 5 - version = "3.13.1"; 6 7 src = fetchFromGitHub { 8 owner = "helm"; 9 repo = "helm"; 10 rev = "v${version}"; 11 - sha256 = "sha256-HzamUAqO21RuWLLEfGfrpnlSJslyh4zAppCich5ZzD4="; 12 }; 13 - vendorHash = "sha256-U4adeMBruUje97rr1hHfiCxMWSXlqv+aAlsHZZ4n5zs="; 14 15 subPackages = [ "cmd/helm" ]; 16 ldflags = [
··· 2 3 buildGoModule rec { 4 pname = "kubernetes-helm"; 5 + version = "3.13.2"; 6 7 src = fetchFromGitHub { 8 owner = "helm"; 9 repo = "helm"; 10 rev = "v${version}"; 11 + sha256 = "sha256-WXtEXgKco50D1TR775lIm/VuD+MJMbOMQpPC0W4MAYo="; 12 }; 13 + vendorHash = "sha256-kvler6o4On4SbFF7AvPSCF5fRYtPNI5fsOcUbrTGYcQ="; 14 15 subPackages = [ "cmd/helm" ]; 16 ldflags = [
+3 -3
pkgs/applications/networking/cluster/kubebuilder/default.nix
··· 12 13 buildGoModule rec { 14 pname = "kubebuilder"; 15 - version = "3.12.0"; 16 17 src = fetchFromGitHub { 18 owner = "kubernetes-sigs"; 19 repo = "kubebuilder"; 20 rev = "v${version}"; 21 - hash = "sha256-drg7hFUEFoicZxzorO365b3eFN9NRdhWYn9bIk+sSY8="; 22 }; 23 24 - vendorHash = "sha256-qH7+DDGYRCrXI3B2dN/4pZMBqSXKkZUvIrtVEg0Ep+c="; 25 26 subPackages = ["cmd"]; 27
··· 12 13 buildGoModule rec { 14 pname = "kubebuilder"; 15 + version = "3.13.0"; 16 17 src = fetchFromGitHub { 18 owner = "kubernetes-sigs"; 19 repo = "kubebuilder"; 20 rev = "v${version}"; 21 + hash = "sha256-JXI3hQVChM7czCwan1yswsrUSse/IbMzwXw0tnaBiek="; 22 }; 23 24 + vendorHash = "sha256-yiRxSJIIYJbkV3QAFclrDDnsBoX1t4cSRvGmwVgz/w8="; 25 26 subPackages = ["cmd"]; 27
+3
pkgs/build-support/fetchgit/nix-prefetch-git
··· 207 208 # Update submodules 209 init_submodules(){ 210 clean_git submodule update --init --recursive -j ${NIX_BUILD_CORES:-1} --progress 211 } 212
··· 207 208 # Update submodules 209 init_submodules(){ 210 + # shallow with leaveDotGit will change hashes 211 + [[ -z "$deepClone" ]] && [[ -z "$leaveDotGit" ]] && \ 212 + clean_git submodule update --init --recursive -j ${NIX_BUILD_CORES:-1} --progress --depth 1 || \ 213 clean_git submodule update --init --recursive -j ${NIX_BUILD_CORES:-1} --progress 214 } 215
+48 -6
pkgs/build-support/fetchgit/tests.nix
··· 1 - { testers, fetchgit, ... }: 2 - 3 - { 4 simple = testers.invalidateFetcherByDrvHash fetchgit { 5 - name = "nix-source"; 6 url = "https://github.com/NixOS/nix"; 7 rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a"; 8 sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY="; 9 }; 10 11 sparseCheckout = testers.invalidateFetcherByDrvHash fetchgit { 12 - name = "nix-source"; 13 url = "https://github.com/NixOS/nix"; 14 rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a"; 15 sparseCheckout = [ ··· 20 }; 21 22 sparseCheckoutNonConeMode = testers.invalidateFetcherByDrvHash fetchgit { 23 - name = "nix-source"; 24 url = "https://github.com/NixOS/nix"; 25 rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a"; 26 sparseCheckout = [ ··· 29 ]; 30 nonConeMode = true; 31 sha256 = "sha256-FknO6C/PSnMPfhUqObD4vsW4PhkwdmPa9blNzcNvJQ4="; 32 }; 33 }
··· 1 + { testers, fetchgit, ... }: { 2 simple = testers.invalidateFetcherByDrvHash fetchgit { 3 + name = "simple-nix-source"; 4 url = "https://github.com/NixOS/nix"; 5 rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a"; 6 sha256 = "sha256-7DszvbCNTjpzGRmpIVAWXk20P0/XTrWZ79KSOGLrUWY="; 7 }; 8 9 sparseCheckout = testers.invalidateFetcherByDrvHash fetchgit { 10 + name = "sparse-checkout-nix-source"; 11 url = "https://github.com/NixOS/nix"; 12 rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a"; 13 sparseCheckout = [ ··· 18 }; 19 20 sparseCheckoutNonConeMode = testers.invalidateFetcherByDrvHash fetchgit { 21 + name = "sparse-checkout-non-cone-nix-source"; 22 url = "https://github.com/NixOS/nix"; 23 rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a"; 24 sparseCheckout = [ ··· 27 ]; 28 nonConeMode = true; 29 sha256 = "sha256-FknO6C/PSnMPfhUqObD4vsW4PhkwdmPa9blNzcNvJQ4="; 30 + }; 31 + 32 + leave-git = testers.invalidateFetcherByDrvHash fetchgit { 33 + name = "leave-git-nix-source"; 34 + url = "https://github.com/NixOS/nix"; 35 + rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a"; 36 + sha256 = "sha256-zZxDxqaeWvuWuzwPizBLR7d59zP24+zqnWllNICenko="; 37 + leaveDotGit = true; 38 + }; 39 + 40 + submodule-simple = testers.invalidateFetcherByDrvHash fetchgit { 41 + name = "submodule-simple-source"; 42 + url = "https://github.com/pineapplehunter/nix-test-repo-with-submodule"; 43 + rev = "26473335b84ead88ee0a3b649b1c7fa4a91cfd4a"; 44 + sha256 = "sha256-rmP8PQT0wJBopdtr/hsB7Y/L1G+ZPdHC2r9LB05Qrj4="; 45 + fetchSubmodules = true; 46 + }; 47 + 48 + submodule-leave-git = testers.invalidateFetcherByDrvHash fetchgit { 49 + name = "submodule-leave-git-source"; 50 + url = "https://github.com/pineapplehunter/nix-test-repo-with-submodule"; 51 + rev = "26473335b84ead88ee0a3b649b1c7fa4a91cfd4a"; 52 + sha256 = "sha256-+uXIClcRJ4S1rdgx2Oyww+Jv4h1VXp8tfeh9lb07Fhk="; 53 + leaveDotGit = true; 54 + fetchSubmodules = true; 55 + }; 56 + 57 + submodule-deep = testers.invalidateFetcherByDrvHash fetchgit { 58 + name = "submodule-deep-source"; 59 + url = "https://github.com/pineapplehunter/nix-test-repo-with-submodule"; 60 + rev = "26473335b84ead88ee0a3b649b1c7fa4a91cfd4a"; 61 + sha256 = "sha256-LL7uhXQk3N3DcvBBxwjmfVx55tTXCGQ19T91tknopzw="; 62 + deepClone = true; 63 + fetchSubmodules = true; 64 + }; 65 + 66 + submodule-leave-git-deep = testers.invalidateFetcherByDrvHash fetchgit { 67 + name = "submodule-leave-git-deep-source"; 68 + url = "https://github.com/pineapplehunter/nix-test-repo-with-submodule"; 69 + rev = "26473335b84ead88ee0a3b649b1c7fa4a91cfd4a"; 70 + sha256 = "sha256-LL7uhXQk3N3DcvBBxwjmfVx55tTXCGQ19T91tknopzw="; 71 + deepClone = true; 72 + leaveDotGit = true; 73 + fetchSubmodules = true; 74 }; 75 }
+64
pkgs/by-name/dv/dvb-apps/package.nix
···
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , perl 5 + , fetchpatch 6 + }: 7 + stdenv.mkDerivation { 8 + pname = "dvb-apps"; 9 + version = "1.1.1-unstable-2014-03-21"; 10 + 11 + src = fetchurl { 12 + url = "https://www.linuxtv.org/hg/dvb-apps/archive/3d43b280298c.tar.bz2"; 13 + hash = "sha256-854vDr7X4yvOg1IgYq1NQU9n/M1d8bZHYYUkSX4V4Fc="; 14 + }; 15 + 16 + patches = [ 17 + (fetchpatch { 18 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-glibc-2.31.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c"; 19 + hash = "sha256-zSbbKSJgW4L983DR0GVXtgAHK6ILOQC3Gz2iGnmWOp8="; 20 + }) 21 + (fetchpatch { 22 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-no-ca_set_pid.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c"; 23 + hash = "sha256-GZunNYlhktalPOZ4ZST1MwooBvdDGA6ckscx/7mx8ok="; 24 + }) 25 + (fetchpatch { 26 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-alevt.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c"; 27 + hash = "sha256-+j+tP8O3mho+gcsDPzQUJaE39ZAgimMAJoRP1J1HrBk="; 28 + }) 29 + (fetchpatch { 30 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-ldflags.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c"; 31 + hash = "sha256-jrRE1yySLbQWbF+SaugFN8VuEIfveSvjR0nKpmKffpQ="; 32 + }) 33 + (fetchpatch { 34 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20100223-perl526.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c"; 35 + hash = "sha256-zIROx0HEvtZqvNBLlKp3aI3S2CihuS6l/OWf6WFFCrY="; 36 + }) 37 + (fetchpatch { 38 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-dvbdate.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c"; 39 + hash = "sha256-dLPlscdDOd7Kq+2sEhgJ/PBY1zN/0/fh3TU6JOELaYw="; 40 + }) 41 + (fetchpatch { 42 + url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/media-tv/linuxtv-dvb-apps/files/linuxtv-dvb-apps-1.1.1.20140321-gcc10.patch?id=ec6d38022bd905cb5460d4812e52434fd1f9663c"; 43 + hash = "sha256-034TYxH1qHcdkwVxuAcNHORfBWhw/k8P+11QAc3jp74="; 44 + }) 45 + (fetchpatch { 46 + url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=779520;filename=bug779520.patch;msg=17"; 47 + hash = "sha256-UL5lKDfloXvngsabnslpVXbe/dmt4dzVK5W8JkIieps="; 48 + }) 49 + ]; 50 + 51 + buildInputs = [ perl ]; 52 + 53 + installFlags = [ "prefix=$(out)" ]; 54 + 55 + dontConfigure = true; # skip configure 56 + 57 + meta = { 58 + description = "Linux DVB API applications and utilities"; 59 + homepage = "https://linuxtv.org/"; 60 + maintainers = with lib.maintainers; [ volfyd ]; 61 + platforms = lib.platforms.linux; 62 + license = lib.licenses.gpl2Plus; 63 + }; 64 + }
+4
pkgs/development/coq-modules/vcfloat/default.nix
··· 4 pname = "vcfloat"; 5 owner = "VeriNum"; 6 inherit version; 7 defaultVersion = with versions; switch coq.coq-version [ 8 { case = range "8.16" "8.17"; out = "2.1.1"; } 9 ] null;
··· 4 pname = "vcfloat"; 5 owner = "VeriNum"; 6 inherit version; 7 + sourceRoot = "source/vcfloat"; 8 + postPatch = '' 9 + coq_makefile -o Makefile -f _CoqProject *.v 10 + ''; 11 defaultVersion = with versions; switch coq.coq-version [ 12 { case = range "8.16" "8.17"; out = "2.1.1"; } 13 ] null;
+1 -1
pkgs/development/libraries/wolfssl/default.nix
··· 46 "--enable-bigcache" 47 48 # Use WolfSSL's Single Precision Math with timing-resistant cryptography. 49 - "--enable-sp=yes${lib.optionalString (!stdenv.isx86_32) ",asm"}" 50 "--enable-sp-math-all" 51 "--enable-harden" 52 ] ++ lib.optionals (stdenv.hostPlatform.isx86_64) [
··· 46 "--enable-bigcache" 47 48 # Use WolfSSL's Single Precision Math with timing-resistant cryptography. 49 + "--enable-sp=yes${lib.optionalString (stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isAarch) ",asm"}" 50 "--enable-sp-math-all" 51 "--enable-harden" 52 ] ++ lib.optionals (stdenv.hostPlatform.isx86_64) [
+9 -19
pkgs/development/ocaml-modules/semver/default.nix
··· 1 - { stdenv, lib, fetchzip, ocaml, findlib, ocamlbuild }: 2 3 - lib.throwIfNot (lib.versionAtLeast ocaml.version "4.02") 4 - "semver is not available on OCaml older than 4.02" 5 - 6 - stdenv.mkDerivation rec { 7 - pname = "ocaml${ocaml.version}-semver"; 8 - version = "0.1.0"; 9 - src = fetchzip { 10 - url = "https://github.com/rgrinberg/ocaml-semver/archive/v${version}.tar.gz"; 11 - sha256 = "sha256-0BzeuVTpuRIQjadGg08hTvMzZtKCl2utW2YK269oETk="; 12 }; 13 14 - nativeBuildInputs = [ 15 - ocaml 16 - findlib 17 - ocamlbuild 18 - ]; 19 - 20 - strictDeps = true; 21 - createFindlibDestdir = true; 22 23 meta = { 24 homepage = "https://github.com/rgrinberg/ocaml-semver"; 25 description = "Semantic versioning module"; 26 - platforms = ocaml.meta.platforms; 27 license = lib.licenses.bsd3; 28 maintainers = [ lib.maintainers.ulrikstrid ]; 29 };
··· 1 + { lib, fetchurl, buildDunePackage, ocaml, alcotest }: 2 3 + buildDunePackage rec { 4 + pname = "semver"; 5 + version = "0.2.1"; 6 + src = fetchurl { 7 + url = "https://github.com/rgrinberg/ocaml-semver/releases/download/${version}/semver-${version}.tbz"; 8 + hash = "sha256-CjzDUtoe5Hvt6zImb+EqVIulRUUUQd9MmuJ4BH/2mLg="; 9 }; 10 11 + doCheck = lib.versionAtLeast ocaml.version "4.08"; 12 + checkInputs = [ alcotest ]; 13 14 meta = { 15 homepage = "https://github.com/rgrinberg/ocaml-semver"; 16 description = "Semantic versioning module"; 17 license = lib.licenses.bsd3; 18 maintainers = [ lib.maintainers.ulrikstrid ]; 19 };
+2 -2
pkgs/development/python-modules/azure-storage-file-share/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "azure-storage-file-share"; 14 - version = "12.14.2"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 - hash = "sha256-mcMtgN2jX4hO4NSNk/1X9vT/vgCulYR5w7fV9OsCHrw="; 22 }; 23 24 propagatedBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "azure-storage-file-share"; 14 + version = "12.15.0"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 + hash = "sha256-AJjxz6k0TE94HODNUE/zo1JVdRVTwB5yDczQyqjYqio="; 22 }; 23 24 propagatedBuildInputs = [
+20 -8
pkgs/development/python-modules/cassandra-driver/default.nix
··· 1 { lib 2 , stdenv 3 , buildPythonPackage 4 , cython 5 , eventlet 6 , fetchFromGitHub ··· 24 25 buildPythonPackage rec { 26 pname = "cassandra-driver"; 27 - version = "3.26.0"; 28 format = "setuptools"; 29 30 disabled = pythonOlder "3.7"; ··· 33 owner = "datastax"; 34 repo = "python-driver"; 35 rev = "refs/tags/${version}"; 36 - hash = "sha256-mLQEG41WyFtXY2PJzoM4uaI4Cm+0xSIAPGhijHHbTBk="; 37 }; 38 39 postPatch = '' ··· 56 57 nativeCheckInputs = [ 58 pytestCheckHook 59 - eventlet 60 mock 61 nose 62 pytz 63 pyyaml 64 sure 65 - scales 66 - gremlinpython 67 - gevent 68 - twisted 69 - ]; 70 71 # Make /etc/protocols accessible to allow socket.getprotobyname('tcp') in sandbox, 72 # also /etc/resolv.conf is referenced by some tests ··· 77 '') + '' 78 # increase tolerance for time-based test 79 substituteInPlace tests/unit/io/utils.py --replace 'delta=.15' 'delta=.3' 80 ''; 81 82 pythonImportsCheck = [ ··· 104 # time-sensitive 105 "test_nts_token_performance" 106 ]; 107 108 meta = with lib; { 109 description = "A Python client driver for Apache Cassandra";
··· 1 { lib 2 , stdenv 3 , buildPythonPackage 4 + , cryptography 5 , cython 6 , eventlet 7 , fetchFromGitHub ··· 25 26 buildPythonPackage rec { 27 pname = "cassandra-driver"; 28 + version = "3.28.0"; 29 format = "setuptools"; 30 31 disabled = pythonOlder "3.7"; ··· 34 owner = "datastax"; 35 repo = "python-driver"; 36 rev = "refs/tags/${version}"; 37 + hash = "sha256-5JRbzYl7ftgK6GuvXWdvo52ZlS1th9JyLAYu/UCcPVc="; 38 }; 39 40 postPatch = '' ··· 57 58 nativeCheckInputs = [ 59 pytestCheckHook 60 mock 61 nose 62 pytz 63 pyyaml 64 sure 65 + ] ++ lib.flatten (lib.attrValues passthru.optional-dependencies); 66 67 # Make /etc/protocols accessible to allow socket.getprotobyname('tcp') in sandbox, 68 # also /etc/resolv.conf is referenced by some tests ··· 73 '') + '' 74 # increase tolerance for time-based test 75 substituteInPlace tests/unit/io/utils.py --replace 'delta=.15' 'delta=.3' 76 + 77 + export HOME=$(mktemp -d) 78 + # cythonize this before we hide the source dir as it references 79 + # one of its files 80 + cythonize -i tests/unit/cython/types_testhelper.pyx 81 + 82 + mv cassandra .cassandra.hidden 83 ''; 84 85 pythonImportsCheck = [ ··· 107 # time-sensitive 108 "test_nts_token_performance" 109 ]; 110 + 111 + passthru.optional-dependencies = { 112 + cle = [ cryptography ]; 113 + eventlet = [ eventlet ]; 114 + gevent = [ gevent ]; 115 + graph = [ gremlinpython ]; 116 + metrics = [ scales ]; 117 + twisted = [ twisted ]; 118 + }; 119 120 meta = with lib; { 121 description = "A Python client driver for Apache Cassandra";
+2 -2
pkgs/development/python-modules/coinmetrics-api-client/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "coinmetrics-api-client"; 21 - version = "2023.9.29.14"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.9"; ··· 28 src = fetchPypi { 29 inherit version; 30 pname = "coinmetrics_api_client"; 31 - hash = "sha256-88tNPg/0U5ZC2OvH8Bh9EzKzRFF2YClS2tyrswBaUZw="; 32 }; 33 34 pythonRelaxDeps = [
··· 18 19 buildPythonPackage rec { 20 pname = "coinmetrics-api-client"; 21 + version = "2023.10.30.13"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.9"; ··· 28 src = fetchPypi { 29 inherit version; 30 pname = "coinmetrics_api_client"; 31 + hash = "sha256-Kb6iVLV///X0UKby/7/wfbSGUFLw6HQX3SUwPX79QD0="; 32 }; 33 34 pythonRelaxDeps = [
+37
pkgs/development/python-modules/htmllistparse/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , setuptools 5 + , beautifulsoup4 6 + , html5lib 7 + , requests 8 + , fusepy 9 + }: 10 + 11 + buildPythonPackage rec { 12 + pname = "htmllistparse"; 13 + version = "0.6.1"; 14 + pyproject = true; 15 + 16 + src = fetchPypi { 17 + inherit pname version; 18 + hash = "sha256-bcimvwPIQ7nTJYQ6JqI1GnlbVzzZKiybgnFiEBnGQII="; 19 + }; 20 + 21 + nativeBuildInputs = [ setuptools ]; 22 + propagatedBuildInputs = [ beautifulsoup4 html5lib requests fusepy ]; 23 + 24 + # upstream has no tests 25 + doCheck = false; 26 + 27 + pythonImportsCheck = [ 28 + "htmllistparse" 29 + ]; 30 + 31 + meta = with lib; { 32 + homepage = "https://github.com/gumblex/htmllisting-parser"; 33 + description = "Python parser for Apache/nginx-style HTML directory listing"; 34 + license = licenses.mit; 35 + maintainers = with maintainers; [ hexchen ]; 36 + }; 37 + }
+2 -2
pkgs/development/python-modules/pyglet/default.nix
··· 18 }: 19 20 buildPythonPackage rec { 21 - version = "2.0.9"; 22 pname = "pyglet"; 23 disabled = pythonOlder "3.6"; 24 25 src = fetchPypi { 26 inherit pname version; 27 - hash = "sha256-oJIuQvLSWFBWeOL0o1XFR2waY1LD86N3VAQt23589y8="; 28 extension = "zip"; 29 }; 30
··· 18 }: 19 20 buildPythonPackage rec { 21 + version = "2.0.10"; 22 pname = "pyglet"; 23 disabled = pythonOlder "3.6"; 24 25 src = fetchPypi { 26 inherit pname version; 27 + hash = "sha256-JCvrGzvWfFvr3+W6EexWtpathrUMbn8qMX+NeDJWuck="; 28 extension = "zip"; 29 }; 30
+2 -2
pkgs/development/python-modules/radish-bdd/default.nix
··· 19 20 buildPythonPackage rec { 21 pname = "radish-bdd"; 22 - version = "0.17.0"; 23 format = "setuptools"; 24 25 disabled = pythonOlder "3.7"; ··· 28 owner = pname; 29 repo = "radish"; 30 rev = "refs/tags/v${version}"; 31 - hash = "sha256-4cGUF4Qh5+mxHtKNnAjh37Q6hEFCQ9zmntya98UHx+0="; 32 }; 33 34 propagatedBuildInputs = [
··· 19 20 buildPythonPackage rec { 21 pname = "radish-bdd"; 22 + version = "0.17.1"; 23 format = "setuptools"; 24 25 disabled = pythonOlder "3.7"; ··· 28 owner = pname; 29 repo = "radish"; 30 rev = "refs/tags/v${version}"; 31 + hash = "sha256-9Wt+W7PWUVijzAeZMvcOl/Na60OCCGJJqxh2UaAxAcM="; 32 }; 33 34 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/transformers/default.nix
··· 51 52 buildPythonPackage rec { 53 pname = "transformers"; 54 - version = "4.34.1"; 55 format = "setuptools"; 56 57 disabled = pythonOlder "3.8"; ··· 60 owner = "huggingface"; 61 repo = "transformers"; 62 rev = "refs/tags/v${version}"; 63 - hash = "sha256-ZyRn1AyyKvtrUUSWZ95jfIMXydcCSM5zZeseF7golhU="; 64 }; 65 66 propagatedBuildInputs = [
··· 51 52 buildPythonPackage rec { 53 pname = "transformers"; 54 + version = "4.35.0"; 55 format = "setuptools"; 56 57 disabled = pythonOlder "3.8"; ··· 60 owner = "huggingface"; 61 repo = "transformers"; 62 rev = "refs/tags/v${version}"; 63 + hash = "sha256-f66Y6kcAm//Z2UyCl/iEBDP+6nm3QJ5EtwpAnBn4gbc="; 64 }; 65 66 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/wagtail-localize/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "wagtail-localize"; 19 - version = "1.5.2"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; ··· 25 repo = pname; 26 owner = "wagtail"; 27 rev = "refs/tags/v${version}"; 28 - hash = "sha256-7r2FFfWGqjE3Z7wsdf6KwwbUZ+wXqOscsL/2CepSMLY="; 29 }; 30 31 nativeBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "wagtail-localize"; 19 + version = "1.6"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.7"; ··· 25 repo = pname; 26 owner = "wagtail"; 27 rev = "refs/tags/v${version}"; 28 + hash = "sha256-OrRR5wLTq3icSBq+9m+MxIvkTvJP7yiGR9yzPt53q+k="; 29 }; 30 31 nativeBuildInputs = [
+3 -3
pkgs/development/python-modules/wagtail/default.nix
··· 24 25 buildPythonPackage rec { 26 pname = "wagtail"; 27 - version = "5.1.1"; 28 format = "setuptools"; 29 30 disabled = pythonOlder "3.7"; 31 32 src = fetchPypi { 33 inherit pname version; 34 - hash = "sha256-IR/wzXBZ+Win/EOFUDsg2AHB5otW9YMeCmpPxgCllD8="; 35 }; 36 37 postPatch = '' 38 substituteInPlace setup.py \ 39 --replace "beautifulsoup4>=4.8,<4.12" "beautifulsoup4>=4.8" \ 40 - --replace "Pillow>=4.0.0,<10.0.0" "Pillow>=9.1.0,<11.0.0" 41 ''; 42 43 propagatedBuildInputs = [
··· 24 25 buildPythonPackage rec { 26 pname = "wagtail"; 27 + version = "5.1.3"; 28 format = "setuptools"; 29 30 disabled = pythonOlder "3.7"; 31 32 src = fetchPypi { 33 inherit pname version; 34 + hash = "sha256-RfrHlOTCDH51sBgGnX+XYfJfqjYZ7zDfJAE8okq/mnQ="; 35 }; 36 37 postPatch = '' 38 substituteInPlace setup.py \ 39 --replace "beautifulsoup4>=4.8,<4.12" "beautifulsoup4>=4.8" \ 40 + --replace "draftjs_exporter>=2.1.5,<3.0" "draftjs_exporter>=2.1.5,<6.0" 41 ''; 42 43 propagatedBuildInputs = [
+11 -2
pkgs/development/quickemu/default.nix
··· 25 , quickemu 26 , testers 27 , installShellFiles 28 }: 29 let 30 runtimePaths = [ ··· 50 51 stdenv.mkDerivation rec { 52 pname = "quickemu"; 53 - version = "4.8"; 54 55 src = fetchFromGitHub { 56 owner = "quickemu-project"; 57 repo = "quickemu"; 58 rev = version; 59 - hash = "sha256-QchY9inmBqAwNEhUL+uFCRX1laaM57ICbDJEBW7qTic="; 60 }; 61 62 postPatch = '' 63 sed -i \
··· 25 , quickemu 26 , testers 27 , installShellFiles 28 + , fetchpatch 29 }: 30 let 31 runtimePaths = [ ··· 51 52 stdenv.mkDerivation rec { 53 pname = "quickemu"; 54 + version = "4.9"; 55 56 src = fetchFromGitHub { 57 owner = "quickemu-project"; 58 repo = "quickemu"; 59 rev = version; 60 + hash = "sha256-ZCHGZb4mdtnNfFBcSqZJRW7fmkTBrWrVko3iwEhO1RY="; 61 }; 62 + 63 + patches = [ 64 + # https://github.com/quickemu-project/quickemu/pull/815 65 + (fetchpatch { 66 + url = "https://github.com/quickemu-project/quickemu/commit/2b9d95a746fd85be0cea48e5544b18dc3ae18d27.patch"; 67 + hash = "sha256-fTJEd3o7LznT1mGwfxXWlW8XM1BmIeId+j8pGjIfIcE="; 68 + }) 69 + ]; 70 71 postPatch = '' 72 sed -i \
+2 -2
pkgs/development/tools/build-managers/xmake/default.nix
··· 12 13 stdenv.mkDerivation rec { 14 pname = "xmake"; 15 - version = "2.8.3"; 16 17 src = fetchurl { 18 url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz"; 19 - hash = "sha256-BC6RazVbT1sr4RLQ1ZR4hHZGXDqFSvuqpt5vPyMDylA="; 20 }; 21 22 nativeBuildInputs = [
··· 12 13 stdenv.mkDerivation rec { 14 pname = "xmake"; 15 + version = "2.8.5"; 16 17 src = fetchurl { 18 url = "https://github.com/xmake-io/xmake/releases/download/v${version}/xmake-v${version}.tar.gz"; 19 + hash = "sha256-GcZ747z8valsqHoY7/rDm/zMRD+7N1THu8AVEd7NJK8="; 20 }; 21 22 nativeBuildInputs = [
+5 -5
pkgs/development/web/bun/default.nix
··· 12 }: 13 14 stdenvNoCC.mkDerivation rec { 15 - version = "1.0.7"; 16 pname = "bun"; 17 18 src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); ··· 51 sources = { 52 "aarch64-darwin" = fetchurl { 53 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; 54 - hash = "sha256-aPFKKCqjKZSz/ZX5G3RiIkLHIj89MGPp+PgFbE4vpgE="; 55 }; 56 "aarch64-linux" = fetchurl { 57 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; 58 - hash = "sha256-u2UlimmIE2z7qsqkAbSfi7kxuOjlJGkX4RAsUGMklGc="; 59 }; 60 "x86_64-darwin" = fetchurl { 61 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; 62 - hash = "sha256-MO01plCsZRR+2kC2J0/VhXJIhchMfLtMFvidPNAXtB4="; 63 }; 64 "x86_64-linux" = fetchurl { 65 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; 66 - hash = "sha256-yw17x8DmKktE5fNBF3JQdVSEXFwAotA7hCzfLcd6JoI="; 67 }; 68 }; 69 updateScript = writeShellScript "update-bun" ''
··· 12 }: 13 14 stdenvNoCC.mkDerivation rec { 15 + version = "1.0.10"; 16 pname = "bun"; 17 18 src = passthru.sources.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}"); ··· 51 sources = { 52 "aarch64-darwin" = fetchurl { 53 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-aarch64.zip"; 54 + hash = "sha256-xwKNDTlghNkq36wMAKSa+reROqGwMm4dZ/Hfos1zuP4="; 55 }; 56 "aarch64-linux" = fetchurl { 57 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-aarch64.zip"; 58 + hash = "sha256-gaquYp4q22IJHV7Fx5GxZWVFvJzU30HOmL32lkxJeQ8="; 59 }; 60 "x86_64-darwin" = fetchurl { 61 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-darwin-x64.zip"; 62 + hash = "sha256-DPVnTzdGprjZ16kme3Y6xBognjWHt+0N/zk0J3dm8jY="; 63 }; 64 "x86_64-linux" = fetchurl { 65 url = "https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-linux-x64.zip"; 66 + hash = "sha256-Er7QiWBhENTa9xhCIVqECCzexWejBwBC59u3CJKQiwc="; 67 }; 68 }; 69 updateScript = writeShellScript "update-bun" ''
+3 -3
pkgs/shells/oh/default.nix
··· 2 3 buildGoModule rec { 4 pname = "oh"; 5 - version = "0.8.1"; 6 7 src = fetchFromGitHub { 8 owner = "michaelmacinnis"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-DMxC5fv5ZLDv7gMajC/eyJd2YpO+OXFdvwAPYotnczw="; 12 }; 13 14 - vendorHash = "sha256-f4rqXOu6yXUzNsseSaV9pb8c2KXItYOalB5pfH3Acnc="; 15 16 meta = with lib; { 17 homepage = "https://github.com/michaelmacinnis/oh";
··· 2 3 buildGoModule rec { 4 pname = "oh"; 5 + version = "0.8.3"; 6 7 src = fetchFromGitHub { 8 owner = "michaelmacinnis"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-ryIh6MRIOVZPm2USpJC69Z/upIXGUHgcd17eZBA9Edc="; 12 }; 13 14 + vendorHash = "sha256-Qma5Vk0JO/tTrZanvTCE40LmjeCfBup3U3N7gyhfp44="; 15 16 meta = with lib; { 17 homepage = "https://github.com/michaelmacinnis/oh";
+2 -3
pkgs/stdenv/generic/check-meta.nix
··· 152 153 # flakeNote will be printed in the remediation messages below. 154 flakeNote = " 155 - Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+ 156 - (Flake) command, `--impure` must be passed in order to read this 157 - environment variable. 158 "; 159 160 remediate_allowlist = allow_attr: rebuild_amendment: attrs:
··· 152 153 # flakeNote will be printed in the remediation messages below. 154 flakeNote = " 155 + Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake, 156 + then pass `--impure` in order to allow use of environment variables. 157 "; 158 159 remediate_allowlist = allow_attr: rebuild_amendment: attrs:
+3 -3
pkgs/tools/misc/goreleaser/default.nix
··· 9 }: 10 buildGoModule rec { 11 pname = "goreleaser"; 12 - version = "1.21.2"; 13 14 src = fetchFromGitHub { 15 owner = "goreleaser"; 16 repo = pname; 17 rev = "v${version}"; 18 - hash = "sha256-dH5Fh3F+UJRS/zZkxhZ7TzLWo0ncUNKbLZdjbnBPloE="; 19 }; 20 21 - vendorHash = "sha256-Ua1Eey0trzha1WyPtwZYvfzOSywb7ThfWcI/VlMgD88="; 22 23 ldflags = 24 [ "-s" "-w" "-X main.version=${version}" "-X main.builtBy=nixpkgs" ];
··· 9 }: 10 buildGoModule rec { 11 pname = "goreleaser"; 12 + version = "1.22.0"; 13 14 src = fetchFromGitHub { 15 owner = "goreleaser"; 16 repo = pname; 17 rev = "v${version}"; 18 + hash = "sha256-82DaGmXS+qbPN3dg1Zk/WHGOymJEuhOzQl+MsPmi5tw="; 19 }; 20 21 + vendorHash = "sha256-+ac4q820gETsNRVpW2u0MXU6HfoztLdsWK2HYqJ4mqo="; 22 23 ldflags = 24 [ "-s" "-w" "-X main.version=${version}" "-X main.builtBy=nixpkgs" ];
+15 -3
pkgs/tools/package-management/pdm/default.nix
··· 2 , stdenv 3 , python3 4 , fetchFromGitHub 5 , fetchPypi 6 , nix-update-script 7 , runtimeShell ··· 31 with python.pkgs; 32 buildPythonApplication rec { 33 pname = "pdm"; 34 - version = "2.10.0"; 35 format = "pyproject"; 36 disabled = pythonOlder "3.7"; 37 38 src = fetchPypi { 39 inherit pname version; 40 - hash = "sha256-ziJJWVr59hsJJqCJljLfSbHHESYegFak+uFLU/k9kZM="; 41 }; 42 43 nativeBuildInputs = [ 44 pdm-backend ··· 101 passthru.updateScript = nix-update-script { }; 102 103 meta = with lib; { 104 - homepage = "https://pdm.fming.dev"; 105 changelog = "https://github.com/pdm-project/pdm/releases/tag/${version}"; 106 description = "A modern Python package manager with PEP 582 support"; 107 license = licenses.mit; 108 maintainers = with maintainers; [ cpcloud ]; 109 }; 110 }
··· 2 , stdenv 3 , python3 4 , fetchFromGitHub 5 + , fetchpatch 6 , fetchPypi 7 , nix-update-script 8 , runtimeShell ··· 32 with python.pkgs; 33 buildPythonApplication rec { 34 pname = "pdm"; 35 + version = "2.10.1"; 36 format = "pyproject"; 37 disabled = pythonOlder "3.7"; 38 39 src = fetchPypi { 40 inherit pname version; 41 + hash = "sha256-0WZTHGWfxJBZM1RlRN0uFs9kjCum2JjIISatakIReoE="; 42 }; 43 + 44 + patches = [ 45 + # https://github.com/NixOS/nixpkgs/issues/265883 46 + # https://github.com/pdm-project/pdm/pull/2379 47 + (fetchpatch { 48 + name = "fix-template-permission.patch"; 49 + url = "https://github.com/pdm-project/pdm/commit/f0efdcefe589bc58c28ccf6ce2d23cad9a81dccc.patch"; 50 + hash = "sha256-NnHDSz2N63JzSzh2t9a5f/QQWM6Hyd5Cn5JY2zem6Ac="; 51 + }) 52 + ]; 53 54 nativeBuildInputs = [ 55 pdm-backend ··· 112 passthru.updateScript = nix-update-script { }; 113 114 meta = with lib; { 115 + homepage = "https://pdm-project.org"; 116 changelog = "https://github.com/pdm-project/pdm/releases/tag/${version}"; 117 description = "A modern Python package manager with PEP 582 support"; 118 license = licenses.mit; 119 maintainers = with maintainers; [ cpcloud ]; 120 + mainProgram = "pdm"; 121 }; 122 }
+2
pkgs/top-level/python-packages.nix
··· 5094 5095 htmllaundry = callPackage ../development/python-modules/htmllaundry { }; 5096 5097 htmlmin = callPackage ../development/python-modules/htmlmin { }; 5098 5099 html-sanitizer = callPackage ../development/python-modules/html-sanitizer { };
··· 5094 5095 htmllaundry = callPackage ../development/python-modules/htmllaundry { }; 5096 5097 + htmllistparse = callPackage ../development/python-modules/htmllistparse { }; 5098 + 5099 htmlmin = callPackage ../development/python-modules/htmlmin { }; 5100 5101 html-sanitizer = callPackage ../development/python-modules/html-sanitizer { };