mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
Merge master into staging-next
This commit is contained in:
@@ -11363,6 +11363,12 @@
|
||||
githubId = 1651325;
|
||||
name = "maralorn";
|
||||
};
|
||||
marble = {
|
||||
email = "nixpkgs@computer-in.love";
|
||||
github = "cyber-murmel";
|
||||
githubId = 30078229;
|
||||
name = "marble";
|
||||
};
|
||||
marcovergueira = {
|
||||
email = "vergueira.marco@gmail.com";
|
||||
github = "marcovergueira";
|
||||
|
||||
@@ -15,25 +15,6 @@ let
|
||||
fi
|
||||
'';
|
||||
|
||||
desktopApplicationFile = pkgs.writeTextFile {
|
||||
name = "emacsclient.desktop";
|
||||
destination = "/share/applications/emacsclient.desktop";
|
||||
text = ''
|
||||
[Desktop Entry]
|
||||
Name=Emacsclient
|
||||
GenericName=Text Editor
|
||||
Comment=Edit text
|
||||
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
||||
Exec=emacseditor %F
|
||||
Icon=emacs
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Categories=Development;TextEditor;
|
||||
StartupWMClass=Emacs
|
||||
Keywords=Text;Editor;
|
||||
'';
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
|
||||
@@ -102,7 +83,7 @@ in
|
||||
wantedBy = if cfg.startWithGraphical then [ "graphical-session.target" ] else [ "default.target" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = [ cfg.package editorScript desktopApplicationFile ];
|
||||
environment.systemPackages = [ cfg.package editorScript ];
|
||||
|
||||
environment.variables.EDITOR = mkIf cfg.defaultEditor (mkOverride 900 "emacseditor");
|
||||
};
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gtkcord4";
|
||||
version = "0.0.16-1";
|
||||
version = "0.0.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "diamondburned";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-GDQ11X202RIoJUZ2eJ9ukHalhXtKYn9C8lcvAzzaB+4=";
|
||||
hash = "sha256-fvY55N7AyCasT1Nxi37AtbyGQ4qC/764WgfCmwFa1YQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -56,7 +56,7 @@ buildGoModule rec {
|
||||
install -D -m 444 internal/icons/hicolor/scalable/apps/logo.svg $out/share/icons/hicolor/scalable/apps/gtkcord4.svg
|
||||
'';
|
||||
|
||||
vendorHash = "sha256-ZQBYi5t6ntukoHP2FtwpZrpFd7b2opPC8tOSU9j3jUM=";
|
||||
vendorHash = "sha256-dMrdbUAU87wmnRDlJukG6w4PZ2DKx2v68gxNW5Ewijk=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "GTK4 Discord client in Go, attempt #4";
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "praat";
|
||||
version = "6.4.01";
|
||||
version = "6.4.03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "praat";
|
||||
repo = "praat";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-6g9oDPcJpI/udX+GKyCUkv+mjGoTbHU2YfTYaTVRwu4=";
|
||||
hash = "sha256-eiZBe/tBX5ax23jsj1AY9O2BBLvEyiDQ6WS1ZtOBQNU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "snd";
|
||||
version = "23.9";
|
||||
version = "24.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/snd/snd-${version}.tar.gz";
|
||||
sha256 = "sha256-2iuY0kjLEVKTK4N1s+mBEt7+RlbK4rm6RFpWq08i6RY=";
|
||||
sha256 = "sha256-DU7AtPoLH+WXXsmree8GbHePvNYmPP7MxYSfhEzgOtU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "besu";
|
||||
version = "23.10.2";
|
||||
version = "23.10.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://hyperledger.jfrog.io/artifactory/${pname}-binaries/${pname}/${version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-JVgYpcYGejiqi1ZdjzKkmhcqdTah03BnO7t19UgmPCw=";
|
||||
sha256 = "sha256-c8g0zzLHu+JV19jMfKXR6w34QwuRFJNcjc86Z1sqy8I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
let
|
||||
pname = "codux";
|
||||
version = "15.17.2";
|
||||
version = "15.18.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/wixplosives/codux-versions/releases/download/${version}/Codux-${version}.x86_64.AppImage";
|
||||
sha256 = "sha256-6y3c9SbRxGhfND0bsMh0yYs7Dy8B23VSjj4qQ/2eBos=";
|
||||
sha256 = "sha256-/U3byPCaeDIFoZX3TY+FbIZQWALOoDEwEtNg6RH86GM=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
|
||||
@@ -30,21 +30,21 @@ let
|
||||
archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz";
|
||||
|
||||
sha256 = {
|
||||
x86_64-linux = "1z692zp413vgla0ln04rf2fnx0giy2rgglmi6q1jk9b7wmlrsrh1";
|
||||
x86_64-darwin = "00d143mgrx5s7qdsxp93j04wz2xcgm8rkb5gj1a2czjcjvpsyjmv";
|
||||
aarch64-linux = "1b5fjxfgjr7rak23kmnapqbbimd6f7q5fjiwbcclxwyl0cqa0d3j";
|
||||
aarch64-darwin = "0zv81nj767741i9p2i5ac5ql9pm9snz6lg1zqvvw3rps3d5vwysz";
|
||||
armv7l-linux = "11zms120dagscnxrr5xpivcxipbmahf2sy68a4bmcjk1nqnvcsgh";
|
||||
x86_64-linux = "0v702nvv971rwv1grp921ys2d1ig0aq0di7idc1lfikl5ka9b4wa";
|
||||
x86_64-darwin = "1cz1817gy8kx3pkfn80jdgsxmvfyrwiwbmq9mp0079s1zzcdy31k";
|
||||
aarch64-linux = "0bgdiv7nchwlird53r6q5k8ixljaf682w5ki2kx4bgsii83ih4px";
|
||||
aarch64-darwin = "0c5hy5z6k8jjdas7hn29wrmrxwixgrb5jdm1vfdbgqg43sslpgm4";
|
||||
armv7l-linux = "0h8y7mwfhf0ygnywwapblxgiskp9xjh3lpnvwhwbir3bs3v37bhh";
|
||||
}.${system} or throwSystem;
|
||||
in
|
||||
callPackage ./generic.nix rec {
|
||||
# Please backport all compatible updates to the stable release.
|
||||
# This is important for the extension ecosystem.
|
||||
version = "1.85.1";
|
||||
version = "1.85.2";
|
||||
pname = "vscode" + lib.optionalString isInsiders "-insiders";
|
||||
|
||||
# This is used for VS Code - Remote SSH test
|
||||
rev = "0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2";
|
||||
rev = "8b3775030ed1a69b13e4f4c628c612102e30a681";
|
||||
|
||||
executableName = "code" + lib.optionalString isInsiders "-insiders";
|
||||
longName = "Visual Studio Code" + lib.optionalString isInsiders " - Insiders";
|
||||
@@ -68,7 +68,7 @@ in
|
||||
src = fetchurl {
|
||||
name = "vscode-server-${rev}.tar.gz";
|
||||
url = "https://update.code.visualstudio.com/commit:${rev}/server-linux-x64/stable";
|
||||
sha256 = "06672ynsr7bxzkgdi1ghmrb6ki0y1ypmakk7w51r599vi1bjfnr0";
|
||||
sha256 = "1gaq9f4jzdzhfxixb9al5f5pgn1w7lpccacvvy19hq89jzixbix0";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xfe";
|
||||
version = "1.45";
|
||||
version = "1.46";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xfe/xfe-${version}.tar.xz";
|
||||
sha256 = "sha256-RmvVUzqCsRRwXgC4Yabt46uFHnL0XFWncQfXDG+owDc=";
|
||||
sha256 = "sha256-80rtoetmipDObW8BHL2US7305Jo5TFrQrIg6DzLoR/k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config intltool ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "avrdudess";
|
||||
version = "2.14";
|
||||
version = "2.15";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ZakKemble/AVRDUDESS/releases/download/v2.14/AVRDUDESS-2.14-portable.zip";
|
||||
sha256 = "sha256-x3xcsJLBJVO8XdV4OUveZ4KLqN5z/z0FsNLbGHSNoHs=";
|
||||
url = "https://github.com/ZakKemble/AVRDUDESS/releases/download/v2.15/AVRDUDESS-2.15-portable.zip";
|
||||
sha256 = "sha256-TILveSFlZOzkd7XpW6haWZzrWTb7f/GMoj+fHNEJYLA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "batsignal";
|
||||
version = "1.6.4";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "electrickite";
|
||||
repo = "batsignal";
|
||||
rev = version;
|
||||
sha256 = "sha256-Z5j5tSIF3AZiZjkFFtyyi3hMqWMXtf6ont2CQ/FSEjk=";
|
||||
sha256 = "sha256-yngd2yP6XtRp8y8ZUd0NISdf8+8wJvpLogrQQMdB0lA=";
|
||||
};
|
||||
|
||||
buildInputs = [ libnotify glib ];
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "clipcat";
|
||||
version = "0.16.1";
|
||||
version = "0.16.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xrelkd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-SqA8UjKTBtkE1IkWGeshI8KBHr86V9r/+YvFZNJ6Oq8=";
|
||||
hash = "sha256-01vjCs9ktDrULPL8IZraMPpa5+cw8vLtt4cKHKxHjK4=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-KU3kXqy9zL7GQdSsCNW7jcsxdTuRXjJyDtBpmgoXi6E=";
|
||||
cargoHash = "sha256-9L6w7adoQflOW5vxkIJf4FLF7xACx36sKaSPjJAtt3Y=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
protobuf
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "girara";
|
||||
version = "0.4.1";
|
||||
version = "0.4.2";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
owner = "pwmt";
|
||||
repo = "girara";
|
||||
rev = version;
|
||||
sha256 = "sha256-47ff7NBunVvYlCEQN/LwTRG33aButisVvdwxlh28LUM=";
|
||||
hash = "sha256-/9pj6gB46sKIilImDGdJ8H7UHip/z5ckZWZnJLw/0YU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -6,20 +6,20 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "blocky";
|
||||
version = "0.22";
|
||||
version = "0.23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "0xERR0R";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iU7fpTn8sPtglZfqLJ6fVYbHtYp0jqItSpJsvN4iKE8=";
|
||||
hash = "sha256-IB5vi+nFXbV94YFtY2eMKTgzUgX8q8i8soSrso2zaD4=";
|
||||
};
|
||||
|
||||
# needs network connection and fails at
|
||||
# https://github.com/0xERR0R/blocky/blob/development/resolver/upstream_resolver_test.go
|
||||
doCheck = false;
|
||||
|
||||
vendorHash = "sha256-PnqpDAbHCs1wFudYy+nyG+p/E6ig7ZuhbuU4CFFoiyk=";
|
||||
vendorHash = "sha256-h1CkvI7M1kt2Ix3D8+gDl97CFElV+0/9Eram1burOaM=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/0xERR0R/blocky/util.Version=${version}" ];
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ let
|
||||
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "vivaldi";
|
||||
version = "6.5.3206.48";
|
||||
version = "6.5.3206.50";
|
||||
|
||||
suffix = {
|
||||
aarch64-linux = "arm64";
|
||||
@@ -34,8 +34,8 @@ in stdenv.mkDerivation rec {
|
||||
src = fetchurl {
|
||||
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}-1_${suffix}.deb";
|
||||
hash = {
|
||||
aarch64-linux = "sha256-laerVZWB9kNozy0MxYAPXbTjcfgvr+jL18NMP5u7ST0=";
|
||||
x86_64-linux = "sha256-3gRvPSSyJapqay6nePlMA1R/tfFI75mHi+mx3f+wfjQ=";
|
||||
aarch64-linux = "sha256-8Ozhad6aRskhhNqtUQFYLT14JHZnhLnHtuB+SmtwL8g=";
|
||||
x86_64-linux = "sha256-hpWPDnnJGx2pokR1JFe3Uuq299HvsnjKMyg89wAo53I=";
|
||||
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
||||
};
|
||||
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "glooctl";
|
||||
version = "1.15.18";
|
||||
version = "1.15.19";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "solo-io";
|
||||
repo = "gloo";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oHwo0I3OFfilLg2tlL0EycTo6BC7LYbzg7dxgfz/XeI=";
|
||||
hash = "sha256-Tv+S0DnYOabtAVrb7W+VHzugGu2Dm2fBYsoz/DwR4xg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-MrTiZCvYUmdX4sK85jeeQpUupvitH6PfbQ+RfwELaV4=";
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "temporal";
|
||||
version = "1.22.3";
|
||||
version = "1.22.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "temporalio";
|
||||
repo = "temporal";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-iqJzvnueUnIyu3Z6a5Ht90arHaHgM4COCDdZo7Qvzuk=";
|
||||
hash = "sha256-M/2Zm9B2VeA2BKcF7A7R1Y7T61VZiU2uKGwxGgdy4Sg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Aum5OsdJ69MkP8tXXGWa6IdouX6F4xKjD/ndAqShMhw=";
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0.04";
|
||||
version = "2.0.05";
|
||||
pname = "flrig";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/fldigi/${pname}-${version}.tar.gz";
|
||||
sha256 = "sha256-+AcQ7l1RXFDVVraYySBUE/+ZCyCOMiM2L4LyRXFquUc=";
|
||||
sha256 = "sha256-Mc3AJfBdtIn9m6CH602Mj4UWj8OqnPlf5IiwLXgMYrA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
||||
@@ -21,10 +21,10 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gwyddion";
|
||||
version = "2.64";
|
||||
version = "2.65";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gwyddion/gwyddion-${version}.tar.xz";
|
||||
sha256 = "sha256-FDL4XDHH6WYF47OsnhxpM7s7YadutiCDjcJKCF8ZlCw=";
|
||||
sha256 = "sha256-kRX7CoPJY8YkYNode5g0OCyWmL+5sM8puCmk9ZE2nqM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config file ];
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gitea";
|
||||
version = "1.21.3";
|
||||
version = "1.21.4";
|
||||
|
||||
# not fetching directly from the git repo, because that lacks several vendor files for the web UI
|
||||
src = fetchurl {
|
||||
url = "https://dl.gitea.com/gitea/${version}/gitea-src-${version}.tar.gz";
|
||||
hash = "sha256-tJC9p7++lb3lD0yYR4qAtFOTRBQK2SkNCD6Tk+g9M78=";
|
||||
hash = "sha256-bkRI2m7aHrQH5wQbm4MoygrF5da7j4i8Qd/aoMJbhS0=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "media-downloader";
|
||||
version = "4.1.0";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mhogomchungu";
|
||||
repo = "media-downloader";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-x2uM4z4nQd761aj8PVlFH0MbWzwWRiR7ItzLQVOc1Zw=";
|
||||
hash = "sha256-hQLrs4RyHUtcG03h0nCn3uMsHEskGKMVwUkcssGZQLs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -43,6 +43,8 @@ mkDerivation rec {
|
||||
configureFlags =
|
||||
[ "--dvb-path=${linuxHeaders}/include" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.mythtv.org/";
|
||||
description = "Open Source DVR";
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "arxiv-latex-cleaner";
|
||||
version = "1.0.1";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "google-research";
|
||||
repo = "arxiv-latex-cleaner";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1IWSDKEoAM4hBKAEEcPq7X89WYDprifDL2GTEJQtdcQ=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-kM1eCzXipJ6GuYFA9Na2C0HtwHLotmE63nyUZ+9wkkk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "debianutils";
|
||||
version = "5.15";
|
||||
version = "5.16";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "salsa.debian.org";
|
||||
owner = "debian";
|
||||
repo = "debianutils";
|
||||
rev = "debian/${finalAttrs.version}";
|
||||
hash = "sha256-o9HPiJCKcTJSoVDCjUcYPkqa6wnAuvCFOFhPdPSKS3A=";
|
||||
hash = "sha256-v0sEk0xnFjWsBoDBge57kbANn8afP2EAImgwFihq7bI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
39
pkgs/by-name/el/elf2nucleus/package.nix
Normal file
39
pkgs/by-name/el/elf2nucleus/package.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
installShellFiles
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, micronucleus
|
||||
, rustPlatform
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "elf2nucleus";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpcyrd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-FAIOtGfGow+0DrPPEBEfvaiinNZLQlGWKJ4DkMj63OA=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-IeQnI6WTzxSI/VzoHtVukZtB1jX98wzLOT01NMLD5wQ=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
buildInputs = [ micronucleus ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd elf2nucleus \
|
||||
--bash <($out/bin/elf2nucleus --completions bash) \
|
||||
--fish <($out/bin/elf2nucleus --completions fish) \
|
||||
--zsh <($out/bin/elf2nucleus --completions zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrate micronucleus into the cargo buildsystem, flash an AVR firmware from an elf file";
|
||||
homepage = "https://github.com/kpcyrd/elf2nucleus";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = [ maintainers.marble ];
|
||||
};
|
||||
}
|
||||
@@ -19,6 +19,8 @@
|
||||
, openblas
|
||||
, pkg-config
|
||||
, metalSupport ? stdenv.isDarwin && stdenv.isAarch64 && !openclSupport
|
||||
, patchelf
|
||||
, static ? true # if false will build the shared objects as well
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -29,13 +31,13 @@ let
|
||||
in
|
||||
effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "llama-cpp";
|
||||
version = "1848";
|
||||
version = "1892";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ggerganov";
|
||||
repo = "llama.cpp";
|
||||
rev = "refs/tags/b${finalAttrs.version}";
|
||||
hash = "sha256-KuomiKU9c06Ux/ZcqctFdPQykGtjDzArN+tElPJVQ60=";
|
||||
hash = "sha256-FNyl8bR0rg6cixcqidqzk9rG62+CI/0BNvzHuUkBq1E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -105,15 +107,26 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optionals blasSupport [
|
||||
"-DLLAMA_BLAS=ON"
|
||||
"-DLLAMA_BLAS_VENDOR=OpenBLAS"
|
||||
]
|
||||
++ lib.optionals (!static) [
|
||||
(lib.cmakeBool "BUILD_SHARED_LIBS" true)
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
${lib.optionalString (!static) ''
|
||||
mkdir $out/lib
|
||||
cp libggml_shared.so $out/lib
|
||||
cp libllama.so $out/lib
|
||||
''}
|
||||
|
||||
for f in bin/*; do
|
||||
test -x "$f" || continue
|
||||
${lib.optionalString (!static) ''
|
||||
${patchelf}/bin/patchelf "$f" --set-rpath "$out/lib"
|
||||
''}
|
||||
cp "$f" $out/bin/llama-cpp-"$(basename "$f")"
|
||||
done
|
||||
|
||||
|
||||
36
pkgs/by-name/mg/mgitstatus/package.nix
Normal file
36
pkgs/by-name/mg/mgitstatus/package.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{ fetchFromGitHub
|
||||
, lib
|
||||
, stdenvNoCC
|
||||
, testers
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "mgitstatus";
|
||||
version = "2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fboender";
|
||||
repo = "multi-git-status";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-jzoX7Efq9+1UdXQdhLRqBlhU3cBrk5AZblg9AYetItg=";
|
||||
};
|
||||
|
||||
installFlags = [
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
version = "v${finalAttrs.version}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Show uncommitted, untracked and unpushed changes for multiple Git repos";
|
||||
downloadPage = "https://github.com/fboender/multi-git-status/releases/tag/v${finalAttrs.version}";
|
||||
homepage = "https://github.com/fboender/multi-git-status";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ getpsyched ];
|
||||
mainProgram = "mgitstatus";
|
||||
platforms = platforms.all;
|
||||
};
|
||||
})
|
||||
@@ -1,16 +1,16 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
buildGoModule rec {
|
||||
pname = "pmtiles";
|
||||
version = "1.12.0";
|
||||
version = "1.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "protomaps";
|
||||
repo = "go-pmtiles";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8gd6p4AAevtRkb/IZAXfxz8lioySf3s8lT6moi1IoWc=";
|
||||
hash = "sha256-Zxf8o0+Vc4l8XV9vYGEWxXSr+KyzTqZNxbgaZtkJ+JQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-gLFwGEUeH41bObG32MZznF7clct3h2GEvdZ2/KIiVb4=";
|
||||
vendorHash = "sha256-Y32vDgF7BNjSyGtwgsJdoRy2gGDfhTKtYpSjTjp5dnI=";
|
||||
|
||||
ldflags = [ "-s" "-w" "-X main.version=${version}" "-X main.commit=v${version}" ];
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "worker";
|
||||
version = "4.12.1";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.boomerangsworld.de/cms/worker/downloads/worker-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-11tSOVuGuCU0IvqpEKiKvUZj9DtjWJErLpM8IsTtvcs=";
|
||||
hash = "sha256-iEfHl3eDBkLpvI/WKBEO21briu5Ikv9YA4NSVZXos44=";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "sudo-font";
|
||||
version = "0.80";
|
||||
version = "0.81";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
|
||||
hash = "sha256-PUqWwWvi9k7Aj6L7NjlrBMFeRHKDUF5yX4efvi0nywI=";
|
||||
hash = "sha256-qc26xHM9P9+lsPE9j5UY4f0hIb5PjlCSy+jm0zEFj2g=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -26,13 +26,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "elementary-code";
|
||||
version = "7.1.0";
|
||||
version = "7.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elementary";
|
||||
repo = "code";
|
||||
rev = version;
|
||||
sha256 = "sha256-Dtm0+NqDwfn5HUQEYtHTiyrpM3mHp1wUFOGaxH86YUo=";
|
||||
sha256 = "sha256-6lvn8c+JfbtZQf5dtViosVqtt/RWL6B/MvksXqmCfFs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -109,9 +109,9 @@ in {
|
||||
major = "3";
|
||||
minor = "13";
|
||||
patch = "0";
|
||||
suffix = "a2";
|
||||
suffix = "a3";
|
||||
};
|
||||
hash = "sha256-ttRrRBkMTAJCHraaBC0WsMVUgb3agYxsQW3CRBE6nC0=";
|
||||
hash = "sha256-IHhMgwTrHGnID5ZuvfB3W+LjfiPfO2JGHuwSqF3Pfq0=";
|
||||
inherit (darwin) configd;
|
||||
inherit passthruFun;
|
||||
};
|
||||
|
||||
@@ -1,26 +1,28 @@
|
||||
{ lib, stdenv, fetchFromGitHub, opencl-headers, cmake, withTracing ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "khronos-ocl-icd-loader";
|
||||
version = "2022.01.04";
|
||||
pname = "opencl-icd-loader";
|
||||
version = "2023.12.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "OpenCL-ICD-Loader";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-T2tBoN0yv41W+UksFABVjsetdkXlnEFUINfxumGgC04=";
|
||||
hash = "sha256-/4ixQAwJpygdg+qtR1ccBlz8hmtYYxRgUV5dlJabsg8=";
|
||||
};
|
||||
|
||||
patches = lib.optional withTracing ./tracing.patch;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ opencl-headers ];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "OCL_ICD_ENABLE_TRACE" withTracing)
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Official Khronos OpenCL ICD Loader";
|
||||
homepage = "https://github.com/KhronosGroup/OpenCL-ICD-Loader";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ davidtwco ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/loader/icd.h b/loader/icd.h
|
||||
index 34751e9..01a33fd 100644
|
||||
--- a/loader/icd.h
|
||||
+++ b/loader/icd.h
|
||||
@@ -123,7 +123,7 @@ void khrIcdContextPropertiesGetPlatform(
|
||||
cl_platform_id *outPlatform);
|
||||
|
||||
// internal tracing macros
|
||||
-#if 0
|
||||
+#if 1
|
||||
#include <stdio.h>
|
||||
#define KHR_ICD_TRACE(...) \
|
||||
do \
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "leptonica";
|
||||
version = "1.84.0";
|
||||
version = "1.84.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/DanBloomberg/${pname}/releases/download/${version}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-QqApMSod8M1WQBlal5voG/ZiMOFTFkysRWR4RU5yBtU=";
|
||||
hash = "sha256-Kz4SVLHMo4HnfIGbWcqZd0/0NTAgm5rrUR4dRliKZPY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
@@ -9,15 +9,19 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libcint";
|
||||
version = "5.4.0";
|
||||
version = "6.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sunqm";
|
||||
repo = "libcint";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-U+ZlD/I7RHtdYNbFhAmeU4qREe45dYJDIAC3Bup2tr0=";
|
||||
hash = "sha256-qcVVp+81S3Y0fxDWA/PWQeFT2g0N6tIHNUaOHSru2GA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/libcint.so/libcint${stdenv.hostPlatform.extensions.sharedLibrary}/g' testsuite/*.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ blas ];
|
||||
cmakeFlags = [
|
||||
@@ -46,5 +50,6 @@ stdenv.mkDerivation rec {
|
||||
changelog = "https://github.com/sunqm/libcint/blob/master/ChangeLog";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ drewrisinger ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -6,34 +6,37 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libhdhomerun";
|
||||
version = "20220303";
|
||||
version = "20231214";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.silicondust.com/hdhomerun/libhdhomerun_${version}.tgz";
|
||||
sha256 = "sha256-HlT/78LUiTkRUB2jHmYrnQY+bBiv4stcZlMyUnelSpc=";
|
||||
hash = "sha256-VSoQLoqiq8xBYJDewvb4DaWfl/kfV5aOnp17PcAF268=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "-arch x86_64" "-arch ${stdenv.hostPlatform.darwinArch}"
|
||||
'';
|
||||
patches = [
|
||||
./nixos-darwin-no-fat-dylib.patch
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/{bin,lib,include/hdhomerun}
|
||||
install -Dm444 libhdhomerun${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib
|
||||
install -Dm555 hdhomerun_config $out/bin
|
||||
cp *.h $out/include/hdhomerun
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Implements the libhdhomerun protocol for use with Silicondust HDHomeRun TV tuners";
|
||||
homepage = "https://www.silicondust.com/support/linux";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ sielicki titanous ];
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.titanous ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
From 6b9ed19d7874b88b7db5b740dac3dcd7dcda6c8c Mon Sep 17 00:00:00 2001
|
||||
From: Nicholas Sielicki <git@opensource.nslick.com>
|
||||
Date: Sat, 25 Nov 2023 13:54:39 -0600
|
||||
Subject: [PATCH] nixos-darwin-no-fat-dylib
|
||||
|
||||
Signed-off-by: Nicholas Sielicki <git@opensource.nslick.com>
|
||||
---
|
||||
Makefile | 24 ++++--------------------
|
||||
1 file changed, 4 insertions(+), 20 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 1d8fb9f..35c7d15 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -42,30 +42,14 @@ LIBSRCS += hdhomerun_video.c
|
||||
|
||||
ifeq ($(OS),Darwin)
|
||||
|
||||
-TARGET_X64 := -target x86_64-apple-macos10.11
|
||||
-TARGET_ARM64 := -target arm64-apple-macos11
|
||||
-
|
||||
all : hdhomerun_config libhdhomerun.dylib
|
||||
|
||||
-hdhomerun_config_x64 : hdhomerun_config.c $(LIBSRCS)
|
||||
- $(CC) $(TARGET_X64) $(CFLAGS) $+ $(LDFLAGS) -o $@
|
||||
- $(STRIP) $@
|
||||
-
|
||||
-hdhomerun_config_arm64 : hdhomerun_config.c $(LIBSRCS)
|
||||
- $(CC) $(TARGET_ARM64) $(CFLAGS) $+ $(LDFLAGS) -o $@
|
||||
+hdhomerun_config: hdhomerun_config.c $(LIBSRCS)
|
||||
+ $(CC) $(CFLAGS) $+ $(LDFLAGS) -o $@
|
||||
$(STRIP) $@
|
||||
|
||||
-hdhomerun_config : hdhomerun_config_x64 hdhomerun_config_arm64
|
||||
- lipo -create -output hdhomerun_config hdhomerun_config_x64 hdhomerun_config_arm64
|
||||
-
|
||||
-libhdhomerun_x64.dylib : $(LIBSRCS)
|
||||
- $(CC) $(TARGET_X64) $(CFLAGS) -DDLL_EXPORT -fPIC -dynamiclib $+ $(LDFLAGS) -o $@
|
||||
-
|
||||
-libhdhomerun_arm64.dylib : $(LIBSRCS)
|
||||
- $(CC) $(TARGET_ARM64) $(CFLAGS) -DDLL_EXPORT -fPIC -dynamiclib $+ $(LDFLAGS) -o $@
|
||||
-
|
||||
-libhdhomerun.dylib : libhdhomerun_x64.dylib libhdhomerun_arm64.dylib
|
||||
- lipo -create -output libhdhomerun.dylib libhdhomerun_x64.dylib libhdhomerun_arm64.dylib
|
||||
+libhdhomerun.dylib : $(LIBSRCS)
|
||||
+ $(CC) $(CFLAGS) -DDLL_EXPORT -fPIC -dynamiclib $+ $(LDFLAGS) -o $@
|
||||
|
||||
else
|
||||
|
||||
--
|
||||
2.42.0
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mdk-sdk";
|
||||
version = "0.23.1";
|
||||
version = "0.24.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/wang-bin/mdk-sdk/releases/download/v${version}/mdk-sdk-linux-x64.tar.xz";
|
||||
hash = "sha256-qC6FL76MJZ2XrrYePQFpWk5VPLTeoRd5ns93AK3iZjw=";
|
||||
hash = "sha256-kRihFM2+vPg6OAL4ARz0dLLUvAFvZsbrCu5TBI6b2RI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openxr-loader";
|
||||
version = "1.0.32";
|
||||
version = "1.0.33";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "KhronosGroup";
|
||||
repo = "OpenXR-SDK-Source";
|
||||
rev = "release-${version}";
|
||||
sha256 = "sha256-Np91NevE0XiFSZ27cpwAUjm0XY2/IuugGDcfG17aV2c=";
|
||||
sha256 = "sha256-26CRpxiTfZOq6sQSl0H53UmYzPY/6mP33EPObdkwnQs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake python3 pkg-config ];
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xml-tooling-c";
|
||||
version = "3.0.4";
|
||||
version = "3.2.4";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.shibboleth.net/git/cpp-xmltooling.git";
|
||||
rev = version;
|
||||
sha256 = "0frj4w70l06nva6dvdcivgm1ax69rqbjdzzbgp0sxhiqhddslbas";
|
||||
sha256 = "sha256-FQ109ahOSWj3hvaxu1r/0FTpCuWaLgSEKM8NBio+wqU=";
|
||||
};
|
||||
|
||||
buildInputs = [ boost curl openssl log4shib xercesc xml-security-c ];
|
||||
|
||||
@@ -13,42 +13,42 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "0.6.8";
|
||||
version = "0.7.0";
|
||||
hashes = {
|
||||
"aarch64-darwin" = {
|
||||
platform = "darwin-arm64";
|
||||
hash = {
|
||||
"8.0" = "sha256-DDn5JcRux8DN1728cqMWL7eMwueiY+jO/+fw2+ND394=";
|
||||
"8.1" = "sha256-4r954EKFUA45G55MpnnKcYONCNe45dIffiygs6r8OOI=";
|
||||
"8.2" = "sha256-qB2IWSsyAKzbUxjt2nz5uLp7PkgPPna1mEBqvz8oTHc=";
|
||||
"8.3" = "sha256-0s+4zNknH8lEfGS8oU3JjVEuX3mZEo9AULE0hlv11mQ=";
|
||||
"8.0" = "sha256-pd/9TWZPgAfmVM0/QVYRHu5k4gANcxCSnfAl38irO0Y=";
|
||||
"8.1" = "sha256-OpxE/nu8MZedTmKGQeyJm36pyyHlRpW11avuGcnGP68=";
|
||||
"8.2" = "sha256-+CMPdXZotUr43Qda1FwGpuWPEE1K4RuBNE9fiokAtoY=";
|
||||
"8.3" = "sha256-lbKVxOd5gK5VDGnJ42w7L5DFKsBQDZXgEZLR/Y0gP88=";
|
||||
};
|
||||
};
|
||||
"aarch64-linux" = {
|
||||
platform = "debian-aarch64+libssl3";
|
||||
hash = {
|
||||
"8.0" = "sha256-tLrampq1BBrhC+F/v2vcNBJp+16wzjHC8CGFKSswPUo=";
|
||||
"8.1" = "sha256-DQG3maP9ImwSCTEmP152l5wr7A964lg9kNFAmVQhPqA=";
|
||||
"8.2" = "sha256-3Ygb2J+MFL+H1zsepBaQKg/ybqgXVwFWt2QrNRctT8o=";
|
||||
"8.3" = "sha256-MKpN09+Ai9NFARUEL+pkxQxbpRpFTx78als8ViXMdB8=";
|
||||
"8.0" = "sha256-NfeC3p0YLYz3NbjzjMRRuzMsnYe9JRwlBjddAG2WV7g=";
|
||||
"8.1" = "sha256-kvO0PE3BSgFSfe1zHh3WnygQfVV+5V0YFfClBim1Kj4=";
|
||||
"8.2" = "sha256-illxRqqwMKVNAp6BD+mktKDccM7B/Q1W1KF9UB6aMUQ=";
|
||||
"8.3" = "sha256-QdB7g+ePJU8qt/BVo1CFnQ2vfkqR29WueBy3dLOOaR0=";
|
||||
};
|
||||
};
|
||||
"x86_64-darwin" = {
|
||||
platform = "darwin-x86-64";
|
||||
hash = {
|
||||
"8.0" = "sha256-jYnhJowVgryKSec+rOfyBiH2gZyasr1h1I+sjPiLods=";
|
||||
"8.1" = "sha256-VKvVo6so0NOfiq7JjnanBEUDa1Iqmkn9egKnOJSCHTg=";
|
||||
"8.2" = "sha256-WXWhSljy199UbZiEjfC50XvnKfVEU54lPa6e2+jCqiQ=";
|
||||
"8.3" = "sha256-CrJoONSm0aXlBWjsRqAJC39qB4tHkMuLAvM5d847DsE=";
|
||||
"8.0" = "sha256-rd3pt2N22bF4a8OOwksI7KJjR91IoxHwk3LcKuHSpV0=";
|
||||
"8.1" = "sha256-Y/moZrBe4rooQBSQKS8vPCTjviHKy4O7d4T1kD3udC4=";
|
||||
"8.2" = "sha256-H3EWFk/ZmE+fSU98nLHyq1p1vtU/TYp28OzNLox6kYY=";
|
||||
"8.3" = "sha256-vZTarrauo7U2JLOXUCwmu2h+vBtWZpm0Q39KkuLyVgY=";
|
||||
};
|
||||
};
|
||||
"x86_64-linux" = {
|
||||
platform = "debian-x86-64+libssl3";
|
||||
hash = {
|
||||
"8.0" = "sha256-kzPlotJWsUIhYUFUwcXEBGv5eNfCNLDNgrs+IqZPH5c=";
|
||||
"8.1" = "sha256-QBnKHXBW2XpD4GvphzyMPiIrOfs9pzyG2Fv/VyV+h9k=";
|
||||
"8.2" = "sha256-yk+dkULtWVIccKurBdT96HOPbW8Q9l44iYpAAcoZYog=";
|
||||
"8.3" = "sha256-MpMupGFGxipghoA57EOytSsDsm9b25rc/VPIza+QMfM=";
|
||||
"8.0" = "sha256-jq/nHC9IGevYBqbM08nF71P9jH6z4NB8s1NdjHOfXQA=";
|
||||
"8.1" = "sha256-vbFONNHpuSTQsZMrAIdGEoBl5ySchcFkSuhW5uZKbWg=";
|
||||
"8.2" = "sha256-mXUAMkxwtuPZbIyCybBcxpmaBplr5h59pZEdgJ3PWtA=";
|
||||
"8.3" = "sha256-YL0P8GtFkV0cmJX1y6wd/HtA0LFzeuOcKDLUCagxHxE=";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -15,23 +15,26 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "aiogithubapi";
|
||||
version = "23.11.0";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ludeeus";
|
||||
repo = pname;
|
||||
repo = "aiogithubapi";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-SbpfHKD4QJuCe3QG0GTvsffkuFiGPLEUXOVW9f1gyTI=";
|
||||
};
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
postPatch = ''
|
||||
# Upstream is releasing with the help of a CI to PyPI, GitHub releases
|
||||
# are not in their focus
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'version = "0"' 'version = "${version}"' \
|
||||
--replace 'backoff = "^1.10.0"' 'backoff = "*"'
|
||||
--replace 'backoff = "^1.10.0"' 'backoff = "*"' \
|
||||
--replace 'sigstore = "<2"' 'sigstore = "*"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -55,10 +58,19 @@ buildPythonPackage rec {
|
||||
"--asyncio-mode=auto"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiogithubapi"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# sigstore.errors.TUFError: Failed to refresh TUF metadata
|
||||
"test_sigstore"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for the GitHub API";
|
||||
homepage = "https://github.com/ludeeus/aiogithubapi";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioopenexchangerates";
|
||||
version = "0.4.5";
|
||||
version = "0.4.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@@ -21,11 +21,12 @@ buildPythonPackage rec {
|
||||
owner = "MartinHjelmare";
|
||||
repo = "aioopenexchangerates";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-4mvd5G4qpebocg74Kz/+XtJovDnGJJYPigyhke9YDjA=";
|
||||
hash = "sha256-6lgjblCyc4NSnw+nlCH0SKV7f9aa4qcfa7v9pgzusKo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'pydantic = "^1.9"' 'pydantic = "*"' \
|
||||
--replace " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" ""
|
||||
'';
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pytest-mock
|
||||
, typing-extensions
|
||||
, tomlkit
|
||||
, grpcio-tools
|
||||
}:
|
||||
@@ -20,21 +21,25 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "betterproto";
|
||||
version = "2.0.0b6";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danielgtaylor";
|
||||
repo = "python-betterproto";
|
||||
rev = "v.${version}";
|
||||
rev = "refs/tags/v.${version}";
|
||||
hash = "sha256-ZuVq4WERXsRFUPNNTNp/eisWX1MyI7UtwqEI8X93wYI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
grpclib
|
||||
python-dateutil
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
passthru.optional-dependencies.compiler = [
|
||||
@@ -43,16 +48,18 @@ buildPythonPackage rec {
|
||||
isort
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "betterproto" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
grpcio-tools
|
||||
pydantic
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
tomlkit
|
||||
grpcio-tools
|
||||
] ++ passthru.optional-dependencies.compiler;
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
pythonImportsCheck = [
|
||||
"betterproto"
|
||||
];
|
||||
|
||||
# The tests require the generation of code before execution. This requires
|
||||
# the protoc-gen-python_betterproto script from the package to be on PATH.
|
||||
@@ -62,14 +69,24 @@ buildPythonPackage rec {
|
||||
${python.interpreter} -m tests.generate
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
# https://github.com/danielgtaylor/python-betterproto/issues/530
|
||||
"tests/inputs/oneof/test_oneof.py"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_pydantic_no_value"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Clean, modern, Python 3.6+ code generator & library for Protobuf 3 and async gRPC";
|
||||
description = "Code generator & library for Protobuf 3 and async gRPC";
|
||||
longDescription = ''
|
||||
This project aims to provide an improved experience when using Protobuf /
|
||||
gRPC in a modern Python environment by making use of modern language
|
||||
features and generating readable, understandable, idiomatic Python code.
|
||||
'';
|
||||
homepage = "https://github.com/danielgtaylor/python-betterproto";
|
||||
changelog = "https://github.com/danielgtaylor/python-betterproto/blob/v.${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ nikstur ];
|
||||
};
|
||||
|
||||
@@ -365,14 +365,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boto3-stubs";
|
||||
version = "1.34.20";
|
||||
version = "1.34.23";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-QxhR6oK4WW+PpJ3nAUVUrg8vosxqCVRFl4ejuTh5bGg=";
|
||||
hash = "sha256-VNez2P7s72huTjRfNBvkxZGsjcxkExn7aSCudhuAt4Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "botocore-stubs";
|
||||
version = "1.34.21";
|
||||
version = "1.34.23";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -17,7 +17,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "botocore_stubs";
|
||||
inherit version;
|
||||
hash = "sha256-xc3pikb8lNUNTs1GXdXGRQEiHJT+KJWmBt5cReyDdkM=";
|
||||
hash = "sha256-aSfRj6JrFOhTJXO/BmIEDb+OOUOg9uNTEhziVXnlyUI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -30,20 +30,13 @@ buildPythonPackage rec {
|
||||
})
|
||||
];
|
||||
|
||||
# This differs slightly from the default python installPhase in that it pip-installs
|
||||
# "." instead of "*.whl".
|
||||
# That is because while the default install phase succeeds to build the package,
|
||||
# it fails to generate the file "auto_paridecl.pxd".
|
||||
installPhase = ''
|
||||
export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
|
||||
|
||||
# install "." instead of "*.whl"
|
||||
pip install . --no-index --no-warn-script-location --prefix="$out" --no-cache
|
||||
preBuild = ''
|
||||
# generate cythonized extensions (auto_paridecl.pxd is crucial)
|
||||
${python.pythonOnBuildForHost.interpreter} setup.py build_ext --inplace
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pari
|
||||
python.pythonOnBuildForHost.pkgs.pip
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
@@ -56,6 +49,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
test -f "$out/${python.sitePackages}/cypari2/auto_paridecl.pxd"
|
||||
make check
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
{ lib
|
||||
, autoreconfHook
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, cython_3
|
||||
, cython
|
||||
, pariSupport ? true, pari # for interfacing with the PARI/GP signal handler
|
||||
}:
|
||||
|
||||
@@ -18,6 +19,14 @@ buildPythonPackage rec {
|
||||
hash = "sha256-Dx4yHlWgf5AchqNqHkSX9v+d/nAGgdATCjjDbk6yOMM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/sagemath/cysignals/pull/193
|
||||
(fetchpatch {
|
||||
url = "https://github.com/sagemath/cysignals/commit/474179c87ab0ff562fdfd2471b02797e4bdd3148.diff";
|
||||
sha256 = "sha256-qEAmf4kU+QDI/JPFNjQMZIjMBk8dnaLmOpagIBMsh7w=";
|
||||
})
|
||||
];
|
||||
|
||||
# explicit check:
|
||||
# build/src/cysignals/implementation.c:27:2: error: #error "cysignals must be compiled without _FORTIFY_SOURCE"
|
||||
hardeningDisable = [
|
||||
@@ -34,7 +43,7 @@ buildPythonPackage rec {
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
] ++ lib.optionals pariSupport [
|
||||
# When cysignals is built with pari, including cysignals into the
|
||||
# buildInputs of another python package will cause cython to link against
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datadog";
|
||||
version = "0.47.0";
|
||||
format = "pyproject";
|
||||
version = "0.48.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-R747LD1wmn9bcJ6xJu1P5sx5d9YY/lwVjdicKp99mRY=";
|
||||
hash = "sha256-1NZhNYw+f4Afv+FRGPXM8Iub2bH0W4uRBgWWUoPtrWQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,24 +1,28 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, colorlog
|
||||
, dataclasses-json
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, poetry-core
|
||||
, nltk-data
|
||||
, numpy
|
||||
, pandas
|
||||
, poetry-core
|
||||
, pydantic
|
||||
, pydateinfer
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, scipy
|
||||
, type-infer
|
||||
, dataclasses-json
|
||||
, colorlog
|
||||
, pydantic
|
||||
, nltk-data
|
||||
, symlinkJoin
|
||||
, type-infer
|
||||
}:
|
||||
let
|
||||
testNltkData = symlinkJoin {
|
||||
name = "nltk-test-data";
|
||||
paths = [ nltk-data.punkt nltk-data.stopwords ];
|
||||
paths = [
|
||||
nltk-data.punkt
|
||||
nltk-data.stopwords
|
||||
];
|
||||
};
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
@@ -35,20 +39,25 @@ buildPythonPackage rec {
|
||||
hash = "sha256-BtnRmj5JtgNdCFowgNdpIZn5vUdw8QYCWneHfDgC4/c=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pydantic"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorlog
|
||||
dataclasses-json
|
||||
numpy
|
||||
pandas
|
||||
pydantic
|
||||
pydateinfer
|
||||
python-dateutil
|
||||
scipy
|
||||
type-infer
|
||||
dataclasses-json
|
||||
colorlog
|
||||
pydantic
|
||||
];
|
||||
|
||||
# PyPI tarball has no tests
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dict2xml";
|
||||
version = "1.7.3";
|
||||
format = "pyproject";
|
||||
version = "1.7.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -16,7 +16,7 @@ buildPythonPackage rec {
|
||||
owner = "delfick";
|
||||
repo = "python-dict2xml";
|
||||
rev = "refs/tags/release-${version}";
|
||||
hash = "sha256-0Ahc+8pb1gHvcpnYhKAJYLIaQ5Wbp7Q8clzMVcnVdYs=";
|
||||
hash = "sha256-58sWvdkbt+czo96RUxB2vdOl/wqSU3BNIozSEdixWO8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
, django
|
||||
, pytest-django
|
||||
, pytestCheckHook
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -46,6 +47,8 @@ buildPythonPackage rec {
|
||||
"django_mailman3"
|
||||
];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) mailman; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Django library for Mailman UIs";
|
||||
homepage = "https://gitlab.com/mailman/django-mailman3";
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "environs";
|
||||
version = "10.1.0";
|
||||
version = "10.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -22,7 +22,7 @@ buildPythonPackage rec {
|
||||
owner = "sloria";
|
||||
repo = "environs";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-G9dgOugmFRHSLlmVHs2H5XyF3UKghAGtuzTWn4IB4dI=";
|
||||
hash = "sha256-D6Kp8aHiUls7+cACJ3DwrS4OftA5uMbAu4l5IyR4F5U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, buildPythonPackage
|
||||
|
||||
# build-system
|
||||
, cysignals
|
||||
, cython_3
|
||||
, cython
|
||||
, pkgconfig
|
||||
, setuptools
|
||||
|
||||
@@ -30,8 +31,21 @@ buildPythonPackage rec {
|
||||
hash = "sha256-EyReCkVRb3CgzIRal5H13OX/UdwWi+evDe7PoS1qP4A=";
|
||||
};
|
||||
|
||||
# temporarily revert to cython 0.29
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/fplll/fpylll/commit/528243c6fa6491c8e9652b99bdf9758766273d66.diff";
|
||||
revert = true;
|
||||
sha256 = "sha256-IRppkESy0CRwARhxBAsZxP6JkTe0M91apG4CTSSYNUU=";
|
||||
excludes = ["requirements.txt"];
|
||||
})
|
||||
];
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt --replace "Cython>=3.0" "Cython"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython_3
|
||||
cython
|
||||
cysignals
|
||||
pkgconfig
|
||||
setuptools
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
, unittestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "gitignore-parser";
|
||||
version = "0.1.10";
|
||||
format = "setuptools";
|
||||
version = "0.1.11";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -16,9 +17,13 @@ buildPythonPackage rec {
|
||||
owner = "mherrmann";
|
||||
repo = "gitignore_parser";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-uILXtozXRTOJeVpF1lpM19xaibebiwIMyHzdrlnfoec=";
|
||||
hash = "sha256-y8A8OLgJccYWvKTJs7um8RwFFM0CswbwRojknBmk3TY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
unittestCheckHook
|
||||
];
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "habluetooth";
|
||||
version = "2.1.0";
|
||||
version = "2.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@@ -25,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "Bluetooth-Devices";
|
||||
repo = "habluetooth";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-oPdKmaj2wKgOQw7QYwOQc8efcNtQiGryZgNJ+bbB6L8=";
|
||||
hash = "sha256-iFMs4FXl82ZkOKNad0XY8Ci9gHwdkyzP5LiYJ4/uyzY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
, pygments
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, pytz
|
||||
, pyyaml
|
||||
, requests
|
||||
@@ -19,19 +20,24 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "json-schema-for-humans";
|
||||
version = "0.46";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coveooss";
|
||||
repo = pname;
|
||||
repo = "json-schema-for-humans";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-wTO+d0O3SKT2jJ2zNubT2q76PdJ7+kT9RBEw5MMH1yg=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"dataclasses-json"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
||||
@@ -6,25 +6,31 @@
|
||||
, pydantic
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, toml
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "maison";
|
||||
version = "1.4.2";
|
||||
version = "1.4.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dbatten5";
|
||||
repo = "maison";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-XNo7QS8BCYzkDozLW0T+KMQPI667lDTCFtOqKq9q3hw=";
|
||||
hash = "sha256-2hUmk91wr5o2cV3un2nMoXDG+3GT7SaIOKY+QaZY3nw=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pydantic"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -47,6 +53,5 @@ buildPythonPackage rec {
|
||||
changelog = "https://github.com/dbatten5/maison/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
broken = versionAtLeast pydantic.version "2";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,22 +4,32 @@
|
||||
, marshmallow
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marshmallow-polyfield";
|
||||
version = "5.10";
|
||||
format = "setuptools";
|
||||
version = "5.11";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bachmann1234";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-oF5LBuDK4kqsAcKwidju+wFjigjy4CNbJ6bfWpGO1yQ=";
|
||||
repo = "marshmallow-polyfield";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-jbpeyih2Ccw1Rk+QcXRO9AfN5B/DhZmxa/M6FzXHqqs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=marshmallow_polyfield" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
marshmallow
|
||||
];
|
||||
@@ -28,11 +38,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=marshmallow_polyfield" ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"marshmallow"
|
||||
];
|
||||
|
||||
@@ -6,22 +6,27 @@
|
||||
, pytz
|
||||
, simplejson
|
||||
, packaging
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "marshmallow";
|
||||
version = "3.20.1";
|
||||
format = "setuptools";
|
||||
version = "3.20.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marshmallow-code";
|
||||
repo = pname;
|
||||
repo = "marshmallow";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-sPYiup7ontnubtBxv+rIT0up4IHPJNCUlH9J4FlHsss=";
|
||||
hash = "sha256-z6Quf6uTelGwB/uYayVXtVmculwaoI5LL8I0kKiM/e8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
packaging
|
||||
];
|
||||
|
||||
@@ -5,28 +5,34 @@
|
||||
, numpy
|
||||
, pandas
|
||||
, poetry-core
|
||||
, scikit-learn
|
||||
, toml-adapt
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, scikit-learn
|
||||
, toml-adapt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "niaaml";
|
||||
version = "1.1.12";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lukapecnik";
|
||||
repo = "NiaAML";
|
||||
rev = version;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-GAUXEkUOD04DQtRG/RAeeeLmenBd25h18Lmrxbm4X3A=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pandas"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
toml-adapt
|
||||
];
|
||||
|
||||
@@ -54,6 +60,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python automated machine learning framework";
|
||||
homepage = "https://github.com/lukapecnik/NiaAML";
|
||||
changelog = "https://github.com/lukapecnik/NiaAML/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ firefly-cpp ];
|
||||
};
|
||||
|
||||
@@ -5,28 +5,34 @@
|
||||
, numpy
|
||||
, pandas
|
||||
, poetry-core
|
||||
, scikit-learn
|
||||
, toml-adapt
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, scikit-learn
|
||||
, toml-adapt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "niaclass";
|
||||
version = "0.1.4";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lukapecnik";
|
||||
repo = "NiaClass";
|
||||
rev = "refs/tags/${version}";
|
||||
sha256 = "sha256-md1e/cOIOQKoB760E5hjzjCsC5tS1CzgqAPTeVtrmuo=";
|
||||
hash = "sha256-md1e/cOIOQKoB760E5hjzjCsC5tS1CzgqAPTeVtrmuo=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"pandas"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
toml-adapt
|
||||
];
|
||||
|
||||
@@ -42,7 +48,7 @@ buildPythonPackage rec {
|
||||
toml-adapt -path pyproject.toml -a change -dep scikit-learn -ver X
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@@ -53,6 +59,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "A framework for solving classification tasks using Nature-inspired algorithms";
|
||||
homepage = "https://github.com/lukapecnik/NiaClass";
|
||||
changelog = "https://github.com/lukapecnik/NiaClass/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ firefly-cpp ];
|
||||
};
|
||||
|
||||
@@ -9,26 +9,27 @@
|
||||
, pythonOlder
|
||||
, scikit-learn
|
||||
, toml-adapt
|
||||
, tomli
|
||||
, torch
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nianet";
|
||||
version = "1.1.4";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SasoPavlic";
|
||||
repo = pname;
|
||||
rev = "version_${version}";
|
||||
repo = "nianet";
|
||||
rev = "refs/tags/version_${version}";
|
||||
sha256 = "sha256-FZipl6Z9AfiL6WH0kvUn8bVxt8JLdDVlmTSqnyxe0nY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
toml-adapt
|
||||
poetry-core
|
||||
toml-adapt
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -44,8 +45,9 @@ buildPythonPackage rec {
|
||||
toml-adapt -path pyproject.toml -a change -dep torch -ver X
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
tomli
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openwebifpy";
|
||||
version = "4.0.4";
|
||||
version = "4.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-mGCi3nFnyzA+yKD5qtpErXYjOA6liZRiy7qJTbTGGnQ=";
|
||||
hash = "sha256-dCgbMyyVmYGPV8GyZUrMR+IO8nGoQ//dnmHmhFH2iJo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -66,6 +66,8 @@ buildPythonPackage rec {
|
||||
"test_bad_setup_file"
|
||||
# Assertion error
|
||||
"test_compile_recursive_extras"
|
||||
"test_combine_different_extras_of_the_same_package"
|
||||
"test_diff_should_not_uninstall"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
, marshmallow-dataclass
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, requests
|
||||
, responses
|
||||
, setuptools
|
||||
@@ -26,7 +27,12 @@ buildPythonPackage rec {
|
||||
hash = "sha256-ybl6QOLb1xE6v0D1C2wKMsSU+r2gWzj24Q4pPIMBsCY=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"marshmallow-dataclass"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
];
|
||||
|
||||
|
||||
@@ -5,12 +5,14 @@
|
||||
, gitpython
|
||||
, grpcio
|
||||
, grpcio-testing
|
||||
, minio
|
||||
, mmh3
|
||||
, pandas
|
||||
, pyarrow
|
||||
, pytestCheckHook
|
||||
, python
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, requests
|
||||
, scikit-learn
|
||||
, setuptools-scm
|
||||
, ujson
|
||||
@@ -19,19 +21,20 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymilvus";
|
||||
version = "2.3.3";
|
||||
format = "pyproject";
|
||||
version = "2.3.5";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "milvus-io";
|
||||
repo = pname;
|
||||
repo = "pymilvus";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-qnm6JaeF2Li2NgVGZ6yJ2yz1n3pVZqkF4Ee+q4v/kdA=";
|
||||
hash = "sha256-OKvaJyy6v79wcE9T0v2KwOBKShhDE8g0adIWce0bESs=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"environs"
|
||||
"grpcio"
|
||||
];
|
||||
|
||||
@@ -45,8 +48,11 @@ buildPythonPackage rec {
|
||||
propagatedBuildInputs = [
|
||||
environs
|
||||
grpcio
|
||||
minio
|
||||
mmh3
|
||||
pandas
|
||||
pyarrow
|
||||
requests
|
||||
ujson
|
||||
];
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
, openpyxl
|
||||
, orjson
|
||||
, phonenumbers
|
||||
, beautifulsoup4
|
||||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, python-decouple
|
||||
@@ -16,7 +17,7 @@
|
||||
, pythonRelaxDepsHook
|
||||
, pyyaml
|
||||
, requests
|
||||
, six
|
||||
, setuptools
|
||||
, toml
|
||||
, xlrd
|
||||
, xmltodict
|
||||
@@ -24,52 +25,94 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-benedict";
|
||||
version = "0.33.0";
|
||||
format = "setuptools";
|
||||
version = "0.33.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fabiocaccamo";
|
||||
repo = pname;
|
||||
repo = "python-benedict";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-SJBU7jMnyLBdWQPQ/UGbVklKUOrCM3fMnOkXKHQnyPI=";
|
||||
hash = "sha256-QRWyMqHW4C3+718mgp9z/dQ1loesm0Vaf2TzW3yqF3A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"boto3"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boto3
|
||||
ftfy
|
||||
mailchecker
|
||||
openpyxl
|
||||
phonenumbers
|
||||
python-dateutil
|
||||
python-fsutil
|
||||
python-slugify
|
||||
pyyaml
|
||||
requests
|
||||
toml
|
||||
xlrd
|
||||
xmltodict
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
all = [
|
||||
beautifulsoup4
|
||||
boto3
|
||||
ftfy
|
||||
mailchecker
|
||||
openpyxl
|
||||
phonenumbers
|
||||
python-dateutil
|
||||
pyyaml
|
||||
toml
|
||||
xlrd
|
||||
xmltodict
|
||||
];
|
||||
html = [
|
||||
beautifulsoup4
|
||||
xmltodict
|
||||
];
|
||||
io = [
|
||||
beautifulsoup4
|
||||
openpyxl
|
||||
pyyaml
|
||||
toml
|
||||
xlrd
|
||||
xmltodict
|
||||
];
|
||||
parse = [
|
||||
ftfy
|
||||
mailchecker
|
||||
phonenumbers
|
||||
python-dateutil
|
||||
];
|
||||
s3 = [
|
||||
boto3
|
||||
];
|
||||
toml = [
|
||||
toml
|
||||
];
|
||||
xls = [
|
||||
openpyxl
|
||||
xlrd
|
||||
];
|
||||
xml = [
|
||||
xmltodict
|
||||
];
|
||||
yaml = [
|
||||
pyyaml
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
orjson
|
||||
pytestCheckHook
|
||||
python-decouple
|
||||
six
|
||||
];
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_from_base64_with_valid_url_valid_content"
|
||||
"test_from_html_with_valid_file_valid_content"
|
||||
"test_from_html_with_valid_url_valid_content"
|
||||
"test_from_json_with_valid_url_valid_content"
|
||||
"test_from_pickle_with_valid_url_valid_content"
|
||||
"test_from_plist_with_valid_url_valid_content"
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, anyio
|
||||
, async-timeout
|
||||
, asyncclick
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, kasa-crypt
|
||||
, orjson
|
||||
@@ -17,16 +19,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-kasa";
|
||||
version = "0.5.4";
|
||||
format = "pyproject";
|
||||
version = "0.6.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
owner = "python-kasa";
|
||||
repo = "python-kasa";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-wGPMrYaTtKkkNW88eyiiciFcBSTRqqChYi6e15WUCHo=";
|
||||
hash = "sha256-JFd9Ka/96Y4nu2HnL/Waf5EBKb06+7rZdI72F8G472I=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -34,9 +36,11 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
anyio
|
||||
async-timeout
|
||||
asyncclick
|
||||
cryptography
|
||||
pydantic
|
||||
];
|
||||
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-sql";
|
||||
version = "1.4.2";
|
||||
version = "1.4.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-stuHXGcgwblayCyD6lLOu5RMQHvmii7wN8zdi6ucxTw=";
|
||||
hash = "sha256-YmC+/4NaNdOgrsTx2jUbC+nKoaDZSmy6lAp82Nz2Ymk=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "r2pipe";
|
||||
version = "1.8.4";
|
||||
version = "1.8.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-dy0+q1i/rE+eIQUZXX9S4y2RiOBM0Kc49PqdvtFAE90=";
|
||||
hash = "sha256-wAOmO5bev1zgPcJoiqKlS4anUKayo8HsncQXM+b1clQ=";
|
||||
};
|
||||
|
||||
# Tiny sanity check to make sure r2pipe finds radare2 (since r2pipe doesn't
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
, astropy-healpix
|
||||
, buildPythonPackage
|
||||
, cloudpickle
|
||||
, cython
|
||||
, cython_3
|
||||
, dask
|
||||
, fetchPypi
|
||||
, fsspec
|
||||
@@ -21,9 +21,9 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "reproject";
|
||||
version = "0.13.0";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@@ -37,7 +37,7 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
astropy-extension-helpers
|
||||
cython
|
||||
cython_3
|
||||
numpy
|
||||
oldest-supported-numpy
|
||||
setuptools-scm
|
||||
@@ -75,6 +75,7 @@ buildPythonPackage rec {
|
||||
description = "Reproject astronomical images";
|
||||
downloadPage = "https://github.com/astropy/reproject";
|
||||
homepage = "https://reproject.readthedocs.io";
|
||||
changelog = "https://github.com/astropy/reproject/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ smaret ];
|
||||
};
|
||||
|
||||
@@ -11,32 +11,23 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "ruyaml";
|
||||
version = "0.91.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pycontribs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0gxvwry7n1gczxkjzyfrr3fammllkvnnamja4yln8xrg3n1h89al";
|
||||
repo = "ruyaml";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-A37L/voBrn2aZ7xT8+bWdZJxbWRjnxbstQtSyUeN1sA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "remove-setuptools-scm-git-archive-from-setupcfg.patch";
|
||||
url = "https://github.com/pycontribs/ruyaml/commit/8922dd826cbb97b29e9826b00fb28a65d584e985.patch";
|
||||
includes = [ "setup.cfg" ];
|
||||
hash = "sha256-XAsORoPvYRElHswlZ4S377UwuJNCU1JuCz5iyFXoXOQ=";
|
||||
})
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/pycontribs/ruyaml/pull/107
|
||||
(fetchpatch {
|
||||
name = "remove-setuptools-scm-git-archive-from-pyproject.patch";
|
||||
url = "https://github.com/pycontribs/ruyaml/commit/4d605bf63f799696c8ba3c1f0a0f505db0ca33ce.patch";
|
||||
hash = "sha256-X6HWXBot5ZIo+odoSHhXMb03tgpQfRw/Ze8nFgH43ZI=";
|
||||
})
|
||||
];
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace '"pip >= 19.3.1",' "" \
|
||||
--replace '"setuptools_scm_git_archive >= 1.1",' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
@@ -58,9 +49,17 @@ buildPythonPackage rec {
|
||||
"ruyaml"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Assertion error
|
||||
"test_issue_60"
|
||||
"test_issue_60_1"
|
||||
"test_issue_61"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "YAML 1.2 loader/dumper package for Python";
|
||||
homepage = "https://ruyaml.readthedocs.io/";
|
||||
changelog = "https://github.com/pycontribs/ruyaml/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sentry-sdk";
|
||||
version = "1.39.0";
|
||||
version = "1.39.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -46,7 +46,7 @@ buildPythonPackage rec {
|
||||
owner = "getsentry";
|
||||
repo = "sentry-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-tYfnQ6L91KrRCR32dgzcDtA7eO+LHRAHBklxU8cXkK8=";
|
||||
hash = "sha256-MC+9w53fsC5XB7CR9SS+z4bu2GgxkqdeYWERhk8lhcA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -133,11 +133,12 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
# Issue with the asseration
|
||||
"test_auto_enabling_integrations_catches_import_error"
|
||||
"test_default_release"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Varius integration tests fail every once in a while when we
|
||||
# upgrade depencies, so don't bother testing them.
|
||||
# upgrade dependencies, so don't bother testing them.
|
||||
"tests/integrations/"
|
||||
] ++ lib.optionals (stdenv.buildPlatform != "x86_64-linux") [
|
||||
# test crashes on aarch64
|
||||
|
||||
@@ -1,27 +1,23 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, flit-core
|
||||
|
||||
# dependencies
|
||||
, appdirs
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, id
|
||||
, importlib-resources
|
||||
, pretend
|
||||
, pydantic
|
||||
, pyjwt
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, rich
|
||||
, securesystemslib
|
||||
, sigstore-protobuf-specs
|
||||
, sigstore-rekor-types
|
||||
, tuf
|
||||
|
||||
# tests
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -29,10 +25,12 @@ buildPythonPackage rec {
|
||||
version = "2.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sigstore";
|
||||
repo = "sigstore-python";
|
||||
rev = "v${version}";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-WH6Pme8ZbfW5xqBT056eVJ3HZP1D/lAULtyN6k0uMaA=";
|
||||
};
|
||||
|
||||
@@ -57,17 +55,35 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pretend
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sigstore"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_fail_init_url"
|
||||
"test_get_identity_token_bad_code"
|
||||
"test_identity_proof_claim_lookup"
|
||||
"test_init_url"
|
||||
"test_production"
|
||||
"test_sct_verify_keyring"
|
||||
"test_sign_rekor_entry_consistent"
|
||||
"test_verification_materials_retrieves_rekor_entry"
|
||||
"test_verifier"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A codesigning tool for Python packages";
|
||||
homepage = "https://github.com/sigstore/sigstore-python";
|
||||
changelog = "https://github.com/sigstore/sigstore-python/blob/${src.rev}/CHANGELOG.md";
|
||||
changelog = "https://github.com/sigstore/sigstore-python/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
||||
@@ -7,32 +7,23 @@
|
||||
, pythonOlder
|
||||
, requests
|
||||
, responses
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spyse-python";
|
||||
version = "2.2.3";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spyse-com";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "041k0037anwaxp2mh7mdk8rdsw9hdr3arigyyqfxfn35x8j41c3k";
|
||||
repo = "spyse-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-c7BAJOplWNcd9v7FrEZuMHHdMpqtHljF7YpbdQYAMxA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
dataclasses-json
|
||||
responses
|
||||
limiter
|
||||
];
|
||||
|
||||
# Tests requires an API token
|
||||
doCheck = false;
|
||||
|
||||
patches = [
|
||||
# Update limiter import and rate limit, https://github.com/spyse-com/spyse-python/pull/11
|
||||
(fetchpatch {
|
||||
@@ -45,11 +36,26 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'dataclasses~=0.6'," "" \
|
||||
--replace "dataclasses-json~=0.5.4" "dataclasses-json>=0.5.4" \
|
||||
--replace "responses~=0.13.3" "responses>=0.13.3" \
|
||||
--replace "limiter~=0.1.2" "limiter>=0.1.2" \
|
||||
--replace "requests~=2.26.0" "requests>=2.26.0"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
dataclasses-json
|
||||
responses
|
||||
limiter
|
||||
];
|
||||
|
||||
# Tests requires an API token
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"spyse"
|
||||
];
|
||||
@@ -57,6 +63,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module for spyse.com API";
|
||||
homepage = "https://github.com/spyse-com/spyse-python";
|
||||
changelog = "https://github.com/spyse-com/spyse-python/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
{ lib
|
||||
, arrow
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, wheel
|
||||
, arrow
|
||||
, requests
|
||||
, units
|
||||
, pint
|
||||
, pydantic
|
||||
, pythonOlder
|
||||
, pytz
|
||||
, six
|
||||
, requests
|
||||
, responses
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stravalib";
|
||||
version = "1.5";
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@@ -27,31 +27,31 @@ buildPythonPackage rec {
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
wheel
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nose
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
arrow
|
||||
requests
|
||||
units
|
||||
pint
|
||||
pydantic
|
||||
pytz
|
||||
six
|
||||
requests
|
||||
responses
|
||||
];
|
||||
|
||||
# tests require network access
|
||||
# testing strava api
|
||||
# Tests require network access, testing strava API
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"stravalib"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for interacting with Strava v3 REST API";
|
||||
homepage = "https://github.com/stravalib/stravalib";
|
||||
changelog = "https://github.com/stravalib/stravalib/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
maintainers = with maintainers; [ ];
|
||||
# Support for pydantic > 2, https://github.com/stravalib/stravalib/issues/379
|
||||
broken = versionAtLeast pydantic.version "2";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "strenum";
|
||||
version = "0.4.15";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -19,6 +21,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-LrDLIWiV/zIbl7CwKh7DAy4LoLyY7+hfUu8nqduclnA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Replace SafeConfigParser and readfp, https://github.com/milanmeu/aioaseko/pull/6
|
||||
(fetchpatch {
|
||||
name = "replace-safeconfigparser.patch";
|
||||
url = "https://github.com/irgeek/StrEnum/commit/896bef1b7e4a50c8b53d90c8d2fb5c0164f08ecd.patch";
|
||||
hash = "sha256-dmmEzhy17huclo1wOubpBUDc2L7vqEU5b/6a5loM47A=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"pytest-runner"' ""
|
||||
@@ -26,6 +37,10 @@ buildPythonPackage rec {
|
||||
--replace " --cov=strenum --cov-report term-missing --black --pylint" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
@@ -35,7 +50,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MOdule for enum that inherits from str";
|
||||
description = "Module for enum that inherits from str";
|
||||
homepage = "https://github.com/irgeek/StrEnum";
|
||||
changelog = "https://github.com/irgeek/StrEnum/releases/tag/v${version}";
|
||||
license = with licenses; [ mit ];
|
||||
|
||||
@@ -9,14 +9,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "thefuzz";
|
||||
version = "0.20.0";
|
||||
version = "0.22.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ol5JeGscRgPH/G4taea8ZgmCopGWmLU2/4NU4GMcxA0=";
|
||||
hash = "sha256-cTgDmn7PVA2jI3kthZLvmQKx1563jBR9TyBmTeefNoA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ levenshtein ];
|
||||
|
||||
@@ -2,14 +2,16 @@
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "token-bucket";
|
||||
version = "0.3.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@@ -20,11 +22,24 @@ buildPythonPackage rec {
|
||||
hash = "sha256-dazqJRpC8FUHOhgKFzDnIl5CT2L74J2o2Hsm0IQf4Cg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Replace imp with importlib, https://github.com/falconry/token-bucket/pull/24
|
||||
(fetchpatch {
|
||||
name = "remove-imp.patch";
|
||||
url = "https://github.com/falconry/token-bucket/commit/10a3c9f4de00f4933349f66b4c72b6c96db6e766.patch";
|
||||
hash = "sha256-Hk5+i3xzeA3F1kXRaRarWT9mff2lT2WNmTfTZvYzGYI=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "'pytest-runner'" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
@@ -37,7 +37,9 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "beautifulsoup4>=4.8,<4.12" "beautifulsoup4>=4.8" \
|
||||
--replace "draftjs_exporter>=2.1.5,<3.0" "draftjs_exporter>=2.1.5,<6.0"
|
||||
--replace "draftjs_exporter>=2.1.5,<3.0" "draftjs_exporter>=2.1.5,<6.0" \
|
||||
--replace "django-taggit>=2.0,<5.0" "django-taggit>=2.0,<6.0" \
|
||||
--replace "Willow[heif]>=1.6.2,<1.7" "Willow[heif]>=1.6.2,<2"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -64,7 +66,9 @@ buildPythonPackage rec {
|
||||
# on wagtail (wagtail-factories)
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests.wagtail = callPackage ./tests.nix {};
|
||||
passthru.tests.wagtail = callPackage ./tests.nix { };
|
||||
|
||||
pythonImportsCheck = [ "wagtail" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Django content management system focused on flexibility and user experience";
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, maison
|
||||
, pdm-pep517
|
||||
, pdm-backend
|
||||
, pytest-freezegun
|
||||
, pytest-xdist
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
@@ -13,21 +14,21 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "yamlfix";
|
||||
version = "1.13.0";
|
||||
format = "pyproject";
|
||||
version = "1.16.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lyz-code";
|
||||
repo = pname;
|
||||
repo = "yamlfix";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-GoCQtanQHYOFrhRvZjzk/cCPnUFwYUAclZuYGZfNg5E=";
|
||||
hash = "sha256-nadyBIzXHbWm0QvympRaYU38tuPJ3TPJg8EbvVv+4L0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
pdm-pep517
|
||||
pdm-backend
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -37,14 +38,39 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-freezegun
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"yamlfix"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError: assert ... Fixed <stdin> in...
|
||||
"test_check_one_file_no_changes"
|
||||
"test_config_parsing"
|
||||
"test_corrects_code_from_stdin"
|
||||
"test_corrects_one_file"
|
||||
"test_corrects_three_files"
|
||||
"test_empty_list_inline_comment_indentation"
|
||||
"test_find_files"
|
||||
"test_fix_code_converts_non_valid_false_booleans"
|
||||
"test_ignores_correct_files"
|
||||
"test_include_exclude_files"
|
||||
"test_read_prefixed_environment_variables"
|
||||
"test_section_whitelines"
|
||||
"test_whitelines"
|
||||
"test_sequence_style_env_enum_parsing"
|
||||
"test_verbose_option"
|
||||
"test_enforcing_flow_style_together_with_adjustable_newlines"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python YAML formatter that keeps your comments";
|
||||
homepage = "https://github.com/lyz-code/yamlfix";
|
||||
|
||||
@@ -25,11 +25,11 @@ in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "liquibase";
|
||||
version = "4.24.0";
|
||||
version = "4.25.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/liquibase/liquibase/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||
hash = "sha256-bs9jinW1AbeYGJ2oJOFn8p25NHcYYQnyVJUIxiZtCyo=";
|
||||
hash = "sha256-iyt6qOx1XU7lL6AhDNKiRP0W7WlfxKciRVYpUHdtKlY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -7,18 +7,18 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "extism-cli";
|
||||
version = "0.3.9";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "extism";
|
||||
repo = "cli";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-t53VJOc1umIwPyS6hkAm+u9KsKiYas4iRrlraofJSEY=";
|
||||
hash = "sha256-+8/xyHL+Dvm8Z5DXk1VkmFYP7Gg/YadIyc3xI9L0Jow=";
|
||||
};
|
||||
|
||||
modRoot = "./extism";
|
||||
|
||||
vendorHash = "sha256-Ukbg2CG2qeLmM9HijKXZY/fEY2QfJXTyaTIsEDT5W6E=";
|
||||
vendorHash = "sha256-kJnYp4X4dzkpXw0j7CI3Q3GdCQrCzslZxz2/IkVPqMk=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
||||
@@ -5,15 +5,15 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "goa";
|
||||
version = "3.14.1";
|
||||
version = "3.14.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "goadesign";
|
||||
repo = "goa";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-acF9y0EHjALB+h/mf96MfCUlSTvp3QdhwEbu3gBA/y4=";
|
||||
hash = "sha256-BwXO03q/vG6DWon0jhGNYckF8DHzaN9RtrX452VC6ls=";
|
||||
};
|
||||
vendorHash = "sha256-RI2UMmdFCNo6iE9MnWwsJtholjF4jNbCNNLk8nylgtc=";
|
||||
vendorHash = "sha256-z4oXiGEcXKZTS57p/3gHhCCUDKh/imNu2n5e6+6BjKg=";
|
||||
|
||||
subPackages = [ "cmd/goa" ];
|
||||
|
||||
|
||||
@@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-watch";
|
||||
version = "8.5.1";
|
||||
version = "8.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "watchexec";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MzwifQsOSJt9wq8bhVAY6HqXP4Zs4+a2GcG79PdAiMY=";
|
||||
hash = "sha256-Vf6BFr8MphaUJoHMtksbbVQb+jha7jowhktQCVFxlxQ=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wyyIZ7i1icvD53hnUM4H/kvxj6K/pVzAAvKKp5LzwTE=";
|
||||
cargoHash = "sha256-skUG1B6TCFEXeQSRwA6vWjXmNifk5bTR4+JESw7CZMo=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Foundation Cocoa ];
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "schemacrawler";
|
||||
version = "16.20.7";
|
||||
version = "16.20.8";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/schemacrawler/SchemaCrawler/releases/download/v${finalAttrs.version}/schemacrawler-${finalAttrs.version}-bin.zip";
|
||||
hash = "sha256-5TyciQVrJhu8RlT6feHEH9H43fi1NWJX1dGipebf46k=";
|
||||
hash = "sha256-uNk85AqdctxelImyx06yCsY15AxMFEEclOyao6Hu89A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "skopeo";
|
||||
version = "1.14.0";
|
||||
version = "1.14.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "containers";
|
||||
repo = "skopeo";
|
||||
hash = "sha256-6PSxYM6u727vHf4FP0ju0TAuqj4R4bxQEdyZHvC4qBA=";
|
||||
hash = "sha256-PYPlhlliqd6j3KbMgelg+spqXOl1ZnA0qd1Xyf8F4wY=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "spring-boot-cli";
|
||||
version = "3.2.0";
|
||||
version = "3.2.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "mirror://maven/org/springframework/boot/${finalAttrs.pname}/${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}-bin.zip";
|
||||
hash = "sha256-C9hWIH6lFDa9dzH5iYZlawt+7SSPt3gxcXM62qd0zbo=";
|
||||
hash = "sha256-hZexasMid9yZqTyX7LouTg44rG7WO/KU+CmAtSdpc2Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ytt";
|
||||
version = "0.46.3";
|
||||
version = "0.47.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vmware-tanzu";
|
||||
repo = "carvel-ytt";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-K2+5NplyQuvc78NnNDiQhfrewqn84jDbiAyN8J9iTm0=";
|
||||
sha256 = "sha256-aoKgXagCygK4pzRHw5Nf8LCzpzZd2X77th9tJA5f1aA=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
let
|
||||
pname = "bootstrap-studio";
|
||||
version = "6.5.1";
|
||||
version = "6.6.0";
|
||||
src = fetchurl {
|
||||
url = "https://releases.bootstrapstudio.io/${version}/Bootstrap%20Studio.AppImage";
|
||||
sha256 = "sha256-mx9KkMwFzdjhzofr+4l7MTerGfSSsI8+z8jmaoV8uvo=";
|
||||
sha256 = "sha256-kXYptuLmhYJ3YiKtfIMiOs4zssJ1+v+JgDHWVtbWQ+Y=";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
|
||||
@@ -31,13 +31,13 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "ultrastardx";
|
||||
version = "2023.12.0";
|
||||
version = "2024.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "UltraStar-Deluxe";
|
||||
repo = "USDX";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-BR2TZMg5Xr8K2IEpQBbkR3SkyBQUXdYABjVOoe6GnJc=";
|
||||
hash = "sha256-pyX2zQiCp9lHSV1sGz0GaM5jTaBtyw50I6bFVbSm5S4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vcmi";
|
||||
version = "1.4.2";
|
||||
version = "1.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "vcmi";
|
||||
repo = "vcmi";
|
||||
rev = version;
|
||||
hash = "sha256-C8WzEidTanWKPI/J2bEsi7sTMhn+FmykC55EsXZLLQ0=";
|
||||
hash = "sha256-BUphJqIZkxhPGsiK9ubG3oL9ak2ekFze8chdK28qX3o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -120,7 +120,7 @@ rec {
|
||||
};
|
||||
|
||||
legacy_340 = let
|
||||
# Source cooresponding to https://aur.archlinux.org/packages/nvidia-340xx-dkms
|
||||
# Source corresponding to https://aur.archlinux.org/packages/nvidia-340xx-dkms
|
||||
aurPatches = fetchFromGitHub {
|
||||
owner = "archlinux-jerry";
|
||||
repo = "nvidia-340xx";
|
||||
|
||||
@@ -9,13 +9,13 @@
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "jackett";
|
||||
version = "0.21.1468";
|
||||
version = "0.21.1510";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha512-URVuhMjls3M453ogzrmZmditqOJAuM46erckUd75NKwp/44bPlZgoHvorNeuOxOwnEafYDoo+ExuWv9EiYAjUA==";
|
||||
hash = "sha512-isoKpyxrjr+Kq+Ni7+suQDSWEhTieDzFpdFsf7oxm3+9J2/ziHgh7qfiaaicwqIjSnfUhykvXqAGzrf/Yc/+7g==";
|
||||
};
|
||||
|
||||
projectFile = "src/Jackett.Server/Jackett.Server.csproj";
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
, python3
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
with python3.pkgs;
|
||||
@@ -66,6 +67,8 @@ buildPythonPackage rec {
|
||||
--settings=hyperkitty.tests.settings_test hyperkitty
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests) mailman; };
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/mailman/";
|
||||
description = "Archiver for GNU Mailman v3";
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
, python3
|
||||
, fetchPypi
|
||||
, mailman
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
with python3.pkgs;
|
||||
@@ -39,6 +40,8 @@ buildPythonPackage rec {
|
||||
"mailman_hyperkitty"
|
||||
];
|
||||
|
||||
passthru.tests = { inherit (nixosTests) mailman; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mailman archiver plugin for HyperKitty";
|
||||
homepage = "https://gitlab.com/mailman/mailman-hyperkitty";
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
, fetchPypi
|
||||
, postfix
|
||||
, lynx
|
||||
, nixosTests
|
||||
}:
|
||||
|
||||
with python3.pkgs;
|
||||
@@ -78,6 +79,8 @@ buildPythonPackage rec {
|
||||
# 'runner' scripts.
|
||||
dontWrapPythonPrograms = true;
|
||||
|
||||
passthru.tests = { inherit (nixosTests) mailman; };
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/mailman/";
|
||||
description = "Free software for managing electronic mail discussion and newsletter lists";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, python3, fetchPypi }:
|
||||
{ lib, python3, fetchPypi, nixosTests }:
|
||||
|
||||
with python3.pkgs;
|
||||
|
||||
@@ -17,6 +17,8 @@ buildPythonPackage rec {
|
||||
# Tries to connect to database.
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = { inherit (nixosTests) mailman; };
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://docs.mailman3.org/projects/postorius";
|
||||
description = "Web-based user interface for managing GNU Mailman";
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user