mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
Merge master into staging-next
This commit is contained in:
commit
50eb4d03f7
@ -11835,6 +11835,12 @@
|
|||||||
githubId = 26622971;
|
githubId = 26622971;
|
||||||
name = "Ronnie Ebrin";
|
name = "Ronnie Ebrin";
|
||||||
};
|
};
|
||||||
|
kraftnix = {
|
||||||
|
email = "kraftnix@protonmail.com";
|
||||||
|
github = "kraftnix";
|
||||||
|
githubId = 83026656;
|
||||||
|
name = "kraftnix";
|
||||||
|
};
|
||||||
kragniz = {
|
kragniz = {
|
||||||
email = "louis@kragniz.eu";
|
email = "louis@kragniz.eu";
|
||||||
github = "kragniz";
|
github = "kragniz";
|
||||||
|
@ -12,22 +12,6 @@
|
|||||||
, libXinerama
|
, libXinerama
|
||||||
, libXext
|
, libXext
|
||||||
, libXcursor
|
, libXcursor
|
||||||
, Foundation
|
|
||||||
, Cocoa
|
|
||||||
, Carbon
|
|
||||||
, CoreServices
|
|
||||||
, ApplicationServices
|
|
||||||
, CoreAudio
|
|
||||||
, CoreMIDI
|
|
||||||
, AudioToolbox
|
|
||||||
, Accelerate
|
|
||||||
, CoreImage
|
|
||||||
, IOKit
|
|
||||||
, AudioUnit
|
|
||||||
, QuartzCore
|
|
||||||
, WebKit
|
|
||||||
, DiscRecording
|
|
||||||
, CoreAudioKit
|
|
||||||
|
|
||||||
# Enabling JACK requires a JACK server at runtime, no fallback mechanism
|
# Enabling JACK requires a JACK server at runtime, no fallback mechanism
|
||||||
, withJack ? false, jack
|
, withJack ? false, jack
|
||||||
@ -61,11 +45,6 @@ stdenv.mkDerivation rec {
|
|||||||
"-DADLplug_Jack=${if withJack then "ON" else "OFF"}"
|
"-DADLplug_Jack=${if withJack then "ON" else "OFF"}"
|
||||||
];
|
];
|
||||||
|
|
||||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin (toString [
|
|
||||||
# "fp.h" file not found
|
|
||||||
"-isystem ${CoreServices}/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers"
|
|
||||||
]);
|
|
||||||
|
|
||||||
NIX_LDFLAGS = toString (lib.optionals stdenv.hostPlatform.isDarwin [
|
NIX_LDFLAGS = toString (lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
# Framework that JUCE needs which don't get linked properly
|
# Framework that JUCE needs which don't get linked properly
|
||||||
"-framework CoreAudioKit"
|
"-framework CoreAudioKit"
|
||||||
@ -96,23 +75,6 @@ stdenv.mkDerivation rec {
|
|||||||
libXinerama
|
libXinerama
|
||||||
libXext
|
libXext
|
||||||
libXcursor
|
libXcursor
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
Foundation
|
|
||||||
Cocoa
|
|
||||||
Carbon
|
|
||||||
CoreServices
|
|
||||||
ApplicationServices
|
|
||||||
CoreAudio
|
|
||||||
CoreMIDI
|
|
||||||
AudioToolbox
|
|
||||||
Accelerate
|
|
||||||
CoreImage
|
|
||||||
IOKit
|
|
||||||
AudioUnit
|
|
||||||
QuartzCore
|
|
||||||
WebKit
|
|
||||||
DiscRecording
|
|
||||||
CoreAudioKit
|
|
||||||
] ++ lib.optional withJack jack;
|
] ++ lib.optional withJack jack;
|
||||||
|
|
||||||
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
|
@ -13,11 +13,11 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
platform_major = "4";
|
platform_major = "4";
|
||||||
platform_minor = "32";
|
platform_minor = "33";
|
||||||
year = "2024";
|
year = "2024";
|
||||||
month = "06"; #release month
|
month = "09"; #release month
|
||||||
buildmonth = "06"; #sometimes differs from release month
|
buildmonth = "09"; #sometimes differs from release month
|
||||||
timestamp = "${year}${buildmonth}010610";
|
timestamp = "${year}${buildmonth}030240";
|
||||||
gtk = gtk3;
|
gtk = gtk3;
|
||||||
arch = if stdenv.hostPlatform.isx86_64 then
|
arch = if stdenv.hostPlatform.isx86_64 then
|
||||||
"x86_64"
|
"x86_64"
|
||||||
@ -43,8 +43,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-yMyigXPd6BhSiyoLTFQhBrHnatgXMw1BrH7xWfoT0Zo=";
|
x86_64 = "sha256-zCIVlrr8CPRBiv1FOVHjoW7WcKC74V+JC2ciyiBuYOw=";
|
||||||
aarch64 = "sha256-YZ1MhvXWcYRgQ4ZR/hXEWNKmYji/9PyKbdnm27i8Vjs=";
|
aarch64 = "sha256-Lnwz8up/WoOdth0bxxePxagwkOaTljFYkCHHu5NoCPk=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -58,8 +58,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-dsl-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-dsl-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-m2kcsQicvZcIHAP0zcOGYQjS4vdiTo62o1cfDpG4Ea8=";
|
x86_64 = "sha256-a/Vnbm1zzay5GSsJbU3yFGs7fSBx77wvOHJdlEs8BjE=";
|
||||||
aarch64 = "sha256-UuMfIO6jgMpAmtGihWdJZ7RwilBVdsCaPJH3tKdwyLY=";
|
aarch64 = "sha256-ghf0Q31cudxGDmYvLXyeqTYCpqIkZNp9y1Bd/izOSl4=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -73,8 +73,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-embedcpp-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-embedcpp-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-dpsdjBfF83B8wGwoIsT4QW/n4Qo/w+n4mNYtILdCJKw=";
|
x86_64 = "sha256-6krmMvja30Jal1w4gi1NQSZpPxAMtjvs+tPtts+YuLA=";
|
||||||
aarch64 = "sha256-kDPZJbrxEBhx/KI/9SqOtOOoMVWvYJqTLLgR9YPNH5A=";
|
aarch64 = "sha256-qYzcR+4m8QAdV6JTvMuVU2h2oxVJGmyg9UJMibdkPxM=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -88,8 +88,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-modeling-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-modeling-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-vANUS1IbYrhrpNX095XIhpaHlZhTkZe894nhrDPndJc=";
|
x86_64 = "sha256-AFwJNQJdULmiID3JPjQG3L631ujaNYsaDJ3QT60WwSY=";
|
||||||
aarch64 = "sha256-ykw9Og4D3hVfUvJlbtSDUB7iOmDJ9gPVTmpXlGZX304=";
|
aarch64 = "sha256-MbvWrgHhTS1odtFCdZYdTOYZNjhb3gqvjGO1dVfdokA=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -103,8 +103,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-platform-${platform_major}.${platform_minor}-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-platform-${platform_major}.${platform_minor}-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-ow4i9sDPQUAolzBymvucqpdZrn+bggxR6BD2RnyBVns=";
|
x86_64 = "sha256-6vNwys0HTaJdSl+1mK7hlGU0tQVyakvzrL0GZEObniQ=";
|
||||||
aarch64 = "sha256-XZY7MQr1cCToIlEXSltxWRZbHu1Ex0wzLvL1nUhuKhw=";
|
aarch64 = "sha256-fERBf9bkGowZkRLQEMxLUB8qUVKZgRZOZjJEz+kc+WU=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -135,8 +135,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-SDK-${platform_major}.${platform_minor}-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-SDK-${platform_major}.${platform_minor}-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-zb6/AMe7ArSw1mzPIvaSVeuNly6WO7pHQAuYUT8eGkk=";
|
x86_64 = "sha256-4eYdixsPswwsBWfRng5VPp+/39mDuAO7cHc6NS3VI7o=";
|
||||||
aarch64 = "sha256-jgT3BpD04ELV2+WuRw1mbDw6S1SYDo7jfrijSNs8GLM=";
|
aarch64 = "sha256-UUdm7YqLOTappGwEnM3frvGZcESuh3LVl1L/HoN88Ug=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -150,8 +150,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-java-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-java-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-fXfj0PImyd2nPUkaGvOu7BGAeIHkTocKH94oM/Vd+LU=";
|
x86_64 = "sha256-gAbc049iHCPwGohQwNG1pCejCpOh0qUsnjSZosedqUU=";
|
||||||
aarch64 = "sha256-0EZXbngXIso8fS8bvSDPyRGCre2dF0+6wyldQ6GhGmo=";
|
aarch64 = "sha256-VpKs4O1Rxb/qhULUK+EPIPsGSH+qQJpNsDRGNX09Bj0=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -165,8 +165,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-jee-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-jee-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-YIoa837bbnqm/4wuwRfx+5UNxyQJySbTX+lhL/FluS0=";
|
x86_64 = "sha256-BLvjy4vBuvMt3mZccp+UWw9p58taWiyZkbwaeMOOBpU=";
|
||||||
aarch64 = "sha256-0hwKU29RJdjyaF4ot0OpXt/illOsx1n38nhK5zteQBk=";
|
aarch64 = "sha256-5tGJoOPk56/0WVZAxB8VWryJmnHMr4gHQyjET9sB1Qk=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -180,8 +180,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-committers-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-committers-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-IFQkSOs0wk7chR9Ti3WG/7WDrXBWnaRH9AqC9jTmuT8=";
|
x86_64 = "sha256-IQL6dWNHg5DMVkR2XYge2jHmIwx8KS968k8EoS/II+A=";
|
||||||
aarch64 = "sha256-iiS3hZWfinHYVhZsMntXQp+OgL7kcE/2jqx2JomBdIk=";
|
aarch64 = "sha256-ATni52tdHyaVvacSAiiOB6eN1zwS17VZazcsd6HOemA=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -195,8 +195,8 @@ in rec {
|
|||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-rcp-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-rcp-${year}-${month}-R-linux-gtk-${arch}.tar.gz";
|
||||||
hash = {
|
hash = {
|
||||||
x86_64 = "sha256-+U3wHbUgxkqWZjZyAXAqkZHeoNp+CwL1NBO4myDdJhE=";
|
x86_64 = "sha256-BqRcUU6GivuPFzr3e2FX+ga5OVO8o7NzuXuqUu52pN4=";
|
||||||
aarch64 = "sha256-zDLt3lOqf2HyUP/oqbff6XupF2Vab7+gxpQriztunH4=";
|
aarch64 = "sha256-lAsur73Z/EaKVLY9URoyvcvtD9LoOO7FG6l/lUtT8H8=";
|
||||||
}.${arch};
|
}.${arch};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -59,9 +59,10 @@ sed -i 's/64 = ".*";$/64 = "";/g' pkgs/applications/editors/eclipse/default.nix
|
|||||||
echo;
|
echo;
|
||||||
echo "paste the following url + hash blocks into pkgs/applications/editors/eclipse/default.nix:";
|
echo "paste the following url + hash blocks into pkgs/applications/editors/eclipse/default.nix:";
|
||||||
|
|
||||||
for u in $(grep 'url = ' pkgs/applications/editors/eclipse/default.nix | grep arch | cut -d '"' -f 2 | sed 's/&/\\&/g'); do
|
for url in $(grep 'url = ' pkgs/applications/editors/eclipse/default.nix | grep arch | cut -d '"' -f 2); do
|
||||||
|
u=$(echo "$url" | sed 's/&/\\&/g');
|
||||||
echo;
|
echo;
|
||||||
echo " url = \"${u}\";";
|
echo " url = \"${url}\";";
|
||||||
echo " hash = {";
|
echo " hash = {";
|
||||||
for arch in x86_64 aarch64; do
|
for arch in x86_64 aarch64; do
|
||||||
us=$(eval echo "$u");
|
us=$(eval echo "$u");
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch2
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, libtool
|
, libtool
|
||||||
, bzip2Support ? true, bzip2
|
, bzip2Support ? true, bzip2
|
||||||
@ -59,6 +60,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
hash = "sha256-NrTIx1OvwPIeVlA39hGkXZ2Atk4FCsU3/55SZeSc40E=";
|
hash = "sha256-NrTIx1OvwPIeVlA39hGkXZ2Atk4FCsU3/55SZeSc40E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/ImageMagick/ImageMagick/commit/bf5650f0dd41b500102a129d6867cb568f4edee4.patch";
|
||||||
|
hash = "sha256-nxvSTyNZ35DqjR41nM5uidWwRFWzd1e/LFE0n3fpbb8=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
|
outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
|
||||||
outputMan = "out"; # it's tiny
|
outputMan = "out"; # it's tiny
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
|
{ lib, rustPlatform, fetchFromGitHub }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cloak";
|
pname = "cloak";
|
||||||
@ -13,8 +13,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-m11A5fcJzWoDZglrr2Es1V5ZJNepEkGeIRVhexJ7jws=";
|
cargoHash = "sha256-m11A5fcJzWoDZglrr2Es1V5ZJNepEkGeIRVhexJ7jws=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/evansmurithi/cloak";
|
homepage = "https://github.com/evansmurithi/cloak";
|
||||||
description = "Command-line OTP authenticator application";
|
description = "Command-line OTP authenticator application";
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, AppKit
|
|
||||||
, libxcb
|
, libxcb
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,8 +18,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-DMswC+Qp6w7Dcp5YYV4EGWUylv/ouG0ukAdCdDnOA/8=";
|
cargoHash = "sha256-DMswC+Qp6w7Dcp5YYV4EGWUylv/ouG0ukAdCdDnOA/8=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ]
|
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libxcb ];
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/replydev/cotp";
|
homepage = "https://github.com/replydev/cotp";
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
, mpfr
|
, mpfr
|
||||||
, openblas
|
, openblas
|
||||||
, readline
|
, readline
|
||||||
, Accelerate
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -39,8 +38,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
mpfr
|
mpfr
|
||||||
openblas
|
openblas
|
||||||
readline
|
readline
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
Accelerate
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -2,10 +2,7 @@
|
|||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
gfold,
|
gfold,
|
||||||
lib,
|
lib,
|
||||||
libiconv,
|
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
Security,
|
|
||||||
stdenv,
|
|
||||||
testers,
|
testers,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -20,16 +17,11 @@ rustPlatform.buildRustPackage {
|
|||||||
owner = "nickgerace";
|
owner = "nickgerace";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-7wTU+yVp/GO1H1MbgZKO0OwqSC2jbHO0lU8aa0tHLTY=";
|
hash = "sha256-7wTU+yVp/GO1H1MbgZKO0OwqSC2jbHO0lU8aa0tHLTY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-idzw5dfCCvujvYr7DG0oOzQUIcbACtiIZLoA4MEClzY=";
|
cargoHash = "sha256-idzw5dfCCvujvYr7DG0oOzQUIcbACtiIZLoA4MEClzY=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
libiconv
|
|
||||||
Security
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = gfold;
|
package = gfold;
|
||||||
command = "gfold --version";
|
command = "gfold --version";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles, Security }:
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, installShellFiles }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "git-absorb";
|
pname = "git-absorb";
|
||||||
@ -13,8 +13,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
|
||||||
|
|
||||||
cargoHash = "sha256-Y/0In33y4mVTaE9yoBZ/3tRWcsSKgGjTCSHdjScNEj0=";
|
cargoHash = "sha256-Y/0In33y4mVTaE9yoBZ/3tRWcsSKgGjTCSHdjScNEj0=";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -2,15 +2,12 @@
|
|||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
git,
|
git,
|
||||||
libiconv,
|
|
||||||
ncurses,
|
ncurses,
|
||||||
openssl,
|
openssl,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
sqlite,
|
sqlite,
|
||||||
stdenv,
|
stdenv,
|
||||||
Security,
|
|
||||||
SystemConfiguration,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -28,16 +25,10 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = [
|
||||||
[
|
|
||||||
ncurses
|
ncurses
|
||||||
openssl
|
openssl
|
||||||
sqlite
|
sqlite
|
||||||
]
|
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
Security
|
|
||||||
SystemConfiguration
|
|
||||||
libiconv
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = lib.optionalString (with stdenv; buildPlatform.canExecute hostPlatform) ''
|
postInstall = lib.optionalString (with stdenv; buildPlatform.canExecute hostPlatform) ''
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
, curl
|
, curl
|
||||||
, zlib
|
, zlib
|
||||||
, zstd
|
, zstd
|
||||||
, libiconv
|
|
||||||
, CoreServices
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
@ -35,9 +33,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
curl
|
curl
|
||||||
zlib
|
zlib
|
||||||
zstd
|
zstd
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
libiconv
|
|
||||||
CoreServices
|
|
||||||
];
|
];
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, Security
|
|
||||||
, SystemConfiguration
|
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -23,10 +21,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
# attempts to run the program on .git in src which is not deterministic
|
# attempts to run the program on .git in src which is not deterministic
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
Security SystemConfiguration
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"owner": "advplyr",
|
"owner": "advplyr",
|
||||||
"repo": "audiobookshelf",
|
"repo": "audiobookshelf",
|
||||||
"rev": "50fd659749128a321ecc3284e128d014433145a9",
|
"rev": "e05cb0ef4de000eb20e46b6557a35fa12cc6b9a0",
|
||||||
"hash": "sha256-lYzzzH2heSj0doPfAEWL+pTP9wTsTzLb3+Fu0DHD1w0=",
|
"hash": "sha256-wbcXyHtlpCZ5lmFmYxMB5Z+ObVq0P8LFAQ1AoQpWbt8=",
|
||||||
"version": "2.16.1",
|
"version": "2.16.2",
|
||||||
"depsHash": "sha256-7kA1AusnF7iDMACd9lQ8wbdbtjtouh9qu1J8EzzYUrQ=",
|
"depsHash": "sha256-/A+XyN2nfpj8bSJgfNey7DOKB7QeeuZGCy2yKi46HwQ=",
|
||||||
"clientDepsHash": "sha256-NwOkMdlmh+tQCWKrbKBbf9XPA3mtz7S3VrGwvpBS0Rc="
|
"clientDepsHash": "sha256-vpn455/DJopb2TIiIKXjuS3CxI1pXRH3TU3QfZtbMi8="
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, stdenv
|
, gettext
|
||||||
, darwin
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -18,9 +17,13 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-vN62QmCuhu7AjL6xSpBU6/ul4WgNLZbjWDCFyHj6rIM=";
|
cargoHash = "sha256-vN62QmCuhu7AjL6xSpBU6/ul4WgNLZbjWDCFyHj6rIM=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
# Devendor gettext in the gettext-sys crate. The paths to the bin/lib/include folders have to be specified because
|
||||||
darwin.apple_sdk.frameworks.Foundation
|
# setting `GETTEXT_SYSTEM` only works on some platforms (i.e., not Darwin).
|
||||||
];
|
env = {
|
||||||
|
GETTEXT_BIN_DIR = "${lib.getBin gettext}/bin";
|
||||||
|
GETTEXT_LIB_DIR = "${lib.getLib gettext}/lib";
|
||||||
|
GETTEXT_INCLUDE_DIR = "${lib.getInclude gettext}/include";
|
||||||
|
};
|
||||||
|
|
||||||
cargoTestFlags = [ "--lib" ];
|
cargoTestFlags = [ "--lib" ];
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
darwin,
|
apple-sdk_11,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch, # Delete at next version bump.
|
fetchpatch, # Delete at next version bump.
|
||||||
lib,
|
lib,
|
||||||
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
libgit2
|
libgit2
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk_11_0.frameworks.Foundation ];
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
42
pkgs/by-name/go/gollama/package.nix
Normal file
42
pkgs/by-name/go/gollama/package.nix
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
buildGoModule,
|
||||||
|
versionCheckHook,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "gollama";
|
||||||
|
version = "1.27.17";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sammcj";
|
||||||
|
repo = "gollama";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-/KemOJwVHdb2BJnV53EVvbuE+0s3WOj4kzcox8hRZ6w=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-MbadjPW9Oq3lRVa+Qcq4GXaZnBL0n6qLh5I2hJ0XhaY=";
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
ldFlags = [
|
||||||
|
"-s"
|
||||||
|
"-w"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeInputChecks = [
|
||||||
|
versionCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
versionCheckProgramArg = [ "-v" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Go manage your Ollama models";
|
||||||
|
homepage = "https://github.com/sammcj/gollama";
|
||||||
|
changelog = "https://github.com/sammcj/gollama/releases/tag/v${version}";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ genga898 ];
|
||||||
|
mainProgram = "gollama";
|
||||||
|
};
|
||||||
|
}
|
@ -27,11 +27,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/hyprwm/hyprlang";
|
homepage = "https://github.com/hyprwm/hyprlang";
|
||||||
description = "Official implementation library for the hypr config language";
|
description = "Official implementation library for the hypr config language";
|
||||||
license = licenses.lgpl3Only;
|
license = lib.licenses.lgpl3Only;
|
||||||
platforms = platforms.linux;
|
platforms = lib.platforms.all;
|
||||||
maintainers = with maintainers; [ iogamaster fufexan ];
|
maintainers = with lib.maintainers; [ iogamaster fufexan ];
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
@ -10,16 +10,16 @@
|
|||||||
wayland,
|
wayland,
|
||||||
wayland-protocols,
|
wayland-protocols,
|
||||||
wayland-scanner,
|
wayland-scanner,
|
||||||
unstableGitUpdater,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "hyprsunset";
|
pname = "hyprsunset";
|
||||||
version = "0-unstable-2024-10-08";
|
version = "0.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hyprwm";
|
owner = "hyprwm";
|
||||||
repo = "hyprsunset";
|
repo = "hyprsunset";
|
||||||
rev = "f535c1894d71d7639d19b52f5b72e1ac840c2512";
|
rev = "refs/tags/v${finalAttrs.version}";
|
||||||
hash = "sha256-SVkcePzX9PAlWsPSGBaxiNFCouiQmGOezhMo0+zhDIQ=";
|
hash = "sha256-SVkcePzX9PAlWsPSGBaxiNFCouiQmGOezhMo0+zhDIQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
];
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = unstableGitUpdater { };
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "hyprutils";
|
pname = "hyprutils";
|
||||||
version = "0.2.3";
|
version = "0.2.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hyprwm";
|
owner = "hyprwm";
|
||||||
repo = "hyprutils";
|
repo = "hyprutils";
|
||||||
rev = "refs/tags/v${finalAttrs.version}";
|
rev = "refs/tags/v${finalAttrs.version}";
|
||||||
hash = "sha256-9gsVvcxW9bM3HMcnHHK+vYHOzXb1ODFqN+sJ4zIRsAU=";
|
hash = "sha256-SO/9G2h5nXCnMahTP9m46eqsu0Lr8A60Fhc0ABkx0Y0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
homepage = "https://github.com/hyprwm/hyprutils";
|
homepage = "https://github.com/hyprwm/hyprutils";
|
||||||
description = "Small C++ library for utilities used across the Hypr* ecosystem";
|
description = "Small C++ library for utilities used across the Hypr* ecosystem";
|
||||||
license = lib.licenses.bsd3;
|
license = lib.licenses.bsd3;
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux ++ lib.platforms.freebsd;
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
donovanglover
|
donovanglover
|
||||||
johnrtitor
|
johnrtitor
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
, libogg
|
, libogg
|
||||||
, curl
|
, curl
|
||||||
, libxmp
|
, libxmp
|
||||||
|
, mpg123
|
||||||
, vulkan-headers
|
, vulkan-headers
|
||||||
, vulkan-loader
|
, vulkan-loader
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
@ -20,11 +21,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "ironwail";
|
pname = "ironwail";
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/andrei-drexler/ironwail/archive/refs/tags/v${finalAttrs.version}.tar.gz";
|
url = "https://github.com/andrei-drexler/ironwail/archive/refs/tags/v${finalAttrs.version}.tar.gz";
|
||||||
hash = "sha256-NBG0wwQWqyGWQYJmiLKfxGxpDJLw7Kwf4EnYd33dOpU=";
|
hash = "sha256-IcODVQ0FgfTi74cvJnM6cPh/Der1bbltdTTo5hITUeI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
sourceRoot = "${finalAttrs.pname}-${finalAttrs.version}/Quake";
|
sourceRoot = "${finalAttrs.pname}-${finalAttrs.version}/Quake";
|
||||||
@ -42,6 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
opusfile
|
opusfile
|
||||||
libogg
|
libogg
|
||||||
libxmp
|
libxmp
|
||||||
|
mpg123
|
||||||
vulkan-loader
|
vulkan-loader
|
||||||
SDL2
|
SDL2
|
||||||
];
|
];
|
||||||
|
31
pkgs/by-name/jp/jpilot/darwin-build.patch
Normal file
31
pkgs/by-name/jp/jpilot/darwin-build.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
diff --git a/configure.in b/configure.in
|
||||||
|
index 98055b7..fff401f 100644
|
||||||
|
--- a/configure.in
|
||||||
|
+++ b/configure.in
|
||||||
|
@@ -249,6 +249,11 @@ for pilot_libs in $pilot_prefix/lib /usr/lib /usr/local/lib/ /usr/local/lib64 \
|
||||||
|
PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
+ if test -r "$pilot_libs/libpisock.dylib" ; then
|
||||||
|
+ pilotlibs=yes
|
||||||
|
+ PILOT_LIBS="-L$pilot_libs $PILOT_LIBS"
|
||||||
|
+ break
|
||||||
|
+ fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
diff --git a/libsqlite.c b/libsqlite.c
|
||||||
|
index 9557956..cf0b5ed 100644
|
||||||
|
--- a/libsqlite.c
|
||||||
|
+++ b/libsqlite.c
|
||||||
|
@@ -3,10 +3,10 @@
|
||||||
|
Elmar Klausmeier, 20-Sep-2022: Initial revision
|
||||||
|
*/
|
||||||
|
|
||||||
|
+#define _GNU_SOURCE
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
-extern char *strptime (const char *__restrict __s, const char *__restrict __fmt, struct tm *__tp) __THROW;
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sqlite3.h>
|
54
pkgs/by-name/jp/jpilot/package.nix
Normal file
54
pkgs/by-name/jp/jpilot/package.nix
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
autoreconfHook,
|
||||||
|
wrapGAppsHook3,
|
||||||
|
gtk3,
|
||||||
|
intltool,
|
||||||
|
libgcrypt,
|
||||||
|
pilot-link,
|
||||||
|
pkg-config,
|
||||||
|
sqlite,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "jpilot";
|
||||||
|
version = "2.0.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "juddmon";
|
||||||
|
repo = "jpilot";
|
||||||
|
rev = "v${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||||
|
hash = "sha256-ja/P6kq53C7drEPWemGMV5fB4BktHrbrxL39jLEGhRI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [ ./darwin-build.patch ]; # https://github.com/juddmon/jpilot/pull/59
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
intltool
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook3
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gtk3
|
||||||
|
libgcrypt
|
||||||
|
sqlite
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
'';
|
||||||
|
|
||||||
|
configureFlags = [ "--with-pilot-prefix=${pilot-link}" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Desktop organizer software for the Palm Pilot";
|
||||||
|
homepage = "https://www.jpilot.org/";
|
||||||
|
license = lib.licenses.gpl2;
|
||||||
|
mainProgram = "jpilot";
|
||||||
|
maintainers = with lib.maintainers; [ PapayaJackal ];
|
||||||
|
};
|
||||||
|
}
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "komikku";
|
pname = "komikku";
|
||||||
version = "1.60.0";
|
version = "1.62.0";
|
||||||
|
|
||||||
format = "other";
|
format = "other";
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||||||
owner = "valos";
|
owner = "valos";
|
||||||
repo = "Komikku";
|
repo = "Komikku";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-USm/Fo1whu9KItfiwwmfVlDXri0xqhmEyMcryyP9F30=";
|
hash = "sha256-lU+AyslvuWr0BmhLvfqenOiWpBeC7q3Gtvek/q3o0ok=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
55
pkgs/by-name/li/litestar/package.nix
Normal file
55
pkgs/by-name/li/litestar/package.nix
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
python3Packages,
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "litestar";
|
||||||
|
version = "2.12.1";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
build-system = with python3Packages; [
|
||||||
|
hatchling
|
||||||
|
];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "litestar-org";
|
||||||
|
repo = "litestar";
|
||||||
|
rev = "refs/tags/v${version}";
|
||||||
|
hash = "sha256-bWo+hhSij0H9XGxpqg1/h7O8U8jjTmlaIHfCU5I4RSI=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dependencies = with python3Packages; [
|
||||||
|
anyio
|
||||||
|
click
|
||||||
|
redis
|
||||||
|
httpx
|
||||||
|
msgspec
|
||||||
|
multidict
|
||||||
|
jinja2
|
||||||
|
pyyaml
|
||||||
|
rich
|
||||||
|
rich-click
|
||||||
|
typing-extensions
|
||||||
|
psutil
|
||||||
|
polyfactory
|
||||||
|
trio
|
||||||
|
cryptography
|
||||||
|
psycopg
|
||||||
|
fsspec
|
||||||
|
mako
|
||||||
|
time-machine
|
||||||
|
asyncpg
|
||||||
|
picologging
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://litestar.dev/";
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||||
|
changelog = "https://github.com/litestar-org/litestar/releases/tag/v${version}";
|
||||||
|
description = "Production-ready, Light, Flexible and Extensible ASGI API framework";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
32
pkgs/by-name/md/mdbook-variables/package.nix
Normal file
32
pkgs/by-name/md/mdbook-variables/package.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
rustPlatform,
|
||||||
|
fetchFromGitLab,
|
||||||
|
versionCheckHook,
|
||||||
|
}:
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "mdbook-variables";
|
||||||
|
version = "0.2.4";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
owner = "tglman";
|
||||||
|
repo = "mdbook-variables";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-whvRCV1g2avKegfQpMgYi+E6ETxT2tQqVS2SWRpAqF8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoHash = "sha256-uw1oWIoKi6qsObI4SkEiHwEj9QoxE9jufu9O+ZKM8DI=";
|
||||||
|
|
||||||
|
nativeInstallCheckInputs = [
|
||||||
|
versionCheckHook
|
||||||
|
];
|
||||||
|
doInstallCheck = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "mdBook preprocessor to replace values with env variables";
|
||||||
|
mainProgram = "mdbook-variables";
|
||||||
|
homepage = "https://gitlab.com/tglman/mdbook-variables";
|
||||||
|
license = lib.licenses.mpl20;
|
||||||
|
maintainers = with lib.maintainers; [ kraftnix ];
|
||||||
|
};
|
||||||
|
}
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "mill";
|
pname = "mill";
|
||||||
version = "0.12.0";
|
version = "0.12.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/com-lihaoyi/mill/releases/download/${finalAttrs.version}/${finalAttrs.version}-assembly";
|
url = "https://github.com/com-lihaoyi/mill/releases/download/${finalAttrs.version}/${finalAttrs.version}-assembly";
|
||||||
hash = "sha256-y4KtBZ1P6TmKaIL2K+MVvn5zX8nOxLjaJkeXCb4SjM8=";
|
hash = "sha256-F2ZBywZOdrrDPgpBCXkMrelZEzzqceTQuH3ww8IH4Ns=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
, lib
|
, lib
|
||||||
, libX11
|
, libX11
|
||||||
, stdenv
|
, stdenv
|
||||||
, darwin
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -19,8 +18,7 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorHash = "sha256-ENrBJ0XbCfLfzTVZEVtDBjGxupdiLI7USGVImkYWDdY=";
|
vendorHash = "sha256-ENrBJ0XbCfLfzTVZEVtDBjGxupdiLI7USGVImkYWDdY=";
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Cocoa
|
buildInputs = lib.optional stdenv.hostPlatform.isLinux libX11;
|
||||||
++ lib.optional stdenv.hostPlatform.isLinux libX11;
|
|
||||||
|
|
||||||
hardeningEnabled = [ "pie" ];
|
hardeningEnabled = [ "pie" ];
|
||||||
|
|
||||||
|
27
pkgs/by-name/pi/pilot-link/configure-checks.patch
Normal file
27
pkgs/by-name/pi/pilot-link/configure-checks.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
--- pilot-link/configure.ac
|
||||||
|
+++ pilot-link/configure.ac
|
||||||
|
@@ -63,8 +63,8 @@
|
||||||
|
dnl Eat -Werror so configure will run properly, if the user provided it
|
||||||
|
enable_werror=no
|
||||||
|
save_CFLAGS="$CFLAGS"
|
||||||
|
-CFLAGS=$(echo $save_CFLAGS | sed -e s/-Werror//g)
|
||||||
|
-CXXFLAGS=$(echo $save_CXXFLAGS | sed -e s/-Werror//g)
|
||||||
|
+CFLAGS=$(echo "$save_CFLAGS" | sed -e 's/-Werror[^=]//g')
|
||||||
|
+CXXFLAGS=$(echo "$save_CXXFLAGS" | sed -e 's/-Werror[^=]//g')
|
||||||
|
if test "x$CFLAGS" != "x$save_CFLAGS"; then
|
||||||
|
dnl -Werror was set; treat it as implicit --enable-werror below
|
||||||
|
enable_werror="yes"
|
||||||
|
@@ -392,11 +392,8 @@
|
||||||
|
dnl Determine if system popt is good enough
|
||||||
|
save_LIBS="$LIBS"
|
||||||
|
AC_CHECK_HEADER(popt.h,
|
||||||
|
- AC_CHECK_DECL(POPT_BIT_SET,
|
||||||
|
- AC_CHECK_LIB(popt, poptStrippedArgv,,
|
||||||
|
- [with_included_popt="yes"]),
|
||||||
|
- [with_included_popt="yes"],
|
||||||
|
- [#include <popt.h>]),
|
||||||
|
+ AC_CHECK_LIB(popt, poptStrippedArgv,,
|
||||||
|
+ [with_included_popt="yes"]),
|
||||||
|
[with_included_popt="yes"]
|
||||||
|
)
|
||||||
|
LIBS="$save_LIBS"
|
53
pkgs/by-name/pi/pilot-link/format-string-literals.patch
Normal file
53
pkgs/by-name/pi/pilot-link/format-string-literals.patch
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
--- pilot-link/src/pilot-dlpsh.c
|
||||||
|
+++ pilot-link/src/pilot-dlpsh.c
|
||||||
|
@@ -389,7 +389,7 @@
|
||||||
|
|
||||||
|
strftime(timebuf, 80, "Now setting Palm time from desktop to: "
|
||||||
|
"%a %b %d %H:%M:%S %Z %Y\n", tm_ptr);
|
||||||
|
- printf(timebuf);
|
||||||
|
+ printf("%s", timebuf);
|
||||||
|
gettimeofday(&tv, 0);
|
||||||
|
ltime = tv.tv_sec + 1;
|
||||||
|
usleep(1000000 - tv.tv_usec);
|
||||||
|
--- pilot-link/src/pilot-hinotes.c
|
||||||
|
+++ pilot-link/src/pilot-hinotes.c
|
||||||
|
@@ -79,9 +79,7 @@
|
||||||
|
printf("...\n");
|
||||||
|
else
|
||||||
|
printf("\n");
|
||||||
|
- printf("\n");
|
||||||
|
- printf(m.text);
|
||||||
|
- printf("\n");
|
||||||
|
+ printf("\n%s\n", m.text);
|
||||||
|
}
|
||||||
|
|
||||||
|
void write_memo_in_directory(char *dirname, struct HiNoteNote m,
|
||||||
|
--- pilot-link/src/pilot-xfer.c
|
||||||
|
+++ pilot-link/src/pilot-xfer.c
|
||||||
|
@@ -2477,8 +2477,7 @@
|
||||||
|
{
|
||||||
|
fprintf(stderr, " ERROR: '%s' is not a directory or does not exist.\n"
|
||||||
|
" Please supply a directory name when performing a "
|
||||||
|
- "backup or restore and try again.\n\n", dirname);
|
||||||
|
- fprintf(stderr,gracias);
|
||||||
|
+ "backup or restore and try again.\n\n%s", dirname, gracias);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -2487,14 +2486,12 @@
|
||||||
|
case palm_op_list:
|
||||||
|
if (rargc > 0)
|
||||||
|
{
|
||||||
|
- fprintf(stderr," ERROR: Do not pass additional arguments to -busrlLC.\n");
|
||||||
|
- fprintf(stderr,gracias);
|
||||||
|
+ fprintf(stderr," ERROR: Do not pass additional arguments to -busrlLC.\n%s", gracias);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case palm_op_noop:
|
||||||
|
- fprintf(stderr," ERROR: Must specify one of -bursimfdlC.\n");
|
||||||
|
- fprintf(stderr,gracias);
|
||||||
|
+ fprintf(stderr," ERROR: Must specify one of -bursimfdlC.\n%s", gracias);
|
||||||
|
return 1;
|
||||||
|
break;
|
||||||
|
case palm_op_merge:
|
65
pkgs/by-name/pi/pilot-link/package.nix
Normal file
65
pkgs/by-name/pi/pilot-link/package.nix
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
|
autoreconfHook,
|
||||||
|
pkg-config,
|
||||||
|
darwin,
|
||||||
|
popt,
|
||||||
|
bluezSupport ? stdenv.hostPlatform.isLinux,
|
||||||
|
bluez,
|
||||||
|
readlineSupport ? true,
|
||||||
|
readline,
|
||||||
|
enableConduits ? true,
|
||||||
|
bison,
|
||||||
|
enableLibpng ? true,
|
||||||
|
libpng,
|
||||||
|
enableLibusb ? true,
|
||||||
|
libusb-compat-0_1,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "pilot-link";
|
||||||
|
version = "0.12.3-unstable-2022-09-26";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "desrod";
|
||||||
|
repo = "pilot-link";
|
||||||
|
rev = "14338868111ce592c7ca7918a1f8a32ceecb7caf";
|
||||||
|
hash = "sha256-3b5T/QnRZawnjTgwvQKUbJTE/NiJ93eU2+qbRFuI13I";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Resolve build issues on modern systems.
|
||||||
|
# https://github.com/desrod/pilot-link/issues/16
|
||||||
|
# https://aur.archlinux.org/packages/pilot-link-git
|
||||||
|
patches =
|
||||||
|
[ ./configure-checks.patch ]
|
||||||
|
++ lib.optionals enableConduits [ ./format-string-literals.patch ]
|
||||||
|
++ lib.optionals enableLibpng [ ./pilot-link-png14.patch ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoreconfHook
|
||||||
|
pkg-config
|
||||||
|
] ++ lib.optionals enableConduits [ bison ];
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ popt ]
|
||||||
|
++ lib.optionals bluezSupport [ bluez ]
|
||||||
|
++ lib.optionals enableLibpng [ libpng ]
|
||||||
|
++ lib.optionals enableLibusb [ libusb-compat-0_1 ]
|
||||||
|
++ lib.optionals readlineSupport [ readline ]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ IOKit ]);
|
||||||
|
|
||||||
|
configureFlags =
|
||||||
|
[ "--with-libiconv" ]
|
||||||
|
++ lib.optionals enableConduits [ "--enable-conduits" ]
|
||||||
|
++ lib.optionals enableLibpng [ "--enable-libpng" ]
|
||||||
|
++ lib.optionals enableLibusb [ "--enable-libusb" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Suite of tools for connecting to PalmOS handheld devices";
|
||||||
|
homepage = "https://github.com/desrod/pilot-link";
|
||||||
|
license = lib.licenses.gpl2;
|
||||||
|
maintainers = with lib.maintainers; [ PapayaJackal ];
|
||||||
|
};
|
||||||
|
}
|
100
pkgs/by-name/pi/pilot-link/pilot-link-png14.patch
Normal file
100
pkgs/by-name/pi/pilot-link/pilot-link-png14.patch
Normal file
@ -0,0 +1,100 @@
|
|||||||
|
diff -ru pilot-link-0.12.4/src/pilot-read-notepad.c pilot-link-0.12.4.png14/src/pilot-read-notepad.c
|
||||||
|
--- pilot-link-0.12.4/src/pilot-read-notepad.c 2007-02-05 00:06:02.000000000 +0100
|
||||||
|
+++ pilot-link-0.12.4.png14/src/pilot-read-notepad.c 2010-01-17 15:04:33.000000000 +0100
|
||||||
|
@@ -39,10 +39,6 @@
|
||||||
|
|
||||||
|
#ifdef HAVE_PNG
|
||||||
|
#include "png.h"
|
||||||
|
-#if (PNG_LIBPNG_VER < 10201)
|
||||||
|
- #define png_voidp_NULL (png_voidp)NULL
|
||||||
|
- #define png_error_ptr_NULL (png_error_ptr)NULL
|
||||||
|
-#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char *progname;
|
||||||
|
@@ -166,8 +162,8 @@
|
||||||
|
width = n->body.width + 8;
|
||||||
|
|
||||||
|
png_ptr = png_create_write_struct
|
||||||
|
- ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
|
||||||
|
- png_error_ptr_NULL, png_error_ptr_NULL);
|
||||||
|
+ ( PNG_LIBPNG_VER_STRING, NULL,
|
||||||
|
+ NULL, NULL);
|
||||||
|
|
||||||
|
if(!png_ptr)
|
||||||
|
return;
|
||||||
|
diff -ru pilot-link-0.12.4/src/pilot-read-palmpix.c pilot-link-0.12.4.png14/src/pilot-read-palmpix.c
|
||||||
|
--- pilot-link-0.12.4/src/pilot-read-palmpix.c 2007-02-05 00:06:03.000000000 +0100
|
||||||
|
+++ pilot-link-0.12.4.png14/src/pilot-read-palmpix.c 2010-01-17 15:03:20.000000000 +0100
|
||||||
|
@@ -42,10 +42,6 @@
|
||||||
|
|
||||||
|
#ifdef HAVE_PNG
|
||||||
|
#include "png.h"
|
||||||
|
-#if (PNG_LIBPNG_VER < 10201)
|
||||||
|
- #define png_voidp_NULL (png_voidp)NULL
|
||||||
|
- #define png_error_ptr_NULL (png_error_ptr)NULL
|
||||||
|
-#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char *progname;
|
||||||
|
@@ -223,8 +219,8 @@
|
||||||
|
png_infop info_ptr;
|
||||||
|
|
||||||
|
png_ptr = png_create_write_struct
|
||||||
|
- ( PNG_LIBPNG_VER_STRING, png_voidp_NULL,
|
||||||
|
- png_error_ptr_NULL, png_error_ptr_NULL);
|
||||||
|
+ ( PNG_LIBPNG_VER_STRING, NULL,
|
||||||
|
+ NULL, NULL);
|
||||||
|
|
||||||
|
if(!png_ptr)
|
||||||
|
return;
|
||||||
|
diff -ru pilot-link-0.12.4/src/pilot-read-screenshot.c pilot-link-0.12.4.png14/src/pilot-read-screenshot.c
|
||||||
|
--- pilot-link-0.12.4/src/pilot-read-screenshot.c 2006-11-02 15:54:31.000000000 +0100
|
||||||
|
+++ pilot-link-0.12.4.png14/src/pilot-read-screenshot.c 2010-01-17 15:03:52.000000000 +0100
|
||||||
|
@@ -40,10 +40,6 @@
|
||||||
|
|
||||||
|
#ifdef HAVE_PNG
|
||||||
|
# include "png.h"
|
||||||
|
-# if (PNG_LIBPNG_VER < 10201)
|
||||||
|
-# define png_voidp_NULL (png_voidp)NULL
|
||||||
|
-# define png_error_ptr_NULL (png_error_ptr)NULL
|
||||||
|
-# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define pi_mktag(c1,c2,c3,c4) (((c1)<<24)|((c2)<<16)|((c3)<<8)|(c4))
|
||||||
|
@@ -87,8 +83,8 @@
|
||||||
|
gray_buf = malloc( state->w );
|
||||||
|
|
||||||
|
png_ptr = png_create_write_struct
|
||||||
|
- (PNG_LIBPNG_VER_STRING, png_voidp_NULL,
|
||||||
|
- png_error_ptr_NULL, png_error_ptr_NULL);
|
||||||
|
+ (PNG_LIBPNG_VER_STRING, NULL,
|
||||||
|
+ NULL, NULL);
|
||||||
|
|
||||||
|
if (!png_ptr)
|
||||||
|
return;
|
||||||
|
diff -ru pilot-link-0.12.4/src/pilot-read-veo.c pilot-link-0.12.4.png14/src/pilot-read-veo.c
|
||||||
|
--- pilot-link-0.12.4/src/pilot-read-veo.c 2007-02-05 00:06:03.000000000 +0100
|
||||||
|
+++ pilot-link-0.12.4.png14/src/pilot-read-veo.c 2010-01-17 15:04:14.000000000 +0100
|
||||||
|
@@ -41,10 +41,6 @@
|
||||||
|
|
||||||
|
#ifdef HAVE_PNG
|
||||||
|
# include "png.h"
|
||||||
|
-# if (PNG_LIBPNG_VER < 10201)
|
||||||
|
-# define png_voidp_NULL (png_voidp)NULL
|
||||||
|
-# define png_error_ptr_NULL (png_error_ptr)NULL
|
||||||
|
-# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define pi_mktag(c1,c2,c3,c4) (((c1)<<24)|((c2)<<16)|((c3)<<8)|(c4))
|
||||||
|
@@ -856,8 +852,8 @@
|
||||||
|
png_infop info_ptr;
|
||||||
|
|
||||||
|
png_ptr = png_create_write_struct
|
||||||
|
- (PNG_LIBPNG_VER_STRING, png_voidp_NULL,
|
||||||
|
- png_error_ptr_NULL, png_error_ptr_NULL);
|
||||||
|
+ (PNG_LIBPNG_VER_STRING, NULL,
|
||||||
|
+ NULL, NULL);
|
||||||
|
|
||||||
|
if (!png_ptr)
|
||||||
|
return;
|
92
pkgs/by-name/pm/pmars/0001-fix-round-redefinition.patch
Normal file
92
pkgs/by-name/pm/pmars/0001-fix-round-redefinition.patch
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
diff '--color=auto' -ruN a/src/cdb.c b/src/cdb.c
|
||||||
|
--- a/src/cdb.c 1970-01-01 01:00:01.000000000 +0100
|
||||||
|
+++ b/src/cdb.c 2024-10-08 11:28:57.892951658 +0200
|
||||||
|
@@ -1564,7 +1564,7 @@
|
||||||
|
(warriorsLeft ? warriorsLeft : 1));
|
||||||
|
substitute(buf[bi1], "CYCLE", outs, buf[bi2]);
|
||||||
|
SWITCHBI;
|
||||||
|
- sprintf(outs, "%d", round);
|
||||||
|
+ sprintf(outs, "%d", roundCounter);
|
||||||
|
substitute(buf[bi1], "ROUND", outs, buf[bi2]);
|
||||||
|
|
||||||
|
SWITCHBI;
|
||||||
|
@@ -1875,7 +1875,7 @@
|
||||||
|
#endif
|
||||||
|
int nFuture, nPast, count, taskHalf = (coreSize <= 10000 ? 7 : 5);
|
||||||
|
|
||||||
|
- sprintf(outs, roundOfCycle, round, rounds,
|
||||||
|
+ sprintf(outs, roundOfCycle, roundCounter, rounds,
|
||||||
|
(cycle + (warriorsLeft ? warriorsLeft : 1) - 1) /
|
||||||
|
(warriorsLeft ? warriorsLeft : 1));
|
||||||
|
cdb_fputs(outs, COND);
|
||||||
|
diff '--color=auto' -ruN a/src/curdisp.c b/src/curdisp.c
|
||||||
|
--- a/src/curdisp.c 1970-01-01 01:00:01.000000000 +0100
|
||||||
|
+++ b/src/curdisp.c 2024-10-08 11:29:52.129955266 +0200
|
||||||
|
@@ -156,7 +156,7 @@
|
||||||
|
wstandend(corewin);
|
||||||
|
if (!--refreshCounter) {
|
||||||
|
refreshCounter = refreshInterval;
|
||||||
|
- update_statusline(round);
|
||||||
|
+ update_statusline(roundCounter);
|
||||||
|
wrefresh(corewin);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -542,7 +542,7 @@
|
||||||
|
text_display_close()
|
||||||
|
{
|
||||||
|
if (displayLevel) {
|
||||||
|
- update_statusline(round - 1);
|
||||||
|
+ update_statusline(roundCounter - 1);
|
||||||
|
wstandout(corewin);
|
||||||
|
mvwaddstr(corewin, 0, 0, pressAnyKey);
|
||||||
|
wrefresh(corewin);
|
||||||
|
diff '--color=auto' -ruN a/src/sim.c b/src/sim.c
|
||||||
|
--- a/src/sim.c 1970-01-01 01:00:01.000000000 +0100
|
||||||
|
+++ b/src/sim.c 2024-10-08 11:28:21.848284678 +0200
|
||||||
|
@@ -173,7 +173,7 @@
|
||||||
|
mem_struct FAR *memory;
|
||||||
|
|
||||||
|
long cycle;
|
||||||
|
-int round;
|
||||||
|
+int roundCounter;
|
||||||
|
|
||||||
|
char alloc_p = 0; /* indicate whether memory has been allocated */
|
||||||
|
int warriorsLeft; /* number of warriors still left in core */
|
||||||
|
@@ -328,7 +328,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
display_init();
|
||||||
|
- round = 1;
|
||||||
|
+ roundCounter = 1;
|
||||||
|
do { /* each round */
|
||||||
|
#if defined(DOS16) && !defined(SERVER) && !defined(DOSTXTGRAPHX) && !defined(DOSGRXGRAPHX) && !defined(DJGPP)
|
||||||
|
fputc('\r', stdout); /* enable interruption by Ctrl-C */
|
||||||
|
@@ -1421,13 +1421,13 @@
|
||||||
|
#ifndef SERVER
|
||||||
|
if (debugState == BREAK) {
|
||||||
|
if (warriorsLeft == 1 && warriors != 1)
|
||||||
|
- sprintf(outs, warriorTerminatedEndOfRound, W - warrior, W->name, round);
|
||||||
|
+ sprintf(outs, warriorTerminatedEndOfRound, W - warrior, W->name, roundCounter);
|
||||||
|
else
|
||||||
|
- sprintf(outs, endOfRound, round);
|
||||||
|
+ sprintf(outs, endOfRound, roundCounter);
|
||||||
|
debugState = cdb(outs);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
- } while (++round <= rounds);
|
||||||
|
+ } while (++roundCounter <= rounds);
|
||||||
|
|
||||||
|
display_close();
|
||||||
|
#ifdef PERMUTATE
|
||||||
|
diff '--color=auto' -ruN a/src/sim.h b/src/sim.h
|
||||||
|
--- a/src/sim.h 1970-01-01 01:00:01.000000000 +0100
|
||||||
|
+++ b/src/sim.h 2024-10-08 11:27:46.730634854 +0200
|
||||||
|
@@ -89,7 +89,7 @@
|
||||||
|
#define FAR
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-extern int round;
|
||||||
|
+extern int roundCounter;
|
||||||
|
extern long cycle;
|
||||||
|
extern ADDR_T progCnt; /* program counter */
|
||||||
|
extern warrior_struct *W; /* indicate which warrior is running */
|
52
pkgs/by-name/pm/pmars/0002-fix-sighandler.patch
Normal file
52
pkgs/by-name/pm/pmars/0002-fix-sighandler.patch
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
diff '--color=auto' -ruN a/src/pmars.c b/src/pmars.c
|
||||||
|
--- a/src/pmars.c 2024-11-12 20:36:28.142766807 +0100
|
||||||
|
+++ b/src/pmars.c 2024-11-12 20:39:48.096710063 +0100
|
||||||
|
@@ -72,7 +72,7 @@
|
||||||
|
#ifdef PSPACE
|
||||||
|
void pspace_init(void);
|
||||||
|
#endif
|
||||||
|
-#if defined(unix) || defined(__MSDOS__) || defined(VMS)
|
||||||
|
+#if defined(unix) || defined(__MSDOS__) || defined(VMS) || defined(__MACH__)
|
||||||
|
void sighandler(int dummy);
|
||||||
|
#endif
|
||||||
|
#if defined(CURSESGRAPHX)
|
||||||
|
@@ -87,7 +87,7 @@
|
||||||
|
#ifdef PSPACE
|
||||||
|
void pspace_init();
|
||||||
|
#endif
|
||||||
|
-#if defined(unix) || defined(__MSDOS__)
|
||||||
|
+#if defined(unix) || defined(__MSDOS__) || defined(__MACH__)
|
||||||
|
void sighandler();
|
||||||
|
#endif
|
||||||
|
#if defined(CURSESGRAPHX)
|
||||||
|
@@ -224,7 +224,7 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
/* called when ctrl-c is pressed; prepares for debugger entry */
|
||||||
|
-#if defined(unix) || defined(__MSDOS__) || defined (__OS2__)
|
||||||
|
+#if defined(unix) || defined(__MSDOS__) || defined (__OS2__) || defined(__MACH__)
|
||||||
|
void
|
||||||
|
#ifdef __OS2__
|
||||||
|
_cdecl
|
||||||
|
@@ -290,7 +290,7 @@
|
||||||
|
int argc;
|
||||||
|
char **argv;
|
||||||
|
{
|
||||||
|
-#if defined(unix) && !defined(DJGPP)
|
||||||
|
+#if (defined(unix) && !defined(DJGPP)) || defined(__MACH__)
|
||||||
|
#ifdef SIGINT
|
||||||
|
signal(SIGINT, sighandler);
|
||||||
|
#endif
|
||||||
|
diff '--color=auto' -ruN a/src/xwindisp.c b/src/xwindisp.c
|
||||||
|
--- a/src/xwindisp.c 2024-11-12 20:36:28.143766827 +0100
|
||||||
|
+++ b/src/xwindisp.c 2024-11-12 20:37:39.708178145 +0100
|
||||||
|
@@ -61,6 +61,9 @@
|
||||||
|
#define YELLOW 14
|
||||||
|
#define WHITE 15
|
||||||
|
|
||||||
|
+/* defined in pmars.c */
|
||||||
|
+extern void sighandler(int dummy);
|
||||||
|
+
|
||||||
|
/* X names of the colors we allocate */
|
||||||
|
static char *xColorNames[MAXXCOLOR] = {
|
||||||
|
"black", "blue3", "green3", "cyan3",
|
106
pkgs/by-name/pm/pmars/package.nix
Normal file
106
pkgs/by-name/pm/pmars/package.nix
Normal file
@ -0,0 +1,106 @@
|
|||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
lib,
|
||||||
|
fetchzip,
|
||||||
|
installShellFiles,
|
||||||
|
libX11,
|
||||||
|
ncurses,
|
||||||
|
pkg-config,
|
||||||
|
enableXwinGraphics ? false,
|
||||||
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
options = [
|
||||||
|
"${if enableXwinGraphics then "XWIN" else "CURSES"}GRAPHX"
|
||||||
|
"EXT94"
|
||||||
|
"PERMUTATE"
|
||||||
|
"RWLIMIT"
|
||||||
|
];
|
||||||
|
pkgConfigLibs =
|
||||||
|
lib.optionals enableXwinGraphics [ "x11" ]
|
||||||
|
++ lib.optionals (!enableXwinGraphics) [ "ncurses" ];
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "pmars";
|
||||||
|
version = "0.9.4";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "http://www.koth.org/pmars/pmars-${finalAttrs.version}.zip";
|
||||||
|
hash = "sha256-68zsH9HWWp13pozjMajayS/VhY8iTosUp1CvcAmj/dE=";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Error under Clang due to global "round" variable: redefinition of 'round' as different kind of symbol
|
||||||
|
./0001-fix-round-redefinition.patch
|
||||||
|
|
||||||
|
# call to undeclared function 'sighandler' & undefined sighandler on Darwin
|
||||||
|
./0002-fix-sighandler.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/Makefile \
|
||||||
|
--replace-fail 'CC = gcc' "CC = $CC" \
|
||||||
|
--replace-fail '@strip' "@$STRIP" \
|
||||||
|
--replace-fail 'CFLAGS = -O -DEXT94 -DXWINGRAPHX -DPERMUTATE -DRWLIMIT' "CFLAGS = ${
|
||||||
|
lib.concatMapStringsSep " " (opt: "-D${opt}") options
|
||||||
|
} ${
|
||||||
|
lib.optionalString (
|
||||||
|
pkgConfigLibs != [ ]
|
||||||
|
) "$($PKG_CONFIG --cflags ${lib.strings.concatStringsSep " " pkgConfigLibs})"
|
||||||
|
}" \
|
||||||
|
--replace-fail 'LIB = -L/usr/X11R6/lib -lX11' "LIB = ${
|
||||||
|
lib.optionalString (
|
||||||
|
pkgConfigLibs != [ ]
|
||||||
|
) "$($PKG_CONFIG --libs ${lib.strings.concatStringsSep " " pkgConfigLibs})"
|
||||||
|
}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles ] ++ lib.optionals (pkgConfigLibs != [ ]) [ pkg-config ];
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
lib.optionals enableXwinGraphics [ libX11 ]
|
||||||
|
++ lib.optionals (!enableXwinGraphics) [ ncurses ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
cd src
|
||||||
|
'';
|
||||||
|
|
||||||
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm755 pmars $out/bin/pmars
|
||||||
|
|
||||||
|
mkdir -p $out/share/pmars
|
||||||
|
cp -R -t $out/share/pmars/ ../{AUTHORS,COPYING,README,config,warriors}
|
||||||
|
|
||||||
|
installManPage ../doc/pmars.6
|
||||||
|
|
||||||
|
mkdir -p $out/share/doc/pmars
|
||||||
|
cp -t $out/share/doc/pmars/ ../doc/{primer.*,redcode.ref}
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
inherit options;
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Official Core War simulator";
|
||||||
|
longDescription = ''
|
||||||
|
Portable MARS is the official Core War simulator of the ICWS and the rec.games.corewar newsgroup. pMARS serves as
|
||||||
|
a test bed for new Redcode standards and tournament styles. It has also been used in genetic algorithm experiments
|
||||||
|
and as an assembly language teaching aid. pMARS is under active development by a group of Core War enthusiasts who
|
||||||
|
put a lot of time into this project.
|
||||||
|
'';
|
||||||
|
homepage = "http://www.koth.org/pmars/";
|
||||||
|
license = lib.licenses.gpl2Plus;
|
||||||
|
mainProgram = "pmars";
|
||||||
|
maintainers = with lib.maintainers; [ OPNA2608 ];
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
};
|
||||||
|
})
|
@ -1,5 +1,4 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
@ -7,8 +6,6 @@
|
|||||||
, pkg-config
|
, pkg-config
|
||||||
, libusb1
|
, libusb1
|
||||||
, openssl
|
, openssl
|
||||||
, DarwinTools
|
|
||||||
, AppKit
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -34,9 +31,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
# https://github.com/probe-rs/probe-rs/pull/2492
|
# https://github.com/probe-rs/probe-rs/pull/2492
|
||||||
gitMinimal
|
gitMinimal
|
||||||
pkg-config
|
pkg-config
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ DarwinTools ];
|
];
|
||||||
|
|
||||||
buildInputs = [ libusb1 openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
|
buildInputs = [ libusb1 openssl ];
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
# require a physical probe
|
# require a physical probe
|
||||||
|
32
pkgs/by-name/ru/runpodctl/package.nix
Normal file
32
pkgs/by-name/ru/runpodctl/package.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "runpodctl";
|
||||||
|
version = "1.14.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "runpod";
|
||||||
|
repo = "runpodctl";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-QU2gujECzT5mPkZi6siMO7IZRXNZHS0TchYxnG4Snj8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorHash = "sha256-8/OrM8zrisAfZdeo6FGP6+quKMwjxel1BaRIY+yJq5E=";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
rm $out/bin/docs # remove the docs binary
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/runpod/runpodctl";
|
||||||
|
description = "CLI tool to automate / manage GPU pods for runpod.io";
|
||||||
|
changelog = "https://github.com/runpod/runpodctl/raw/v${version}/CHANGELOG.md";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
maintainers = [ maintainers.georgewhewell ];
|
||||||
|
mainProgram = "runpodctl";
|
||||||
|
};
|
||||||
|
}
|
@ -7,16 +7,16 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "uair";
|
pname = "uair";
|
||||||
version = "0.6.1";
|
version = "0.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "metent";
|
owner = "metent";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-cxSNBxs6ixbjWMUYzOnwI+vavkfyaQx3/OmVdTCr7M0=";
|
hash = "sha256-s6st4rBuviH1DACui3dakRt90z3TphIS4ptMN3eHpr8=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-cDIF4RvJ7K6t18GPgiRV6NDoD/x3II/3wCHW3KK2/os=";
|
cargoHash = "sha256-n7Kaha22Rh/5AGoHUiAxnaZvHtZ+rPsmLHiUYfA0YPE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles scdoc ];
|
nativeBuildInputs = [ installShellFiles scdoc ];
|
||||||
|
|
||||||
|
16
pkgs/by-name/up/upgrade-assistant/package.nix
Normal file
16
pkgs/by-name/up/upgrade-assistant/package.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ lib, buildDotnetGlobalTool }:
|
||||||
|
buildDotnetGlobalTool {
|
||||||
|
pname = "upgrade-assistant";
|
||||||
|
version = "0.5.820";
|
||||||
|
|
||||||
|
nugetHash = "sha256-GB+q5aZRkBTeXUbIPjkPsll6pSI/H6Iyh5mY53uT284=";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/dotnet/upgrade-assistant";
|
||||||
|
description = "Tool to assist developers in upgrading .NET Framework applications to .NET 6 and beyond";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ khaneliman ];
|
||||||
|
mainProgram = "ugprade-assistant";
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
@ -27,13 +27,13 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "uwsm";
|
pname = "uwsm";
|
||||||
version = "0.20.1";
|
version = "0.20.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Vladimir-csp";
|
owner = "Vladimir-csp";
|
||||||
repo = "uwsm";
|
repo = "uwsm";
|
||||||
rev = "refs/tags/v${finalAttrs.version}";
|
rev = "refs/tags/v${finalAttrs.version}";
|
||||||
hash = "sha256-iekCav2zjVViuGSM/s5na/Jf4OKyJlsrsXTiGdWOe1M=";
|
hash = "sha256-cvIkjDtGEEYCGFFfN7HhOFzUajLcDgt8CWqFyuJlvK4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "valkey";
|
pname = "valkey";
|
||||||
version = "7.2.7";
|
version = "8.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "valkey-io";
|
owner = "valkey-io";
|
||||||
repo = "valkey";
|
repo = "valkey";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-2kbhUg+rNuIUF/Bna6jFLI6Vhg9TlSi+OZEy6jKl2X0=";
|
hash = "sha256-WB0blQLxQOTkK8UGsH6WISZAisUAtGIDfjoc4RnPSew=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = lib.optional useSystemJemalloc ./use_system_jemalloc.patch;
|
patches = lib.optional useSystemJemalloc ./use_system_jemalloc.patch;
|
||||||
@ -30,6 +30,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
++ lib.optional withSystemd systemd
|
++ lib.optional withSystemd systemd
|
||||||
++ lib.optional tlsSupport openssl;
|
++ lib.optional tlsSupport openssl;
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
preBuild = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
preBuild = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||||
substituteInPlace src/Makefile --replace-fail "-flto" ""
|
substituteInPlace src/Makefile --replace-fail "-flto" ""
|
||||||
'';
|
'';
|
||||||
@ -55,7 +57,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
# disable test "Connect multiple replicas at the same time": even
|
# disable test "Connect multiple replicas at the same time": even
|
||||||
# upstream find this test too timing-sensitive
|
# upstream find this test too timing-sensitive
|
||||||
substituteInPlace tests/integration/replication.tcl \
|
substituteInPlace tests/integration/replication.tcl \
|
||||||
--replace-fail 'foreach mdl {no yes}' 'foreach mdl {}'
|
--replace-fail 'foreach mdl {no yes} dualchannel {no yes}' 'foreach mdl {} dualchannel {}'
|
||||||
|
|
||||||
substituteInPlace tests/support/server.tcl \
|
substituteInPlace tests/support/server.tcl \
|
||||||
--replace-fail 'exec /usr/bin/env' 'exec env'
|
--replace-fail 'exec /usr/bin/env' 'exec env'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
|
, apple-sdk_11
|
||||||
, cacert
|
, cacert
|
||||||
, cmake
|
, cmake
|
||||||
, cmakerc
|
, cmakerc
|
||||||
@ -40,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmakerc
|
cmakerc
|
||||||
fmt
|
fmt
|
||||||
];
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./change-lock-location.patch
|
./change-lock-location.patch
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib, stdenv, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, brotli, libev, nghttp3, quictls
|
, brotli, libev, nghttp3, quictls
|
||||||
, CoreServices
|
, apple-sdk_11
|
||||||
, withJemalloc ? false, jemalloc
|
, withJemalloc ? false, jemalloc
|
||||||
, curlHTTP3
|
, curlHTTP3
|
||||||
}:
|
}:
|
||||||
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
nghttp3
|
nghttp3
|
||||||
quictls
|
quictls
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
CoreServices
|
apple-sdk_11
|
||||||
] ++ lib.optional withJemalloc jemalloc;
|
] ++ lib.optional withJemalloc jemalloc;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
56
pkgs/development/python-modules/picologging/default.nix
Normal file
56
pkgs/development/python-modules/picologging/default.nix
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
{
|
||||||
|
buildPythonPackage,
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
pytestCheckHook,
|
||||||
|
setuptools,
|
||||||
|
scikit-build,
|
||||||
|
cmake,
|
||||||
|
ninja,
|
||||||
|
python,
|
||||||
|
flaky,
|
||||||
|
hypothesis,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "picologging";
|
||||||
|
version = "0.9.4";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
# 0.9.4 only release on github
|
||||||
|
owner = "microsoft";
|
||||||
|
repo = "picologging";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-t75D7aNKAifzeCPwtyKp8LoiXtbbXspRFYnsI0gx+V4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
cmake
|
||||||
|
scikit-build
|
||||||
|
ninja
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
dontUseCmakeConfigure = true;
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
flaky
|
||||||
|
hypothesis
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportCheck = [ "picologging" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/microsoft/picologging";
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||||
|
changelog = "https://github.com/microsoft/picologging/releases/tag/${version}";
|
||||||
|
description = "optimized logging library for Python";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
58
pkgs/development/python-modules/polyfactory/default.nix
Normal file
58
pkgs/development/python-modules/polyfactory/default.nix
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
{
|
||||||
|
buildPythonPackage,
|
||||||
|
lib,
|
||||||
|
fetchPypi,
|
||||||
|
hatchling,
|
||||||
|
hypothesis,
|
||||||
|
faker,
|
||||||
|
msgspec,
|
||||||
|
sqlalchemy,
|
||||||
|
aiosqlite,
|
||||||
|
typing-extensions,
|
||||||
|
pymongo,
|
||||||
|
pytest-asyncio,
|
||||||
|
pydantic,
|
||||||
|
pytestCheckHook,
|
||||||
|
email-validator,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "polyfactory";
|
||||||
|
version = "2.18.0";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit version pname;
|
||||||
|
hash = "sha256-BNi01JhuQGzUwWzAHou3Rwg4QtV6XA26Y6Ie5e91umY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ hatchling ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
faker
|
||||||
|
typing-extensions
|
||||||
|
hypothesis
|
||||||
|
pydantic
|
||||||
|
sqlalchemy
|
||||||
|
msgspec
|
||||||
|
pymongo
|
||||||
|
aiosqlite
|
||||||
|
email-validator
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImporeCheck = [ "polyfactory" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://polyfactory.litestar.dev/";
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
maintainers = with lib.maintainers; [ bot-wxt1221 ];
|
||||||
|
changelog = "https://github.com/litestar-org/polyfactory/releases/tag/v${version}";
|
||||||
|
description = "Simple and powerful factories for mock data generation";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub, installShellFiles, stdenv, Security, libgit2 }:
|
{ lib, rustPlatform, fetchFromGitHub, installShellFiles, stdenv, libgit2 }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cocogitto";
|
pname = "cocogitto";
|
||||||
@ -8,7 +8,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
owner = "oknozor";
|
owner = "oknozor";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-yGwGWXME9ZjFJk/3pVDRTa1phG6kd8+YhXe/MxOEdF0=";
|
hash = "sha256-yGwGWXME9ZjFJk/3pVDRTa1phG6kd8+YhXe/MxOEdF0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-iS/nRfy63bgo7MeL/5jJ3Vn6S7dG49erIZ+0516YxKM=";
|
cargoHash = "sha256-iS/nRfy63bgo7MeL/5jJ3Vn6S7dG49erIZ+0516YxKM=";
|
||||||
@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
buildInputs = [ libgit2 ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
|
buildInputs = [ libgit2 ];
|
||||||
|
|
||||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||||
installShellCompletion --cmd cog \
|
installShellCompletion --cmd cog \
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
{ fetchFromGitHub
|
{ fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
, Security
|
|
||||||
, openssl
|
, openssl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, stdenv
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -15,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
owner = "awslabs";
|
owner = "awslabs";
|
||||||
repo = "dynein";
|
repo = "dynein";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-QhasTFGOFOjzNKdQtA+eBhKy51O4dFt6vpeIAIOM2rQ=";
|
hash = "sha256-QhasTFGOFOjzNKdQtA+eBhKy51O4dFt6vpeIAIOM2rQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use system openssl.
|
# Use system openssl.
|
||||||
@ -27,7 +25,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export OPENSSL_DIR=${lib.getDev openssl}
|
export OPENSSL_DIR=${lib.getDev openssl}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
{ fetchFromGitHub
|
{ fetchFromGitHub
|
||||||
, lib
|
, lib
|
||||||
, Security
|
|
||||||
, openssl
|
, openssl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, protobuf
|
, protobuf
|
||||||
@ -42,7 +41,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl
|
||||||
protobuf
|
protobuf
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
];
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
export OPENSSL_DIR=${lib.getDev openssl}
|
export OPENSSL_DIR=${lib.getDev openssl}
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchCrate
|
, fetchCrate
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, wasm-pack
|
, wasm-pack
|
||||||
, CoreServices
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -19,7 +17,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoHash = "sha256-i7MPmO9MoANZLzmR5gsD+v0gyDtFbzhsmE9xOsb88L0=";
|
cargoHash = "sha256-i7MPmO9MoANZLzmR5gsD+v0gyDtFbzhsmE9xOsb88L0=";
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/perseus \
|
wrapProgram $out/bin/perseus \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security, pkg-config, openssl }:
|
{ lib, rustPlatform, fetchFromGitHub, pkg-config, openssl }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "bindle";
|
pname = "bindle";
|
||||||
@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
doCheck = false; # Tests require a network
|
doCheck = false; # Tests require a network
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
cargoHash = "sha256-RECEeo0uoGO5bBe+r++zpTjYYX3BIkT58uht2MLYkN0=";
|
cargoHash = "sha256-RECEeo0uoGO5bBe+r++zpTjYYX3BIkT58uht2MLYkN0=";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
|
{ lib, fetchFromGitHub, rustPlatform }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "binserve";
|
pname = "binserve";
|
||||||
@ -8,13 +8,9 @@ rustPlatform.buildRustPackage rec {
|
|||||||
owner = "mufeedvh";
|
owner = "mufeedvh";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Chm2xPB0BrLXSZslg9wnbDyHSJRQAvOtpH0Rw6w1q1s=";
|
hash = "sha256-Chm2xPB0BrLXSZslg9wnbDyHSJRQAvOtpH0Rw6w1q1s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
CoreServices
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoLock.lockFile = ./Cargo.lock;
|
cargoLock.lockFile = ./Cargo.lock;
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
cp ${./Cargo.lock} Cargo.lock
|
cp ${./Cargo.lock} Cargo.lock
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, fetchFromSourcehut
|
, fetchFromSourcehut
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, scdoc
|
, scdoc
|
||||||
, Security
|
|
||||||
, nixosTests
|
, nixosTests
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
}:
|
}:
|
||||||
@ -29,8 +27,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles scdoc ];
|
nativeBuildInputs = [ installShellFiles scdoc ];
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
scdoc < doc/stargazer.scd > stargazer.1
|
scdoc < doc/stargazer.scd > stargazer.1
|
||||||
scdoc < doc/stargazer-ini.scd > stargazer.ini.5
|
scdoc < doc/stargazer-ini.scd > stargazer.ini.5
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, openssl
|
, openssl
|
||||||
, stdenv
|
|
||||||
, Security
|
|
||||||
, pkg-config
|
, pkg-config
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
};
|
};
|
||||||
cargoHash = "sha256-ngkoxybl52zTH4wo+sIUtU8vtzOAp+jU1RyTO2KbCgU=";
|
cargoHash = "sha256-ngkoxybl52zTH4wo+sIUtU8vtzOAp+jU1RyTO2KbCgU=";
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
buildInputs = [ openssl ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, Security
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -18,8 +16,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoHash = "sha256-dMXaIFc0e6PMYiQrokQoUc1xAVCccE92WzM2fl7tOBQ=";
|
cargoHash = "sha256-dMXaIFc0e6PMYiQrokQoUc1xAVCccE92WzM2fl7tOBQ=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
|
||||||
|
|
||||||
# tests run in CI on the source repo
|
# tests run in CI on the source repo
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
, pkg-config
|
, pkg-config
|
||||||
, libxcb
|
, libxcb
|
||||||
, openssl
|
, openssl
|
||||||
# Darwin dependencies
|
|
||||||
, AppKit
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -32,8 +30,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
|
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
|
||||||
libxcb
|
libxcb
|
||||||
openssl
|
openssl
|
||||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
||||||
AppKit
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
, rustPlatform
|
, rustPlatform
|
||||||
, openssl
|
, openssl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, stdenv
|
|
||||||
, Security
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -22,7 +20,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoBuildFlags = [ "-p eludris" ];
|
cargoBuildFlags = [ "-p eludris" ];
|
||||||
cargoTestFlags = [ "-p eludris" ];
|
cargoTestFlags = [ "-p eludris" ];
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
buildInputs = [ openssl ];
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
|
||||||
, fetchCrate
|
, fetchCrate
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, openssl
|
, openssl
|
||||||
, Security
|
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "gh-cal";
|
pname = "gh-cal";
|
||||||
@ -18,7 +16,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoHash = "sha256-73gqk0DjhaLGIEP5VQQlubPomxHQyg4RnY5XTgE7msQ=";
|
cargoHash = "sha256-73gqk0DjhaLGIEP5VQQlubPomxHQyg4RnY5XTgE7msQ=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GitHub contributions calender terminal viewer";
|
description = "GitHub contributions calender terminal viewer";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ fetchCrate, installShellFiles, lib, rustPlatform, pkg-config, stdenv, Security, SystemConfiguration, buildPackages }:
|
{ fetchCrate, installShellFiles, lib, rustPlatform, pkg-config, stdenv, buildPackages }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "vrc-get";
|
pname = "vrc-get";
|
||||||
@ -11,8 +11,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security SystemConfiguration ];
|
|
||||||
|
|
||||||
cargoHash = "sha256-uPx9sujuvBp6wJzzqVlS8Rq1S9Cb2su9/gp4pnNJ9zQ=";
|
cargoHash = "sha256-uPx9sujuvBp6wJzzqVlS8Rq1S9Cb2su9/gp4pnNJ9zQ=";
|
||||||
|
|
||||||
# Execute the resulting binary to generate shell completions, using emulation if necessary when cross-compiling.
|
# Execute the resulting binary to generate shell completions, using emulation if necessary when cross-compiling.
|
||||||
|
@ -8,9 +8,6 @@
|
|||||||
pkg-config,
|
pkg-config,
|
||||||
curl,
|
curl,
|
||||||
openssl,
|
openssl,
|
||||||
Security,
|
|
||||||
CoreServices,
|
|
||||||
libiconv,
|
|
||||||
xz,
|
xz,
|
||||||
substituteAll,
|
substituteAll,
|
||||||
# for passthru.tests:
|
# for passthru.tests:
|
||||||
@ -55,9 +52,6 @@ rustPlatform.buildRustPackage rec {
|
|||||||
openssl
|
openssl
|
||||||
]
|
]
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
CoreServices
|
|
||||||
Security
|
|
||||||
libiconv
|
|
||||||
xz
|
xz
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -192,9 +192,7 @@ with pkgs;
|
|||||||
|
|
||||||
appimageupdate-qt = appimageupdate.override { withQtUI = true; };
|
appimageupdate-qt = appimageupdate.override { withQtUI = true; };
|
||||||
|
|
||||||
bindle = callPackage ../servers/bindle {
|
bindle = callPackage ../servers/bindle { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
stripJavaArchivesHook = makeSetupHook {
|
stripJavaArchivesHook = makeSetupHook {
|
||||||
name = "strip-java-archives-hook";
|
name = "strip-java-archives-hook";
|
||||||
@ -239,9 +237,7 @@ with pkgs;
|
|||||||
|
|
||||||
beebeep = libsForQt5.callPackage ../applications/office/beebeep { };
|
beebeep = libsForQt5.callPackage ../applications/office/beebeep { };
|
||||||
|
|
||||||
binserve = callPackage ../servers/binserve {
|
binserve = callPackage ../servers/binserve { };
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
|
||||||
};
|
|
||||||
|
|
||||||
bloodhound-py = with python3Packages; toPythonApplication bloodhound-py;
|
bloodhound-py = with python3Packages; toPythonApplication bloodhound-py;
|
||||||
|
|
||||||
@ -294,26 +290,18 @@ with pkgs;
|
|||||||
stdenv = clangStdenv;
|
stdenv = clangStdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
cloak = callPackage ../applications/misc/cloak {
|
cloak = callPackage ../applications/misc/cloak { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
cotp = callPackage ../applications/misc/cotp {
|
cotp = callPackage ../applications/misc/cotp { };
|
||||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
|
||||||
};
|
|
||||||
|
|
||||||
cope = callPackage ../by-name/co/cope/package.nix {
|
cope = callPackage ../by-name/co/cope/package.nix {
|
||||||
perl = perl538;
|
perl = perl538;
|
||||||
perlPackages = perl538Packages;
|
perlPackages = perl538Packages;
|
||||||
};
|
};
|
||||||
|
|
||||||
cocogitto = callPackage ../development/tools/cocogitto {
|
cocogitto = callPackage ../development/tools/cocogitto { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
coldsnap = callPackage ../tools/admin/coldsnap {
|
coldsnap = callPackage ../tools/admin/coldsnap { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
collision = callPackage ../applications/misc/collision { };
|
collision = callPackage ../applications/misc/collision { };
|
||||||
|
|
||||||
@ -343,21 +331,15 @@ with pkgs;
|
|||||||
|
|
||||||
dnf4 = python3Packages.callPackage ../development/python-modules/dnf4/wrapper.nix { };
|
dnf4 = python3Packages.callPackage ../development/python-modules/dnf4/wrapper.nix { };
|
||||||
|
|
||||||
dynein = callPackage ../development/tools/database/dynein {
|
dynein = callPackage ../development/tools/database/dynein { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
ebpf-verifier = callPackage ../tools/networking/ebpf-verifier {
|
ebpf-verifier = callPackage ../tools/networking/ebpf-verifier {
|
||||||
catch2 = catch2_3;
|
catch2 = catch2_3;
|
||||||
};
|
};
|
||||||
|
|
||||||
edgedb = callPackage ../tools/networking/edgedb {
|
edgedb = callPackage ../tools/networking/edgedb { };
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
eludris = callPackage ../tools/misc/eludris {
|
eludris = callPackage ../tools/misc/eludris { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
enochecker-test = with python3Packages; callPackage ../development/tools/enochecker-test { };
|
enochecker-test = with python3Packages; callPackage ../development/tools/enochecker-test { };
|
||||||
|
|
||||||
@ -373,16 +355,9 @@ with pkgs;
|
|||||||
|
|
||||||
buildcatrust = with python3.pkgs; toPythonApplication buildcatrust;
|
buildcatrust = with python3.pkgs; toPythonApplication buildcatrust;
|
||||||
|
|
||||||
probe-rs-tools = callPackage ../by-name/pr/probe-rs-tools/package.nix {
|
|
||||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
|
||||||
inherit (darwin) DarwinTools;
|
|
||||||
};
|
|
||||||
|
|
||||||
mumps_par = callPackage ../by-name/mu/mumps/package.nix { mpiSupport = true; };
|
mumps_par = callPackage ../by-name/mu/mumps/package.nix { mpiSupport = true; };
|
||||||
|
|
||||||
prisma-engines = callPackage ../development/tools/database/prisma-engines {
|
prisma-engines = callPackage ../development/tools/database/prisma-engines { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
protoc-gen-dart = callPackage ../development/tools/protoc-gen-dart { };
|
protoc-gen-dart = callPackage ../development/tools/protoc-gen-dart { };
|
||||||
|
|
||||||
@ -391,7 +366,6 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
vcpkg-tool = callPackage ../by-name/vc/vcpkg-tool/package.nix {
|
vcpkg-tool = callPackage ../by-name/vc/vcpkg-tool/package.nix {
|
||||||
stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
|
|
||||||
fmt = fmt_10;
|
fmt = fmt_10;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -415,9 +389,7 @@ with pkgs;
|
|||||||
|
|
||||||
device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix { };
|
device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix { };
|
||||||
|
|
||||||
didyoumean = callPackage ../tools/misc/didyoumean {
|
didyoumean = callPackage ../tools/misc/didyoumean { };
|
||||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
|
||||||
};
|
|
||||||
|
|
||||||
diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;
|
diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;
|
||||||
|
|
||||||
@ -429,9 +401,7 @@ with pkgs;
|
|||||||
autoreconfHook = buildPackages.autoreconfHook269;
|
autoreconfHook = buildPackages.autoreconfHook269;
|
||||||
};
|
};
|
||||||
|
|
||||||
gretl = callPackage ../applications/science/math/gretl {
|
gretl = callPackage ../applications/science/math/gretl { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Accelerate;
|
|
||||||
};
|
|
||||||
|
|
||||||
devShellTools = callPackage ../build-support/dev-shell-tools { };
|
devShellTools = callPackage ../build-support/dev-shell-tools { };
|
||||||
|
|
||||||
@ -528,9 +498,7 @@ with pkgs;
|
|||||||
|
|
||||||
opendrop = python3Packages.callPackage ../tools/networking/opendrop { };
|
opendrop = python3Packages.callPackage ../tools/networking/opendrop { };
|
||||||
|
|
||||||
perseus-cli = callPackage ../development/tools/perseus-cli {
|
perseus-cli = callPackage ../development/tools/perseus-cli { };
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
|
||||||
};
|
|
||||||
|
|
||||||
pe-bear = libsForQt5.callPackage ../applications/misc/pe-bear { };
|
pe-bear = libsForQt5.callPackage ../applications/misc/pe-bear { };
|
||||||
|
|
||||||
@ -932,7 +900,6 @@ with pkgs;
|
|||||||
actdiag = with python3.pkgs; toPythonApplication actdiag;
|
actdiag = with python3.pkgs; toPythonApplication actdiag;
|
||||||
|
|
||||||
adlplug = callPackage ../applications/audio/adlplug {
|
adlplug = callPackage ../applications/audio/adlplug {
|
||||||
inherit (darwin.apple_sdk.frameworks) Foundation Cocoa Carbon CoreServices ApplicationServices CoreAudio CoreMIDI AudioToolbox Accelerate CoreImage IOKit AudioUnit QuartzCore WebKit DiscRecording CoreAudioKit;
|
|
||||||
jack = libjack2;
|
jack = libjack2;
|
||||||
};
|
};
|
||||||
opnplug = adlplug.override {
|
opnplug = adlplug.override {
|
||||||
@ -1002,9 +969,7 @@ with pkgs;
|
|||||||
|
|
||||||
auditwheel = with python3Packages; toPythonApplication auditwheel;
|
auditwheel = with python3Packages; toPythonApplication auditwheel;
|
||||||
|
|
||||||
awsbck = callPackage ../tools/backup/awsbck {
|
awsbck = callPackage ../tools/backup/awsbck { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { };
|
bikeshed = python3Packages.callPackage ../applications/misc/bikeshed { };
|
||||||
|
|
||||||
@ -1046,9 +1011,7 @@ with pkgs;
|
|||||||
python3Packages = python311Packages;
|
python3Packages = python311Packages;
|
||||||
});
|
});
|
||||||
|
|
||||||
gh-cal = callPackage ../tools/misc/gh-cal {
|
gh-cal = callPackage ../tools/misc/gh-cal { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
gp-saml-gui = python3Packages.callPackage ../tools/networking/gp-saml-gui { };
|
gp-saml-gui = python3Packages.callPackage ../tools/networking/gp-saml-gui { };
|
||||||
|
|
||||||
@ -1125,9 +1088,7 @@ with pkgs;
|
|||||||
jdk = jdk8;
|
jdk = jdk8;
|
||||||
};
|
};
|
||||||
|
|
||||||
stargazer = callPackage ../servers/gemini/stargazer {
|
stargazer = callPackage ../servers/gemini/stargazer { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
supermin = callPackage ../tools/virtualization/supermin {
|
supermin = callPackage ../tools/virtualization/supermin {
|
||||||
ocamlPackages = ocaml-ng.ocamlPackages_4_14;
|
ocamlPackages = ocaml-ng.ocamlPackages_4_14;
|
||||||
@ -1156,9 +1117,7 @@ with pkgs;
|
|||||||
|
|
||||||
vprof = with python3Packages; toPythonApplication vprof;
|
vprof = with python3Packages; toPythonApplication vprof;
|
||||||
|
|
||||||
vrc-get = callPackage ../tools/misc/vrc-get {
|
vrc-get = callPackage ../tools/misc/vrc-get { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
|
||||||
};
|
|
||||||
|
|
||||||
winbox = winbox3;
|
winbox = winbox3;
|
||||||
winbox3 = callPackage ../tools/admin/winbox {
|
winbox3 = callPackage ../tools/admin/winbox {
|
||||||
@ -1238,24 +1197,17 @@ with pkgs;
|
|||||||
|
|
||||||
datalad-gooey = with python3Packages; toPythonApplication datalad-gooey;
|
datalad-gooey = with python3Packages; toPythonApplication datalad-gooey;
|
||||||
|
|
||||||
debase = callPackage ../by-name/de/debase/package.nix {
|
|
||||||
stdenv = if stdenv.hostPlatform.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
|
|
||||||
};
|
|
||||||
|
|
||||||
forgejo-lts = callPackage ../by-name/fo/forgejo/lts.nix { };
|
forgejo-lts = callPackage ../by-name/fo/forgejo/lts.nix { };
|
||||||
|
|
||||||
gfold = callPackage ../applications/version-management/gfold {
|
gfold = callPackage ../applications/version-management/gfold { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
|
|
||||||
gita = python3Packages.callPackage ../applications/version-management/gita { };
|
gita = python3Packages.callPackage ../applications/version-management/gita { };
|
||||||
|
|
||||||
gitoxide = callPackage ../applications/version-management/gitoxide { };
|
gitoxide = callPackage ../applications/version-management/gitoxide { };
|
||||||
|
|
||||||
github-cli = gh;
|
github-cli = gh;
|
||||||
git-absorb = callPackage ../applications/version-management/git-absorb {
|
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
git-absorb = callPackage ../applications/version-management/git-absorb { };
|
||||||
};
|
|
||||||
|
|
||||||
git-annex-metadata-gui = libsForQt5.callPackage ../applications/version-management/git-annex-metadata-gui {
|
git-annex-metadata-gui = libsForQt5.callPackage ../applications/version-management/git-annex-metadata-gui {
|
||||||
inherit (python3Packages) buildPythonApplication pyqt5 git-annex-adapter;
|
inherit (python3Packages) buildPythonApplication pyqt5 git-annex-adapter;
|
||||||
@ -1273,17 +1225,11 @@ with pkgs;
|
|||||||
|
|
||||||
git-archive-all = python3.pkgs.callPackage ../applications/version-management/git-archive-all { };
|
git-archive-all = python3.pkgs.callPackage ../applications/version-management/git-archive-all { };
|
||||||
|
|
||||||
git-branchless = callPackage ../applications/version-management/git-branchless {
|
git-branchless = callPackage ../applications/version-management/git-branchless { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
|
||||||
};
|
|
||||||
|
|
||||||
git-cinnabar = callPackage ../applications/version-management/git-cinnabar {
|
git-cinnabar = callPackage ../applications/version-management/git-cinnabar { };
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
|
||||||
};
|
|
||||||
|
|
||||||
git-cliff = callPackage ../applications/version-management/git-cliff {
|
git-cliff = callPackage ../applications/version-management/git-cliff { };
|
||||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
|
||||||
};
|
|
||||||
|
|
||||||
git-credential-keepassxc = darwin.apple_sdk_11_0.callPackage ../applications/version-management/git-credential-keepassxc {
|
git-credential-keepassxc = darwin.apple_sdk_11_0.callPackage ../applications/version-management/git-credential-keepassxc {
|
||||||
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation;
|
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation;
|
||||||
@ -10574,7 +10520,7 @@ with pkgs;
|
|||||||
|
|
||||||
nghttp3 = callPackage ../development/libraries/nghttp3 { inherit (darwin.apple_sdk.frameworks) CoreServices; };
|
nghttp3 = callPackage ../development/libraries/nghttp3 { inherit (darwin.apple_sdk.frameworks) CoreServices; };
|
||||||
|
|
||||||
ngtcp2 = callPackage ../development/libraries/ngtcp2 { inherit (darwin.apple_sdk.frameworks) CoreServices; };
|
ngtcp2 = callPackage ../development/libraries/ngtcp2 { };
|
||||||
ngtcp2-gnutls = callPackage ../development/libraries/ngtcp2/gnutls.nix { };
|
ngtcp2-gnutls = callPackage ../development/libraries/ngtcp2/gnutls.nix { };
|
||||||
|
|
||||||
non = callPackage ../applications/audio/non {
|
non = callPackage ../applications/audio/non {
|
||||||
@ -16926,6 +16872,8 @@ with pkgs;
|
|||||||
|
|
||||||
heroic = callPackage ../games/heroic/fhsenv.nix { };
|
heroic = callPackage ../games/heroic/fhsenv.nix { };
|
||||||
|
|
||||||
|
pmars-x11 = pmars.override { enableXwinGraphics = true; };
|
||||||
|
|
||||||
wipeout-rewrite = callPackage ../games/wipeout-rewrite {
|
wipeout-rewrite = callPackage ../games/wipeout-rewrite {
|
||||||
inherit (darwin.apple_sdk.frameworks) Foundation;
|
inherit (darwin.apple_sdk.frameworks) Foundation;
|
||||||
};
|
};
|
||||||
|
@ -10172,6 +10172,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
picobox = callPackage ../development/python-modules/picobox { };
|
picobox = callPackage ../development/python-modules/picobox { };
|
||||||
|
|
||||||
|
picologging = callPackage ../development/python-modules/picologging { };
|
||||||
|
|
||||||
picos = callPackage ../development/python-modules/picos { };
|
picos = callPackage ../development/python-modules/picos { };
|
||||||
|
|
||||||
picosvg = callPackage ../development/python-modules/picosvg { };
|
picosvg = callPackage ../development/python-modules/picosvg { };
|
||||||
@ -10742,6 +10744,8 @@ self: super: with self; {
|
|||||||
|
|
||||||
polyline = callPackage ../development/python-modules/polyline { };
|
polyline = callPackage ../development/python-modules/polyline { };
|
||||||
|
|
||||||
|
polyfactory = callPackage ../development/python-modules/polyfactory { };
|
||||||
|
|
||||||
polygon3 = callPackage ../development/python-modules/polygon3 { };
|
polygon3 = callPackage ../development/python-modules/polygon3 { };
|
||||||
|
|
||||||
polyswarm-api = callPackage ../development/python-modules/polyswarm-api { };
|
polyswarm-api = callPackage ../development/python-modules/polyswarm-api { };
|
||||||
|
Loading…
Reference in New Issue
Block a user