Merge staging-next into staging
This commit is contained in:
commit
602e1b2392
|
@ -516,38 +516,53 @@ sub addEntry {
|
|||
$conf .= "}\n\n";
|
||||
}
|
||||
|
||||
sub addGeneration {
|
||||
my ($name, $nameSuffix, $path, $options, $current) = @_;
|
||||
|
||||
# Do not search for grand children
|
||||
my @links = sort (glob "$path/specialisation/*");
|
||||
|
||||
if ($current != 1 && scalar(@links) != 0) {
|
||||
$conf .= "submenu \"> $name$nameSuffix\" --class submenu {\n";
|
||||
}
|
||||
|
||||
addEntry("$name" . (scalar(@links) == 0 ? "" : " - Default") . $nameSuffix, $path, $options, $current);
|
||||
|
||||
# Find all the children of the current default configuration
|
||||
# Do not search for grand children
|
||||
foreach my $link (@links) {
|
||||
|
||||
my $entryName = "";
|
||||
|
||||
my $cfgName = readFile("$link/configuration-name");
|
||||
|
||||
my $date = strftime("%F", localtime(lstat($link)->mtime));
|
||||
my $version =
|
||||
-e "$link/nixos-version"
|
||||
? readFile("$link/nixos-version")
|
||||
: basename((glob(dirname(Cwd::abs_path("$link/kernel")) . "/lib/modules/*"))[0]);
|
||||
|
||||
if ($cfgName) {
|
||||
$entryName = $cfgName;
|
||||
} else {
|
||||
my $linkname = basename($link);
|
||||
$entryName = "($linkname - $date - $version)";
|
||||
}
|
||||
addEntry("$name - $entryName", $link, "", 1);
|
||||
}
|
||||
|
||||
if ($current != 1 && scalar(@links) != 0) {
|
||||
$conf .= "}\n";
|
||||
}
|
||||
}
|
||||
|
||||
# Add default entries.
|
||||
$conf .= "$extraEntries\n" if $extraEntriesBeforeNixOS;
|
||||
|
||||
addEntry("@distroName@ - Default", $defaultConfig, $entryOptions, 1);
|
||||
addGeneration("@distroName@", "", $defaultConfig, $entryOptions, 1);
|
||||
|
||||
$conf .= "$extraEntries\n" unless $extraEntriesBeforeNixOS;
|
||||
|
||||
# Find all the children of the current default configuration
|
||||
# Do not search for grand children
|
||||
my @links = sort (glob "$defaultConfig/specialisation/*");
|
||||
foreach my $link (@links) {
|
||||
|
||||
my $entryName = "";
|
||||
|
||||
my $cfgName = readFile("$link/configuration-name");
|
||||
|
||||
my $date = strftime("%F", localtime(lstat($link)->mtime));
|
||||
my $version =
|
||||
-e "$link/nixos-version"
|
||||
? readFile("$link/nixos-version")
|
||||
: basename((glob(dirname(Cwd::abs_path("$link/kernel")) . "/lib/modules/*"))[0]);
|
||||
|
||||
if ($cfgName) {
|
||||
$entryName = $cfgName;
|
||||
} else {
|
||||
my $linkname = basename($link);
|
||||
$entryName = "($linkname - $date - $version)";
|
||||
}
|
||||
addEntry("@distroName@ - $entryName", $link, "", 1);
|
||||
}
|
||||
|
||||
my $grubBootPath = $grubBoot->path;
|
||||
# extraEntries could refer to @bootRoot@, which we have to substitute
|
||||
$conf =~ s/\@bootRoot\@/$grubBootPath/g;
|
||||
|
@ -577,7 +592,7 @@ sub addProfile {
|
|||
-e "$link/nixos-version"
|
||||
? readFile("$link/nixos-version")
|
||||
: basename((glob(dirname(Cwd::abs_path("$link/kernel")) . "/lib/modules/*"))[0]);
|
||||
addEntry("@distroName@ - Configuration " . nrFromGen($link) . " ($date - $version)", $link, $subEntryOptions, 0);
|
||||
addGeneration("@distroName@ - Configuration " . nrFromGen($link), " ($date - $version)", $link, $subEntryOptions, 0);
|
||||
}
|
||||
|
||||
$conf .= "}\n";
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "eartag";
|
||||
version = "0.4.2";
|
||||
version = "0.4.3";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
|
@ -26,7 +26,7 @@ python3Packages.buildPythonApplication rec {
|
|||
owner = "World";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-sLnZPn4pi+sRcDW0f5NHiZaxmnf9xGZnbKYWrCNQsY4=";
|
||||
hash = "sha256-0nkaKLkUnJiNTs7/qe+c4Lkst/ItHD1RKAERCo2O2ms=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
|
|
@ -11,7 +11,7 @@ buildGoModule rec {
|
|||
hash = "sha256-7f9+4Fzw5B5ATuud4MJC3iyuNRTx6kwJ7/KsusGtQM8=";
|
||||
};
|
||||
|
||||
vendorSha256 = "h9Zj3zmQ0Xpili5Pl6CXh1L0bb2uL1//B79I4/ron08=";
|
||||
vendorHash = "sha256-h9Zj3zmQ0Xpili5Pl6CXh1L0bb2uL1//B79I4/ron08=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/m00qek/swaynag-battery";
|
||||
|
|
|
@ -146,11 +146,11 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"baiducloud": {
|
||||
"hash": "sha256-NW3q+1132gBlyFDsqZyHoZzhljF+T9ZmVMfy8B4BsuQ=",
|
||||
"hash": "sha256-yV5NgymZesYE/RhXccTE2Qdf7bHO35qAI+QdPYPUPDM=",
|
||||
"homepage": "https://registry.terraform.io/providers/baidubce/baiducloud",
|
||||
"owner": "baidubce",
|
||||
"repo": "terraform-provider-baiducloud",
|
||||
"rev": "v1.19.12",
|
||||
"rev": "v1.19.13",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
|
@ -363,13 +363,13 @@
|
|||
"vendorHash": "sha256-oVTanZpCWs05HwyIKW2ajiBPz1HXOFzBAt5Us+EtTRw="
|
||||
},
|
||||
"equinix": {
|
||||
"hash": "sha256-lo3DxEXa0nSm+KXBmWwulyNNsctrFvZJLHVJ087BsoU=",
|
||||
"hash": "sha256-MEsE1OQwKjd1Y+Ek7UmZMbLq4x84iQW40sMl78UbW2c=",
|
||||
"homepage": "https://registry.terraform.io/providers/equinix/equinix",
|
||||
"owner": "equinix",
|
||||
"repo": "terraform-provider-equinix",
|
||||
"rev": "v1.14.6",
|
||||
"rev": "v1.14.7",
|
||||
"spdx": "MIT",
|
||||
"vendorHash": "sha256-7a90fzAU76QRXkSa+G/N3kMPP8jy68i72i2JSlUrvfc="
|
||||
"vendorHash": "sha256-cfJG0DJJJX85ISz7dSZ+di1uhgJJd5xUH99PhqGMPgw="
|
||||
},
|
||||
"exoscale": {
|
||||
"hash": "sha256-93pCsHrsYLJYgg8MXHz2Gg+vaPC9gcHdLastb89/BMg=",
|
||||
|
@ -454,22 +454,22 @@
|
|||
"vendorHash": "sha256-AVTWTS16d8QsPLLAJeAfgcVDzUBMp+b2oAphaCBqhS0="
|
||||
},
|
||||
"google": {
|
||||
"hash": "sha256-11iT/zjoSScSdLGWFPxEURiIBvcz5jK8QZAHdqRwHD0=",
|
||||
"hash": "sha256-tfjrVWj+l9mNdgZ+unu4NW15OAOzViTVmSTzO/ZiqRE=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/google",
|
||||
"owner": "hashicorp",
|
||||
"proxyVendor": true,
|
||||
"repo": "terraform-provider-google",
|
||||
"rev": "v4.78.0",
|
||||
"rev": "v4.79.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-lyOupw64LQvdTJZjJ1RvAn1JLDHAZ4qAaagASXHcEXA="
|
||||
},
|
||||
"google-beta": {
|
||||
"hash": "sha256-dKB9rdMZP+Ln3M9bL7MC6RGlDXZ/IydD4g5Jp1jjEh4=",
|
||||
"hash": "sha256-70Za/CGYv5HkkXMYtnIHzliW1551ZGF/L05RQtCtjHM=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/google-beta",
|
||||
"owner": "hashicorp",
|
||||
"proxyVendor": true,
|
||||
"repo": "terraform-provider-google-beta",
|
||||
"rev": "v4.78.0",
|
||||
"rev": "v4.79.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-lyOupw64LQvdTJZjJ1RvAn1JLDHAZ4qAaagASXHcEXA="
|
||||
},
|
||||
|
@ -583,11 +583,11 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"ibm": {
|
||||
"hash": "sha256-FxMBZQYYSOq1Y5jm+HPIsVA1RMv8jhPWIKHd9HV/f3g=",
|
||||
"hash": "sha256-z3k4H4eP5NMufkHaEUIQBQUybpEcfkUO0k3pEMvMPFQ=",
|
||||
"homepage": "https://registry.terraform.io/providers/IBM-Cloud/ibm",
|
||||
"owner": "IBM-Cloud",
|
||||
"repo": "terraform-provider-ibm",
|
||||
"rev": "v1.56.0",
|
||||
"rev": "v1.56.1",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-djpo+9BxWUptKRephw0by4xtPABEjsnCqwcbZoRNIug="
|
||||
},
|
||||
|
@ -619,13 +619,13 @@
|
|||
"vendorHash": "sha256-OMDMpL9ox6tI9tkoSU0oVuFzRObmUGgGQy6RtsNbyIg="
|
||||
},
|
||||
"kafka": {
|
||||
"hash": "sha256-IG0xgMs0j2jRJBa52Wsx7/r4s9DRnw5b+AfYpZAewxI=",
|
||||
"hash": "sha256-cWFPuKU7CQU8TYy125N88saBGPkrGa+7mKLi3TlnM2I=",
|
||||
"homepage": "https://registry.terraform.io/providers/Mongey/kafka",
|
||||
"owner": "Mongey",
|
||||
"repo": "terraform-provider-kafka",
|
||||
"rev": "v0.5.3",
|
||||
"rev": "v0.5.4",
|
||||
"spdx": "MIT",
|
||||
"vendorHash": "sha256-Z5APR41/+MsrHAtpTZKnG0qTi1+JSBJbPTVxNpd6f84="
|
||||
"vendorHash": "sha256-gWomOX/NaYdcqspquqpRjqGnzLRY3iIUJALACf78TV8="
|
||||
},
|
||||
"kafka-connect": {
|
||||
"hash": "sha256-PiSVfzNPEXAgONb/eaVAN4yPudn5glcHL0BLqE5PWsw=",
|
||||
|
@ -899,11 +899,11 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"pagerduty": {
|
||||
"hash": "sha256-pMim8Bjjtuysdd4LgsV4+JPjEMw+3bF8vOKIBJVSScY=",
|
||||
"hash": "sha256-kVz63aXl03p6T22WPB9PuZm+QllGxJNt3fDZ1H64dqw=",
|
||||
"homepage": "https://registry.terraform.io/providers/PagerDuty/pagerduty",
|
||||
"owner": "PagerDuty",
|
||||
"repo": "terraform-provider-pagerduty",
|
||||
"rev": "v2.15.3",
|
||||
"rev": "v2.16.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": null
|
||||
},
|
||||
|
@ -980,13 +980,13 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"scaleway": {
|
||||
"hash": "sha256-xllc6uQN0Pjak/8eFNWCn639Kpf2UQPoDUPnX9YhoOc=",
|
||||
"hash": "sha256-YARTRjmrweBJAa5PAWZ/2yayBa9Q09vp1AgVJNxB53Q=",
|
||||
"homepage": "https://registry.terraform.io/providers/scaleway/scaleway",
|
||||
"owner": "scaleway",
|
||||
"repo": "terraform-provider-scaleway",
|
||||
"rev": "v2.26.0",
|
||||
"rev": "v2.27.0",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-39MrDm4v7UIYDK/KNt9ES0SstkxEQ73CHvnxpZq1K5g="
|
||||
"vendorHash": "sha256-TiR7t6RaaLT+1gqgdq/Dsegft3dqv7xwFAeeT6pNRbM="
|
||||
},
|
||||
"secret": {
|
||||
"hash": "sha256-MmAnA/4SAPqLY/gYcJSTnEttQTsDd2kEdkQjQj6Bb+A=",
|
||||
|
@ -1043,13 +1043,13 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"snowflake": {
|
||||
"hash": "sha256-gz41dRmJQm4cH7VhrEznir7IRA9+hGMjYzsOyQtNuG0=",
|
||||
"hash": "sha256-v4rpdOsEYy0coZUq7frvF+IVLhI3Vz8Q6fk4koFg9a4=",
|
||||
"homepage": "https://registry.terraform.io/providers/Snowflake-Labs/snowflake",
|
||||
"owner": "Snowflake-Labs",
|
||||
"repo": "terraform-provider-snowflake",
|
||||
"rev": "v0.69.0",
|
||||
"rev": "v0.70.0",
|
||||
"spdx": "MIT",
|
||||
"vendorHash": "sha256-ZNkZ2GMSBZHz+L626VqT7pTeb8fSYkaCi84O5ggd1FM="
|
||||
"vendorHash": "sha256-7jB1p6+EVUp03Bw7AyL8jH/n1tslkPmK7FIqFbde1n4="
|
||||
},
|
||||
"sops": {
|
||||
"hash": "sha256-D1Yzs8hDimMP9y8ZRbizEhic3vGtLcZjOVSuSMUAqPk=",
|
||||
|
@ -1243,13 +1243,13 @@
|
|||
"vendorHash": null
|
||||
},
|
||||
"vsphere": {
|
||||
"hash": "sha256-lWMtsBRAirNI7dNXI7APzS1AbPmkz5fsbpCdd/0XBRc=",
|
||||
"hash": "sha256-Tvc3+HVsrD2CgfRVqfcF7DtszI+s7HrIgP2wiImqOXo=",
|
||||
"homepage": "https://registry.terraform.io/providers/hashicorp/vsphere",
|
||||
"owner": "hashicorp",
|
||||
"repo": "terraform-provider-vsphere",
|
||||
"rev": "v2.4.1",
|
||||
"rev": "v2.4.2",
|
||||
"spdx": "MPL-2.0",
|
||||
"vendorHash": "sha256-wKKrBSJkbdqqnDLoS+jhvI26rOzvMWjjsN8wh67Le5U="
|
||||
"vendorHash": "sha256-MrDY1zx4aXKRGmhTPMLnIVBAJh+szdL6rH0m0amlYS8="
|
||||
},
|
||||
"vultr": {
|
||||
"hash": "sha256-h9MQv4BTv9y4A6HSDE3dIV7aKwaIWRYy5EyE2T0mpG4=",
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "deepin-editor";
|
||||
version = "6.0.10";
|
||||
version = "6.0.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linuxdeepin";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-NevylvfeoT69i1AFJTypSfJKEd38uSXwGm9doRrZ2TI=";
|
||||
hash = "sha256-OdKEskxrzFo4VOsR2+rsH3G63uqMmsBuXufayHWSQac=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ mkXfceDerivation
|
||||
, gobject-introspection
|
||||
, dbus-glib
|
||||
, garcon
|
||||
, glib
|
||||
|
@ -11,11 +12,16 @@
|
|||
, libxfce4util
|
||||
, libxklavier
|
||||
, pam
|
||||
, python3
|
||||
, systemd
|
||||
, xfconf
|
||||
, lib
|
||||
}:
|
||||
|
||||
let
|
||||
# For xfce4-screensaver-configure
|
||||
pythonEnv = python3.withPackages (pp: [ pp.pygobject3 ]);
|
||||
in
|
||||
mkXfceDerivation {
|
||||
category = "apps";
|
||||
pname = "xfce4-screensaver";
|
||||
|
@ -23,6 +29,10 @@ mkXfceDerivation {
|
|||
|
||||
sha256 = "sha256-j5K5i+hl/miyHste73akZL62K6YTxXmN8mmFK9BCecs=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
dbus-glib
|
||||
garcon
|
||||
|
@ -36,6 +46,7 @@ mkXfceDerivation {
|
|||
libxfce4util
|
||||
libxklavier
|
||||
pam
|
||||
pythonEnv
|
||||
systemd
|
||||
xfconf
|
||||
];
|
||||
|
|
|
@ -2,17 +2,21 @@
|
|||
# Run addOpenGLRunpath on all dynamically linked, ELF files
|
||||
echo "Sourcing auto-add-opengl-runpath-hook"
|
||||
|
||||
elfHasDynamicSection() {
|
||||
patchelf --print-rpath "$1" >& /dev/null
|
||||
}
|
||||
|
||||
autoAddOpenGLRunpathPhase() (
|
||||
local outputPaths
|
||||
mapfile -t outputPaths < <(for o in $(getAllOutputNames); do echo "${!o}"; done)
|
||||
find "${outputPaths[@]}" -type f -executable -print0 | while IFS= read -rd "" f; do
|
||||
if isELF "$f"; then
|
||||
# patchelf returns an error on statically linked ELF files
|
||||
if patchelf --print-interpreter "$f" >/dev/null 2>&1; then
|
||||
if elfHasDynamicSection "$f" ; then
|
||||
echo "autoAddOpenGLRunpathHook: patching $f"
|
||||
addOpenGLRunpath "$f"
|
||||
elif [ -n "${DEBUG-}" ]; then
|
||||
echo "autoAddOpenGLRunpathHook: skipping ELF file $f"
|
||||
elif (( "${NIX_DEBUG:-0}" >= 1 )) ; then
|
||||
echo "autoAddOpenGLRunpathHook: skipping a statically-linked ELF file $f"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
|
|
@ -9,6 +9,7 @@ let
|
|||
useLLVM = stdenv.hostPlatform.useLLVM or false;
|
||||
bareMetal = stdenv.hostPlatform.parsed.kernel.name == "none";
|
||||
haveLibc = stdenv.cc.libc != null;
|
||||
isDarwinStatic = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isStatic;
|
||||
inherit (stdenv.hostPlatform) isMusl isGnu;
|
||||
|
||||
baseName = "compiler-rt";
|
||||
|
@ -41,7 +42,7 @@ stdenv.mkDerivation {
|
|||
"-DCMAKE_ASM_COMPILER_TARGET=${stdenv.hostPlatform.config}"
|
||||
] ++ lib.optionals (haveLibc && stdenv.hostPlatform.libc == "glibc") [
|
||||
"-DSANITIZER_COMMON_CFLAGS=-I${libxcrypt}/include"
|
||||
] ++ lib.optionals (useLLVM || bareMetal || isMusl) [
|
||||
] ++ lib.optionals (useLLVM || bareMetal || isMusl || isDarwinStatic) [
|
||||
"-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
|
||||
"-DCOMPILER_RT_BUILD_XRAY=OFF"
|
||||
"-DCOMPILER_RT_BUILD_LIBFUZZER=OFF"
|
||||
|
@ -49,9 +50,10 @@ stdenv.mkDerivation {
|
|||
"-DCOMPILER_RT_BUILD_ORC=OFF" # may be possible to build with musl if necessary
|
||||
] ++ lib.optionals (useLLVM || bareMetal) [
|
||||
"-DCOMPILER_RT_BUILD_PROFILE=OFF"
|
||||
] ++ lib.optionals ((useLLVM && !haveLibc) || bareMetal || isDarwinStatic ) [
|
||||
"-DCMAKE_CXX_COMPILER_WORKS=ON"
|
||||
] ++ lib.optionals ((useLLVM && !haveLibc) || bareMetal) [
|
||||
"-DCMAKE_C_COMPILER_WORKS=ON"
|
||||
"-DCMAKE_CXX_COMPILER_WORKS=ON"
|
||||
"-DCOMPILER_RT_BAREMETAL_BUILD=ON"
|
||||
"-DCMAKE_SIZEOF_VOID_P=${toString (stdenv.hostPlatform.parsed.cpu.bits / 8)}"
|
||||
] ++ lib.optionals (useLLVM && !haveLibc) [
|
||||
|
@ -63,6 +65,7 @@ stdenv.mkDerivation {
|
|||
] ++ lib.optionals (bareMetal) [
|
||||
"-DCOMPILER_RT_OS_DIR=baremetal"
|
||||
] ++ lib.optionals (stdenv.hostPlatform.isDarwin) [
|
||||
"-DCMAKE_LIPO=${lib.getBin stdenv.cc.bintools.bintools}/bin/${stdenv.cc.targetPrefix}lipo"
|
||||
"-DDARWIN_macosx_OVERRIDE_SDK_VERSION=ON"
|
||||
"-DDARWIN_osx_ARCHS=${stdenv.hostPlatform.darwinArch}"
|
||||
"-DDARWIN_osx_BUILTIN_ARCHS=${stdenv.hostPlatform.darwinArch}"
|
||||
|
|
|
@ -316,7 +316,7 @@ in let
|
|||
|
||||
compiler-rt-libc = callPackage ./compiler-rt {
|
||||
inherit llvm_meta;
|
||||
stdenv = if stdenv.hostPlatform.useLLVM or false
|
||||
stdenv = if stdenv.hostPlatform.useLLVM or false || (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isStatic)
|
||||
then overrideCC stdenv buildLlvmTools.clangNoCompilerRtWithLibc
|
||||
else stdenv;
|
||||
};
|
||||
|
@ -329,7 +329,7 @@ in let
|
|||
};
|
||||
|
||||
# N.B. condition is safe because without useLLVM both are the same.
|
||||
compiler-rt = if stdenv.hostPlatform.isAndroid
|
||||
compiler-rt = if stdenv.hostPlatform.isAndroid || stdenv.hostPlatform.isDarwin
|
||||
then libraries.compiler-rt-libc
|
||||
else libraries.compiler-rt-no-libc;
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
homepage = "https://ziglang.org/";
|
||||
changelog = "https://ziglang.org/download/${finalAttrs.version}/release-notes.html";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ andrewrk ] ++ lib.teams.zig.members;
|
||||
maintainers = [ lib.maintainers.andrewrk ] ++ lib.teams.zig.members;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
} // removeAttrs args [ "hash" ])
|
||||
|
|
|
@ -10,10 +10,13 @@ makeSetupHook {
|
|||
|
||||
substitutions = {
|
||||
zig_default_flags =
|
||||
if lib.versionAtLeast zig.version "0.11" then
|
||||
"-Doptimize=ReleaseSafe -Dcpu=baseline"
|
||||
else
|
||||
"-Drelease-safe=true -Dcpu=baseline";
|
||||
let
|
||||
cpu = "-Dcpu=baseline";
|
||||
releaseType = if lib.versionAtLeast zig.version "0.11"
|
||||
then "-Doptimize=ReleaseSafe"
|
||||
else "-Drelease-safe=true";
|
||||
in
|
||||
lib.concatStringsSep " " [ cpu releaseType ];
|
||||
};
|
||||
|
||||
passthru = { inherit zig; };
|
||||
|
|
|
@ -2,9 +2,10 @@
|
|||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "zig-shell-completions";
|
||||
version = "unstable-2023-08-17";
|
||||
|
||||
|
@ -29,11 +30,13 @@ stdenv.mkDerivation rec {
|
|||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/ziglang/shell-completions";
|
||||
description = "Shell completions for the Zig compiler";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ aaronjheng ];
|
||||
platforms = platforms.all;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ aaronjheng ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
let
|
||||
base = (callPackage ./generic.nix (_args // {
|
||||
version = "8.3.0beta2";
|
||||
version = "8.3.0beta3";
|
||||
hash = null;
|
||||
})).overrideAttrs (oldAttrs: {
|
||||
src = fetchurl {
|
||||
url = "https://downloads.php.net/~jakub/php-8.3.0beta2.tar.xz";
|
||||
hash = "sha256-ND1OlmSMtBxTE/0qfgy3Cz/gF08eIzydU2W/eKg58wQ=";
|
||||
url = "https://downloads.php.net/~eric/php-8.3.0beta3.tar.xz";
|
||||
hash = "sha256-XW3t9BOsBFvThYXF66faVl8VyMLFB+Oi7h45vWUmE6Y=";
|
||||
};
|
||||
});
|
||||
in
|
||||
|
|
|
@ -5,10 +5,11 @@
|
|||
|
||||
# build time
|
||||
, astropy-extension-helpers
|
||||
, astropy-helpers
|
||||
, cython
|
||||
, jinja2
|
||||
, oldest-supported-numpy
|
||||
, setuptools-scm
|
||||
, wheel
|
||||
|
||||
# runtime
|
||||
, numpy
|
||||
|
@ -32,14 +33,18 @@ buildPythonPackage {
|
|||
hash = "sha256-9q4noHf46oSQPvp2x5C5hWFzQaAISw0hw5H3o/MyrCM=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'cython==' 'cython>='
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
astropy-extension-helpers
|
||||
astropy-helpers
|
||||
cython
|
||||
jinja2
|
||||
oldest-supported-numpy
|
||||
setuptools-scm
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "dvc-objects";
|
||||
version = "1.0.0";
|
||||
version = "1.0.1";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
@ -25,7 +25,7 @@ buildPythonPackage rec {
|
|||
owner = "iterative";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-9R1fhRwGYkwykiTnddjIJHmJxMcpwS+a9hgqBzFyJeM=";
|
||||
hash = "sha256-mpYSlddzYIUZctF3kGWQWT+kxshIdAckVvaXWuyJnlw=";
|
||||
};
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycocotools";
|
||||
version = "2.0.6";
|
||||
version = "2.0.7";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-f+CJsFzBjoBtzzvXZHCNhtq5IqEA83NOt3+3enCh0Yw=";
|
||||
hash = "sha256-2ot4FRlu6/Ctq/Z/zEWRJsvGSYu8arH9FEw3FGXYaHk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydeps";
|
||||
version = "1.12.13";
|
||||
version = "1.12.17";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
|||
owner = "thebjorn";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-n4FmMqpCqxPmGJokfaxnruG9d5oodv6Yfg80Y1EIr34=";
|
||||
hash = "sha256-DVSZeNuDz/y0jh/HimV+jFgNFevMhUKOu6EhZytMMqQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
, cryptography
|
||||
, defusedxml
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, importlib-resources
|
||||
, poetry-core
|
||||
, pyasn1
|
||||
|
@ -21,18 +20,9 @@
|
|||
, xmlsec
|
||||
}:
|
||||
|
||||
let
|
||||
pymongo3 = pymongo.overridePythonAttrs(old: rec {
|
||||
version = "3.12.3";
|
||||
src = fetchPypi {
|
||||
pname = "pymongo";
|
||||
inherit version;
|
||||
hash = "sha256-ConK3ABipeU2ZN3gQ/bAlxcrjBxfAJRJAJUoL/mZWl8=";
|
||||
};
|
||||
});
|
||||
in buildPythonPackage rec {
|
||||
buildPythonPackage rec {
|
||||
pname = "pysaml2";
|
||||
version = "7.4.1";
|
||||
version = "7.4.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
@ -40,10 +30,22 @@ in buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "IdentityPython";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-QHAbm6u5oH3O7MEVFE+sW98raquv89KJ8gonk3Yyu/0=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-f8qd1Mfy32CYH9/PshfMMBviDg7OhOPlwz69bPjlYbg=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./hardcode-xmlsec1-path.patch;
|
||||
inherit xmlsec;
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Fix failing tests on systems with 32bit time_t
|
||||
sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
@ -63,23 +65,11 @@ in buildPythonPackage rec {
|
|||
|
||||
nativeCheckInputs = [
|
||||
pyasn1
|
||||
pymongo3
|
||||
pymongo
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./hardcode-xmlsec1-path.patch;
|
||||
inherit xmlsec;
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# fix failing tests on systems with 32bit time_t
|
||||
sed -i 's/2999\(-.*T\)/2029\1/g' tests/*.xml
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# Disabled tests try to access the network
|
||||
"test_load_extern_incommon"
|
||||
|
@ -95,6 +85,7 @@ in buildPythonPackage rec {
|
|||
meta = with lib; {
|
||||
description = "Python implementation of SAML Version 2 Standard";
|
||||
homepage = "https://github.com/IdentityPython/pysaml2";
|
||||
changelog = "https://github.com/IdentityPython/pysaml2/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
diff --git a/skimage/data/setup.py b/skimage/data/setup.py
|
||||
index 528e9c284ce..ba0e155559c 100644
|
||||
--- a/skimage/data/setup.py
|
||||
+++ b/skimage/data/setup.py
|
||||
@@ -11,7 +11,11 @@ def configuration(parent_package='', top_path=None):
|
||||
# further notice.
|
||||
# Testing data and additional datasets should only
|
||||
# be made available via pooch
|
||||
- config.add_data_files(*legacy_datasets)
|
||||
+ # Nix patch: add ALL images to facilitate testing of a fully-built package
|
||||
+ from pathlib import Path
|
||||
+ config.add_data_files(
|
||||
+ *(path.name for path in Path(__file__).parent.glob("*") if path.suffix != ".py")
|
||||
+ )
|
||||
# It seems hard to create a consistent hash for README.txt since
|
||||
# the line endings keep getting converted
|
||||
config.add_data_files('README.txt')
|
|
@ -3,53 +3,98 @@
|
|||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, python
|
||||
, cython
|
||||
, pythran
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
, networkx
|
||||
, six
|
||||
, pillow
|
||||
, pywavelets
|
||||
, dask
|
||||
, pythonOlder
|
||||
, astropy
|
||||
, cloudpickle
|
||||
, cython
|
||||
, dask
|
||||
, imageio
|
||||
, tifffile
|
||||
, lazy-loader
|
||||
, matplotlib
|
||||
, meson-python
|
||||
, networkx
|
||||
, numpy
|
||||
, packaging
|
||||
, pillow
|
||||
, pooch
|
||||
, pyamg
|
||||
, pytestCheckHook
|
||||
, pythran
|
||||
, pywavelets
|
||||
, scikit-learn
|
||||
, scipy
|
||||
, setuptools
|
||||
, simpleitk
|
||||
, six
|
||||
, tifffile
|
||||
, wheel
|
||||
}:
|
||||
|
||||
let
|
||||
installedPackageRoot = "${builtins.placeholder "out"}/${python.sitePackages}";
|
||||
self = buildPythonPackage rec {
|
||||
pname = "scikit-image";
|
||||
version = "0.19.3";
|
||||
version = "0.21.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
owner = "scikit-image";
|
||||
repo = "scikit-image";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-zvXgZdvYycFbbMsBFSqMDzLanEtF9+JuVSQ3AM8/LQk=";
|
||||
hash = "sha256-WJ2WNlcFCEtPr+bV/af6MoBBhbXDpOBEsJu4FmudoIo=";
|
||||
};
|
||||
|
||||
patches = [ ./add-testing-data.patch ];
|
||||
patches = [
|
||||
# https://github.com/scikit-image/scikit-image/pull/7052
|
||||
# prepare a patch file because the commit contains additional changes
|
||||
./suppress-deprecation-warning.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cython pythran ];
|
||||
postPatch = ''
|
||||
patchShebangs skimage/_build_utils/{version,cythoner}.py
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
meson-python
|
||||
numpy
|
||||
packaging
|
||||
pythran
|
||||
setuptools
|
||||
wheel
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cloudpickle
|
||||
dask
|
||||
imageio
|
||||
lazy-loader
|
||||
matplotlib
|
||||
networkx
|
||||
numpy
|
||||
packaging
|
||||
pillow
|
||||
pywavelets
|
||||
scipy
|
||||
six
|
||||
tifffile
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
data = [
|
||||
pooch
|
||||
];
|
||||
optional = [
|
||||
astropy
|
||||
cloudpickle
|
||||
dask
|
||||
matplotlib
|
||||
pooch
|
||||
pyamg
|
||||
scikit-learn
|
||||
simpleitk
|
||||
] ++ dask.optional-dependencies.array;
|
||||
};
|
||||
|
||||
# test suite is very cpu intensive, move to passthru.tests
|
||||
doCheck = false;
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
@ -78,6 +123,10 @@ let
|
|||
"skimage/feature/tests/test_util.py::test_plot_matches"
|
||||
"skimage/filters/tests/test_thresholding.py::TestSimpleImage::test_try_all_threshold"
|
||||
"skimage/io/tests/test_mpl_imshow.py::"
|
||||
] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
|
||||
# https://github.com/scikit-image/scikit-image/issues/7104
|
||||
"skimage/measure/tests/test_fit.py"
|
||||
"skimage/measure/tests/test_moments.py"
|
||||
]);
|
||||
|
||||
# Check cythonized modules
|
||||
|
@ -88,7 +137,6 @@ let
|
|||
"skimage.feature"
|
||||
"skimage.restoration"
|
||||
"skimage.filters"
|
||||
"skimage.future.graph"
|
||||
"skimage.graph"
|
||||
"skimage.io"
|
||||
"skimage.measure"
|
||||
|
@ -105,6 +153,7 @@ let
|
|||
meta = {
|
||||
description = "Image processing routines for SciPy";
|
||||
homepage = "https://scikit-image.org";
|
||||
changelog = "https://github.com/scikit-image/scikit-image/releases/tag/${src.rev}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ yl3dy ];
|
||||
};
|
||||
|
|
|
@ -0,0 +1,30 @@
|
|||
diff --git a/skimage/exposure/tests/test_exposure.py b/skimage/exposure/tests/test_exposure.py
|
||||
index ed8dd6bc8..8ec7d13bf 100644
|
||||
--- a/skimage/exposure/tests/test_exposure.py
|
||||
+++ b/skimage/exposure/tests/test_exposure.py
|
||||
@@ -368,19 +368,16 @@ def test_rescale_nan_warning(in_range, out_range):
|
||||
)
|
||||
|
||||
# 2019/11/10 Passing NaN to np.clip raises a DeprecationWarning for
|
||||
- # versions above 1.17
|
||||
- # TODO: Remove once NumPy removes this DeprecationWarning
|
||||
+ # versions above 1.17, "|\A\Z" marks as optional warning
|
||||
+ # TODO: Remove once NumPy 1.25.0 is minimal dependency
|
||||
numpy_warning_1_17_plus = (
|
||||
- "Passing `np.nan` to mean no clipping in np.clip"
|
||||
+ "|\\A\\ZPassing `np.nan` to mean no clipping in np.clip"
|
||||
)
|
||||
|
||||
- if in_range == "image":
|
||||
- exp_warn = [msg, numpy_warning_1_17_plus]
|
||||
- else:
|
||||
- exp_warn = [msg]
|
||||
+ with expected_warnings([msg, numpy_warning_1_17_plus]):
|
||||
+ result = exposure.rescale_intensity(image, in_range, out_range)
|
||||
|
||||
- with expected_warnings(exp_warn):
|
||||
- exposure.rescale_intensity(image, in_range, out_range)
|
||||
+ assert np.all(np.isnan(result))
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
|
@ -225,7 +225,7 @@ in buildPythonPackage rec {
|
|||
|
||||
# Avoid using pybind11 from git submodule
|
||||
# Also avoids pytorch exporting the headers of pybind11
|
||||
USE_SYSTEM_BIND11 = true;
|
||||
USE_SYSTEM_PYBIND11 = true;
|
||||
|
||||
preBuild = ''
|
||||
export MAX_JOBS=$NIX_BUILD_CORES
|
||||
|
|
|
@ -5,20 +5,19 @@
|
|||
, yt-dlp
|
||||
, docopt
|
||||
, pythonOlder
|
||||
, urllib3
|
||||
, pythonRelaxDepsHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tubeup";
|
||||
version = "2023.8.17";
|
||||
version = "2023.8.19";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-nL0oXI06qH0K0LLlrT/jdJ+76ZPMUhaFfOYGi71M3PM=";
|
||||
sha256 = "sha256-0atpOUJIfXgw/5fi5w2ciAFDMgWmVH4U8d84zwLCRXk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -28,12 +27,10 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [
|
||||
internetarchive
|
||||
docopt
|
||||
urllib3
|
||||
yt-dlp
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"urllib3"
|
||||
"docopt"
|
||||
];
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
let
|
||||
pname = "bootstrap-studio";
|
||||
version = "6.2.1";
|
||||
version = "6.4.5";
|
||||
src = fetchurl {
|
||||
url = "https://bootstrapstudio.io/releases/desktop/${version}/Bootstrap%20Studio.AppImage";
|
||||
sha256 = "sha256-1+3YCM1K2k1Gga7Y2ciMqmwzxYJQ7Ab5uDHP1iHXK7g=";
|
||||
url = "https://releases.bootstrapstudio.io/${version}/Bootstrap%20Studio.AppImage";
|
||||
sha256 = "sha256-kCMqDNRC3H3WBpDJCBXBxvWRuiGCrZ7gRGghXiGtGq8=";
|
||||
};
|
||||
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
||||
in
|
||||
|
|
6
pkgs/games/quake3/ioquake/Makefile.local
Normal file
6
pkgs/games/quake3/ioquake/Makefile.local
Normal file
|
@ -0,0 +1,6 @@
|
|||
USE_CURL = 1
|
||||
USE_CURL_DLOPEN = 0
|
||||
USE_FREETYPE = 1
|
||||
USE_INTERNAL_LIBS = 0
|
||||
USE_OPENAL = 1
|
||||
USE_OPENAL_DLOPEN = 0
|
|
@ -16,6 +16,7 @@
|
|||
, libjpeg
|
||||
, makeDesktopItem
|
||||
, freetype
|
||||
, mumble
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
@ -47,11 +48,14 @@ stdenv.mkDerivation {
|
|||
libvorbis
|
||||
libjpeg
|
||||
freetype
|
||||
mumble
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
makeFlags = [ "USE_INTERNAL_LIBS=0" "USE_FREETYPE=1" "USE_OPENAL_DLOPEN=0" "USE_CURL_DLOPEN=0" ];
|
||||
preConfigure = ''
|
||||
cp ${./Makefile.local} ./Makefile.local
|
||||
'';
|
||||
|
||||
installTargets = [ "copyfiles" ];
|
||||
|
||||
|
|
5
pkgs/games/urbanterror/Makefile.local
Normal file
5
pkgs/games/urbanterror/Makefile.local
Normal file
|
@ -0,0 +1,5 @@
|
|||
USE_CURL = 1
|
||||
USE_CURL_DLOPEN = 0
|
||||
USE_FREETYPE = 1
|
||||
USE_OPENAL = 1
|
||||
USE_OPENAL_DLOPEN = 0
|
|
@ -56,15 +56,8 @@ stdenv.mkDerivation {
|
|||
SDL
|
||||
];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
echo "USE_OPENAL = 1" > Makefile.local
|
||||
echo "USE_OPENAL_DLOPEN = 0" >> Makefile.local
|
||||
echo "USE_CURL = 1" >> Makefile.local
|
||||
echo "USE_CURL_DLOPEN = 0" >> Makefile.local
|
||||
|
||||
runHook postConfigure
|
||||
preConfigure = ''
|
||||
cp ${./Makefile.local} ./Makefile.local
|
||||
'';
|
||||
|
||||
installTargets = [ "copyfiles" ];
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
buildDotnetModule rec {
|
||||
pname = "jackett";
|
||||
version = "0.21.635";
|
||||
version = "0.21.674";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha512-KhQUuRJUqnCOLbwhTJiWOHj/yGsdne9TY9qyuE6c7y0gvAdKPE9Xkolt0RV/pjQtr6Hnbw5MaXahHHDOrhkN5Q==";
|
||||
hash = "sha512-sLgTnj1Z/zeAML8B1I40xGuEkyrxYeXVR/Two7vMGP3xmyv/KfssikVu8yFDtA4bdQq9RsLU8GxC74VQKe3txQ==";
|
||||
};
|
||||
|
||||
projectFile = "src/Jackett.Server/Jackett.Server.csproj";
|
||||
|
|
|
@ -4,13 +4,13 @@ let
|
|||
INSTALL_PATH="${placeholder "out"}/share/fzf-tab";
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "zsh-fzf-tab";
|
||||
version = "unstable-2023-05-19";
|
||||
version = "unstable-2023-06-11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Aloxaf";
|
||||
repo = "fzf-tab";
|
||||
rev = "5a81e13792a1eed4a03d2083771ee6e5b616b9ab";
|
||||
sha256 = "sha256-bIlnYKjjOC6h5/Gg7xBg+i2TBk+h82wmHgAJPhzMsek=";
|
||||
rev = "c2b4aa5ad2532cca91f23908ac7f00efb7ff09c9";
|
||||
sha256 = "sha256-gvZp8P3quOtcy1Xtt1LAW1cfZ/zCtnAmnWqcwrKel6w=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
|
|
@ -1,21 +1,22 @@
|
|||
{ lib, stdenv, fetchFromGitHub, libX11, libXext, autoconf }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, libX11, libXext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation {
|
||||
version = "1.2";
|
||||
pname = "numlockx";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rg3";
|
||||
repo = pname;
|
||||
repo = "numlockx";
|
||||
rev = "9159fd3c5717c595dadfcb33b380a85c88406185";
|
||||
sha256 = "1w49fayhwzn5rx0z1q2lrvm7z8jrd34lgb89p853a024bixc3cf2";
|
||||
hash = "sha256-wrHBelxEADUKugmtR8loWaJ/6s5U4PBBz8V+Dr1yifA=";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 libXext autoconf ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Allows to start X with NumLock turned on";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
mainProgram = "numlockx";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "colorpicker";
|
||||
version = "unstable-2018-01-14";
|
||||
version = "unstable-2017-09-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Ancurio";
|
||||
owner = "Jack12816";
|
||||
repo = "colorpicker";
|
||||
rev = "287676947e6e3b5b0cee784aeb1638cf22f0ce17";
|
||||
sha256 = "1kj1dpb79llrfpszraaz6r7ci114zqi5rmqxwsvq2dnnpjxyi29r";
|
||||
rev = "a4455b92fde1dfbac81e7852f171093932154a30";
|
||||
sha256 = "z2asxTIP8WcsWcePmIg0k4bOF2JwkqOxNqSpQv4/a40=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "Click on a pixel on your screen and print its color value in RGB";
|
||||
homepage = "https://github.com/Ancurio/colorpicker";
|
||||
homepage = "https://github.com/Jack12816/colorpicker";
|
||||
maintainers = with maintainers; [ jb55 ];
|
||||
license = licenses.mit;
|
||||
mainProgram = "colorpicker";
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "minio-client";
|
||||
version = "2023-08-08T17-23-59Z";
|
||||
version = "2023-08-15T23-03-09Z";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "minio";
|
||||
repo = "mc";
|
||||
rev = "RELEASE.${version}";
|
||||
sha256 = "sha256-rXYpAidwwd1sa+22r39VAirVCDdhzFRE5qSQNZf65sg=";
|
||||
sha256 = "sha256-vsCbmT6uWy+VA0qx8x9hx3pDSVKiDeXjnnrFRnhm4C8=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-2zBwqwYyE/9R8Ns5kkvu/JxxYyjnEULBnW+ObYnZ40w=";
|
||||
vendorHash = "sha256-xtGXYCmiT7xY9OL8x0tTBP9y8UfzlJ6ZR2DhKOwVgkM=";
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "doppler";
|
||||
version = "3.65.1";
|
||||
version = "3.65.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dopplerhq";
|
||||
repo = "cli";
|
||||
rev = version;
|
||||
sha256 = "sha256-scFjaxUMlKGpO7UQrIS/f1Rsxu4weZ26jRCRmoUBGCs=";
|
||||
sha256 = "sha256-rs+V19YaBvo5U9AAUks/nWl8TYveH8t+/rcQqjtG1gE=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-FOmaK6S61fkzybpDx6qfi6m4e2IaqBpavaFhEgIvmqw=";
|
||||
|
|
Loading…
Reference in a new issue