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