Merge master into staging-next
This commit is contained in:
@@ -19266,6 +19266,12 @@
|
||||
githubId = 2946283;
|
||||
name = "Brian Cohen";
|
||||
};
|
||||
nouritsu = {
|
||||
name = "Aneesh Bhave";
|
||||
email = "aneesh1701@gmail.com";
|
||||
github = "nouritsu";
|
||||
githubId = 113834791;
|
||||
};
|
||||
nova-madeline = {
|
||||
matrix = "@nova:tchncs.de";
|
||||
github = "nova-r";
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -9,10 +9,10 @@
|
||||
|
||||
buildMozillaMach rec {
|
||||
pname = "firefox";
|
||||
version = "147.0.2";
|
||||
version = "147.0.3";
|
||||
src = fetchurl {
|
||||
url = "mirror://mozilla/firefox/releases/${version}/source/firefox-${version}.source.tar.xz";
|
||||
sha512 = "60f8c96dddb337f46746c22d3c282be5e58ce7dc7cd2ae65097eb6405a533a2baa2c7f48e178acfc7d7e2bee1b06bd07a1ae801dae9c9d7609c2fcec8e99e2e6";
|
||||
sha512 = "37e39c47d694eccdcabb7d8a0a4cfe1b02860a97f604653f364c60f4e98796ffc7f1c6ab51226b2e5034a4b4805ccc6ec3983f0d830c9f36692df2ec261273d9";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -30,7 +30,8 @@ let
|
||||
in
|
||||
{
|
||||
prefetch-yarn-deps = stdenv.mkDerivation {
|
||||
name = "prefetch-yarn-deps";
|
||||
pname = "prefetch-yarn-deps";
|
||||
inherit (lib.trivial) version;
|
||||
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
@@ -66,7 +67,8 @@ in
|
||||
};
|
||||
|
||||
fixup-yarn-lock = stdenv.mkDerivation {
|
||||
name = "fixup-yarn-lock";
|
||||
pname = "fixup-yarn-lock";
|
||||
inherit (lib.trivial) version;
|
||||
|
||||
dontUnpack = true;
|
||||
dontBuild = true;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
multiStdenv,
|
||||
fetchFromGitHub,
|
||||
wine,
|
||||
wineWowPackages,
|
||||
cmake,
|
||||
makeWrapper,
|
||||
file,
|
||||
@@ -12,33 +12,19 @@
|
||||
}:
|
||||
|
||||
let
|
||||
wine-wow64 = wineWowPackages.stableFull;
|
||||
in
|
||||
multiStdenv.mkDerivation (finalAttrs: {
|
||||
pname = "airwave";
|
||||
version = "1.3.3";
|
||||
|
||||
airwave-src = fetchFromGitHub {
|
||||
src = fetchFromGitHub {
|
||||
owner = "phantom-code";
|
||||
repo = "airwave";
|
||||
rev = version;
|
||||
sha256 = "1ban59skw422mak3cp57lj27hgq5d3a4f6y79ysjnamf8rpz9x4s";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-mvT0b0auKiu1T8cbR9RoBT94hKSnXDamqkIQPnUqVq0=";
|
||||
};
|
||||
|
||||
wine-wow64 = wine.override {
|
||||
wineRelease = "stable";
|
||||
wineBuild = "wineWow";
|
||||
};
|
||||
|
||||
wine-xembed = wine-wow64.overrideDerivation (oldAttrs: {
|
||||
patchFlags = [ "-p2" ];
|
||||
patches = [ "${airwave-src}/fix-xembed-wine-windows.patch" ];
|
||||
});
|
||||
|
||||
in
|
||||
|
||||
multiStdenv.mkDerivation {
|
||||
pname = "airwave";
|
||||
inherit version;
|
||||
|
||||
src = airwave-src;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
makeWrapper
|
||||
@@ -49,17 +35,20 @@ multiStdenv.mkDerivation {
|
||||
file
|
||||
libX11
|
||||
qt5.qtbase
|
||||
wine-xembed
|
||||
wine-wow64
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail "cmake_minimum_required(VERSION 2.8.11)" "cmake_minimum_required(VERSION 3.10)"
|
||||
|
||||
# Binaries not used directly should land in libexec/.
|
||||
substituteInPlace src/common/storage.cpp --replace '"/bin"' '"/libexec"'
|
||||
|
||||
# For airwave-host-32.exe.so, point wineg++ to 32-bit versions of
|
||||
# these libraries, as $NIX_LDFLAGS contains only 64-bit ones.
|
||||
substituteInPlace src/host/CMakeLists.txt --replace '-m32' \
|
||||
'-m32 -L${wine-xembed}/lib -L${wine-xembed}/lib/wine -L${multiStdenv.cc.libc.out}/lib/32'
|
||||
'-m32 -L${lib.getLib wine-wow64}/lib -L${lib.getLib wine-wow64}/lib/wine -L${lib.getLib multiStdenv.cc.libc}/lib/32'
|
||||
'';
|
||||
|
||||
# libstdc++.so link gets lost in 64-bit executables during
|
||||
@@ -75,8 +64,8 @@ multiStdenv.mkDerivation {
|
||||
mv $out/bin $out/libexec
|
||||
mkdir $out/bin
|
||||
mv $out/libexec/airwave-manager $out/bin
|
||||
wrapProgram $out/libexec/airwave-host-32.exe --set WINELOADER ${wine-xembed}/bin/wine
|
||||
wrapProgram $out/libexec/airwave-host-64.exe --set WINELOADER ${wine-xembed}/bin/wine64
|
||||
wrapProgram $out/libexec/airwave-host-32.exe --set WINELOADER ${lib.getExe' wine-wow64 "wine"}
|
||||
wrapProgram $out/libexec/airwave-host-64.exe --set WINELOADER ${lib.getExe' wine-wow64 "wine64"}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
@@ -95,4 +84,4 @@ multiStdenv.mkDerivation {
|
||||
maintainers = with lib.maintainers; [ michalrus ];
|
||||
hydraPlatforms = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -10,16 +10,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "avbroot";
|
||||
version = "3.24.0";
|
||||
version = "3.24.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chenxiaolong";
|
||||
repo = "avbroot";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-SmoYlBG5GcTqPdAm9snZsPhFX3MEZdC59whqVnmAwes=";
|
||||
hash = "sha256-VLu6tOXcpSTrwjv44bw+/8onDB/GlNmgpcx+s+FYKUE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-UZwJLiOPVBgZztRhp65Qs66OfnL4RTcRlTrpW1a6Ae8=";
|
||||
cargoHash = "sha256-oJeO0Vtfesx6quTjv6hdA1PgJVAuzPGsRnp88fz/oSA=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "aws-lc";
|
||||
version = "1.66.0";
|
||||
version = "1.67.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "aws-lc";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-OO9TWwaV/GlyrLl4C6oCFxIAeYfWjzvY7o//7OuoRDc=";
|
||||
hash = "sha256-p58Re3HvBY/nzyCFvM5Ntx7Mb5OgcNQoZNloAJitDTY=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -9,15 +9,17 @@
|
||||
cpio,
|
||||
gawk,
|
||||
coreutils,
|
||||
curl,
|
||||
sqlite,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "blast";
|
||||
version = "2.14.1";
|
||||
version = "2.17.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/${finalAttrs.version}/ncbi-blast-${finalAttrs.version}+-src.tar.gz";
|
||||
sha256 = "sha256-cSwtvfD7E8wcLU9O9d0c5LBsO1fpbf6o8j5umfWxZQ4=";
|
||||
sha256 = "sha256-UCBXqI6ZkONOYnWL4h6kdMwK1o1qY6LjeyNyrx5eoUc=";
|
||||
};
|
||||
|
||||
sourceRoot = "ncbi-blast-${finalAttrs.version}+-src/c++";
|
||||
@@ -28,6 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"--with-flat-makefile"
|
||||
"--without-makefile-auto-update"
|
||||
"--with-dll" # build dynamic libraries (static are default)
|
||||
"--with-sqlite3=${sqlite.dev}"
|
||||
];
|
||||
|
||||
makeFlags = [ "all_projects=app/" ];
|
||||
@@ -100,6 +103,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gawk
|
||||
zlib
|
||||
bzip2
|
||||
sqlite
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
@@ -109,6 +113,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
postInstall = ''
|
||||
substituteInPlace $out/bin/get_species_taxids.sh \
|
||||
--replace-fail "/bin/rm" "${coreutils}/bin/rm"
|
||||
|
||||
substituteInPlace $out/bin/update_blastdb.pl \
|
||||
--replace-fail 'qw(/usr/local/bin /usr/bin)' 'qw(${lib.getBin curl}/bin)'
|
||||
'';
|
||||
patches = [ ./no_slash_bin.patch ];
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
autoAddDriverRunpath,
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "gpu-usage-waybar";
|
||||
version = "0.1.26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PolpOnline";
|
||||
repo = "gpu-usage-waybar";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-8kj5QQ7yknLct6PfVGz+TiSS6nmQPzDXt2LF0h1hMNE=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-wGKMZDT+B/AD8onnfslnqKBFgqVJNo/idWKLZOiQb/c=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoAddDriverRunpath
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Tool to display GPU usage in Waybar";
|
||||
homepage = "https://github.com/PolpOnline/gpu-usage-waybar";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ nouritsu ];
|
||||
mainProgram = "gpu-usage-waybar";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
||||
@@ -16,14 +16,14 @@
|
||||
}:
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "handheld-daemon";
|
||||
version = "4.1.5";
|
||||
version = "4.1.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hhd-dev";
|
||||
repo = "hhd";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-hjqlaJ4mJ1s9ivN4vTzeOXK4GuBi8799DlSZimWaMFg=";
|
||||
hash = "sha256-9aEq4zL7bVCV7iJ0f3UOhXJx+Dug/O6bRx0LmDnSr3c=";
|
||||
};
|
||||
|
||||
# Handheld-daemon runs some selinux-related utils which are not in nixpkgs.
|
||||
|
||||
@@ -5,16 +5,16 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "impala";
|
||||
version = "0.7.2";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pythops";
|
||||
repo = "impala";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-kDXf+zrCfsYv+5P69BiZDBqaw9SM3JPCXV7KzpIEJn0=";
|
||||
hash = "sha256-zSoH0zY24m4XxWWBNUmMQozAtTiSDn4GD/HghXk4qI8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-Zs3x7wWbO0LL1BjEAWb1UbztJJ6K6hXxgMBynHLri8A=";
|
||||
cargoHash = "sha256-wOoFQW5GIPNs+aA6JsU/g7/myJz45E9/0gNwKa3jSwI=";
|
||||
|
||||
# fix for compilation of musl builds on aarch64
|
||||
# see https://github.com/NixOS/nixpkgs/issues/145726
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
runCommandLocal "jazz2-content"
|
||||
{
|
||||
pname = "jazz2-content";
|
||||
|
||||
inherit (jazz2) version src;
|
||||
|
||||
meta = (removeAttrs jazz2.meta [ "mainProgram" ]) // {
|
||||
|
||||
@@ -23,11 +23,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "kstars";
|
||||
version = "3.8.0";
|
||||
version = "3.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kde/stable/kstars/${finalAttrs.version}/kstars-${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-npB0maYIdAZgHBVZqQ9lUe9VfvRkI3E1WSnG7RIYje4=";
|
||||
hash = "sha256-1f40IdBzjKV2dt1TZtIwLE+ivuPkb0GMWM02Az0Sauo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with kdePackages; [
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "neil";
|
||||
version = "0.3.68";
|
||||
version = "0.3.69";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "babashka";
|
||||
repo = "neil";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-ulqVrFsuYvRKxASHI6AqnHkKKdmDVgtivsRIscivcXw=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-NRuWRZRh93lQjfi3C+gliixZYAZ/JZRMZJbcPv29YFI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
@@ -31,9 +31,9 @@ let
|
||||
|
||||
phome = "$out/lib/olympus";
|
||||
# The following variables are to be updated by the update script.
|
||||
version = "25.12.05.03";
|
||||
buildId = "5357"; # IMPORTANT: This line is matched with regex in update.sh.
|
||||
rev = "2959f60fc33a0bd5c3a6805f439bf69c02b3bbfe";
|
||||
version = "26.02.04.01";
|
||||
buildId = "5465"; # IMPORTANT: This line is matched with regex in update.sh.
|
||||
rev = "93a53820c73b9cda123d9d5e622157d22d0873d4";
|
||||
in
|
||||
buildDotnetModule {
|
||||
pname = "olympus-unwrapped";
|
||||
@@ -44,7 +44,7 @@ buildDotnetModule {
|
||||
owner = "EverestAPI";
|
||||
repo = "Olympus";
|
||||
fetchSubmodules = true; # Required. See upstream's README.
|
||||
hash = "sha256-CMCFri8vfcgcU0Hy1KVTbYM7TLwLlHOJ6VSiEhKuWrA=";
|
||||
hash = "sha256-rzoBREMGBOh7SjzObavq5+quLlsiytV7Elp3c8Fu/k8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
buildGoModule,
|
||||
plikd,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "plik";
|
||||
inherit (plikd)
|
||||
version
|
||||
src
|
||||
postPatch
|
||||
passthru
|
||||
;
|
||||
|
||||
subPackages = [ "client" ];
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/client $out/bin/plik
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit (plikd.meta)
|
||||
description
|
||||
homepage
|
||||
license
|
||||
maintainers
|
||||
;
|
||||
mainProgram = "plik";
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
fetchurl,
|
||||
nixosTests,
|
||||
makeWrapper,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "plikd";
|
||||
version = "1.3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "root-gg";
|
||||
repo = "plik";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-WCtfkzlZnyzZDwNDBrW06bUbLYTL2C704Y7aXbiVi5c=";
|
||||
};
|
||||
|
||||
# TODO build webapp from source (how to hanndle npm and bower deps?)
|
||||
src-webapp = fetchurl {
|
||||
url = "https://github.com/root-gg/plik/releases/download/${finalAttrs.version}/plik-${finalAttrs.version}-linux-amd64.tar.gz";
|
||||
hash = "sha256-taUFXZJeUHYjjhrVlLgKYPxNn6W5o8uoEVcu+f5flCA=";
|
||||
};
|
||||
|
||||
subPackages = [ "server" ];
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace server/common/version.go \
|
||||
--replace '"0.0.0"' '"${finalAttrs.version}"'
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
# install the webapp
|
||||
mkdir -p $out/libexec/plikd/{bin,webapp} $out/bin
|
||||
tar xf ${finalAttrs.src-webapp} plik-${finalAttrs.version}-linux-amd64/webapp/dist/
|
||||
mv plik-*/webapp/dist $out/libexec/plikd/webapp
|
||||
|
||||
# move and wrap the server binary
|
||||
mv $out/bin/server $out/libexec/plikd/bin/plikd
|
||||
makeWrapper $out/libexec/plikd/bin/plikd $out/bin/plikd \
|
||||
--chdir "$out/libexec/plikd/bin"
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) plikd;
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Scalable & friendly temporary file upload system";
|
||||
homepage = "https://plik.root.gg/";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "plikd";
|
||||
maintainers = [ ];
|
||||
};
|
||||
})
|
||||
@@ -6,13 +6,13 @@
|
||||
}:
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "stevenblack-blocklist";
|
||||
version = "3.16.54";
|
||||
version = "3.16.57";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "StevenBlack";
|
||||
repo = "hosts";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-NEBWlyBQllOI5L2dneXFxHYKM7kB7uofyJIIzGYRdVI=";
|
||||
hash = "sha256-bbAWMbj150R239pBcngScnAdsdfWs9fIzc8EgQWG/+o=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
|
||||
let
|
||||
pname = "wootility";
|
||||
version = "5.2.3";
|
||||
version = "5.2.4";
|
||||
src = fetchurl {
|
||||
url = "https://wootility-updates.ams3.cdn.digitaloceanspaces.com/wootility-linux/Wootility-${version}.AppImage";
|
||||
sha256 = "sha256-AoToN2oQ0kUnXRYPDEFUk4jS/CXGOn4adD2gyaB/wGo=";
|
||||
sha256 = "sha256-cmZX6E1Z2RdrB+uDJWeBm3woyVArmLl2+NvWhyEB3BI=";
|
||||
};
|
||||
in
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "x16-emulator";
|
||||
version = "48";
|
||||
# nixpkgs-update: no auto update
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "X16Community";
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "x16-rom";
|
||||
version = "48";
|
||||
# nixpkgs-update: no auto update
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "X16Community";
|
||||
|
||||
@@ -77,11 +77,14 @@ buildPythonPackage {
|
||||
passthru.updateScript = ./update.py;
|
||||
|
||||
meta = {
|
||||
broken = stdenv.isDarwin; # elftools.common.exceptions.ELFError: Magic number does not match
|
||||
changelog = "https://github.com/google-ai-edge/LiteRT/releases/tag/v${release.version}";
|
||||
description = "LiteRT is for mobile and embedded devices";
|
||||
downloadPage = "https://github.com/google-ai-edge/LiteRT";
|
||||
homepage = "https://www.tensorflow.org/lite/";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.attrNames platforms;
|
||||
sourceProvenance = [ lib.sourceTypes.binaryNativeCode ];
|
||||
maintainers = with lib.maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,48 +1,58 @@
|
||||
{
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.2",
|
||||
"src": {
|
||||
"aarch64-linux": {
|
||||
"aarch64-darwin": {
|
||||
"3.10": {
|
||||
"url": "https://files.pythonhosted.org/packages/a5/7a/6ea77fe405d76dcd1a95fceccd1018293603f551bf3645a382ef1fd470eb/ai_edge_litert-2.1.0-cp310-cp310-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-eAZzWROFxGRqqCs42qLu2IvCY0bhqvvp0Nt/BJPWq1Q="
|
||||
"url": "https://files.pythonhosted.org/packages/6c/a5/0fbc63f8e076008481bc21af0d5085501555757194c7c1daaf2542cd7a82/ai_edge_litert-2.1.2-cp310-cp310-macosx_12_0_arm64.whl",
|
||||
"hash": "sha256-Cn3V07eHS6ZqOCsmG//io9nvdyuEH0eqvtCYLWAl4OU="
|
||||
},
|
||||
"3.11": {
|
||||
"url": "https://files.pythonhosted.org/packages/82/e7/73fff29c7a95a4f35953a027bdb174dd9ac08adbe8c2c322dee26d8f1d3f/ai_edge_litert-2.1.0-cp311-cp311-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-krJNJQf8z1aAwm5xLBViZtz2Sokt85Id1C9KfSZSdGI="
|
||||
"url": "https://files.pythonhosted.org/packages/dd/f9/ba44382f353a2b845e9b6242750a7d56b0054ab6c6bcf53d20823bae58e4/ai_edge_litert-2.1.2-cp311-cp311-macosx_12_0_arm64.whl",
|
||||
"hash": "sha256-B8P0QiEt4YWd3bzVH/kPL8swSNlAob3b1vE7BOWnkIM="
|
||||
},
|
||||
"3.12": {
|
||||
"url": "https://files.pythonhosted.org/packages/61/f6/1aeccf3034f95ec680a2e25f33582d4adf02c30b3462357511d529a2cad2/ai_edge_litert-2.1.0-cp312-cp312-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-4Gt9sF08WCT9S1biMY9oWN73GHgM2QMYYmtKqY23WDw="
|
||||
"url": "https://files.pythonhosted.org/packages/6d/59/5f65a091340c6abf26c66a11fc0c8ecbd264e93ad7293aaf1f1b6892cc00/ai_edge_litert-2.1.2-cp312-cp312-macosx_12_0_arm64.whl",
|
||||
"hash": "sha256-IMljV6fGFgDn7JSowTH+5MCplBMuXm5DbHx+k9PzGyI="
|
||||
},
|
||||
"3.13": {
|
||||
"url": "https://files.pythonhosted.org/packages/9e/b2/dde0f8043eb26f237c5958e44334d62fa90496fa51438f9c5179dec72d4c/ai_edge_litert-2.1.0-cp313-cp313-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-eoB6MjbIz1ZeIxtuwzG+zjo/WhfDwl+I8+N8/oZo+NA="
|
||||
"url": "https://files.pythonhosted.org/packages/a0/c3/c004708dc361609e76788e2e0a46f598bb523fc301144e483121818f8798/ai_edge_litert-2.1.2-cp313-cp313-macosx_12_0_arm64.whl",
|
||||
"hash": "sha256-U7xyFjinSb38D1vOkCMT7GmHHgUQiTtWPuc/GaFatpA="
|
||||
}
|
||||
},
|
||||
"aarch64-linux": {
|
||||
"3.10": {
|
||||
"url": "https://files.pythonhosted.org/packages/3e/50/c55cc44c71fce9ef9a567928cdb80f03719b4c5b8309cceb8fad8f549e52/ai_edge_litert-2.1.2-cp310-cp310-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-FkQ1vHqzQmsMI/RzK9Ti649J093hMkkB3KXXScxlqck="
|
||||
},
|
||||
"3.9": {
|
||||
"url": "https://files.pythonhosted.org/packages/30/8b/531b230a5377b2253eff8235f10e72489bc207f7e5ed6e531670495e4fd4/ai_edge_litert-2.1.0-cp39-cp39-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-qe3jwpMVGnSt+hK6yLjOh+wB3Fhuw86hIqxxRlDIQb8="
|
||||
"3.11": {
|
||||
"url": "https://files.pythonhosted.org/packages/ee/5a/57d9b8967fa5a2f3055ad3e7666446c8d2271446319e7f17c897b151544c/ai_edge_litert-2.1.2-cp311-cp311-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-fcSvxLZ3l+d9h541rVWOYPdGvnweYWpmU70svx/++a0="
|
||||
},
|
||||
"3.12": {
|
||||
"url": "https://files.pythonhosted.org/packages/7e/36/8ff07084091272db4df8de3859149be3913a6eaf2939575bb4200379b808/ai_edge_litert-2.1.2-cp312-cp312-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-G0EjaJgLQEqgUdCUBavUc9OhUTDbAwk40mlm8aHnxBM="
|
||||
},
|
||||
"3.13": {
|
||||
"url": "https://files.pythonhosted.org/packages/b8/ed/6763310cb4ea2d2e6cc61184127467e4c277ebbb8c49130eb3dfc6c1bb5c/ai_edge_litert-2.1.2-cp313-cp313-manylinux_2_27_aarch64.whl",
|
||||
"hash": "sha256-bXYO9Rxy9Wswf6bxZ1pi+HClRlFbHaDA8oLKFf8YNsU="
|
||||
}
|
||||
},
|
||||
"x86_64-linux": {
|
||||
"3.10": {
|
||||
"url": "https://files.pythonhosted.org/packages/20/4a/5f7848c8d21df432f44ebd36097406f66d98762295a4f11239f1d913f347/ai_edge_litert-2.1.0-cp310-cp310-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-0FSis6ZeLCtFcahO0zul2ojp0Xhy/YdTwXc/+3g1HLE="
|
||||
"url": "https://files.pythonhosted.org/packages/c6/35/52fae12e74e9ee8c8e4e6a99cf478f3379e10a0a272e717b7915e2fa8922/ai_edge_litert-2.1.2-cp310-cp310-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-5UyKkAbMvkNaG0zZGVP/yb6kHkLXvohsqAo/MZLN0ww="
|
||||
},
|
||||
"3.11": {
|
||||
"url": "https://files.pythonhosted.org/packages/0d/d1/032cd1300a9b40da97e9f93781b3c2c5f104c22157695a3bb5bd5531821f/ai_edge_litert-2.1.0-cp311-cp311-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-3PfXk3SrRnzsGfLtrdO+skOtF4M/jFrVm/dnEr8USbE="
|
||||
"url": "https://files.pythonhosted.org/packages/6a/a8/c8024c9657a76e3589cf2b8b21cbccdef0b9a64b74d98eebcabbbdfaeb7a/ai_edge_litert-2.1.2-cp311-cp311-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-s/87Et9F38VAk04zvemvR0sLTBLDu2ESslGqrk0pMKA="
|
||||
},
|
||||
"3.12": {
|
||||
"url": "https://files.pythonhosted.org/packages/bb/16/0aface4ec3554304487d6436938684023c054828b4334f114f7db303b27a/ai_edge_litert-2.1.0-cp312-cp312-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-SNfm6BuqNYHmtIkgpzq4lzAcxIqluJq9012fBt9jLUo="
|
||||
"url": "https://files.pythonhosted.org/packages/0f/05/072e76dfa2bfd6aa4c5751f1b6d5ad11f74bba70177ad4c973b49678d4c2/ai_edge_litert-2.1.2-cp312-cp312-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-Z9tt58cpu+WjHCCtxXPOR7iqbqS2vP7gq3f/GlHiDy4="
|
||||
},
|
||||
"3.13": {
|
||||
"url": "https://files.pythonhosted.org/packages/96/c7/53b1f2627dbb0b307c1637e5f2cdbdc5a5f4ffecbebe75c8977d46590b6a/ai_edge_litert-2.1.0-cp313-cp313-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-QeJJDL8dJmZj1FEllzEXC4Gqpwt9/vbXGIaX5lxxLJU="
|
||||
},
|
||||
"3.9": {
|
||||
"url": "https://files.pythonhosted.org/packages/85/b7/efd39c318ae7f73bd3de247a93501f1d748e60979ecd97c794e7a4a1d671/ai_edge_litert-2.1.0-cp39-cp39-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-QicA/OOs8HK8DVjXhj7BZjHwix2t3vyHwAjebkzaMWc="
|
||||
"url": "https://files.pythonhosted.org/packages/68/a3/e2bd759dc0fd3895b778b0480e6cae37bf5d4e50b611cb6a16d598992d02/ai_edge_litert-2.1.2-cp313-cp313-manylinux_2_27_x86_64.whl",
|
||||
"hash": "sha256-vPlqDivXgbThJxVeOvM4BhdxnqidQbZfwhDRA53PpQ4="
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ import httpx
|
||||
import re
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
from typing import Dict
|
||||
from typing import Dict, Optional
|
||||
from collections import defaultdict
|
||||
|
||||
|
||||
@@ -29,19 +29,33 @@ def get_hash(url) -> str:
|
||||
return sri_hash
|
||||
|
||||
|
||||
def get_platform(platform: str) -> str:
|
||||
result = re.match(r"^(?P<target>macosx|manylinux)[\d+_]+(?P<arch>x86_64|aarch64)", platform)
|
||||
def get_platform(platform: str) -> Optional[str]:
|
||||
result = re.match(
|
||||
r"^(?P<platform>macosx|manylinux|win)(?:)[\d_]+(?P<arch>x86_64|aarch64|amd64|arm64)",
|
||||
platform,
|
||||
)
|
||||
if not result:
|
||||
raise RuntimeError(f"Unable to parse platform string: {platform}")
|
||||
|
||||
target = {
|
||||
platform = result.group("platform")
|
||||
if platform == "win":
|
||||
return
|
||||
|
||||
system = {
|
||||
"macosx": "darwin",
|
||||
"manylinux": "linux",
|
||||
}[result.group("target")]
|
||||
}[platform]
|
||||
|
||||
arch = result.group("arch")
|
||||
try:
|
||||
arch = {
|
||||
"amd64": "x86_64",
|
||||
"arm64": "aarch64",
|
||||
}[result.group("arch")]
|
||||
except KeyError:
|
||||
arch = result.group("arch")
|
||||
|
||||
return f"{arch}-{system}"
|
||||
|
||||
return f"{arch}-{target}"
|
||||
|
||||
def get_python_version(python: str) -> str:
|
||||
result = re.match(r"^cp(?P<major>\d)(?P<minor>\d+)$", python)
|
||||
@@ -84,6 +98,9 @@ def main(package: str):
|
||||
raise RuntimeError(f"Unable to disect wheel filename: {filename}")
|
||||
|
||||
platform = get_platform(result.group("platform"))
|
||||
if not platform:
|
||||
continue
|
||||
|
||||
python_version = get_python_version(release["python_version"])
|
||||
|
||||
out["src"][platform][python_version] = {
|
||||
|
||||
@@ -1,28 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
isPyPy,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
cython,
|
||||
setuptools,
|
||||
toolz,
|
||||
python,
|
||||
isPy27,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cytoolz";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = isPy27 || isPyPy;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-icwxYbieG7Ptdjb3TtLlWYT9NVFpBPyHjK4hbkKyx9Y=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytoolz";
|
||||
repo = "cytoolz";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-beOEhm7+Nq7oA7iDcdORz03D1InHmypqsYUDUXEUPC0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/setuptools-git-versioning >=/d" pyproject.toml
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "dynamic = [\"version\"]" "version = \"${finalAttrs.version}\""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
setuptools
|
||||
@@ -30,23 +34,17 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ toolz ];
|
||||
|
||||
# tests are located in cytoolz/tests, however we can't import cytoolz
|
||||
# from $PWD, as it will break relative imports
|
||||
preCheck = ''
|
||||
cd cytoolz
|
||||
export PYTHONPATH=$out/${python.sitePackages}:$PYTHONPATH
|
||||
cd $out/${python.sitePackages}
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/pytoolz/cytoolz/issues/200
|
||||
"test_inspect_wrapped_property"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/pytoolz/cytoolz/";
|
||||
changelog = "https://github.com/pytoolz/cytoolz/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Cython implementation of Toolz: High performance functional utilities";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ sarahec ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -51,14 +51,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "datalad";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "datalad";
|
||||
repo = "datalad";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-aTpiwcwRJyUF68+OsT+u9j/cibZEDhmL45I1MSY3Q7E=";
|
||||
hash = "sha256-cVsbEHM1zJYxzxHuoxErxGe4w5ioYZn11t5BvtXnH4A=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pipInstallHook,
|
||||
pythonAtLeast,
|
||||
blessed,
|
||||
docutils,
|
||||
llvm,
|
||||
pytestCheckHook,
|
||||
typesentry,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datatable";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonAtLeast "3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "h2oai";
|
||||
repo = "datatable";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-U6FYqjbVed/Qsxj/8bgwRd2UlK0dq/i61Fg56Br+lzs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# tarball doesn't appear to have been shipped totally ready-to-build
|
||||
substituteInPlace ci/ext.py \
|
||||
--replace-fail \
|
||||
'shell_cmd(["git"' \
|
||||
'"0000000000000000000000000000000000000000" or shell_cmd(["git"'
|
||||
echo '${version}' > VERSION.txt
|
||||
|
||||
# don't make assumptions about architecture
|
||||
substituteInPlace ci/ext.py \
|
||||
--replace-fail \
|
||||
'ext.compiler.add_linker_flag("-m64")' \
|
||||
'pass # removed -m64 flag assumption'
|
||||
|
||||
# Fix flatbuffers span const member assignment issue
|
||||
# Remove const from member variables to allow assignment operator to work
|
||||
substituteInPlace src/core/lib/flatbuffers/stl_emulation.h \
|
||||
--replace-fail \
|
||||
'pointer const data_;' \
|
||||
'pointer data_;' \
|
||||
--replace-fail \
|
||||
'const size_type count_;' \
|
||||
'size_type count_;'
|
||||
'';
|
||||
DT_RELEASE = "1";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
typesentry
|
||||
blessed
|
||||
];
|
||||
buildInputs = [
|
||||
llvm
|
||||
pipInstallHook
|
||||
];
|
||||
nativeCheckInputs = [
|
||||
docutils
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
LLVM = llvm;
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
|
||||
|
||||
# test suite is very cpu intensive, only run small subset to ensure package is working as expected
|
||||
enabledTestPaths = [ "tests/test-sets.py" ];
|
||||
|
||||
disabledTests = [
|
||||
# skip tests which are irrelevant to our installation or use way too much memory
|
||||
"test_xfunction_paths"
|
||||
"test_fread_from_cmd2"
|
||||
"test_cast_huge_to_str"
|
||||
"test_create_large_string_column"
|
||||
];
|
||||
pythonImportsCheck = [ "datatable" ];
|
||||
|
||||
meta = {
|
||||
description = "data.table for Python";
|
||||
homepage = "https://github.com/h2oai/datatable";
|
||||
license = lib.licenses.mpl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -21,16 +21,16 @@
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "plotnine";
|
||||
version = "0.15.2";
|
||||
version = "0.15.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "has2k1";
|
||||
repo = "plotnine";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-JjSBcPRMmxAIoQsr8ESfgcf+EWBLsq1H+q56iyD3X84=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-nhFod9jhadKfQ8SW2RPNc8u+4gkWNDZRcnDcN5xVk54=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
@@ -114,8 +114,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Grammar of graphics for Python";
|
||||
homepage = "https://plotnine.readthedocs.io/";
|
||||
changelog = "https://github.com/has2k1/plotnine/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/has2k1/plotnine/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ onny ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlalchemy-utils";
|
||||
version = "0.42.2";
|
||||
version = "0.41.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
||||
@@ -1,26 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
cython,
|
||||
fetchPypi,
|
||||
numpy,
|
||||
packaging,
|
||||
pandas,
|
||||
patsy,
|
||||
scipy,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
stdenv,
|
||||
|
||||
# dependencies
|
||||
packaging,
|
||||
pandas,
|
||||
patsy,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "statsmodels";
|
||||
version = "0.14.5";
|
||||
version = "0.14.6";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-3iYOWMzP0s7d+DW1WjVyM9bKhToapPkPdVOlLMccbd8=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "statsmodels";
|
||||
repo = "statsmodels";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Rr+7vQ+nx8XihoQQECqHlDKvk7xRTdCpQTzs5pBbqmk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -59,7 +65,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Statistical computations and models for use with SciPy";
|
||||
homepage = "https://www.github.com/statsmodels/statsmodels";
|
||||
changelog = "https://github.com/statsmodels/statsmodels/releases/tag/v${version}";
|
||||
changelog = "https://github.com/statsmodels/statsmodels/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
colorama,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "typesentry";
|
||||
version = "0.2.7";
|
||||
format = "setuptools";
|
||||
|
||||
# Only wheel distribution is available on PyPi.
|
||||
src = fetchFromGitHub {
|
||||
owner = "h2oai";
|
||||
repo = "typesentry";
|
||||
rev = "0ca8ed0e62d15ffe430545e7648c9a9b2547b49c";
|
||||
sha256 = "0z615f9dxaab3bay3v27j7q99qm6l6q8xv872yvsp87sxj7apfki";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ colorama ];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = {
|
||||
description = "Python 2.7 & 3.5+ runtime type-checker";
|
||||
homepage = "https://github.com/h2oai/typesentry";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
fetchurl,
|
||||
makeWrapper,
|
||||
runCommand,
|
||||
callPackage,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.3.7";
|
||||
|
||||
programs = callPackage ./programs.nix { };
|
||||
|
||||
webapp = fetchurl {
|
||||
url = "https://github.com/root-gg/plik/releases/download/${version}/plik-${version}-linux-amd64.tar.gz";
|
||||
hash = "sha256-Uj3I/ohgMr/Ud5xAZiBjsIW8bSdUeXXv9NYKLu8Aym8=";
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
|
||||
inherit (programs) plik plikd-unwrapped;
|
||||
|
||||
plikd =
|
||||
runCommand "plikd-${version}"
|
||||
{
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
inherit (programs.plikd-unwrapped) passthru;
|
||||
}
|
||||
''
|
||||
mkdir -p $out/libexec/plikd/{bin,webapp} $out/bin
|
||||
tar xf ${webapp} plik-${version}-linux-amd64/webapp/dist/
|
||||
mv plik-*/webapp/dist $out/libexec/plikd/webapp
|
||||
cp ${programs.plikd-unwrapped}/bin/plikd $out/libexec/plikd/bin/plikd
|
||||
makeWrapper $out/libexec/plikd/bin/plikd $out/bin/plikd \
|
||||
--chdir "$out/libexec/plikd/bin"
|
||||
'';
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
makeWrapper,
|
||||
runCommand,
|
||||
nixosTests,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "1.3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "root-gg";
|
||||
repo = "plik";
|
||||
rev = version;
|
||||
hash = "sha256-WCtfkzlZnyzZDwNDBrW06bUbLYTL2C704Y7aXbiVi5c=";
|
||||
};
|
||||
|
||||
vendorHash = null;
|
||||
|
||||
meta = {
|
||||
homepage = "https://plik.root.gg/";
|
||||
description = "Scalable & friendly temporary file upload system";
|
||||
maintainers = [ ];
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "plik";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace server/common/version.go \
|
||||
--replace '"0.0.0"' '"${version}"'
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) plikd;
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
|
||||
plik = buildGoModule {
|
||||
pname = "plik";
|
||||
inherit
|
||||
version
|
||||
meta
|
||||
src
|
||||
vendorHash
|
||||
postPatch
|
||||
passthru
|
||||
;
|
||||
|
||||
subPackages = [ "client" ];
|
||||
postInstall = ''
|
||||
mv $out/bin/client $out/bin/plik
|
||||
'';
|
||||
};
|
||||
|
||||
plikd-unwrapped = buildGoModule {
|
||||
pname = "plikd-unwrapped";
|
||||
inherit
|
||||
version
|
||||
src
|
||||
vendorHash
|
||||
postPatch
|
||||
passthru
|
||||
;
|
||||
|
||||
subPackages = [ "server" ];
|
||||
postFixup = ''
|
||||
mv $out/bin/server $out/bin/plikd
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -3334,11 +3334,6 @@ with pkgs;
|
||||
playwright-driver = (callPackage ../development/web/playwright/driver.nix { }).playwright-core;
|
||||
playwright-test = (callPackage ../development/web/playwright/driver.nix { }).playwright-test;
|
||||
|
||||
inherit (callPackage ../servers/plik { })
|
||||
plik
|
||||
plikd
|
||||
;
|
||||
|
||||
plex = callPackage ../servers/plex { };
|
||||
|
||||
plexRaw = callPackage ../servers/plex/raw.nix { };
|
||||
|
||||
@@ -111,6 +111,7 @@ mapAliases {
|
||||
configshell = throw "'configshell' has been renamed to/replaced by 'configshell-fb'"; # Converted to throw 2025-10-29
|
||||
cx_Freeze = throw "'cx_Freeze' has been renamed to/replaced by 'cx-freeze'"; # Converted to throw 2025-10-29
|
||||
cx_oracle = throw "'cx_oracle' has been renamed to/replaced by 'cx-oracle'"; # Converted to throw 2025-10-29
|
||||
datatable = throw "'datatable' has been removed due to lack of upstream maintenance"; # added 2026-02-02
|
||||
dateutil = throw "'dateutil' has been renamed to/replaced by 'python-dateutil'"; # Converted to throw 2025-10-29
|
||||
debian = throw "'debian' has been renamed to/replaced by 'python-debian'"; # Converted to throw 2025-10-29
|
||||
dictpath = throw "'dictpath' has been renamed to/replaced by 'pathable'"; # Converted to throw 2025-10-29
|
||||
@@ -517,6 +518,7 @@ mapAliases {
|
||||
tweedledum = throw "'tweedledum' has been removed due to lack of upstream maintenance."; # Added 2025-11-22
|
||||
typed-ast = throw "typed-ast was removed because it went end of life in July 2023"; # added 2025-05-24
|
||||
types-typed-ast = throw "types-typed-ast was removed because so was typed-ast"; # added 2025-05-24
|
||||
typesentry = throw "typesentry was removed because it was broken and unmaintained"; # added 2026-02-02
|
||||
typesystem = throw "'typesystem' has been removed as it was broken, unmaintained, and archived upstream"; # Added 2025-11-27
|
||||
typical = throw "'typical' has been removed as it was broken and archived upstream"; # Added 2025-11-27
|
||||
uamqp = throw "'uamqp' has been removed because it is broken and unmaintained."; # added 2025-06-11
|
||||
|
||||
@@ -3599,8 +3599,6 @@ self: super: with self; {
|
||||
|
||||
datashaper = callPackage ../development/python-modules/datashaper { };
|
||||
|
||||
datatable = callPackage ../development/python-modules/datatable { };
|
||||
|
||||
datauri = callPackage ../development/python-modules/datauri { };
|
||||
|
||||
datefinder = callPackage ../development/python-modules/datefinder { };
|
||||
@@ -20014,8 +20012,6 @@ self: super: with self; {
|
||||
inherit (pkgs) typesense curl;
|
||||
};
|
||||
|
||||
typesentry = callPackage ../development/python-modules/typesentry { };
|
||||
|
||||
typeshed-client = callPackage ../development/python-modules/typeshed-client { };
|
||||
|
||||
typing = null;
|
||||
|
||||
Reference in New Issue
Block a user