Merge staging-next into staging
This commit is contained in:
commit
e2e6ce14a1
@ -17,6 +17,7 @@ ibus.section.md
|
||||
kakoune.section.md
|
||||
krita.section.md
|
||||
linux.section.md
|
||||
lhapdf.section.md
|
||||
locales.section.md
|
||||
etc-files.section.md
|
||||
nginx.section.md
|
||||
|
11
doc/packages/lhapdf.section.md
Normal file
11
doc/packages/lhapdf.section.md
Normal file
@ -0,0 +1,11 @@
|
||||
# LHAPDF {#lhapdf}
|
||||
|
||||
[LHAPDF](https://lhapdf.hepforge.org/) is a tool for evaluating parton distribution functions (PDFs) in high-energy physics. LHAPDF is available in the `lhapdf` package.
|
||||
|
||||
## PDF sets {#lhapdf-sets}
|
||||
|
||||
All of [the PDF sets made available by the LHAPDF project](https://lhapdf.hepforge.org/pdfsets.html) are available through the `lhapdf.pdf_sets` attrset.
|
||||
|
||||
### Setup hook {#lhapdf-sets-hook}
|
||||
|
||||
Each package provided in the `lhapdf.pdf_sets` attrset contains a setup hook which adds itself to [the `LHAPDF_DATA_PATH` environment variable](https://lhapdf.hepforge.org/#sets).
|
@ -105,6 +105,7 @@ luv,,,,1.48.0-2,,
|
||||
lush.nvim,,,https://luarocks.org/dev,,,teto
|
||||
lyaml,,,,,,lblasc
|
||||
lz.n,,,,,,mrcjkb
|
||||
lze,,,,,,birdee
|
||||
lzn-auto-require,,,,,,mrcjkb
|
||||
magick,,,,,5.1,donovanglover
|
||||
markdown,,,,,,
|
||||
|
|
@ -36,17 +36,6 @@ mkDerivation rec {
|
||||
PREFIXSHORTCUT=$out"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/applications
|
||||
ln -s $out/fmit.desktop $out/share/applications/fmit.desktop
|
||||
|
||||
mkdir -p $out/share/icons/hicolor/128x128/apps
|
||||
ln -s $out/fmit.png $out/share/icons/hicolor/128x128/apps/fmit.png
|
||||
|
||||
mkdir -p $out/share/icons/hicolor/scalable/apps
|
||||
ln -s $out/fmit.svg $out/share/icons/hicolor/scalable/apps/fmit.svg
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free Musical Instrument Tuner";
|
||||
longDescription = ''
|
||||
@ -55,6 +44,7 @@ mkDerivation rec {
|
||||
'';
|
||||
homepage = "http://gillesdegottex.github.io/fmit/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mg";
|
||||
version = "7.3";
|
||||
version = "7.3-unstable-2024-06-04";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ibara";
|
||||
repo = "mg";
|
||||
rev = "mg-${version}";
|
||||
sha256 = "sha256-88FrXN7h5uRLY8YMKSzUjBF4n18DEiiiDyoYr+7qXdQ=";
|
||||
rev = "4d4abcfc793554dbd4effdba8a3cc28ce2654c33";
|
||||
hash = "sha256-+sp8Edu5UWv73TCNVZTeH5rl2Q5XarYrlTYHuQsroVs=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
|
@ -1056,6 +1056,8 @@
|
||||
|
||||
lz-n = neovimUtils.buildNeovimPlugin { luaAttr = "lz-n"; };
|
||||
|
||||
lze = neovimUtils.buildNeovimPlugin { luaAttr = "lze"; };
|
||||
|
||||
lzn-auto-require = neovimUtils.buildNeovimPlugin { luaAttr = "lzn-auto-require"; };
|
||||
|
||||
magma-nvim-goose = buildVimPlugin {
|
||||
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
# fiddle with the terminal.
|
||||
doCheck = false;
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang "-Wno-error=incompatible-function-pointer-types";
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=incompatible-function-pointer-types";
|
||||
|
||||
# XXX: Work around cross-compilation-unfriendly `gl_FUNC_FSTATAT' macro.
|
||||
gl_cv_func_fstatat_zero_flag="yes";
|
||||
|
@ -1,26 +1,24 @@
|
||||
{ lib
|
||||
, stdenvNoCC
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, makeWrapper
|
||||
, nodejs
|
||||
, pnpm
|
||||
, cacert
|
||||
, esbuild
|
||||
, jq
|
||||
, moreutils
|
||||
, perl
|
||||
, pkg-config
|
||||
, glib
|
||||
, webkitgtk
|
||||
, libayatana-appindicator
|
||||
, cairo
|
||||
, openssl
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
buildGoModule,
|
||||
makeWrapper,
|
||||
nodejs,
|
||||
pnpm,
|
||||
esbuild,
|
||||
perl,
|
||||
pkg-config,
|
||||
glib,
|
||||
webkitgtk,
|
||||
libayatana-appindicator,
|
||||
cairo,
|
||||
openssl,
|
||||
}:
|
||||
|
||||
let
|
||||
version = "4.11.0";
|
||||
version = "4.99.2";
|
||||
geph-meta = with lib; {
|
||||
description = "Modular Internet censorship circumvention system designed specifically to deal with national filtering";
|
||||
homepage = "https://geph.io";
|
||||
@ -37,10 +35,10 @@ in
|
||||
owner = "geph-official";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-6zii8WxJp++yqTkxejNDta7IW+SG0uPgmnWqX5Oa9PU=";
|
||||
hash = "sha256-aZFm4+oUQungCPbxs7j1J8hLcCYoIodIEQEiQfjoLUw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-WI525ufJxuepRZHyx8tO4K+7WZuM/NlTVNqVMJH6avg=";
|
||||
cargoHash = "sha256-ypnjVoscGqVifkjzFh2KE+3EVFWIiyahTNTil3nu/+s=";
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
@ -56,8 +54,8 @@ in
|
||||
src = fetchFromGitHub {
|
||||
owner = "geph-official";
|
||||
repo = "gephgui-pkg";
|
||||
rev = "3a6d2fa85603e9ac3d5d6286685d8a8ca792a508";
|
||||
hash = "sha256-SE1TwYvR3+zwdPxlanq4hovmJsOdCJQzWfSJ6sSyJ5k=";
|
||||
rev = "3b045e21b8c587c26f9d5f0f2b4bdf0a34bfee80";
|
||||
hash = "sha256-p+AxAOznUsG45Ibm1kczapfmbK+aeex2js463eqZ8gY=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
@ -96,18 +94,25 @@ in
|
||||
openssl
|
||||
];
|
||||
|
||||
ESBUILD_BINARY_PATH = "${lib.getExe (esbuild.override {
|
||||
buildGoModule = args: buildGoModule (args // rec {
|
||||
version = "0.15.10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "evanw";
|
||||
repo = "esbuild";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DebmLtgPrla+1UcvOHMnWmxa/ZqrugeRRKXIiJ9LYDk=";
|
||||
};
|
||||
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
||||
});
|
||||
})}";
|
||||
ESBUILD_BINARY_PATH = "${lib.getExe (
|
||||
esbuild.override {
|
||||
buildGoModule =
|
||||
args:
|
||||
buildGoModule (
|
||||
args
|
||||
// rec {
|
||||
version = "0.15.10";
|
||||
src = fetchFromGitHub {
|
||||
owner = "evanw";
|
||||
repo = "esbuild";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-DebmLtgPrla+1UcvOHMnWmxa/ZqrugeRRKXIiJ9LYDk=";
|
||||
};
|
||||
vendorHash = "sha256-+BfxCyg0KkDQpHt/wycy/8CTG6YBA/VJvJFhhzUnSiQ=";
|
||||
}
|
||||
);
|
||||
}
|
||||
)}";
|
||||
|
||||
pnpmRoot = "gephgui";
|
||||
|
||||
|
@ -11,11 +11,11 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bmake";
|
||||
version = "20240722";
|
||||
version = "20240808";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.crufty.net/ftp/pub/sjg/bmake-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-FlS9DK0oQ2CElmmh6amTGB/tE3iWqsJpS4LqmjX3CeQ=";
|
||||
hash = "sha256-tZGJJRtIPezUSS8fdDh7KlhMA9WqRjfNSLOOxiucCEg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
@ -29,7 +29,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
nativeBuildInputs = [ getopt ];
|
||||
nativeBuildInputs = [
|
||||
getopt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
bc
|
||||
|
@ -17,7 +17,7 @@ bmakeBuildPhase() {
|
||||
)
|
||||
concatTo flagsArray makeFlags makeFlagsArray buildFlags buildFlagsArray
|
||||
|
||||
echoCmd 'build flags' "${flagsArray[@]}"
|
||||
nixInfoLog "${FUNCNAME[0]}: flagsArray: ${flagsArray[@]}"
|
||||
bmake ${makefile:+-f $makefile} "${flagsArray[@]}"
|
||||
|
||||
runHook postBuild
|
||||
@ -36,7 +36,7 @@ bmakeCheckPhase() {
|
||||
fi
|
||||
|
||||
if [ -z "${checkTarget:-}" ]; then
|
||||
echo "no test target found in bmake, doing nothing"
|
||||
nixInfoLog "${FUNCNAME[0]}: no test target found in bmake, doing nothing"
|
||||
else
|
||||
local flagsArray=(
|
||||
${enableParallelChecking:+-j${NIX_BUILD_CORES}}
|
||||
@ -44,7 +44,7 @@ bmakeCheckPhase() {
|
||||
)
|
||||
concatTo flagsArray makeFlags makeFlagsArray checkFlags=VERBOSE=y checkFlagsArray checkTarget
|
||||
|
||||
echoCmd 'check flags' "${flagsArray[@]}"
|
||||
nixInfoLog "${FUNCNAME[0]}: flagsArray: ${flagsArray[@]}"
|
||||
bmake ${makefile:+-f $makefile} "${flagsArray[@]}"
|
||||
fi
|
||||
|
||||
@ -64,7 +64,7 @@ bmakeInstallPhase() {
|
||||
)
|
||||
concatTo flagsArray makeFlags makeFlagsArray installFlags installFlagsArray installTargets=install
|
||||
|
||||
echoCmd 'install flags' "${flagsArray[@]}"
|
||||
nixInfoLog "${FUNCNAME[0]}: flagsArray: ${flagsArray[@]}"
|
||||
bmake ${makefile:+-f $makefile} "${flagsArray[@]}"
|
||||
|
||||
runHook postInstall
|
||||
@ -80,7 +80,7 @@ bmakeDistPhase() {
|
||||
local flagsArray=()
|
||||
concatTo flagsArray distFlags distFlagsArray distTarget=dist
|
||||
|
||||
echo 'dist flags: %q' "${flagsArray[@]}"
|
||||
nixInfoLog "${FUNCNAME[0]}: flagsArray: ${flagsArray[@]}"
|
||||
bmake ${makefile:+-f $makefile} "${flagsArray[@]}"
|
||||
|
||||
if [ "${dontCopyDist:-0}" != 1 ]; then
|
||||
@ -98,16 +98,20 @@ preConfigureHooks+=(addMakeFlags)
|
||||
|
||||
if [ -z "${dontUseBmakeBuild-}" ] && [ -z "${buildPhase-}" ]; then
|
||||
buildPhase=bmakeBuildPhase
|
||||
nixInfoLog "${FUNCNAME[0]}: set buildPhase to bmakeBuildPhase"
|
||||
fi
|
||||
|
||||
if [ -z "${dontUseBmakeCheck-}" ] && [ -z "${checkPhase-}" ]; then
|
||||
checkPhase=bmakeCheckPhase
|
||||
nixInfoLog "${FUNCNAME[0]}: set checkPhase to bmakeCheckPhase"
|
||||
fi
|
||||
|
||||
if [ -z "${dontUseBmakeInstall-}" ] && [ -z "${installPhase-}" ]; then
|
||||
installPhase=bmakeInstallPhase
|
||||
nixInfoLog "${FUNCNAME[0]}: set installPhase to bmakeInstallPhase"
|
||||
fi
|
||||
|
||||
if [ -z "${dontUseBmakeDist-}" ] && [ -z "${distPhase-}" ]; then
|
||||
distPhase=bmakeDistPhase
|
||||
nixInfoLog "${FUNCNAME[0]}: set distPhase to bmakeDistPhase"
|
||||
fi
|
||||
|
107
pkgs/by-name/bo/bozohttpd/package.nix
Normal file
107
pkgs/by-name/bo/bozohttpd/package.nix
Normal file
@ -0,0 +1,107 @@
|
||||
{
|
||||
lib,
|
||||
bmake,
|
||||
fetchurl,
|
||||
groff,
|
||||
inetutils,
|
||||
libxcrypt,
|
||||
lua,
|
||||
openssl,
|
||||
stdenv,
|
||||
wget,
|
||||
# Boolean flags
|
||||
minimal ? false,
|
||||
userSupport ? !minimal,
|
||||
cgiSupport ? !minimal,
|
||||
dirIndexSupport ? !minimal,
|
||||
dynamicContentSupport ? !minimal,
|
||||
sslSupport ? !minimal,
|
||||
luaSupport ? !minimal,
|
||||
htpasswdSupport ? !minimal,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "bozohttpd";
|
||||
version = "20240126";
|
||||
|
||||
# bozohttpd is developed in-tree in pkgsrc, canonical hashes can be found at:
|
||||
# http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/bozohttpd/distinfo
|
||||
src = fetchurl {
|
||||
url = "http://eterna23.net/bozohttpd/bozohttpd-${finalAttrs.version}.tar.bz2";
|
||||
hash = "sha512-fr1PnyYAS3wkpmj/npRC3A87UL9LIXw4thlM4GfrtlJbuX5EkWGVJnHJW/EmYp7z+N91dcdRJgdO79l6WJsKpg==";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libxcrypt
|
||||
openssl
|
||||
] ++ lib.optionals (luaSupport) [ lua ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
bmake
|
||||
groff
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
inetutils
|
||||
wget
|
||||
];
|
||||
|
||||
env = {
|
||||
COPTS = lib.concatStringsSep " " (
|
||||
[
|
||||
"-D_DEFAULT_SOURCE"
|
||||
"-D_GNU_SOURCE"
|
||||
|
||||
# ensure that we can serve >2GB files even on 32-bit systems.
|
||||
"-D_LARGEFILE_SOURCE"
|
||||
"-D_FILE_OFFSET_BITS=64"
|
||||
|
||||
# unpackaged dependency: https://man.netbsd.org/blocklist.3
|
||||
"-DNO_BLOCKLIST_SUPPORT"
|
||||
]
|
||||
++ lib.optionals (htpasswdSupport) [ "-DDO_HTPASSWD" ]
|
||||
++ lib.optionals (!cgiSupport) [ "-DNO_CGIBIN_SUPPORT" ]
|
||||
++ lib.optionals (!dirIndexSupport) [ "-DNO_DIRINDEX_SUPPORT" ]
|
||||
++ lib.optionals (!dynamicContentSupport) [ "-DNO_DYNAMIC_CONTENT" ]
|
||||
++ lib.optionals (!luaSupport) [ "-DNO_LUA_SUPPORT" ]
|
||||
++ lib.optionals (!sslSupport) [ "-DNO_SSL_SUPPORT" ]
|
||||
++ lib.optionals (!userSupport) [ "-DNO_USER_SUPPORT" ]
|
||||
);
|
||||
|
||||
_LDADD = lib.concatStringsSep " " (
|
||||
[ "-lm" ]
|
||||
++ lib.optionals (stdenv.hostPlatform.libc != "libSystem") [ "-lcrypt" ]
|
||||
++ lib.optionals (luaSupport) [ "-llua" ]
|
||||
++ lib.optionals (sslSupport) [
|
||||
"-lcrypto"
|
||||
"-lssl"
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
makeFlags = [ "LDADD=$(_LDADD)" ];
|
||||
|
||||
checkFlags = lib.optionals (!cgiSupport) [ "CGITESTS=" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.eterna23.net/bozohttpd/";
|
||||
description = "Bozotic HTTP server; small and secure";
|
||||
longDescription = ''
|
||||
bozohttpd is a small and secure HTTP version 1.1 server. Its main
|
||||
feature is the lack of features, reducing the code size and improving
|
||||
verifiability.
|
||||
|
||||
It supports CGI/1.1, HTTP/1.1, HTTP/1.0, HTTP/0.9, ~user translations,
|
||||
virtual hosting support, as well as multiple IP-based servers on a
|
||||
single machine. It is capable of servicing pages via the IPv6 protocol.
|
||||
It has SSL support. It has no configuration file by design.
|
||||
'';
|
||||
changelog = "http://www.eterna23.net/bozohttpd/CHANGES";
|
||||
license = lib.licenses.bsd2;
|
||||
mainProgram = "bozohttpd";
|
||||
maintainers = [ lib.maintainers.embr ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
})
|
@ -8,13 +8,13 @@
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "crystal-dock";
|
||||
version = "2.2";
|
||||
version = "2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dangvd";
|
||||
repo = "crystal-dock";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-c5Kae2cZ/DoJ972VT4kQWNUr2cF6Noy3nPIChWok/BA=";
|
||||
hash = "sha256-lqj2C4WrpJd1WMtm8JvGTEWeEUh17DR6J5TqxKt5hWM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
71
pkgs/by-name/ni/nixos-facter/package.nix
Normal file
71
pkgs/by-name/ni/nixos-facter/package.nix
Normal file
@ -0,0 +1,71 @@
|
||||
{
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
hwinfo,
|
||||
libusb1,
|
||||
gcc,
|
||||
pkg-config,
|
||||
util-linux,
|
||||
pciutils,
|
||||
stdenv,
|
||||
}:
|
||||
let
|
||||
# We are waiting on some changes to be merged upstream: https://github.com/openSUSE/hwinfo/pulls
|
||||
hwinfoOverride = hwinfo.overrideAttrs {
|
||||
src = fetchFromGitHub {
|
||||
owner = "numtide";
|
||||
repo = "hwinfo";
|
||||
rev = "42b014495b2de8735eeec950bc2d3afbefc65ec4";
|
||||
hash = "sha256-OXbGF8M1r8GSgqeY4TqfjF+IO0SXXB/dX2jE2JtkPUk=";
|
||||
};
|
||||
};
|
||||
in
|
||||
buildGoModule rec {
|
||||
pname = "nixos-facter";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "numtide";
|
||||
repo = "nixos-facter";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-TBSzIaOuD/IEObgwSx0UwFFAkqF1pAAWhDrNDtQShdY=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-8yQO7topYvXL6bP0oSVN1rApiPjse4Q2bjFNM5jVl8c=";
|
||||
|
||||
CGO_ENABLED = 1;
|
||||
|
||||
buildInputs = [
|
||||
libusb1
|
||||
hwinfoOverride
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gcc
|
||||
pkg-config
|
||||
];
|
||||
|
||||
runtimeInputs = [
|
||||
libusb1
|
||||
util-linux
|
||||
pciutils
|
||||
];
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X git.numtide.com/numtide/nixos-facter/build.Name=nixos-facter"
|
||||
"-X git.numtide.com/numtide/nixos-facter/build.Version=v${version}"
|
||||
"-X github.com/numtide/nixos-facter/pkg/build.System=${stdenv.hostPlatform.system}"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Declarative hardware configuration for NixOS";
|
||||
homepage = "https://github.com/numtide/nixos-facter";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ lib.maintainers.brianmcgee ];
|
||||
mainProgram = "nixos-facter";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -8,13 +8,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "wakatime-cli";
|
||||
version = "1.98.3";
|
||||
version = "1.98.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "wakatime";
|
||||
repo = "wakatime-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-AoefP/hWdflCOjZtmKyjcjUfst3SXF+EHfJyPcACWPE=";
|
||||
hash = "sha256-Ez5fzaZxvHOH8z4tQ7+PUnGrpzAd97vbAta1exEtvtQ=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-+9zdEIaKQlLcBwFaY5Fe5mpHWQDqfV+j1TPmDkdRjyk=";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch
|
||||
{ lib, stdenv, fetchFromGitHub, fetchurl
|
||||
, autoconf, automake, libtool, xmlto, docbook_xml_dtd_412, docbook_xsl
|
||||
}:
|
||||
|
||||
@ -14,10 +14,10 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build on Musl.
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/void-linux/void-packages/861ac185a6b60134292ff93d40e40b5391d0aa8e/srcpkgs/libieee1284/patches/musl.patch";
|
||||
sha256 = "03xivd6z7m51i5brlmzs60pjrlqyr4561qlnh182wa7rrm01x5y6";
|
||||
(fetchurl {
|
||||
name = "musl.patch";
|
||||
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-libs/libieee1284/files/libieee1284-0.2.11-don-t-blindly-assume-outb_p-to-be-available.patch";
|
||||
hash = "sha256-sNu0OPBMa9GIwSu754noateF4FZC14f+8YRgYUl13KQ=";
|
||||
})
|
||||
];
|
||||
|
||||
|
@ -2512,6 +2512,29 @@ buildLuarocksPackage {
|
||||
};
|
||||
}) {};
|
||||
|
||||
lze = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder }:
|
||||
buildLuarocksPackage {
|
||||
pname = "lze";
|
||||
version = "0.1.1-1";
|
||||
knownRockspec = (fetchurl {
|
||||
url = "mirror://luarocks/lze-0.1.1-1.rockspec";
|
||||
sha256 = "0rih9kgx846qhp1fmsqlnp8y08kv4hp8gl9dwykz4zr0zljy94j3";
|
||||
}).outPath;
|
||||
src = fetchzip {
|
||||
url = "https://github.com/BirdeeHub/lze/archive/v0.1.1.zip";
|
||||
sha256 = "1s6n61jabsv94s37xd5g0y7fxhficc4rwsklgsmzajravpgy60a8";
|
||||
};
|
||||
|
||||
disabled = luaOlder "5.1";
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/BirdeeHub/lze";
|
||||
description = "A lazy-loading library for neovim, inspired by, but different from, nvim-neorocks/lz.n";
|
||||
maintainers = with lib.maintainers; [ birdee ];
|
||||
license.fullName = "GPL-2+";
|
||||
};
|
||||
}) {};
|
||||
|
||||
lzn-auto-require = callPackage({ buildLuarocksPackage, fetchurl, fetchzip, luaOlder, lz-n }:
|
||||
buildLuarocksPackage {
|
||||
pname = "lzn-auto-require";
|
||||
|
@ -543,6 +543,17 @@ in
|
||||
'';
|
||||
});
|
||||
|
||||
lze = prev.lze.overrideAttrs(oa: {
|
||||
doCheck = lua.luaversion == "5.1";
|
||||
nativeCheckInputs = [ final.nlua final.busted ];
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
export HOME=$(mktemp -d)
|
||||
busted --lua=nlua
|
||||
runHook postCheck
|
||||
'';
|
||||
});
|
||||
|
||||
neotest = prev.neotest.overrideAttrs(oa: {
|
||||
doCheck = true;
|
||||
nativeCheckInputs = oa.nativeCheckInputs ++ [
|
||||
|
@ -4,35 +4,40 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
pythonOlder,
|
||||
|
||||
# buildInputs
|
||||
llvmPackages,
|
||||
pytest7CheckHook,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
numpy,
|
||||
packaging,
|
||||
psutil,
|
||||
pyyaml,
|
||||
safetensors,
|
||||
torch,
|
||||
config,
|
||||
cudatoolkit,
|
||||
|
||||
# tests
|
||||
evaluate,
|
||||
parameterized,
|
||||
pytest7CheckHook,
|
||||
transformers,
|
||||
config,
|
||||
cudatoolkit,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "accelerate";
|
||||
version = "0.34.0";
|
||||
version = "0.34.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "accelerate";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-MyV1GKxD43QSzS8jea8amt8Xe1h0Xm0WdtUNGkYHfvw=";
|
||||
hash = "sha256-4kDNLta6gGev16A4hNOArTpoD8p6LMRwqwHS/DZjtz0=";
|
||||
};
|
||||
|
||||
buildInputs = [ llvmPackages.openmp ];
|
||||
@ -101,6 +106,14 @@ buildPythonPackage rec {
|
||||
# requires ptxas from cudatoolkit, which is unfree
|
||||
"test_dynamo_extract_model"
|
||||
]
|
||||
++ lib.optionals (stdenv.isDarwin) [
|
||||
# RuntimeError: 'accelerate-launch /nix/store/a7vhm7b74a7bmxc35j26s9iy1zfaqjs...
|
||||
"test_accelerate_test"
|
||||
"test_init_trackers"
|
||||
"test_init_trackers"
|
||||
"test_log"
|
||||
"test_log_with_tensor"
|
||||
]
|
||||
++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [
|
||||
# RuntimeError: torch_shm_manager: execl failed: Permission denied
|
||||
"CheckpointTest"
|
||||
@ -118,12 +131,12 @@ buildPythonPackage rec {
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://huggingface.co/docs/accelerate";
|
||||
description = "Simple way to train and use PyTorch models with multi-GPU, TPU, mixed-precision";
|
||||
changelog = "https://github.com/huggingface/accelerate/releases/tag/v${version}";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ bcdarwin ];
|
||||
mainProgram = "accelerate";
|
||||
};
|
||||
}
|
||||
|
@ -1,8 +1,9 @@
|
||||
{
|
||||
lib,
|
||||
aiodns,
|
||||
aiofiles,
|
||||
aiohttp,
|
||||
aiohttp-socks,
|
||||
aiohttp,
|
||||
aresponses,
|
||||
babel,
|
||||
buildPythonPackage,
|
||||
@ -22,11 +23,12 @@
|
||||
pythonOlder,
|
||||
pytz,
|
||||
redis,
|
||||
uvloop,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiogram";
|
||||
version = "3.12.0";
|
||||
version = "3.13.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -35,36 +37,42 @@ buildPythonPackage rec {
|
||||
owner = "aiogram";
|
||||
repo = "aiogram";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5W7GuWZsUjTwjgKnNs7j4wZhOME1Giz757cM3sKuSQY=";
|
||||
hash = "sha256-P/W47IhVL7wvYI+v6OvnFJt79KPrgY6d1jdOk477MdM=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
|
||||
pythonRelaxDeps = [ "pydantic" ];
|
||||
|
||||
dependencies = [
|
||||
aiofiles
|
||||
aiohttp
|
||||
babel
|
||||
certifi
|
||||
magic-filter
|
||||
pydantic
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
fast = [
|
||||
aiodns
|
||||
uvloop
|
||||
];
|
||||
mongo = [
|
||||
motor
|
||||
pymongo
|
||||
];
|
||||
redis = [ redis ];
|
||||
proxy = [ aiohttp-socks ];
|
||||
i18n = [ babel ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiohttp-socks
|
||||
aresponses
|
||||
motor
|
||||
pycryptodomex
|
||||
pymongo
|
||||
pytest-aiohttp
|
||||
pytest-asyncio
|
||||
pytest-lazy-fixture
|
||||
pytestCheckHook
|
||||
pytz
|
||||
redis
|
||||
];
|
||||
] ++ lib.flatten (builtins.attrValues optional-dependencies);
|
||||
|
||||
pytestFlagsArray = [
|
||||
"-W"
|
||||
@ -79,6 +87,8 @@ buildPythonPackage rec {
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern and fully asynchronous framework for Telegram Bot API";
|
||||
homepage = "https://github.com/aiogram/aiogram";
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asteval";
|
||||
version = "1.0.2";
|
||||
version = "1.0.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "lmfit";
|
||||
repo = "asteval";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-TIMyfX8bpzey0hw0lBMcdZVnc07j9PFVjn4YbX4oW/8=";
|
||||
hash = "sha256-CAjj5vlXCfelH7nyE/tS44ThCQrCwrNETyjXEVbfmiA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -2,26 +2,36 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
distutils,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "css-html-js-minify";
|
||||
version = "2.5.5";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "4a9f11f7e0496f5284d12111f3ba4ff5ff2023d12f15d195c9c48bd97013746c";
|
||||
hash = "sha256-Sp8R9+BJb1KE0SER87pP9f8gI9EvFdGVycSL2XATdGw=";
|
||||
};
|
||||
|
||||
doCheck = false; # Tests are useless and broken
|
||||
build-system = [
|
||||
distutils
|
||||
setuptools
|
||||
];
|
||||
|
||||
# Tests are useless and broken
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "css_html_js_minify" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "StandAlone Async cross-platform Minifier for the Web";
|
||||
mainProgram = "css-html-js-minify";
|
||||
homepage = "https://github.com/juancarlospaco/css-html-js-minify";
|
||||
license = with licenses; [
|
||||
gpl3Plus
|
||||
@ -29,5 +39,6 @@ buildPythonPackage rec {
|
||||
mit
|
||||
];
|
||||
maintainers = with maintainers; [ FlorianFranzen ];
|
||||
mainProgram = "css-html-js-minify";
|
||||
};
|
||||
}
|
||||
|
@ -13,7 +13,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "django-simple-history";
|
||||
version = "3.7.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -24,13 +24,13 @@ buildPythonPackage rec {
|
||||
hash = "sha256-bPdMdtiEDRvRD00ZBwUQkeCDKCx2SW65+FsbuMwVdK0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
hatch-fancy-pypi-readme
|
||||
hatchling
|
||||
hatch-vcs
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ django ];
|
||||
dependencies = [ django ];
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
@ -41,7 +41,7 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "simple_history" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "django-simple-history stores Django model state on every create/update/delete";
|
||||
description = "Module to store Django model state on every create/update/delete";
|
||||
homepage = "https://github.com/jazzband/django-simple-history/";
|
||||
changelog = "https://github.com/jazzband/django-simple-history/releases/tag/${version}";
|
||||
license = licenses.bsd3;
|
||||
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
@ -22,16 +21,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "equinox";
|
||||
version = "0.11.5";
|
||||
version = "0.11.6";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "patrick-kidger";
|
||||
repo = "equinox";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-r4HKn+WJmC7BrTeDDAQ1++TpQhhtLcK6HL2CoM/MGx8=";
|
||||
hash = "sha256-Ee715otEKmXbXwZ2umrJN3HlIjabQao8hl6MRGqJnNw=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
@ -52,28 +49,6 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "equinox" ];
|
||||
|
||||
disabledTests = [
|
||||
# For simplicity, JAX has removed its internal frames from the traceback of the following exception.
|
||||
# https://github.com/patrick-kidger/equinox/issues/716
|
||||
"test_abstract"
|
||||
"test_complicated"
|
||||
"test_grad"
|
||||
"test_jvp"
|
||||
"test_mlp"
|
||||
"test_num_traces"
|
||||
"test_pytree_in"
|
||||
"test_simple"
|
||||
"test_vmap"
|
||||
|
||||
# AssertionError: assert 'foo:\n pri...pe=float32)\n' == 'foo:\n pri...pe=float32)\n'
|
||||
# Also reported in patrick-kidger/equinox#716
|
||||
"test_backward_nan"
|
||||
|
||||
# Flaky test
|
||||
# See https://github.com/patrick-kidger/equinox/issues/781
|
||||
"test_traceback_runtime_eqx"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "JAX library based around a simple idea: represent parameterised functions (such as neural networks) as PyTrees";
|
||||
changelog = "https://github.com/patrick-kidger/equinox/releases/tag/v${version}";
|
||||
|
@ -2,38 +2,45 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
six,
|
||||
glibcLocales,
|
||||
pytest,
|
||||
versioneer,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hcs-utils";
|
||||
version = "2.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "hcs_utils";
|
||||
inherit version;
|
||||
sha256 = "04xq69hrys8lf9kp8pva0c4aphjjfw412km7c32ydkwq0i59rhp2";
|
||||
hash = "sha256-4sKcSgSYz+bFYKdOEQh3UsKrCANqX3RnchRpn2EyuBM=";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
||||
checkPhase = ''
|
||||
# root does not has /root as home in sandbox
|
||||
py.test -k 'not test_expand' hcs_utils/test
|
||||
postPatch = ''
|
||||
# Remove vendorized versioneer.py
|
||||
rm versioneer.py
|
||||
'';
|
||||
|
||||
buildInputs = [
|
||||
six
|
||||
glibcLocales
|
||||
build-system = [
|
||||
setuptools
|
||||
versioneer
|
||||
];
|
||||
nativeCheckInputs = [ pytest ];
|
||||
|
||||
dependencies = [ six ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = [ "test_expand" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library collecting some useful snippets";
|
||||
homepage = "https://pypi.python.org/pypi/hcs_utils/1.3";
|
||||
homepage = "https://gitlab.com/hcs/hcs_utils";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ lovek323 ];
|
||||
platforms = platforms.unix;
|
||||
|
@ -1,40 +1,43 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
asteval,
|
||||
dill,
|
||||
numpy,
|
||||
scipy,
|
||||
uncertainties,
|
||||
pytestCheckHook,
|
||||
pandas,
|
||||
fetchPypi,
|
||||
matplotlib,
|
||||
numpy,
|
||||
pandas,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
scipy,
|
||||
setuptools-scm,
|
||||
setuptools,
|
||||
uncertainties,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lmfit";
|
||||
version = "1.3.2";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Mb7q4fAnwbjBTc1/LoSIqAt1+zied/ymd1Sb3C/ll7s=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml --replace "--cov=lmfit --cov-report html" ""
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "--cov=lmfit --cov-report html" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
asteval
|
||||
dill
|
||||
numpy
|
||||
@ -43,14 +46,19 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
pandas
|
||||
matplotlib
|
||||
pandas
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "lmfit" ];
|
||||
|
||||
disabledTests = [ "test_check_ast_errors" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Least-Squares Minimization with Bounds and Constraints";
|
||||
homepage = "https://lmfit-py.readthedocs.io/";
|
||||
homepage = "https://lmfit.github.io/lmfit-py/";
|
||||
changelog = "https://github.com/lmfit/lmfit-py/releases/tag/${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ nomeata ];
|
||||
};
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pwkit";
|
||||
version = "1.2.0";
|
||||
version = "1.2.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
||||
owner = "pkgw";
|
||||
repo = "pwkit";
|
||||
rev = "refs/tags/pwkit@${version}";
|
||||
hash = "sha256-bQno1SIbxAJ1TL068eshfFgAkRXFmbGu2GTbv1BRGU0=";
|
||||
hash = "sha256-X3nQPtPrY1+HH0Cs7PrFLqMP3fUEcwXQGap1F/3Aom0=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -11,13 +11,12 @@
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
respx,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydiscovergy";
|
||||
version = "3.0.1";
|
||||
version = "3.0.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.10";
|
||||
@ -26,7 +25,7 @@ buildPythonPackage rec {
|
||||
owner = "jpbede";
|
||||
repo = "pydiscovergy";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-0zyg1EBPOfcA1jAgtNbDCVaTv9hJQ2Xidl+doHbjKrM=";
|
||||
hash = "sha256-g6KWX7APdqB0dNe7p6WGualxSj5fiw+jRq+0qfqTs4w=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -35,13 +34,11 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
|
||||
dependencies = [
|
||||
authlib
|
||||
httpx
|
||||
mashumaro
|
||||
orjson
|
||||
pytz
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -100,6 +100,17 @@ buildPythonPackage rec {
|
||||
cd python/python/tests
|
||||
'';
|
||||
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# AttributeError: module 'torch.distributed' has no attribute 'is_initialized'
|
||||
"test_convert_int_tensors"
|
||||
"test_ground_truth"
|
||||
"test_index_cast_centroids"
|
||||
"test_index_with_no_centroid_movement"
|
||||
"test_iter_filter"
|
||||
"test_iter_over_dataset_fixed_shape_tensor"
|
||||
"test_iter_over_dataset_fixed_size_lists"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--generate-lockfile"
|
||||
@ -114,5 +125,8 @@ buildPythonPackage rec {
|
||||
changelog = "https://github.com/lancedb/lance/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
# test_indices.py ...sss.Fatal Python error: Fatal Python error: Illegal instructionIllegal instruction
|
||||
# File "/nix/store/wiiccrs0vd1qbh4j6ki9p40xmamsjix3-python3.12-pylance-0.17.0/lib/python3.12/site-packages/lance/indices.py", line 237 in train_ivf
|
||||
broken = stdenv.isDarwin && stdenv.isx86_64;
|
||||
};
|
||||
}
|
||||
|
@ -7,12 +7,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyqt5-sip";
|
||||
version = "12.13.0";
|
||||
version = "12.15.0";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyQt5_sip";
|
||||
inherit version;
|
||||
hash = "sha256-fzIdr4S5ydvKYbgOHvN72v/A6TMS7a4s19oluVOXHZE=";
|
||||
hash = "sha256-0j/fzzY7XO3Z05+KnFcQ59UoBPWwiljpHGOLNur8twI=";
|
||||
};
|
||||
|
||||
# There is no test code and the check phase fails with:
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "solarlog-cli";
|
||||
version = "0.2.2";
|
||||
version = "0.3.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.12";
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
owner = "dontinelli";
|
||||
repo = "solarlog_cli";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-RibfHggpuJAtvENOToSp7eFuvfkTRHdSq0Eg9kk05vc=";
|
||||
hash = "sha256-jNvwSh89Ncl/rR/cUNVbJfJThJTa9JlANjvH/vRruAU=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
@ -7,14 +7,16 @@
|
||||
lxml,
|
||||
python-slugify,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
sphinx,
|
||||
unidecode,
|
||||
versioneer,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-material";
|
||||
version = "0.0.36";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -24,7 +26,17 @@ buildPythonPackage rec {
|
||||
hash = "sha256-7v9ffT3AFq8yuv33DGbmcdFch1Tb4GE9+9Yp++2RKGk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
postPatch = ''
|
||||
# Remove vendorized versioneer.py
|
||||
rm versioneer.py
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
versioneer
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
sphinx
|
||||
beautifulsoup4
|
||||
python-slugify
|
||||
@ -33,13 +45,15 @@ buildPythonPackage rec {
|
||||
lxml
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "sphinx_material" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Material-based, responsive theme inspired by mkdocs-material";
|
||||
homepage = "https://bashtage.github.io/sphinx-material";
|
||||
changelog = "https://github.com/bashtage/sphinx-material/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ FlorianFranzen ];
|
||||
};
|
||||
|
@ -9,12 +9,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "types-requests";
|
||||
version = "2.32.0.20240905";
|
||||
version = "2.32.0.20240914";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6X/QFaXtmCyd3NFMxK+6nREeDga3l8j3dtFGAnNem9Y=";
|
||||
hash = "sha256-KFDheNs5Gdm/gJ5DTu9luknQ5+M6yS1Yj0peKV//1AU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
@ -1,84 +0,0 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, bmake
|
||||
, groff
|
||||
, inetutils
|
||||
, wget
|
||||
, openssl
|
||||
, libxcrypt
|
||||
, minimal ? false
|
||||
, userSupport ? !minimal
|
||||
, cgiSupport ? !minimal
|
||||
, dirIndexSupport ? !minimal
|
||||
, dynamicContentSupport ? !minimal
|
||||
, sslSupport ? !minimal
|
||||
, luaSupport ? !minimal
|
||||
, lua
|
||||
, htpasswdSupport ? !minimal
|
||||
}:
|
||||
|
||||
let inherit (lib) optional optionals;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bozohttpd";
|
||||
version = "20240126";
|
||||
|
||||
# bozohttpd is developed in-tree in pkgsrc, canonical hashes can be found at:
|
||||
# http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/bozohttpd/distinfo
|
||||
src = fetchurl {
|
||||
url = "http://eterna23.net/${pname}/${pname}-${version}.tar.bz2";
|
||||
hash = "sha512-fr1PnyYAS3wkpmj/npRC3A87UL9LIXw4thlM4GfrtlJbuX5EkWGVJnHJW/EmYp7z+N91dcdRJgdO79l6WJsKpg==";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl libxcrypt ] ++ optional (luaSupport) lua;
|
||||
nativeBuildInputs = [ bmake groff ];
|
||||
|
||||
COPTS = [
|
||||
"-D_DEFAULT_SOURCE"
|
||||
"-D_GNU_SOURCE"
|
||||
|
||||
# ensure that we can serve >2GB files even on 32-bit systems.
|
||||
"-D_LARGEFILE_SOURCE"
|
||||
"-D_FILE_OFFSET_BITS=64"
|
||||
|
||||
# unpackaged dependency: https://man.netbsd.org/blocklist.3
|
||||
"-DNO_BLOCKLIST_SUPPORT"
|
||||
]
|
||||
++ optional (!userSupport) "-DNO_USER_SUPPORT"
|
||||
++ optional (!dirIndexSupport) "-DNO_DIRINDEX_SUPPORT"
|
||||
++ optional (!dynamicContentSupport) "-DNO_DYNAMIC_CONTENT"
|
||||
++ optional (!luaSupport) "-DNO_LUA_SUPPORT"
|
||||
++ optional (!sslSupport) "-DNO_SSL_SUPPORT"
|
||||
++ optional (!cgiSupport) "-DNO_CGIBIN_SUPPORT"
|
||||
++ optional (htpasswdSupport) "-DDO_HTPASSWD";
|
||||
|
||||
_LDADD = [ "-lm" ]
|
||||
++ optional (stdenv.hostPlatform.libc != "libSystem") "-lcrypt"
|
||||
++ optional (luaSupport) "-llua"
|
||||
++ optionals (sslSupport) [ "-lssl" "-lcrypto" ];
|
||||
makeFlags = [ "LDADD=$(_LDADD)" ];
|
||||
|
||||
doCheck = true;
|
||||
nativeCheckInputs = [ inetutils wget ];
|
||||
checkFlags = optional (!cgiSupport) "CGITESTS=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bozotic HTTP server; small and secure";
|
||||
longDescription = ''
|
||||
bozohttpd is a small and secure HTTP version 1.1 server. Its main
|
||||
feature is the lack of features, reducing the code size and improving
|
||||
verifiability.
|
||||
|
||||
It supports CGI/1.1, HTTP/1.1, HTTP/1.0, HTTP/0.9, ~user translations,
|
||||
virtual hosting support, as well as multiple IP-based servers on a
|
||||
single machine. It is capable of servicing pages via the IPv6 protocol.
|
||||
It has SSL support. It has no configuration file by design.
|
||||
'';
|
||||
homepage = "http://www.eterna.com.au/bozohttpd/";
|
||||
changelog = "http://www.eterna.com.au/bozohttpd/CHANGES";
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.embr ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "flitter";
|
||||
version = "1.0.0";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alexozer";
|
||||
repo = "flitter";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-XyHUUuENnGmIUlfYl7+NuSP115+sZfjXtd4bEIZQpf8=";
|
||||
sha256 = "sha256-CjWixIiQFBoS+m8hPLqz0UR/EbQWgx8eKf3Y9kkgQew=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ydYBHC/LxdYGA1+eYLTSZdkOhAgkw99J9JVT5micgdg=";
|
||||
cargoHash = "sha256-jkIdlvMYNopp8syZpIiAiekALUrRWWRKFFHYyMYRMg4=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
@ -1,4 +1,4 @@
|
||||
# frozen_string_literal: true
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.4.25"
|
||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.4.26"
|
||||
|
@ -1,9 +1,9 @@
|
||||
GIT
|
||||
remote: https://github.com/rapid7/metasploit-framework
|
||||
revision: 8a95b2c37de1aea1c347324a1e8171d9189e149b
|
||||
ref: refs/tags/6.4.25
|
||||
revision: 4ec7d1be72158642c17b18dcb9e66e44c1bb5a5a
|
||||
ref: refs/tags/6.4.26
|
||||
specs:
|
||||
metasploit-framework (6.4.25)
|
||||
metasploit-framework (6.4.26)
|
||||
aarch64
|
||||
abbrev
|
||||
actionpack (~> 7.0.0)
|
||||
|
@ -15,13 +15,13 @@ let
|
||||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "metasploit-framework";
|
||||
version = "6.4.25";
|
||||
version = "6.4.26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rapid7";
|
||||
repo = "metasploit-framework";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-JSRex8aNwINEErNi5UoW29YV0R6pSfkyYrULK9vLTAc=";
|
||||
hash = "sha256-yGpS3wvUjJ4M4OTHcNNa3PQCl884q4vow+2YiM5QQSI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -724,12 +724,12 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
fetchSubmodules = false;
|
||||
rev = "8a95b2c37de1aea1c347324a1e8171d9189e149b";
|
||||
sha256 = "01scrgdjn2xmc8rgjjd93v8ibmnv2r5faqmk29287h4dqv3mw915";
|
||||
rev = "4ec7d1be72158642c17b18dcb9e66e44c1bb5a5a";
|
||||
sha256 = "08j1a378i67dqgl8parqrybh5x6wbb9p1iz4w069x36l1ggm4sn8";
|
||||
type = "git";
|
||||
url = "https://github.com/rapid7/metasploit-framework";
|
||||
};
|
||||
version = "6.4.25";
|
||||
version = "6.4.26";
|
||||
};
|
||||
metasploit-model = {
|
||||
groups = ["default"];
|
||||
|
@ -4226,8 +4226,7 @@ with pkgs;
|
||||
|
||||
boxfs = callPackage ../tools/filesystems/boxfs { };
|
||||
|
||||
bozohttpd = callPackage ../servers/http/bozohttpd { };
|
||||
bozohttpd-minimal = callPackage ../servers/http/bozohttpd { minimal = true; };
|
||||
bozohttpd-minimal = bozohttpd.override { minimal = true; };
|
||||
|
||||
brasero-original = lowPrio (callPackage ../tools/cd-dvd/brasero { });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user