Merge master into staging-next
This commit is contained in:
commit
a459b363de
84 changed files with 956 additions and 376 deletions
|
@ -14,7 +14,7 @@
|
|||
</p>
|
||||
|
||||
[Nixpkgs](https://github.com/nixos/nixpkgs) is a collection of over
|
||||
80,000 software packages that can be installed with the
|
||||
100,000 software packages that can be installed with the
|
||||
[Nix](https://nixos.org/nix/) package manager. It also implements
|
||||
[NixOS](https://nixos.org/nixos/), a purely-functional Linux distribution.
|
||||
|
||||
|
|
|
@ -152,9 +152,7 @@ let
|
|||
copyKeys = concatStrings (mapAttrsToList (keyName: keyOptions: ''
|
||||
secret=$(cat "${keyOptions.keyFile}")
|
||||
dest="${stateDir}/private/${keyName}"
|
||||
echo " secret: \"$secret\"" > "$dest"
|
||||
chown ${username}:${username} "$dest"
|
||||
chmod 0400 "$dest"
|
||||
install -m 0400 -o "${username}" -g "${username}" <(echo " secret: \"$secret\"") "$dest"
|
||||
'') cfg.keys);
|
||||
|
||||
|
||||
|
@ -457,9 +455,7 @@ let
|
|||
dnssecTools = pkgs.bind.override { enablePython = true; };
|
||||
|
||||
signZones = optionalString dnssec ''
|
||||
mkdir -p ${stateDir}/dnssec
|
||||
chown ${username}:${username} ${stateDir}/dnssec
|
||||
chmod 0600 ${stateDir}/dnssec
|
||||
install -m 0600 -o "${username}" -g "${username}" -d "${stateDir}/dnssec"
|
||||
|
||||
${concatStrings (mapAttrsToList signZone dnssecZones)}
|
||||
'';
|
||||
|
@ -961,9 +957,9 @@ in
|
|||
rm -Rf "${stateDir}/private/"
|
||||
rm -Rf "${stateDir}/tmp/"
|
||||
|
||||
mkdir -m 0700 -p "${stateDir}/private"
|
||||
mkdir -m 0700 -p "${stateDir}/tmp"
|
||||
mkdir -m 0700 -p "${stateDir}/var"
|
||||
install -dm 0700 -o "${username}" -g "${username}" "${stateDir}/private"
|
||||
install -dm 0700 -o "${username}" -g "${username}" "${stateDir}/tmp"
|
||||
install -dm 0700 -o "${username}" -g "${username}" "${stateDir}/var"
|
||||
|
||||
cat > "${stateDir}/don't touch anything in here" << EOF
|
||||
Everything in this directory except NSD's state in var and dnssec
|
||||
|
@ -971,10 +967,6 @@ in
|
|||
the nsd.service pre-start script.
|
||||
EOF
|
||||
|
||||
chown ${username}:${username} -R "${stateDir}/private"
|
||||
chown ${username}:${username} -R "${stateDir}/tmp"
|
||||
chown ${username}:${username} -R "${stateDir}/var"
|
||||
|
||||
rm -rf "${stateDir}/zones"
|
||||
cp -rL "${nsdEnv}/zones" "${stateDir}/zones"
|
||||
|
||||
|
|
|
@ -18,6 +18,9 @@ let
|
|||
cacheDir = "/var/cache/mediawiki";
|
||||
stateDir = "/var/lib/mediawiki";
|
||||
|
||||
# https://www.mediawiki.org/wiki/Compatibility
|
||||
php = pkgs.php81;
|
||||
|
||||
pkg = pkgs.stdenv.mkDerivation rec {
|
||||
pname = "mediawiki-full";
|
||||
inherit (src) version;
|
||||
|
@ -46,7 +49,7 @@ let
|
|||
} ''
|
||||
mkdir -p $out/bin
|
||||
for i in changePassword.php createAndPromote.php userOptions.php edit.php nukePage.php update.php; do
|
||||
makeWrapper ${pkgs.php}/bin/php $out/bin/mediawiki-$(basename $i .php) \
|
||||
makeWrapper ${php}/bin/php $out/bin/mediawiki-$(basename $i .php) \
|
||||
--set MEDIAWIKI_CONFIG ${mediawikiConfig} \
|
||||
--add-flags ${pkg}/share/mediawiki/maintenance/$i
|
||||
done
|
||||
|
@ -485,8 +488,7 @@ in
|
|||
services.phpfpm.pools.mediawiki = {
|
||||
inherit user group;
|
||||
phpEnv.MEDIAWIKI_CONFIG = "${mediawikiConfig}";
|
||||
# https://www.mediawiki.org/wiki/Compatibility
|
||||
phpPackage = pkgs.php81;
|
||||
phpPackage = php;
|
||||
settings = (if (cfg.webserver == "apache") then {
|
||||
"listen.owner" = config.services.httpd.user;
|
||||
"listen.group" = config.services.httpd.group;
|
||||
|
@ -598,8 +600,8 @@ in
|
|||
fi
|
||||
|
||||
echo "exit( wfGetDB( DB_MASTER )->tableExists( 'user' ) ? 1 : 0 );" | \
|
||||
${pkgs.php}/bin/php ${pkg}/share/mediawiki/maintenance/eval.php --conf ${mediawikiConfig} && \
|
||||
${pkgs.php}/bin/php ${pkg}/share/mediawiki/maintenance/install.php \
|
||||
${php}/bin/php ${pkg}/share/mediawiki/maintenance/eval.php --conf ${mediawikiConfig} && \
|
||||
${php}/bin/php ${pkg}/share/mediawiki/maintenance/install.php \
|
||||
--confpath /tmp \
|
||||
--scriptpath / \
|
||||
--dbserver ${lib.escapeShellArg dbAddr} \
|
||||
|
@ -613,7 +615,7 @@ in
|
|||
${lib.escapeShellArg cfg.name} \
|
||||
admin
|
||||
|
||||
${pkgs.php}/bin/php ${pkg}/share/mediawiki/maintenance/update.php --conf ${mediawikiConfig} --quick
|
||||
${php}/bin/php ${pkg}/share/mediawiki/maintenance/update.php --conf ${mediawikiConfig} --quick
|
||||
'';
|
||||
|
||||
serviceConfig = {
|
||||
|
|
|
@ -14,7 +14,7 @@ in {
|
|||
allowedUDPPorts = [ 9511 9512 ];
|
||||
};
|
||||
|
||||
systemd.user.services.urserver = {
|
||||
systemd.user.services.urserver = {
|
||||
description = ''
|
||||
Server for Unified Remote: The one-and-only remote for your computer.
|
||||
'';
|
||||
|
|
|
@ -16,13 +16,13 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mympd";
|
||||
version = "14.1.1";
|
||||
version = "14.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jcorporation";
|
||||
repo = "myMPD";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-qGKTQAEwkv5Bz09GzmUHWnQ/DzmiexOY/dTkFyCtH/M=";
|
||||
sha256 = "sha256-CMqH9iy9U85bKj7YLcYsKFs5CDePGBEfUWL+sb7WzBw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -45,13 +45,13 @@ stdenv.mkDerivation {
|
|||
pname = binName;
|
||||
# versions are specified in `squeezelite.h`
|
||||
# see https://github.com/ralph-irving/squeezelite/issues/29
|
||||
version = "2.0.0.1481";
|
||||
version = "2.0.0.1486";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ralph-irving";
|
||||
repo = "squeezelite";
|
||||
rev = "c751ef146265c243cdbd7c0353dd0b70ab51730c";
|
||||
hash = "sha256-wvHIKOTi/a5tdn7E4SnUrDz3htvyZQMJeQFa+24OKwI=";
|
||||
rev = "fd4a82e7d0e53124d9618320f3c115d90654509d";
|
||||
hash = "sha256-nR2Px7VYjAktUsueEyBAV2392+/dX6JYIy7YSMh05c0=";
|
||||
};
|
||||
|
||||
buildInputs = [ flac libmad libvorbis mpg123 ]
|
||||
|
|
|
@ -24,14 +24,14 @@ assert svgSupport -> enableCairo;
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "fuzzel";
|
||||
version = "1.10.0";
|
||||
version = "1.10.2";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "dnkl";
|
||||
repo = "fuzzel";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-4wTwsjnmPsg+kc05izeyXilzDO0LpD3g3PRBqgLPK2I=";
|
||||
hash = "sha256-I+h93/I1Kra2S5QSi2XgICAVrcUmO9cmb8UttVuzjwg=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
((buildMozillaMach rec {
|
||||
pname = "floorp";
|
||||
packageVersion = "11.11.2";
|
||||
packageVersion = "11.12.0";
|
||||
applicationName = "Floorp";
|
||||
binaryName = "floorp";
|
||||
branding = "browser/branding/official";
|
||||
|
@ -22,7 +22,7 @@
|
|||
repo = "Floorp";
|
||||
fetchSubmodules = true;
|
||||
rev = "v${packageVersion}";
|
||||
hash = "sha256-a9f4+t2w8aOOLNaKkr+FuY0ENa/Nkukg9pvJTiUMfWk=";
|
||||
hash = "sha256-9mJW8VFYClQ3D8/nPtlCVaVULvEICS+RQhz1dLujn6Q=";
|
||||
};
|
||||
|
||||
extraConfigureFlags = [
|
||||
|
|
|
@ -19,7 +19,7 @@ updateBaseVersion() {
|
|||
|
||||
updateHash() {
|
||||
local hash
|
||||
hash=$(nix-prefetch-github --fetch-submodules --rev "v$1" $owner $repo | jq .hash)
|
||||
hash=$(nix-prefetch-github --fetch-submodules --rev "v$1" $owner $repo | jq -r .hash)
|
||||
sed -i "s|hash = \"[a-zA-Z0-9\/+-=]*\";|hash = \"$hash\";|g" "$dirname/default.nix"
|
||||
}
|
||||
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "rke";
|
||||
version = "1.5.7";
|
||||
version = "1.5.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rancher";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-4fan6+ka0CH8wa/+7ouTuOuTfWPQE5EqsjAfj3zdrA0=";
|
||||
hash = "sha256-f1Ilf2HSsp0Ygp0fItJVd8iJq12Z1jw2WKmLR4NgUKA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/HsZAMPGCaM5Em6doC8qffoSEveX/yDNwAGog3I0+c4=";
|
||||
|
|
|
@ -11,16 +11,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "rymdport";
|
||||
version = "3.5.3";
|
||||
version = "3.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Jacalz";
|
||||
repo = "rymdport";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-lCtFm360UeypzYpivlYXxuqZ0BzGzGkkq31dmgjwv4M=";
|
||||
hash = "sha256-PMCetU+E0Kl50K7sJB6UiHVouWPtfW8ALXFacxCvAhE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-PXRy12JWYQQMMzh7jrEhquileY2oYFvqt8KZvrfp2o0=";
|
||||
vendorHash = "sha256-RsmwTRVjhEgKAT9aekSfkRuai2165KG7q5aFjAiLSPU=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, gcc, gcc-unwrapped }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.2";
|
||||
version = "4.2.1";
|
||||
pname = "messer-slim";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MesserLab";
|
||||
repo = "SLiM";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-PDIaOMA1QHrJC5xVW+Mzx8ja/YvZBMKvV88MjSoSpfM=";
|
||||
sha256 = "sha256-ba5I/bsDNAhDb1Kq0lWTC6YgpZ1PpeHPmB/vXx/JRK0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake gcc gcc-unwrapped ];
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "streamlink";
|
||||
version = "6.7.2";
|
||||
version = "6.7.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-enRwASn1wpwAYmDfU5djhDAJgcmv+dPVwut+kdPco1k=";
|
||||
hash = "sha256-Da+J+NOXW+n55LvaPQw6XiRhJJQ4Pc4Z1p21qMym/Xw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
58
pkgs/by-name/ar/aranym/package.nix
Normal file
58
pkgs/by-name/ar/aranym/package.nix
Normal file
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
lib,
|
||||
SDL2,
|
||||
autoreconfHook,
|
||||
fetchFromGitHub,
|
||||
libGLU,
|
||||
pkg-config,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "aranym";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aranym";
|
||||
repo = "aranym";
|
||||
rev = "ARANYM_${lib.replaceStrings [ "." ] [ "_" ] finalAttrs.version}";
|
||||
hash = "sha256-dtcLIA1oC6sPOeGTRmXhMEbuLan9/JWTbQvO5lp3gKo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libGLU
|
||||
SDL2
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
meta = {
|
||||
homepage = "https://aranym.github.io";
|
||||
description = "Atari Running on Any Machine";
|
||||
longDescription = ''
|
||||
ARAnyM is a software virtual machine (similar to VirtualBox or Bochs)
|
||||
designed and developed for running 32-bit Atari ST/TT/Falcon operating
|
||||
systems (TOS, FreeMiNT, MagiC and Linux-m68k) and TOS/GEM applications on
|
||||
any kind of hardware - be it an IBM clone (read it as "PC" :-), an Apple,
|
||||
an Unix server, a graphics workstation or even a portable computer.
|
||||
|
||||
ARAnyM is not meant as an emulator of Atari Falcon (even though it has a
|
||||
rather high Falcon software compatibility and includes most of Falcon
|
||||
custom chips including VIDEL and DSP). ARAnyM is better in the sense that
|
||||
it's not tied to specification of an existing Atari machine so we were
|
||||
free to select the most complete CPU (68040 with MMU) and FPU (68882), add
|
||||
loads of RAM (up to 4 GB), host accelerated graphics (even with OpenGL)
|
||||
and direct access to various host resources including sound, disk drives,
|
||||
optical storage devices (CD/DVD-ROMs), parallel port and more.
|
||||
'';
|
||||
license = with lib.licenses; [ gpl2Plus ];
|
||||
mainProgram = "aranym";
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "atlauncher";
|
||||
version = "3.4.35.9";
|
||||
version = "3.4.36.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ATLauncher/ATLauncher/releases/download/v${finalAttrs.version}/ATLauncher-${finalAttrs.version}.jar";
|
||||
hash = "sha256-Y2MGhzq4IbtjEG+CER+FWU8CY+hn5ehjMOcP02zIsR4=";
|
||||
hash = "sha256-qeH3W7G6xxlIrLK04A3GTKtZsvmii6acWY4clPIL8Rk=";
|
||||
};
|
||||
|
||||
env.ICON = fetchurl {
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "dep-scan";
|
||||
version = "5.3.2";
|
||||
version = "5.3.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "owasp-dep-scan";
|
||||
repo = "dep-scan";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-2WV4f9vHdfnzoQWvwK/+lT9IS0v0sGBqnwDFHWG48G4=";
|
||||
hash = "sha256-ehQsRTMoHr6LDXCka3/4YcyEKLN7DQW4mUp4nyid/aE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -12,16 +12,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "gitu";
|
||||
version = "0.15.0";
|
||||
version = "0.16.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "altsem";
|
||||
repo = "gitu";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-/yPP8GzeaVMauhcYLDAgXzOafUpOhJF2tyHOyD6KWS8=";
|
||||
hash = "sha256-ePyMyKCI8fHKfoNCMYyYeCPkyYF5KyMYaPrB1NtovCs=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-eKRFPnH9MvSykrnPo4dc5DtEfb79s0hBtmYfERGQbWg=";
|
||||
cargoHash = "sha256-1komuFSucXYdgeAFWeeuMmZYxb6Mzku7hdltDwKAa7A=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
@ -32,6 +32,7 @@ rustPlatform.buildRustPackage rec {
|
|||
openssl
|
||||
zlib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
|
|
|
@ -16,14 +16,14 @@
|
|||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "home-manager";
|
||||
version = "unstable-2024-04-06";
|
||||
version = "unstable-2024-04-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
name = "home-manager-source";
|
||||
owner = "nix-community";
|
||||
repo = "home-manager";
|
||||
rev = "b787726a8413e11b074cde42704b4af32d95545c";
|
||||
hash = "sha256-ebq+fJZfobqpsAdGDGpxNWSySbQejRwW9cdiil6krCo=";
|
||||
rev = "31357486b0ef6f4e161e002b6893eeb4fafc3ca9";
|
||||
hash = "sha256-2APpO3ZW4idlgtlb8hB04u/rmIcKA8O7pYqxF66xbNY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
49
pkgs/by-name/ka/kafka-cmak/package.nix
Normal file
49
pkgs/by-name/ka/kafka-cmak/package.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
jdk,
|
||||
gawk,
|
||||
makeBinaryWrapper,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
name = "CMAK";
|
||||
version = "3.0.0.6";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/yahoo/CMAK/releases/latest/download/cmak-${finalAttrs.version}.zip";
|
||||
hash = "sha256-jMF1v2WV8ataFkz2VuVXOE6/QV+Kb0KBVRfj8yKdkUQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gawk
|
||||
jdk
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
makeBinaryWrapper
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
mv ./* $out
|
||||
wrapProgram $out/bin/cmak \
|
||||
--set JAVA_HOME ${jdk.home} \
|
||||
--prefix PATH : ${lib.makeBinPath [ gawk ]}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cluster Manager for Apache Kafka, previously known as Kafka Manager";
|
||||
license = licenses.apsl20;
|
||||
maintainers = with maintainers; [cafkafk];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "cmak";
|
||||
};
|
||||
})
|
4
pkgs/by-name/ka/kafka-cmak/update.sh
Normal file
4
pkgs/by-name/ka/kafka-cmak/update.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -i bash -p nix-update
|
||||
|
||||
nix-update kafka-cmak
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
let
|
||||
pname = "lefthook";
|
||||
version = "1.6.8";
|
||||
version = "1.6.10";
|
||||
in
|
||||
buildGoModule {
|
||||
inherit pname version;
|
||||
|
@ -15,10 +15,10 @@ buildGoModule {
|
|||
owner = "evilmartians";
|
||||
repo = "lefthook";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-GeI2vhTRiz8krYuolUxsWvFy4TIflOvFCAaa1b7Fex0=";
|
||||
hash = "sha256-6VjvlGA6PBYLa1Ct05jokgF9zlYKihr+ESG4C8MHnO0=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-/eNhVD/9MZm1nVNmfqmLEfoySa8Krdzle2SLKpf1XlM=";
|
||||
vendorHash = "sha256-sDqP+fzAFavqtvJ98nwsD5+GxNhmLgtOkTzIK06wp9E=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
|
|
@ -12,14 +12,14 @@ let
|
|||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "pacu";
|
||||
version = "1.5.2";
|
||||
version = "1.5.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "RhinoSecurityLabs";
|
||||
repo = "pacu";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-Ty++jNJTk8YKy6Sl6xj1Xs25ZxJCeF9m/iwdA2fRXnI=";
|
||||
hash = "sha256-DLyTWyfDOawtBZ7rIzVc0PFgagpM7qbaAbOJE6nh0Wo=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
|
28
pkgs/by-name/pg/pgroll/package.nix
Normal file
28
pkgs/by-name/pg/pgroll/package.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ buildGoModule
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "pgroll";
|
||||
version = "0.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xataio";
|
||||
repo = "pgroll";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-VYGwIJsPVilFxvglj+E7H9NpqUV1CV/ggBP3gFleWIA=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-Fz+o1jSoMfqKYo1I7VUFqbhBEgcoQEx7aYsmzCLsbnI=";
|
||||
|
||||
# Tests require a running docker daemon
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "PostgreSQL zero-downtime migrations made easy";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/xataio/pgroll";
|
||||
maintainers = with maintainers; [ ilyakooo0 ];
|
||||
};
|
||||
}
|
|
@ -10,16 +10,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "proto";
|
||||
version = "0.32.2";
|
||||
version = "0.34.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "moonrepo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-QxaVXggVfr3O26RwSuUx4qpabhWE9+ZFLKRin/ya2e4=";
|
||||
hash = "sha256-4stIazXr7+P6gF98NTWQoVW52ov9tQ1DQjPPuN7ssLU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-j5wXmlauhrUnUVTj/KyqDrf1y9bq3ZInREZXIUQImVE=";
|
||||
cargoHash = "sha256-lijDw55F7QBPqA17CPoee5unW/++LXo3Gbn24C7FLi8=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
|
|
26
pkgs/by-name/rs/rs/macos-reallocarray.patch
Normal file
26
pkgs/by-name/rs/rs/macos-reallocarray.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
Original from OpenBSD src/lib/libc/stdlib/reallocarray.c
|
||||
|
||||
--- a/rs.c 2024-04-15 10:13:41
|
||||
+++ b/rs.c 2024-04-15 10:15:20
|
||||
@@ -103,6 +103,21 @@
|
||||
ep = getptrs(ep); \
|
||||
} while(0)
|
||||
|
||||
+#ifdef __APPLE__
|
||||
+#define MUL_NO_OVERFLOW ((size_t)1 << (sizeof(size_t) * 4))
|
||||
+
|
||||
+void *
|
||||
+reallocarray(void *optr, size_t nmemb, size_t size)
|
||||
+{
|
||||
+ if ((nmemb >= MUL_NO_OVERFLOW || size >= MUL_NO_OVERFLOW) &&
|
||||
+ nmemb > 0 && SIZE_MAX / nmemb < size) {
|
||||
+ errno = ENOMEM;
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ return realloc(optr, size * nmemb);
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
|
@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
patches = [
|
||||
# add an implementation of reallocarray() from openbsd (not available on darwin)
|
||||
./macos-reallocarray.patch
|
||||
];
|
||||
|
||||
buildInputs = [ libbsd ];
|
||||
|
||||
buildPhase = ''
|
||||
|
@ -63,5 +68,6 @@ stdenv.mkDerivation rec {
|
|||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isx86_64 && stdenv.isDarwin; # missing strtonum()
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
let
|
||||
pname = "spotube";
|
||||
version = "3.5.0";
|
||||
version = "3.6.0";
|
||||
|
||||
meta = {
|
||||
description = "An open source, cross-platform Spotify client compatible across multiple platforms";
|
||||
|
@ -53,7 +53,7 @@ let
|
|||
|
||||
src = fetchArtifact {
|
||||
filename = "Spotube-macos-universal.dmg";
|
||||
hash = "sha256-omXhiH/hVxFef03GqmpYf65SfdLjLyeMyuAWuvSpYiI=";
|
||||
hash = "sha256-Qsr+66ToyLCCUwirj/7V6vzSNmx7BZ3O34liLx6AdlI=";
|
||||
};
|
||||
|
||||
sourceRoot = ".";
|
||||
|
@ -77,7 +77,7 @@ let
|
|||
|
||||
src = fetchArtifact {
|
||||
filename = "Spotube-linux-x86_64.deb";
|
||||
hash = "sha256-Rea4GvxdkUfZF8lCBzI9UrD9Iz9D5vq9oxYBn5bahZE=";
|
||||
hash = "sha256-dSFtjCuufrg5tG+FLgLgdx20WpO2s4wGOPtK+tel3dg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -12,16 +12,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "stackit-cli";
|
||||
version = "0.2.1";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stackitcloud";
|
||||
repo = "stackit-cli";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-eAJe/AlYxp0v2LifXdlSxeZL+qwKf2wj+tnNJ2Y8LcQ=";
|
||||
hash = "sha256-0SI7hRJxdtdpGgEsUCWNsIcT50W7uyxLs5Mp+alHE0I=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-gir3RtIdQ/xDVL050kH8OxFuHoBOD2weeyRjguhubV0=";
|
||||
vendorHash = "sha256-FXy3qVSf57cPmxkY2XPEjFz3qRYkH5pPmCoIiWb28FY=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
|
64
pkgs/by-name/su/supermodel/package.nix
Normal file
64
pkgs/by-name/su/supermodel/package.nix
Normal file
|
@ -0,0 +1,64 @@
|
|||
{ fetchFromGitHub
|
||||
, lib
|
||||
, libGLU
|
||||
, SDL2
|
||||
, SDL2_net
|
||||
, stdenv
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "supermodel";
|
||||
version = "0-unstable-2024-04-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "trzy";
|
||||
repo = "supermodel";
|
||||
rev = "250f84e78eba381adf8cd731ce20b1b9be43c8c8";
|
||||
hash = "sha256-3sDtNMW5R5Eq9GXJzKs0mQdiLUIWl6+4+rzKg8xpqEY=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
libGLU
|
||||
SDL2
|
||||
SDL2_net
|
||||
zlib
|
||||
];
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = "-Wno-error=format-security";
|
||||
|
||||
makefile = "Makefiles/Makefile.UNIX";
|
||||
|
||||
makeFlags = [ "NET_BOARD=1" ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share/supermodel
|
||||
cp bin/* $out/bin
|
||||
cp -r Config Assets $out/share/supermodel
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A Sega Model 3 Arcade Emulator";
|
||||
homepage = "https://github.com/trzy/supermodel";
|
||||
license = lib.licenses.gpl3;
|
||||
longDescription = ''
|
||||
Supermodel requires specific files to be present in the $HOME directory of
|
||||
the user running the emulator. To ensure these files are present, move the
|
||||
configuration and assets as follows:
|
||||
|
||||
<code>cp $out/share/supermodel/Config/Supermodel.ini ~/.config/supermodel/Config/Supermodel.ini</code>
|
||||
<code>cp -r $out/share/supermodel/Assets/* ~/.local/share/supermodel/Assets/</code>
|
||||
|
||||
Then the emulator can be started with:
|
||||
<code>supermodel -game-xml-file=$out/share/supermodel/Config/Games.xml /path/to/romset</code>.
|
||||
'';
|
||||
mainProgram = "supermodel";
|
||||
maintainers = with lib.maintainers; [ msanft ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
|
@ -45,7 +45,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
- job control
|
||||
'';
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres suominen ];
|
||||
maintainers = with lib.maintainers; [ suominen ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, buildPackages
|
||||
, fetchurl
|
||||
, gitUpdater
|
||||
, linuxHeaders
|
||||
, libiconvReal
|
||||
, extraConfig ? ""
|
||||
|
@ -58,11 +59,11 @@ let
|
|||
in
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "uclibc-ng";
|
||||
version = "1.0.45";
|
||||
version = "1.0.47";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.uclibc-ng.org/releases/${finalAttrs.version}/uClibc-ng-${finalAttrs.version}.tar.xz";
|
||||
sha256 = "sha256-wvTGtuGdfJwiaZKjdG79erkyBARjwV7gvI9BMrV3esQ=";
|
||||
hash = "sha256-KaTWhKBto0TuPuCazCynZJ1ZKuP/hI9pgUXEbe8F78s=";
|
||||
};
|
||||
|
||||
# 'ftw' needed to build acl, a coreutils dependency
|
||||
|
@ -112,6 +113,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
# Derivations may check for the existance of this attribute, to know what to
|
||||
# link to.
|
||||
libiconv = libiconvReal;
|
||||
|
||||
updateScript = gitUpdater {
|
||||
url = "https://git.uclibc-ng.org/git/uclibc-ng.git";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
|
|
@ -2,19 +2,19 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wasmtime";
|
||||
version = "19.0.1";
|
||||
version = "19.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bytecodealliance";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MHoIVJ+x8GFzbO2YaknnzS/qSMyODvel88IHif9L97A=";
|
||||
hash = "sha256-t+2bkJ1SFN7Bi1Mj74CKGhnL2vWpruQKf8lYJWLOqB8=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
# Disable cargo-auditable until https://github.com/rust-secure-code/cargo-auditable/issues/124 is solved.
|
||||
auditable = false;
|
||||
cargoHash = "sha256-r07neWK7d4407U941XtyUOlRcjQVNUsXJKavSNHvYZM=";
|
||||
cargoHash = "sha256-Jr02AQWz4ILYZWlGtcVYWTcBojHWZk871bWuEyG5QxE=";
|
||||
cargoBuildFlags = [ "--package" "wasmtime-cli" "--package" "wasmtime-c-api" ];
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
|
|
@ -53,6 +53,8 @@
|
|||
, withDav1d ? withHeadlessDeps # AV1 decoder (focused on speed and correctness)
|
||||
, withDc1394 ? withFullDeps && !stdenv.isDarwin # IIDC-1394 grabbing (ieee 1394)
|
||||
, withDrm ? withHeadlessDeps && (with stdenv; isLinux || isFreeBSD) # libdrm support
|
||||
, withDvdnav ? withFullDeps && withGPL && lib.versionAtLeast version "7" # needed for DVD demuxing
|
||||
, withDvdread ? withFullDeps && withGPL && lib.versionAtLeast version "7" # needed for DVD demuxing
|
||||
, withFdkAac ? withFullDeps && (!withGPL || withUnfree) # Fraunhofer FDK AAC de/encoder
|
||||
, withNvcodec ? withHeadlessDeps && (with stdenv; !isDarwin && !isAarch32 && !hostPlatform.isRiscV && hostPlatform == buildPlatform) # dynamically linked Nvidia code
|
||||
, withFlite ? withFullDeps # Voice Synthesis
|
||||
|
@ -235,6 +237,8 @@
|
|||
, libcaca
|
||||
, libdc1394
|
||||
, libdrm
|
||||
, libdvdnav
|
||||
, libdvdread
|
||||
, libGL
|
||||
, libGLU
|
||||
, libiconv
|
||||
|
@ -536,6 +540,10 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
(enableFeature withDav1d "libdav1d")
|
||||
(enableFeature withDc1394 "libdc1394")
|
||||
(enableFeature withDrm "libdrm")
|
||||
] ++ optionals (versionAtLeast version "7") [
|
||||
(enableFeature withDvdnav "libdvdnav")
|
||||
(enableFeature withDvdread "libdvdread")
|
||||
] ++ [
|
||||
(enableFeature withFdkAac "libfdk-aac")
|
||||
(enableFeature withNvcodec "ffnvcodec")
|
||||
(enableFeature withFlite "libflite")
|
||||
|
@ -673,6 +681,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
++ optionals withDav1d [ dav1d ]
|
||||
++ optionals withDc1394 [ libdc1394 libraw1394 ]
|
||||
++ optionals withDrm [ libdrm ]
|
||||
++ optionals withDvdnav [ libdvdnav ]
|
||||
++ optionals withDvdread [ libdvdread ]
|
||||
++ optionals withFdkAac [ fdk_aac ]
|
||||
++ optionals withNvcodec [ (if (lib.versionAtLeast version "6") then nv-codec-headers-12 else nv-codec-headers) ]
|
||||
++ optionals withFlite [ flite ]
|
||||
|
|
|
@ -4,7 +4,7 @@ let
|
|||
isQt6 = lib.versions.major qtbase.version == "6";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "libquotient";
|
||||
version = "0.8.1.2";
|
||||
version = "0.8.2";
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
|
@ -12,7 +12,7 @@ in stdenv.mkDerivation rec {
|
|||
owner = "quotient-im";
|
||||
repo = "libQuotient";
|
||||
rev = version;
|
||||
hash = "sha256-qJTikc42sFUlb4g0sAEg6v9d4k1lhbn3MZPvghm56E8=";
|
||||
hash = "sha256-6sR/80r9qW9kMYqIi2FeXgb6M795XKzpvyE6eTaBsjA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "otoml";
|
||||
version = "1.0.4";
|
||||
version = "1.0.5";
|
||||
|
||||
minimalOCamlVersion = "4.08";
|
||||
|
||||
|
@ -16,7 +16,7 @@ buildDunePackage rec {
|
|||
owner = "dmbaturin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-3bgeiwa0elisxZaWpwLqoKmeyTBKMW1IWdm6YdSIhSw=";
|
||||
sha256 = "sha256-e9Bqd6KHorglLMzvsjakyYt/CLZR3yI/yZPl/rnbkDE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ menhir ];
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_blob";
|
||||
version = "0.7.2";
|
||||
version = "0.8.0";
|
||||
|
||||
duneVersion = "3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz";
|
||||
sha256 = "00haz1cmplk3j9ysh6j656zrldy60585fmlndmfhpd5332mxrfdw";
|
||||
sha256 = "sha256-drobFwMTKd/a3aP5CX/08WhvgS1CkARH6zo+nSiwl08=";
|
||||
};
|
||||
|
||||
checkInputs = [ alcotest ];
|
||||
|
|
|
@ -1,29 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cryptography
|
||||
, fetchPypi
|
||||
, jmespath
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
cryptography,
|
||||
fetchPypi,
|
||||
jmespath,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aliyun-python-sdk-core";
|
||||
version = "2.15.0";
|
||||
format = "setuptools";
|
||||
version = "2.15.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-7cRVVIjYqfHGG9QZx74nsjl0sqBSlxtGFPzSKerus4I=";
|
||||
hash = "sha256-UYVQ0H9TfNOvrDtsk7XJl840QOTQwFTjrL2qgmHpCt8=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
dependencies = [
|
||||
cryptography
|
||||
jmespath
|
||||
];
|
||||
|
@ -31,11 +35,7 @@ buildPythonPackage rec {
|
|||
# All components are stored in a mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aliyunsdkcore"
|
||||
];
|
||||
pythonImportsCheck = [ "aliyunsdkcore" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Core module of Aliyun Python SDK";
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, flit-core
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
flit-core,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncstdlib";
|
||||
version = "3.12.2";
|
||||
version = "3.12.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
@ -17,20 +18,14 @@ buildPythonPackage rec {
|
|||
owner = "maxfischer2781";
|
||||
repo = "asyncstdlib";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-5DQM8m3aeCZAXOi+Rm+iM409juBBYdZDNqBAbhyTm/M=";
|
||||
hash = "sha256-OLb4+7FFeVDW0ePyVJW8aaosouxlU/4Uq2ktvVLpDFY=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
flit-core
|
||||
];
|
||||
build-system = [ flit-core ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"asyncstdlib"
|
||||
];
|
||||
pythonImportsCheck = [ "asyncstdlib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library that extends the Python asyncio standard library";
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "bip-utils";
|
||||
version = "2.9.2";
|
||||
version = "2.9.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
owner = "ebellocchia";
|
||||
repo = "bip_utils";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-qK1jSVfkebB9JM0sZjOu7ABc7xMrcybu1r7oQOw3bJo=";
|
||||
hash = "sha256-3G37n/mfI+3JVIkmJWzbB1qPPTE6NJJlFZWdE0fIIWA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "bring-api";
|
||||
version = "0.7.0";
|
||||
version = "0.7.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
owner = "miaucl";
|
||||
repo = "bring-api";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-fhZMn0v908VzV+JLuS8tM+BPKJBoj77vEh1pINL4Cco=";
|
||||
hash = "sha256-ca6VNC1AG+BAzEhH+N3cwXL9pIBwAX6qLWMpgkEjn98=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "dirigera";
|
||||
version = "1.1.1";
|
||||
version = "1.1.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
owner = "Leggin";
|
||||
repo = "dirigera";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-k5xChz3qfClWU131WH0CqaY8qrJXh85NQ0y1iPfnX5Y=";
|
||||
hash = "sha256-EOnhkfU6DC0IfroHR8O45eNxIyyNS81Z/ptSViqyThU=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
@ -17,14 +17,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-ai-generativelanguage";
|
||||
version = "0.6.1";
|
||||
version = "0.6.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Sr83AAcYsgxD9LkGcrOriFBziwJFfv/9EfMYTgMnLtI=";
|
||||
hash = "sha256-MIeRrDudrQFbNZFylwc5qjdT3VQhQqQW0H+foEfiI4Y=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
@ -1,36 +1,35 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, grpcio
|
||||
, grpc-google-iam-v1
|
||||
, libcst
|
||||
, mock
|
||||
, proto-plus
|
||||
, protobuf
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
google-api-core,
|
||||
google-cloud-core,
|
||||
grpcio,
|
||||
grpc-google-iam-v1,
|
||||
libcst,
|
||||
mock,
|
||||
proto-plus,
|
||||
protobuf,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-bigtable";
|
||||
version = "2.23.0";
|
||||
version = "2.23.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-w8q7Zhn18u6hGz23JzHoTSixaAVcnMF8LS2v8Vy4I3k=";
|
||||
hash = "sha256-FHWiK/zhY7XELN9O717AUyPuozWFUpT5zk4j+qIk8Cg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
google-api-core
|
||||
google-cloud-core
|
||||
grpc-google-iam-v1
|
||||
|
@ -39,9 +38,7 @@ buildPythonPackage rec {
|
|||
] ++ google-api-core.optional-dependencies.grpc;
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
libcst = [
|
||||
libcst
|
||||
];
|
||||
libcst = [ libcst ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
@ -55,9 +52,7 @@ buildPythonPackage rec {
|
|||
rm -r google
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
"policy"
|
||||
];
|
||||
disabledTests = [ "policy" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"google.cloud.bigtable_admin_v2"
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
{ lib
|
||||
, aiofiles
|
||||
, buildPythonPackage
|
||||
, colorama
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, jsonschema
|
||||
, pdm-backend
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
{
|
||||
lib,
|
||||
aiofiles,
|
||||
buildPythonPackage,
|
||||
colorama,
|
||||
fetchFromGitHub,
|
||||
git,
|
||||
jsonschema,
|
||||
pdm-backend,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "griffe";
|
||||
version = "0.42.1";
|
||||
version = "0.42.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -21,16 +22,12 @@ buildPythonPackage rec {
|
|||
owner = "mkdocstrings";
|
||||
repo = "griffe";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-KaD3j96FJJx43m/nfHa4kAft4FcDOdq+2dsiaMY7PPY=";
|
||||
hash = "sha256-W6aOhz8UxJUc2kNRc4JaCqFgIOXsY8ctyQ3xZ+YaD9k=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pdm-backend
|
||||
];
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
colorama
|
||||
];
|
||||
dependencies = [ colorama ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
git
|
||||
|
@ -39,21 +36,17 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
async = [
|
||||
aiofiles
|
||||
];
|
||||
async = [ aiofiles ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"griffe"
|
||||
];
|
||||
pythonImportsCheck = [ "griffe" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Signatures for entire Python programs";
|
||||
mainProgram = "griffe";
|
||||
homepage = "https://github.com/mkdocstrings/griffe";
|
||||
changelog = "https://github.com/mkdocstrings/griffe/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.isc;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "griffe";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "holidays";
|
||||
version = "0.46";
|
||||
version = "0.47";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
owner = "vacanza";
|
||||
repo = "python-holidays";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-v0tufmOtxUP5pTsNNJJ9fevCPnsa68e0mdDtKGXEgVs=";
|
||||
hash = "sha256-A4viSzUia4QBdD0svkqYtsCq/la7Nrf2xu/fVDZHb00=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
|
43
pkgs/development/python-modules/jsonfeed/default.nix
Normal file
43
pkgs/development/python-modules/jsonfeed/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pythonOlder,
|
||||
requests,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "jsonfeed";
|
||||
version = "0.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Etfi59oOCrLHavLRMQo3HASFnydrBnsyEtGUgcsv1aQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Mixing of dev and runtime requirements
|
||||
substituteInPlace setup.py \
|
||||
--replace-fail "install_requires=install_requires," "install_requires=[],"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ requests ];
|
||||
|
||||
# Module has no tests, only a placeholder
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "jsonfeed" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to process json feed";
|
||||
homepage = "https://pypi.org/project/jsonfeed/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "lmcloud";
|
||||
version = "1.1.9";
|
||||
version = "1.1.10";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
@ -21,7 +21,7 @@ buildPythonPackage rec {
|
|||
owner = "zweckj";
|
||||
repo = "lmcloud";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-0+UDSg57E/VvAU9pDZJ4LZYRY5TUlCgdPwVh5Nhohl4=";
|
||||
hash = "sha256-oPUZ5EAvFhzMfAK5rbiy8O10FTSseWj7JHCZvZ/7PG4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
40
pkgs/development/python-modules/lxml-html-clean/default.nix
Normal file
40
pkgs/development/python-modules/lxml-html-clean/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lxml,
|
||||
unittestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lxml-html-clean";
|
||||
version = "0.1.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fedora-python";
|
||||
repo = "lxml_html_clean";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-vnRsSkhjeDxZ2bYbIe+2D4GjymZWcIVo2LAPuCaYIZo=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ lxml ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "lxml_html_clean" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Separate project for HTML cleaning functionalities copied from lxml.html.clean";
|
||||
homepage = "https://github.com/fedora-python/lxml_html_clean/";
|
||||
changelog = "https://github.com/fedora-python/lxml_html_clean/blob/${version}/CHANGES.rst";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1,38 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
|
||||
# build-system
|
||||
, hatch-requirements-txt
|
||||
, hatch-nodejs-version
|
||||
, hatchling
|
||||
, trove-classifiers
|
||||
|
||||
# dependencies
|
||||
, babel
|
||||
, colorama
|
||||
, jinja2
|
||||
, markdown
|
||||
, mkdocs
|
||||
, mkdocs-material-extensions
|
||||
, paginate
|
||||
, pygments
|
||||
, pymdown-extensions
|
||||
, pythonOlder
|
||||
, regex
|
||||
, requests
|
||||
|
||||
# optional-dependencies
|
||||
, mkdocs-minify-plugin
|
||||
, mkdocs-redirects
|
||||
, mkdocs-git-revision-date-localized-plugin
|
||||
, pillow
|
||||
, cairosvg
|
||||
{
|
||||
lib,
|
||||
babel,
|
||||
buildPythonPackage,
|
||||
cairosvg,
|
||||
colorama,
|
||||
fetchFromGitHub,
|
||||
hatch-nodejs-version,
|
||||
hatch-requirements-txt,
|
||||
hatchling,
|
||||
jinja2,
|
||||
markdown,
|
||||
mkdocs,
|
||||
mkdocs-git-revision-date-localized-plugin,
|
||||
mkdocs-material-extensions,
|
||||
mkdocs-minify-plugin,
|
||||
mkdocs-redirects,
|
||||
mkdocs-rss-plugin,
|
||||
paginate,
|
||||
pillow,
|
||||
pygments,
|
||||
pymdown-extensions,
|
||||
pythonOlder,
|
||||
regex,
|
||||
requests,
|
||||
trove-classifiers,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-material";
|
||||
version = "9.5.17";
|
||||
version = "9.5.18";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -41,7 +37,7 @@ buildPythonPackage rec {
|
|||
owner = "squidfunk";
|
||||
repo = "mkdocs-material";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-r+w3Nf7mAfWiDUeOelO+ykizeqxRiKWBnbUjakXov3U=";
|
||||
hash = "sha256-5FCIDAWRY6YfZi4QbcEpJMFfbJ17vudxlUYx4czDxrY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -69,7 +65,7 @@ buildPythonPackage rec {
|
|||
recommended = [
|
||||
mkdocs-minify-plugin
|
||||
mkdocs-redirects
|
||||
# TODO: mkdocs-rss-plugin
|
||||
mkdocs-rss-plugin
|
||||
];
|
||||
git = [
|
||||
# TODO: gmkdocs-git-committers-plugin
|
||||
|
@ -84,9 +80,7 @@ buildPythonPackage rec {
|
|||
# No tests for python
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"mkdocs"
|
||||
];
|
||||
pythonImportsCheck = [ "mkdocs" ];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/squidfunk/mkdocs-material/blob/${src.rev}/CHANGELOG";
|
||||
|
|
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
feedparser,
|
||||
fetchFromGitHub,
|
||||
gitpython,
|
||||
jsonfeed,
|
||||
mkdocs,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
validator-collection,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mkdocs-rss-plugin";
|
||||
version = "1.12.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Guts";
|
||||
repo = "mkdocs-rss-plugin";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-cLQfhMYW/9Eb+IamQIC7fZRTm/ORD8xbcrmKkSkUrMs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i "/--cov/d" setup.cfg
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
gitpython
|
||||
mkdocs
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
feedparser
|
||||
jsonfeed
|
||||
pytestCheckHook
|
||||
validator-collection
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "mkdocs_rss_plugin" ];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
"test_plugin_config_through_mkdocs"
|
||||
"test_remote_image_ok"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests require network access
|
||||
"tests/test_integrations_material_social_cards.py"
|
||||
"tests/test_build_no_git.py"
|
||||
"tests/test_build.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "MkDocs plugin to generate a RSS feeds for created and updated pages, using git log and YAML frontmatter";
|
||||
homepage = "https://github.com/Guts/mkdocs-rss-plugin";
|
||||
changelog = "https://github.com/Guts/mkdocs-rss-plugin/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "nox";
|
||||
version = "2024.03.02";
|
||||
version = "2024.04.15";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
owner = "wntrblm";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-P86Jy/5MQnuWHelJFQ4kUCFg86Dwzx0Sm/sRonf0pZk=";
|
||||
hash = "sha256-PagZR2IdS1gS/ukl4b0Al9sdEsFnFwP8oy0eOGKJHMs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -11,13 +11,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "oca-port";
|
||||
version = "0.14";
|
||||
version = "0.15";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "oca_port";
|
||||
hash = "sha256-P+uCoC2u5lR4oTtloNFd4N+CjssUa5PbzbnhEulaRoc=";
|
||||
hash = "sha256-DqoIzZj++XF2ZYECpLQX1RD97Y3I2uvs1OI7QyfB7dE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "publicsuffixlist";
|
||||
version = "0.10.0.20240412";
|
||||
version = "0.10.0.20240416";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-G2hdl029MlirHH9HNEnPKlUnWnSplbYKhBDw8H1/W3g=";
|
||||
hash = "sha256-Y0QP9SNJQOMGEKAEeDwKNTRQtFiwUOWGLbkGJx66SBk=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "py-synologydsm-api";
|
||||
version = "2.3.0";
|
||||
version = "2.4.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
owner = "mib1185";
|
||||
repo = "py-synologydsm-api";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-lSNdwM+b91XWILKjGsi73Tu29spOdnFznuE7ELg+mhw=";
|
||||
hash = "sha256-EeUJOdGmYGy75/3RR5AeTu4oImnZGesve5pE+5YsTCI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -16,7 +16,7 @@ let
|
|||
in
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "2.0.8";
|
||||
version = "2.0.9";
|
||||
pname = "pyscard";
|
||||
pyproject = true;
|
||||
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
owner = "LudovicRousseau";
|
||||
repo = "pyscard";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-UpTSbq4mf42tcSWL8wR54MQDZ+z2YjrTW0Ud2F5/J2E=";
|
||||
hash = "sha256-DO4Ea+mlrWPpOLI8Eki+03UnsOXEhN2PAl0+gdN5sTo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "tencentcloud-sdk-python";
|
||||
version = "3.0.1129";
|
||||
version = "3.0.1130";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
@ -19,7 +19,7 @@ buildPythonPackage rec {
|
|||
owner = "TencentCloud";
|
||||
repo = "tencentcloud-sdk-python";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-YYLlnj7qfF4iKJSnaq6EAtvjJKm1yWop6HT5vY/zTkc=";
|
||||
hash = "sha256-NstigWCYGfsycosREvaupJ/oIEWfli38lYAq2jClvw4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
|
@ -1,49 +1,59 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, click-completion
|
||||
, factory-boy
|
||||
, faker
|
||||
, fetchPypi
|
||||
, inquirer
|
||||
, notify-py
|
||||
, pbr
|
||||
, pendulum
|
||||
, ptable
|
||||
, pytest-mock
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, twine
|
||||
, validate-email
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
click-completion,
|
||||
factory-boy,
|
||||
faker,
|
||||
fetchPypi,
|
||||
inquirer,
|
||||
notify-py,
|
||||
pbr,
|
||||
pendulum,
|
||||
prettytable,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
requests,
|
||||
setuptools,
|
||||
twine,
|
||||
validate-email,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "toggl-cli";
|
||||
version = "2.4.3";
|
||||
format = "setuptools";
|
||||
version = "2.4.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "togglCli";
|
||||
inherit version;
|
||||
hash = "sha256-ncMwiMwYivaFu5jrAsm1oCuXP/PZ2ALT+M+CmV6dtFo=";
|
||||
hash = "sha256-P4pv6LMPIWXD04IQw01yo3z3voeV4OmsBOCSJgcrZ6g=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace-fail "==" ">="
|
||||
substituteInPlace pytest.ini \
|
||||
--replace ' --cov toggl -m "not premium"' ""
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
pbr
|
||||
setuptools
|
||||
twine
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
click
|
||||
click-completion
|
||||
inquirer
|
||||
notify-py
|
||||
pbr
|
||||
pendulum
|
||||
ptable
|
||||
prettytable
|
||||
requests
|
||||
validate-email
|
||||
];
|
||||
|
@ -55,16 +65,6 @@ buildPythonPackage rec {
|
|||
factory-boy
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "notify-py==0.3.3" "notify-py>=0.3.3" \
|
||||
--replace "click==8.0.3" "click>=8.0.3" \
|
||||
--replace "pbr==5.8.0" "pbr>=5.8.0" \
|
||||
--replace "inquirer==2.9.1" "inquirer>=2.9.1"
|
||||
substituteInPlace pytest.ini \
|
||||
--replace ' --cov toggl -m "not premium"' ""
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
export TOGGL_API_TOKEN=your_api_token
|
||||
export TOGGL_PASSWORD=toggl_password
|
||||
|
@ -74,23 +74,22 @@ buildPythonPackage rec {
|
|||
disabledTests = [
|
||||
"integration"
|
||||
"premium"
|
||||
"test_basic_usage"
|
||||
"test_now"
|
||||
"test_parsing"
|
||||
"test_type_check"
|
||||
"test_now"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"toggl"
|
||||
];
|
||||
pythonImportsCheck = [ "toggl" ];
|
||||
|
||||
# updates to a bogus tag
|
||||
passthru.skipBulkUpdate = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line tool and set of Python wrapper classes for interacting with toggl's API";
|
||||
mainProgram = "toggl";
|
||||
homepage = "https://toggl.uhlir.dev/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ mmahut ];
|
||||
mainProgram = "toggl";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,23 +1,35 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "validate-email";
|
||||
version = "1.3";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "validate_email";
|
||||
sha256 = "1bxffaf5yz2cph8ki55vdvdypbwkvn2xr1firlcy62vqbzf1jivq";
|
||||
hash = "sha256-eEcZ3F94C+MZzdGF3IXdk6/r2267lDgRvEx8X5xyrq8=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
# No tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "validate_email" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/syrusakbary/validate_email";
|
||||
description = "Verify if an email address is valid and really exists";
|
||||
homepage = "https://github.com/syrusakbary/validate_email";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = [ maintainers.mmahut ];
|
||||
maintainers = with maintainers; [ mmahut ];
|
||||
};
|
||||
}
|
||||
|
|
145
pkgs/development/python-modules/validator-collection/default.nix
Normal file
145
pkgs/development/python-modules/validator-collection/default.nix
Normal file
|
@ -0,0 +1,145 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
wheel,
|
||||
alabaster,
|
||||
attrs,
|
||||
babel,
|
||||
certifi,
|
||||
cffi,
|
||||
chardet,
|
||||
codecov,
|
||||
colorama,
|
||||
coverage,
|
||||
docutils,
|
||||
filelock,
|
||||
html5lib,
|
||||
idna,
|
||||
imagesize,
|
||||
isort,
|
||||
jinja2,
|
||||
jsonschema,
|
||||
lazy-object-proxy,
|
||||
markupsafe,
|
||||
mccabe,
|
||||
more-itertools,
|
||||
packaging,
|
||||
pkginfo,
|
||||
pluggy,
|
||||
py,
|
||||
py-cpuinfo,
|
||||
pycparser,
|
||||
pyfakefs,
|
||||
pygments,
|
||||
pyparsing,
|
||||
pytest,
|
||||
pytest-benchmark,
|
||||
pytest-cov,
|
||||
pytz,
|
||||
readme-renderer,
|
||||
requests,
|
||||
requests-toolbelt,
|
||||
restview,
|
||||
six,
|
||||
snowballstemmer,
|
||||
sphinx,
|
||||
sphinx-rtd-theme,
|
||||
sphinx-tabs,
|
||||
sphinxcontrib-websupport,
|
||||
toml,
|
||||
pytestCheckHook,
|
||||
tox,
|
||||
tqdm,
|
||||
twine,
|
||||
urllib3,
|
||||
virtualenv,
|
||||
webencodings,
|
||||
wrapt,
|
||||
pythonOlder,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "validator-collection";
|
||||
version = "1.5.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "insightindustry";
|
||||
repo = "validator-collection";
|
||||
rev = "refs/tags/v.${version}";
|
||||
hash = "sha256-CDPfIkZZRpl1rAzNpLKJfaBEGWUl71coic2jOHIgi6o=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
alabaster
|
||||
attrs
|
||||
babel
|
||||
certifi
|
||||
cffi
|
||||
chardet
|
||||
codecov
|
||||
colorama
|
||||
coverage
|
||||
docutils
|
||||
filelock
|
||||
html5lib
|
||||
idna
|
||||
imagesize
|
||||
isort
|
||||
jinja2
|
||||
jsonschema
|
||||
lazy-object-proxy
|
||||
markupsafe
|
||||
mccabe
|
||||
more-itertools
|
||||
packaging
|
||||
pkginfo
|
||||
pluggy
|
||||
py
|
||||
py-cpuinfo
|
||||
pycparser
|
||||
pyfakefs
|
||||
pygments
|
||||
pyparsing
|
||||
pytest
|
||||
pytest-benchmark
|
||||
pytest-cov
|
||||
pytz
|
||||
readme-renderer
|
||||
requests
|
||||
requests-toolbelt
|
||||
restview
|
||||
six
|
||||
snowballstemmer
|
||||
sphinx
|
||||
sphinx-rtd-theme
|
||||
sphinx-tabs
|
||||
sphinxcontrib-websupport
|
||||
toml
|
||||
tox
|
||||
tqdm
|
||||
twine
|
||||
urllib3
|
||||
virtualenv
|
||||
webencodings
|
||||
wrapt
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "validator_collection" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library of 60+ commonly-used validator functions";
|
||||
homepage = "https://github.com/insightindustry/validator-collection/";
|
||||
changelog = "https://github.com/insightindustry/validator-collection/blob/${src.rev}/CHANGES.rst";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -3,12 +3,13 @@
|
|||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xlsxwriter";
|
||||
version = "3.1.9";
|
||||
format = "setuptools";
|
||||
version = "3.2.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
|
@ -16,9 +17,13 @@ buildPythonPackage rec {
|
|||
owner = "jmcnamara";
|
||||
repo = "XlsxWriter";
|
||||
rev = "RELEASE_${version}";
|
||||
hash = "sha256-FkSInLinyn/eXBMSuivzFxCTZijOKdSG4l+gHyKENuY=";
|
||||
hash = "sha256-HLSIKoGBSzU7N/lskVeVbfdOezTloMrwAahJbcnqJrw=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
@ -29,10 +34,10 @@ buildPythonPackage rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Module for creating Excel XLSX files";
|
||||
mainProgram = "vba_extract.py";
|
||||
homepage = "https://xlsxwriter.readthedocs.io/";
|
||||
changelog = "https://xlsxwriter.readthedocs.io/changes.html";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ jluttine ];
|
||||
mainProgram = "vba_extract.py";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -343,6 +343,7 @@ let
|
|||
fftw = [ pkgs.fftw.dev ];
|
||||
fftwtools = with pkgs; [ fftw.dev pkg-config ];
|
||||
Formula = [ pkgs.gmp ];
|
||||
gdalraster = [ pkgs.pkg-config ];
|
||||
gdtools = with pkgs; [ cairo.dev fontconfig.lib freetype.dev ];
|
||||
GeneralizedWendland = [ pkgs.gsl ];
|
||||
ggiraph = with pkgs; [ pkgs.libpng.dev ];
|
||||
|
@ -549,6 +550,7 @@ let
|
|||
coga = [ pkgs.gsl.dev ];
|
||||
deepSNV = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
|
||||
epialleleR = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
|
||||
gdalraster = with pkgs; [ gdal proj.dev sqlite.dev ];
|
||||
gpg = [ pkgs.gpgme ];
|
||||
webp = [ pkgs.libwebp ];
|
||||
RMark = [ pkgs.which ];
|
||||
|
@ -583,6 +585,7 @@ let
|
|||
openssl = [ pkgs.pkg-config ];
|
||||
pdftools = [ pkgs.pkg-config ];
|
||||
qckitfastq = [ pkgs.zlib.dev ];
|
||||
raer = with pkgs; [ zlib.dev xz.dev bzip2.dev ];
|
||||
RQuantLib = with pkgs; [ quantlib.dev boost.dev ];
|
||||
sf = with pkgs; [ pkg-config sqlite.dev proj.dev ];
|
||||
terra = with pkgs; [ pkg-config sqlite.dev proj.dev ];
|
||||
|
@ -595,6 +598,7 @@ let
|
|||
Cairo = [ pkgs.pkg-config ];
|
||||
CLVTools = [ pkgs.gsl ];
|
||||
excursions = [ pkgs.gsl ];
|
||||
gpuMagic = [ pkgs.ocl-icd ];
|
||||
JMcmprsk = [ pkgs.gsl ];
|
||||
KSgeneral = [ pkgs.fftw.dev ];
|
||||
mashr = [ pkgs.gsl ];
|
||||
|
@ -639,7 +643,7 @@ let
|
|||
Rmmquant = [ pkgs.zlib.dev ];
|
||||
SICtools = with pkgs; [ zlib.dev ncurses.dev ];
|
||||
Signac = [ pkgs.zlib.dev ];
|
||||
TransView = [ pkgs.zlib.dev ];
|
||||
TransView = with pkgs; [ xz.dev bzip2.dev zlib.dev ];
|
||||
bigsnpr = [ pkgs.zlib.dev ];
|
||||
zlib = [ pkgs.zlib.dev ];
|
||||
divest = [ pkgs.zlib.dev ];
|
||||
|
@ -678,6 +682,7 @@ let
|
|||
crandep = [ pkgs.gsl ];
|
||||
catSurv = [ pkgs.gsl ];
|
||||
ccfindR = [ pkgs.gsl ];
|
||||
screenCounter = [ pkgs.zlib.dev ];
|
||||
SPARSEMODr = [ pkgs.gsl ];
|
||||
RKHSMetaMod = [ pkgs.gsl ];
|
||||
LCMCR = [ pkgs.gsl ];
|
||||
|
@ -913,6 +918,7 @@ let
|
|||
"MSnID"
|
||||
"OmnipathR"
|
||||
"precommit"
|
||||
"protGear"
|
||||
"PSCBS"
|
||||
"iemisc"
|
||||
"repmis"
|
||||
|
@ -957,9 +963,11 @@ let
|
|||
];
|
||||
|
||||
packagesToSkipCheck = [
|
||||
"MsDataHub" # tries to connect to ExperimentHub
|
||||
"Rmpi" # tries to run MPI processes
|
||||
"ReactomeContentService4R" # tries to connect to Reactome
|
||||
"PhIPData" # tries to download something from a DB
|
||||
"RBioFormats" # tries to download jar during load test
|
||||
"pbdMPI" # tries to run MPI processes
|
||||
"data_table" # fails to rename shared library before check
|
||||
"coMethDMR" # tries to connect to ExperimentHub
|
||||
|
|
|
@ -6,14 +6,14 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "checkov";
|
||||
version = "3.2.60";
|
||||
version = "3.2.66";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bridgecrewio";
|
||||
repo = "checkov";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-uHHNbfapnMDhIsOHRAsxNuRCvf6N3Wui/lU5lQpr+7Y=";
|
||||
hash = "sha256-Wtpg3Fk3hxmbZ2Tz5XIjM2mdh8jq4O67nD2rxAGlcaY=";
|
||||
};
|
||||
|
||||
patches = [ ./flake8-compat-5.x.patch ];
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "goresym";
|
||||
version = "2.7.2";
|
||||
version = "2.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mandiant";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-bZOq3GvGRyeIyN/CEuMA6mQjjrRvoVU9fUEUptd6NH0=";
|
||||
sha256 = "sha256-U3AjEKQKPS5ghrmEJTsGRIC2BoPYAWL6RDPhA+eN2hg=";
|
||||
};
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "ijq";
|
||||
version = "1.0.1";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~gpanders";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-su/PHUt4GpJxt9nm/oYnP1F8EDSl0fUgamWJj1TxuZA=";
|
||||
sha256 = "sha256-KtWJwIofMKW+03DFY4UWf3ni1DKuH289svh8iOPo1so=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-X91kW+dpcxd1+vTV1G1al5cdlwWpbUS85Xxf3yeVg1I=";
|
||||
vendorHash = "sha256-oMkL4qZUS47h9izDad7Ar0Npd6toIZQuy1YIdEoJ2AM=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles makeWrapper scdoc ];
|
||||
|
||||
|
|
|
@ -9,16 +9,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-component";
|
||||
version = "0.10.1";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bytecodealliance";
|
||||
repo = "cargo-component";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-1mq6tH3jFzyzQ0nsen9r08RrXMn16O7gOz7GS3nr10I=";
|
||||
hash = "sha256-XUzXqzgAIZKWNpfyBvkYX/g1R8JcIJlVTUb2N4zL96w=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-BtdMsJqAU9Y1QntUBymlYLJdfx9aP7hf/Za8G8D6w54=";
|
||||
cargoHash = "sha256-U2ocN9UENms0KZQuEu75jmxphyNGz5OYCLrh6vhvKiI=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wizer";
|
||||
version = "5.0.0";
|
||||
version = "6.0.0";
|
||||
|
||||
# the crate does not contain files which are necessary for the tests
|
||||
# see https://github.com/bytecodealliance/wizer/commit/3a95e27ce42f1fdaef07b52988e4699eaa221e04
|
||||
|
@ -16,10 +16,10 @@ rustPlatform.buildRustPackage rec {
|
|||
owner = "bytecodealliance";
|
||||
repo = "wizer";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-VkWnmwOnlNkfgUyFXV+iwsUdJcJgzUCNus+FiV9sg0Y=";
|
||||
hash = "sha256-JQrZysQJOM4G5EwyBlXXd7NTCCoGkOLDahwH0I1b0TY=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-KSdQqt9szk8qmg3DxBatkJvv//KbSx/MEulJx1gNmB8=";
|
||||
cargoHash = "sha256-qMBsk8dLmneAYx8FJ9QqW0kLKFTn11EvV9VeVJkr5FU=";
|
||||
|
||||
cargoBuildFlags = [ "--bin" pname ];
|
||||
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
|
||||
callPackage ./generic.nix rec {
|
||||
pname = "shattered-pixel-dungeon";
|
||||
version = "2.3.0";
|
||||
version = "2.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "00-Evan";
|
||||
repo = "shattered-pixel-dungeon";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-PUAHsFW8rb4SZlZKCIx6SO3U7I7uJgfUal2VXzUjQNs=";
|
||||
hash = "sha256-CZOi3kLwYdA4U9LjgK4ukPTLFUodyubSQg9JaJpUB9s=";
|
||||
};
|
||||
|
||||
depsHash = "sha256-QfAV6LYD6S/8ptaqqKSDtOe4kStwp6LJp8WVc3sH8yc=";
|
||||
depsHash = "sha256-vihoR0bPh7590sRxeYJ1uuynNRxtRBuiFUrdmsRNUJc=";
|
||||
|
||||
passthru.tests = {
|
||||
shattered-pixel-dungeon-starts = nixosTests.shattered-pixel-dungeon;
|
||||
|
|
|
@ -4,21 +4,21 @@
|
|||
|
||||
callPackage ./generic.nix rec {
|
||||
pname = "experienced-pixel-dungeon";
|
||||
version = "2.16.2";
|
||||
version = "2.17.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TrashboxBobylev";
|
||||
repo = "Experienced-Pixel-Dungeon-Redone";
|
||||
rev = "ExpPD-${version}";
|
||||
hash = "sha256-fTHAA3pCXAA9W32eeY29eaLnfcG5pLop/awQG5zKMt4=";
|
||||
hash = "sha256-eX+wPw2Bi37yQZ+ftjEkiGzvheJZingqDqy1481ABvs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace build.gradle \
|
||||
--replace "gdxControllersVersion = '2.2.3-SNAPSHOT'" "gdxControllersVersion = '2.2.3'"
|
||||
--replace-fail "gdxControllersVersion = '2.2.3-SNAPSHOT'" "gdxControllersVersion = '2.2.3'"
|
||||
'';
|
||||
|
||||
depsHash = "sha256-MUUeWZUCVPakK1MJwn0lPnjAlLpPWB/J17Ad68XRcHg=";
|
||||
depsHash = "sha256-PyBEhlOOVD3/YH4SWs1yMkdg3U96znk1/VV6SAr8S30=";
|
||||
|
||||
desktopName = "Experienced Pixel Dungeon";
|
||||
|
||||
|
|
|
@ -4,18 +4,18 @@
|
|||
|
||||
callPackage ./generic.nix rec {
|
||||
pname = "shorter-pixel-dungeon";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "TrashboxBobylev";
|
||||
repo = "Shorter-Pixel-Dungeon";
|
||||
rev = "Short-${version}";
|
||||
hash = "sha256-8vmh65XlNqfIh4WHLPuWU68tb3ajKI8kBMI68CYlsSk=";
|
||||
hash = "sha256-dfBFAXlMjazTjvvRZ87H48OmitZuHhaa3qUF81pF4wc=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace build.gradle \
|
||||
--replace "gdxControllersVersion = '2.2.4-SNAPSHOT'" "gdxControllersVersion = '2.2.3'"
|
||||
--replace-fail "gdxControllersVersion = '2.2.4-SNAPSHOT'" "gdxControllersVersion = '2.2.3'"
|
||||
'';
|
||||
|
||||
depsHash = "sha256-MUUeWZUCVPakK1MJwn0lPnjAlLpPWB/J17Ad68XRcHg=";
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, coreutils
|
||||
, pkg-config
|
||||
, openssl
|
||||
, pam
|
||||
, openssh
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
coreutils,
|
||||
pkg-config,
|
||||
openssl,
|
||||
pam,
|
||||
openssh,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -28,9 +29,7 @@ rustPlatform.buildRustPackage rec {
|
|||
--replace '/bin/false' '${coreutils}/bin/false'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
|
@ -42,9 +41,7 @@ rustPlatform.buildRustPackage rec {
|
|||
"--skip=tests::parse_user_authorized_keys"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
openssh
|
||||
];
|
||||
nativeCheckInputs = [ (openssh.override { dsaKeysSupport = true; }) ];
|
||||
|
||||
env.USER = "nixbld";
|
||||
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
buildGoModule rec {
|
||||
pname = "vmagent";
|
||||
version = "1.100.0";
|
||||
version = "1.100.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "VictoriaMetrics";
|
||||
repo = "VictoriaMetrics";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-jrKTic80y8r/1wOR8Prqe9PG57yo8qQIGsobu0I4kTY=";
|
||||
sha256 = "sha256-OheW6sCn/yXgSrtUe1zqDGaH6G8HG4QRQhFznaZGvX0=";
|
||||
};
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
, makeWrapper
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "urserver";
|
||||
version = "3.10.0.2467";
|
||||
version = "3.13.0.2505";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion version) 3}/urserver-${version}.tar.gz";
|
||||
sha256 = "sha256-IaLRhia6mb4h7x5MbBRtPJxJ3uTlkfOzmoTwYzwfbWA=";
|
||||
url = "https://www.unifiedremote.com/static/builds/server/linux-x64/${builtins.elemAt (builtins.splitVersion finalAttrs.version) 3}/urserver-${finalAttrs.version}.tar.gz";
|
||||
hash = "sha256-rklv6Ppha1HhEPunbL8ELYdQ9Z1FN4FrVsNwny3/gA4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
installPhase = ''
|
||||
install -m755 -D urserver $out/bin/urserver
|
||||
wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}"
|
||||
wrapProgram $out/bin/urserver --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath finalAttrs.buildInputs}"
|
||||
cp -r remotes $out/bin/remotes
|
||||
cp -r manager $out/bin/manager
|
||||
'';
|
||||
|
@ -43,4 +43,4 @@ stdenv.mkDerivation rec {
|
|||
maintainers = with maintainers; [ sfrijters ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "kopia";
|
||||
version = "0.16.1";
|
||||
version = "0.17.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-q22iK467dCW9y0ephVA+V9L9drO2631l4cLlphhdwnQ=";
|
||||
hash = "sha256-Bqy9eFUvUgSdyChzh52qqPVvMi+3ad01koxVgnibbLk=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-5lm3N9F1Pe/lSA63qk8/azo5FZzTvJE/Is2N9WKT+7k=";
|
||||
vendorHash = "sha256-/NMp64JeCQjCcEYkE6lYzu/E+irTcwkmDCJhB04ALFY=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "edir";
|
||||
version = "2.27";
|
||||
version = "2.28";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-i9c5DDZnCj6Roqw6fpy+rhX2/Sup1hh8vIpsRcWZQFc=";
|
||||
sha256 = "sha256-tQomMXmqOFHxxWjs1fOzh61JIs7TI6MIXK3Y6Cs/MZA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "topicctl";
|
||||
version = "1.16.0";
|
||||
version = "1.16.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "segmentio";
|
||||
repo = "topicctl";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-yB9VOrfL6eFdENiWsqQcVMEVJjRjp3El/JUp2jX5nM8=";
|
||||
sha256 = "sha256-Gx/ld651Se2mLlUG/CkHawfVBN2BsxV8w6vrnKFLHuE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-+mnnvdna1g6JE29weOJZmdO3jFp2a75dV9wK2XcWJ9s=";
|
||||
|
|
|
@ -16,16 +16,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "zellij";
|
||||
version = "0.39.2";
|
||||
version = "0.40.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zellij-org";
|
||||
repo = "zellij";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FSLbRfxSWY0a9H9iHT3oQ2SXwB70AwyH0Cm8sDZGaUk=";
|
||||
hash = "sha256-1z7qIgjElE9gw0lY+A17gsYIcnKRceZTFnRd8fMeBg8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-a5dFtK5czOGqE6mKeeI0kkY2da1kS3IRZ1NTluZ9Syc=";
|
||||
cargoHash = "sha256-KXXldWtcUsdbDsWd66Q1TbaClfr+Uo8f6gCi1exNIRc=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
mandown
|
||||
|
|
|
@ -1,33 +1,37 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, darwin
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "chainsaw";
|
||||
version = "2.8.1";
|
||||
version = "2.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "WithSecureLabs";
|
||||
repo = "chainsaw";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-YEw/rN7X+npc9M8XdPGAZyYXSQOGiR0w9Wb3W63g8VU=";
|
||||
hash = "sha256-ErDIfLhzCiFm3dZzr6ThjYCplfDKbALAqcu8c0gREH4=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-cXvXvSipZFfanmn9QFtYZYEudZ6lyvsu2EMGD0lZEtw=";
|
||||
cargoHash = "sha256-IS2gQ6STrS+Msa36I+eM1RPGntX+DbsrKZPVZ1q9eo4=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreFoundation ];
|
||||
|
||||
ldflags = [
|
||||
"-w"
|
||||
"-s"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rapidly Search and Hunt through Windows Forensic Artefacts";
|
||||
mainProgram = "chainsaw";
|
||||
homepage = "https://github.com/WithSecureLabs/chainsaw";
|
||||
changelog = "https://github.com/WithSecureLabs/chainsaw/releases/tag/v${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
mainProgram = "chainsaw";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "exploitdb";
|
||||
version = "2024-04-14";
|
||||
version = "2024-04-16";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "exploit-database";
|
||||
repo = "exploitdb";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-KMvcK9uvXJ474SF+8tLLYyj5jHoqbWOkhRnlAfuKsMU=";
|
||||
hash = "sha256-ExtWNve7YGkr6JHjzw39FJZwSNFLEJNurEn5uWwSlbY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "flare-floss";
|
||||
version = "3.0.1";
|
||||
version = "3.1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -13,33 +14,37 @@ python3.pkgs.buildPythonPackage rec {
|
|||
repo = "flare-floss";
|
||||
rev = "refs/tags/v${version}";
|
||||
fetchSubmodules = true; # for tests
|
||||
hash = "sha256-bmOWOFqyvOvSrNTbwLqo0WMq4IAZxZ0YYaWCdCrpziU=";
|
||||
hash = "sha256-a20q7kavWwCsfnAW02+IY0jKERMxkJ+2nid/CwQxC9E=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace "==" ">="
|
||||
|
||||
substituteInPlace floss/main.py \
|
||||
--replace 'sigs_path = os.path.join(get_default_root(), "sigs")' 'sigs_path = "'"$out"'/share/flare-floss/sigs"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
build-system = with python3.pkgs; [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
binary2strings
|
||||
halo
|
||||
networkx
|
||||
pefile
|
||||
pydantic_1
|
||||
rich
|
||||
tabulate
|
||||
tqdm
|
||||
viv-utils
|
||||
vivisect
|
||||
] ++ viv-utils.optional-dependencies.flirt;
|
||||
dependencies =
|
||||
with python3.pkgs;
|
||||
[
|
||||
binary2strings
|
||||
halo
|
||||
networkx
|
||||
pefile
|
||||
pydantic
|
||||
rich
|
||||
tabulate
|
||||
tqdm
|
||||
viv-utils
|
||||
vivisect
|
||||
]
|
||||
++ viv-utils.optional-dependencies.flirt;
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytest-sugar
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "grype";
|
||||
version = "0.75.0";
|
||||
version = "0.76.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = "grype";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-FOKSJ9u1+johBRL37I/sYo+BH9Na3vzxRTr6PqiLWrs=";
|
||||
hash = "sha256-FdxtJVLeH7UQBYjoOuimCoswvIkz/2sBJ4Kn5NGBDWY=";
|
||||
# populate values that require us to use git. By doing this in postFetch we
|
||||
# can delete .git afterwards and maintain better reproducibility of the src.
|
||||
leaveDotGit = true;
|
||||
|
@ -30,7 +30,7 @@ buildGoModule rec {
|
|||
|
||||
proxyVendor = true;
|
||||
|
||||
vendorHash = "sha256-C1xM0OcEsplWOe0SGL6SCAvFq7M5LcekYyQTjP9EZB4=";
|
||||
vendorHash = "sha256-oJNTvbfVkz4fK+EsF2ZoFfBSlkt0pFT4r2QDyhZhv5Y=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ lib }:
|
||||
|
||||
rec {
|
||||
version = "1.66.2";
|
||||
version = "1.67.0";
|
||||
|
||||
srcHash = "sha256-xonZzZsAkAPMVINGEA10CvQ1diYgHBowNsR2pk4tYr8=";
|
||||
srcHash = "sha256-B+2DgwU+yhU337yZh518Z2Tq0Wbun8WEXX9IpC0Ut/c=";
|
||||
|
||||
# submodule dependencies
|
||||
# these are fetched so we:
|
||||
|
@ -13,8 +13,8 @@ rec {
|
|||
"cli/src/semgrep/semgrep_interfaces" = {
|
||||
owner = "semgrep";
|
||||
repo = "semgrep-interfaces";
|
||||
rev = "215a54782174de84f97188632b4a37e35ba0f827";
|
||||
hash = "sha256-Q8E5LkC/NV0wvt9ZwhkoPGjPlDavVHHMnX0sVNK3dAM=";
|
||||
rev = "3ee41bc436308a7c12b66247cfcb60df0aeff8ea";
|
||||
hash = "sha256-rlhArVSNJr4AgZw/TOOMPgpBOfHWsAm77YgrRdCjIzI=";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -25,15 +25,19 @@ rec {
|
|||
core = {
|
||||
x86_64-linux = {
|
||||
platform = "any";
|
||||
hash = "sha256-f/RcuJyd8y2bMclMxZ1BdNTVixhjLz0UxSKGZm+H8yI=";
|
||||
hash = "sha256-iv02L/dvcfI/9XubC+EOeqMaVwdXh0sqLv02j1fn1aM=";
|
||||
};
|
||||
aarch64-linux = {
|
||||
platform = "musllinux_1_0_aarch64.manylinux2014_aarch64";
|
||||
hash = "sha256-wFuEcgCuciAOR8MNCxHW8TCoji97g7dXUf06M0T9MWg=";
|
||||
};
|
||||
x86_64-darwin = {
|
||||
platform = "macosx_10_14_x86_64";
|
||||
hash = "sha256-4H9PT41lPydMFl51O2CgeMQiTE66fZ8RP26CVT7Y7Ok=";
|
||||
hash = "sha256-wMkOZFvR6HBBTvu8mXRDF2s0Mqp/LkhVH2I+2sIIa94=";
|
||||
};
|
||||
aarch64-darwin = {
|
||||
platform = "macosx_11_0_arm64";
|
||||
hash = "sha256-WxQ0ohojzhWmPo208xN98F5GwbNzQuxCjSwP7h3rBGA=";
|
||||
hash = "sha256-AKNc9SxXbKb6WdFlE6aqzFDdtMGzl+3LhXTbNvFSHYQ=";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -95,6 +95,7 @@ update_core_platform() {
|
|||
}
|
||||
|
||||
update_core_platform "x86_64-linux"
|
||||
update_core_platform "aarch64-linux"
|
||||
update_core_platform "x86_64-darwin"
|
||||
update_core_platform "aarch64-darwin"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "govc";
|
||||
version = "0.36.3";
|
||||
version = "0.37.0";
|
||||
|
||||
subPackages = [ "govc" ];
|
||||
|
||||
|
@ -10,7 +10,7 @@ buildGoModule rec {
|
|||
rev = "v${version}";
|
||||
owner = "vmware";
|
||||
repo = "govmomi";
|
||||
sha256 = "sha256-R/YqP7vrgfTeRVf6VDFdY2GGtHJZmZm1z/QA9tIE9HE=";
|
||||
sha256 = "sha256-rE19ky/x3pqlz2/6W8ucrctgpJFefEKfzpW4DEDCQ3E=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-1EAQMYaTEtfAiu7+UTkC7QZwSWC1Ihwj9leTd90T0ZU=";
|
||||
|
|
|
@ -6072,6 +6072,8 @@ self: super: with self; {
|
|||
|
||||
jsondiff = callPackage ../development/python-modules/jsondiff { };
|
||||
|
||||
jsonfeed = callPackage ../development/python-modules/jsonfeed { };
|
||||
|
||||
jsonfield = callPackage ../development/python-modules/jsonfield { };
|
||||
|
||||
jsonlines = callPackage ../development/python-modules/jsonlines { };
|
||||
|
@ -6984,6 +6986,8 @@ self: super: with self; {
|
|||
inherit (pkgs) libxml2 libxslt zlib;
|
||||
};
|
||||
|
||||
lxml-html-clean = callPackage ../development/python-modules/lxml-html-clean { };
|
||||
|
||||
lxml-stubs = callPackage ../development/python-modules/lxml-stubs { };
|
||||
|
||||
lyricwikia = callPackage ../development/python-modules/lyricwikia { };
|
||||
|
@ -7423,30 +7427,49 @@ self: super: with self; {
|
|||
mizani = callPackage ../development/python-modules/mizani { };
|
||||
|
||||
mkdocs = callPackage ../development/python-modules/mkdocs { };
|
||||
|
||||
mkdocs-autolinks-plugin = callPackage ../development/python-modules/mkdocs-autolinks-plugin { };
|
||||
|
||||
mkdocs-autorefs = callPackage ../development/python-modules/mkdocs-autorefs { };
|
||||
|
||||
mkdocs-drawio-exporter = callPackage ../development/python-modules/mkdocs-drawio-exporter { };
|
||||
|
||||
mkdocs-exclude = callPackage ../development/python-modules/mkdocs-exclude { };
|
||||
mkdocs-jupyter = callPackage ../development/python-modules/mkdocs-jupyter { };
|
||||
mkdocs-gitlab = callPackage ../development/python-modules/mkdocs-gitlab-plugin { };
|
||||
|
||||
mkdocs-git-authors-plugin = callPackage ../development/python-modules/mkdocs-git-authors-plugin { };
|
||||
|
||||
mkdocs-git-revision-date-localized-plugin = callPackage ../development/python-modules/mkdocs-git-revision-date-localized-plugin { };
|
||||
|
||||
mkdocs-gitlab = callPackage ../development/python-modules/mkdocs-gitlab-plugin { };
|
||||
|
||||
mkdocs-jupyter = callPackage ../development/python-modules/mkdocs-jupyter { };
|
||||
|
||||
mkdocs-linkcheck = callPackage ../development/python-modules/mkdocs-linkcheck { };
|
||||
|
||||
mkdocs-macros = callPackage ../development/python-modules/mkdocs-macros { };
|
||||
|
||||
mkdocs-material = callPackage ../development/python-modules/mkdocs-material { };
|
||||
|
||||
mkdocs-material-extensions = callPackage ../development/python-modules/mkdocs-material/mkdocs-material-extensions.nix { };
|
||||
|
||||
mkdocs-mermaid2-plugin = callPackage ../development/python-modules/mkdocs-mermaid2-plugin { };
|
||||
|
||||
mkdocs-minify-plugin = callPackage ../development/python-modules/mkdocs-minify-plugin { };
|
||||
|
||||
mkdocs-redirects = callPackage ../development/python-modules/mkdocs-redirects { };
|
||||
|
||||
mkdocs-redoc-tag = callPackage ../development/python-modules/mkdocs-redoc-tag { };
|
||||
|
||||
mkdocs-rss-plugin = callPackage ../development/python-modules/mkdocs-rss-plugin { };
|
||||
|
||||
mkdocs-simple-hooks = callPackage ../development/python-modules/mkdocs-simple-hooks { };
|
||||
|
||||
mkdocs-swagger-ui-tag = callPackage ../development/python-modules/mkdocs-swagger-ui-tag { };
|
||||
|
||||
mkdocstrings = callPackage ../development/python-modules/mkdocstrings { };
|
||||
|
||||
mkdocstrings-python = callPackage ../development/python-modules/mkdocstrings-python { };
|
||||
|
||||
mkdocs-mermaid2-plugin = callPackage ../development/python-modules/mkdocs-mermaid2-plugin { };
|
||||
|
||||
mkl-service = callPackage ../development/python-modules/mkl-service { };
|
||||
|
||||
ml-collections = callPackage ../development/python-modules/ml-collections { };
|
||||
|
@ -16413,6 +16436,8 @@ self: super: with self; {
|
|||
|
||||
validate-email = callPackage ../development/python-modules/validate-email { };
|
||||
|
||||
validator-collection = callPackage ../development/python-modules/validator-collection { };
|
||||
|
||||
validators = callPackage ../development/python-modules/validators { };
|
||||
|
||||
validobj = callPackage ../development/python-modules/validobj { };
|
||||
|
|
Loading…
Reference in a new issue