Merge master into staging-next

This commit is contained in:
github-actions[bot]
2024-11-26 18:04:39 +00:00
committed by GitHub
57 changed files with 809 additions and 1090 deletions
@@ -830,6 +830,8 @@
Note that first solution of the [official FAQ answer](https://cloud.seatable.io/dtable/external-links/7b976c85f504491cbe8e/?tid=0000&vid=0000&row-id=BQhH-2HSQs68Nq2EW91DBA)
is not allowed by the `services.nginx` module's config-checker.
- The new option `boot.binfmt.addEmulatedSystemsToNixSandbox` allows you to skip adding the emulated systems to `nix.settings.extra-platforms`. Now you can emulate foreign binaries locally while only building them on native remote builders.
- The latest available version of Nextcloud is v30 (available as `pkgs.nextcloud30`). The installation logic is as follows:
- If [`services.nextcloud.package`](#opt-services.nextcloud.package) is specified explicitly, this package will be installed (**recommended**)
- If [`system.stateVersion`](#opt-system.stateVersion) is >=24.05, `pkgs.nextcloud29` will be installed by default.
@@ -261,6 +261,7 @@ in
CapabilityBoundingSet = [
"CAP_CHOWN"
"CAP_DAC_OVERRIDE"
"CAP_FOWNER"
"CAP_KILL"
"CAP_SETUID"
"CAP_SETGID"
@@ -52,6 +52,20 @@ in
Disable executing the command from dashboard.
'';
};
disableNat = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Disable NAT penetration.
'';
};
disableSendQuery = lib.mkOption {
type = lib.types.bool;
default = false;
description = ''
Disable sending TCP/ICMP/HTTP requests.
'';
};
skipConnection = lib.mkOption {
type = lib.types.bool;
default = false;
@@ -125,6 +139,8 @@ in
]
++ lib.optional cfg.debug "--debug"
++ lib.optional cfg.disableCommandExecute "--disable-command-execute"
++ lib.optional cfg.disableNat "--disable-nat"
++ lib.optional cfg.disableSendQuery "--disable-send-query"
++ lib.optional (cfg.reportDelay != null) "--report-delay ${toString cfg.reportDelay}"
++ lib.optional (cfg.server != null) "--server ${cfg.server}"
++ lib.optional cfg.skipConnection "--skip-conn"
+11 -1
View File
@@ -279,6 +279,16 @@ in {
type = types.listOf (types.enum (builtins.attrNames magics));
};
addEmulatedSystemsToNixSandbox = mkOption {
type = types.bool;
default = true;
example = false;
description = ''
Whether to add the {option}`boot.binfmt.emulatedSystems` to {option}`nix.settings.extra-platforms`.
Disable this to use remote builders for those platforms, while allowing testing binaries locally.
'';
};
preferStaticEmulators = mkOption {
default = false;
description = ''
@@ -325,7 +335,7 @@ in {
interpreterSandboxPath = mkDefault (dirOf (dirOf config.interpreter));
} // (magics.${system} or (throw "Cannot create binfmt registration for system ${system}")));
}) cfg.emulatedSystems);
nix.settings = lib.mkIf (cfg.emulatedSystems != []) {
nix.settings = lib.mkIf (cfg.addEmulatedSystemsToNixSandbox && cfg.emulatedSystems != []) {
extra-platforms = cfg.emulatedSystems ++ lib.optional pkgs.stdenv.hostPlatform.isx86_64 "i686-linux";
extra-sandbox-paths = let
ruleFor = system: cfg.registrations.${system};
+2 -2
View File
@@ -5,7 +5,7 @@
# input plugins
, libmad, taglib, libvorbis, libogg, flac, libmpcdec, libmodplug, libsndfile
, libcdio, cdparanoia, libcddb, faad2, ffmpeg, wildmidi, libbs2b, game-music-emu
, libarchive, opusfile, soxr, wavpack
, libarchive, opusfile, soxr, wavpack, libxmp, libsidplayfp
# output plugins
, alsa-lib, libpulseaudio, pipewire, libjack2
# effect plugins
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
# input plugins
libmad taglib libvorbis libogg flac libmpcdec libmodplug libsndfile
libcdio cdparanoia libcddb faad2 ffmpeg wildmidi libbs2b game-music-emu
libarchive opusfile soxr wavpack
libarchive opusfile soxr wavpack libxmp libsidplayfp
# output plugins
alsa-lib libpulseaudio pipewire libjack2
# effect plugins
@@ -335,233 +335,113 @@ in
cmp-ai = super.cmp-ai.overrideAttrs {
dependencies = with self; [
nvim-cmp
plenary-nvim
];
nvimRequireCheck = "cmp_ai";
};
cmp-async-path = super.cmp-async-path.overrideAttrs {
dependencies = [ self.nvim-cmp ];
};
cmp-beancount = super.cmp-beancount.overrideAttrs {
dependencies = [ self.nvim-cmp ];
};
cmp-clippy = super.cmp-clippy.overrideAttrs {
dependencies = with self; [
nvim-cmp
plenary-nvim
];
nvimRequireCheck = "cmp_clippy";
};
cmp-cmdline = super.cmp-cmdline.overrideAttrs {
dependencies = [ self.nvim-cmp ];
};
cmp-conjure = super.cmp-conjure.overrideAttrs {
dependencies = with self; [
conjure
nvim-cmp
];
};
cmp-copilot = super.cmp-copilot.overrideAttrs {
dependencies = with self; [
nvim-cmp
copilot-vim
];
nvimRequireCheck = "cmp_copilot";
};
cmp-ctags = super.cmp-ctags.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp_ctags";
};
cmp-dap = super.cmp-dap.overrideAttrs {
dependencies = with self; [
nvim-cmp
nvim-dap
];
nvimRequireCheck = "cmp_dap";
};
cmp-dictionary = super.cmp-dictionary.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp_dictionary";
};
cmp-digraphs = super.cmp-digraphs.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp_digraphs";
};
cmp-fish = super.cmp-fish.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp_fish";
};
cmp-fuzzy-buffer = super.cmp-fuzzy-buffer.overrideAttrs {
dependencies = with self; [
nvim-cmp
fuzzy-nvim
];
nvimRequireCheck = "cmp_fuzzy_buffer";
};
cmp-fuzzy-path = super.cmp-fuzzy-path.overrideAttrs {
dependencies = with self; [
nvim-cmp
fuzzy-nvim
];
nvimRequireCheck = "cmp_fuzzy_path";
};
cmp-git = super.cmp-git.overrideAttrs {
dependencies = with self; [
nvim-cmp
plenary-nvim
];
nvimRequireCheck = "cmp_git";
};
cmp-greek = super.cmp-greek.overrideAttrs {
dependencies = [ self.nvim-cmp ];
nvimRequireCheck = "cmp_greek";
};
cmp-look = super.cmp-look.overrideAttrs {
dependencies = [ self.nvim-cmp ];
nvimRequireCheck = "cmp_look";
};
cmp_luasnip = super.cmp_luasnip.overrideAttrs {
dependencies = with self; [
nvim-cmp
luasnip
];
};
cmp-neosnippet = super.cmp-neosnippet.overrideAttrs {
dependencies = with self; [
nvim-cmp
neosnippet-vim
];
nvimRequireCheck = "cmp_neosnippet";
};
cmp-nixpkgs-maintainers = super.cmp-nixpkgs-maintainers.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp_nixpkgs_maintainers";
};
cmp-npm = super.cmp-npm.overrideAttrs {
dependencies = with self; [
nvim-cmp
plenary-nvim
];
nvimRequireCheck = "cmp-npm";
};
cmp-nvim-lsp-signature-help = super.cmp-nvim-lsp-signature-help.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp_nvim_lsp_signature_help";
};
cmp-nvim-lua = super.cmp-nvim-lua.overrideAttrs {
dependencies = [ self.nvim-cmp ];
};
cmp-nvim-tags = super.cmp-nvim-tags.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp_nvim_tags";
};
cmp-nvim-ultisnips = super.cmp-nvim-ultisnips.overrideAttrs {
dependencies = [ self.nvim-cmp ];
};
cmp-pandoc-nvim = super.cmp-pandoc-nvim.overrideAttrs {
dependencies = with self; [
nvim-cmp
plenary-nvim
];
nvimRequireCheck = "cmp_pandoc";
};
cmp-pandoc-references = super.cmp-pandoc-references.overrideAttrs {
dependencies = [ self.nvim-cmp ];
};
cmp-path = super.cmp-path.overrideAttrs {
dependencies = [ self.nvim-cmp ];
};
cmp-rg = super.cmp-rg.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp-rg";
};
cmp-snippy = super.cmp-snippy.overrideAttrs {
dependencies = with self; [
nvim-cmp
nvim-snippy
];
nvimRequireCheck = "cmp_snippy";
};
cmp-tabby = super.cmp-tabby.overrideAttrs {
dependencies = with self; [ nvim-cmp ];
nvimRequireCheck = "cmp_tabby";
};
cmp-tabnine = super.cmp-tabnine.overrideAttrs {
buildInputs = [ tabnine ];
dependencies = with self; [ nvim-cmp ];
postFixup = ''
mkdir -p $target/binaries/${tabnine.version}
ln -s ${tabnine}/bin/ $target/binaries/${tabnine.version}/${tabnine.passthru.platform}
'';
nvimRequireCheck = "cmp_tabnine";
};
cmp-tmux = super.cmp-tmux.overrideAttrs {
dependencies = with self; [
nvim-cmp
dependencies = [
tmux
];
nvimRequireCheck = "cmp_tmux";
};
cmp-vim-lsp = super.cmp-vim-lsp.overrideAttrs {
dependencies = with self; [
nvim-cmp
vim-lsp
];
};
cmp-vimwiki-tags = super.cmp-vimwiki-tags.overrideAttrs {
dependencies = with self; [
nvim-cmp
vimwiki
];
nvimRequireCheck = "cmp_vimwiki_tags";
};
cmp-vsnip = super.cmp-vsnip.overrideAttrs {
dependencies = [ self.nvim-cmp ];
};
cmp-zsh = super.cmp-zsh.overrideAttrs {
dependencies = with self; [
nvim-cmp
dependencies = [
zsh
];
nvimRequireCheck = "cmp_zsh";
};
coc-clangd = buildVimPlugin {
@@ -636,7 +516,6 @@ in
in
super.codeium-nvim.overrideAttrs {
dependencies = with self; [
nvim-cmp
plenary-nvim
];
buildPhase = ''
@@ -21,7 +21,7 @@ update_vscodium () {
ARCHIVE_FMT=$4
VSCODIUM_URL="https://github.com/VSCodium/vscodium/releases/download/${VSCODIUM_VER}/VSCodium-${ARCH}-${VSCODIUM_VER}.${ARCHIVE_FMT}"
VSCODIUM_SHA256=$(nix-prefetch-url ${VSCODIUM_URL})
sed -i "s/${ARCH_LONG} = \".\{52\}\"/${ARCH_LONG} = \"${VSCODIUM_SHA256}\"/" "$ROOT/vscodium.nix"
sed -i "s/${ARCH_LONG} = \"[0-9a-fA-F]\{40,64\}\"/${ARCH_LONG} = \"${VSCODIUM_SHA256}\"/" "$ROOT/vscodium.nix"
}
# VSCodium
@@ -15,11 +15,11 @@ let
archive_fmt = if stdenv.hostPlatform.isDarwin then "zip" else "tar.gz";
sha256 = {
x86_64-linux = "c3c97f536692f7d658ddd77dc809693d4cb48b720c9ab97d3931bec028633639";
x86_64-darwin = "0fa21f9e0562b61e755d458596bb6ed41d55efb3a9376ec07eea02641eaef631";
aarch64-linux = "0bf48851a51ee7c506d73b8633bd02c1da986b5973683eadfeac804cd73e5d2a";
aarch64-darwin = "b54453610b92c17032d4ecc71717a1a7b3c9643091e91e58c34576e5a6a78b3c";
armv7l-linux = "211b93a60bda18f62cee5ec279f6179af9b94d827535cd89f6c1c832a3ae6dfa";
x86_64-linux = "0948jbnhjra09bvf9acrl6b2dp1xar5ajahmzy0cwf6dbidfms5y";
x86_64-darwin = "1a8ga66526lfy2xrgshhizmidp8aaiwvpr38rvhsx0hqb4vmm0hy";
aarch64-linux = "08la7kbb6myf9iz23p60vd00mrmhnizw8dgh54gb0msh8wbasidq";
aarch64-darwin = "01z1dx77briqzhfx45c2f2np78r11b5xm92smi9idivbsia800i3";
armv7l-linux = "0h3f9sy7d4ylk0ay63adhnz9s7jlpwlf3x831v8pygzm2r7k9zgc";
}.${system} or throwSystem;
sourceRoot = lib.optionalString (!stdenv.hostPlatform.isDarwin) ".";
@@ -29,7 +29,7 @@ in
# Please backport all compatible updates to the stable release.
# This is important for the extension ecosystem.
version = "1.95.2.24313";
version = "1.95.3.24321";
pname = "vscodium";
executableName = "codium";
+48
View File
@@ -0,0 +1,48 @@
{
lib,
stdenv,
fetchFromGitHub,
perl,
perlPackages,
makeWrapper,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "7z2hashcat";
version = "2.0";
src = fetchFromGitHub {
owner = "philsmd";
repo = "7z2hashcat";
rev = finalAttrs.version;
hash = "sha256-BmpO2VLcuUtQaN4qmLm0YQEfK5iE+2hw4k6uBbwcFS4=";
};
nativeBuildInputs = [
makeWrapper
];
buildInputs = [
perl
];
installPhase = ''
runHook preInstall
install -D 7z2hashcat.pl $out/bin/7z2hashcat
wrapProgram $out/bin/7z2hashcat \
--set PERL5LIB "${perlPackages.makePerlPath [ perlPackages.CompressRawLzma ]}" \
runHook postInstall
'';
meta = {
changelog = "https://github.com/philsmd/7z2hashcat/releases/tag/${finalAttrs.version}";
description = "Extract hashcat hashes from password-protected .7z archives (and .sfx files)";
homepage = "https://github.com/philsmd/7z2hashcat";
license = lib.licenses.publicDomain;
mainProgram = "7z2hashcat";
maintainers = with lib.maintainers; [ emilytrau ];
platforms = lib.platforms.unix;
};
})
+3 -2
View File
@@ -18,14 +18,14 @@
python3Packages.buildPythonApplication rec {
pname = "alpaca";
version = "2.7.0";
version = "2.8.0";
pyproject = false; # Built with meson
src = fetchFromGitHub {
owner = "Jeffser";
repo = "Alpaca";
rev = "refs/tags/${version}";
hash = "sha256-gEQUVSNf8u92qIg0+5fsLIOPgIASdYdlTRDpzl61P+Q=";
hash = "sha256-Wk7a5/fO87yl/TolzoonSRLkc2TGEZKgVCgXcUuhjQI=";
};
nativeBuildInputs = [
@@ -52,6 +52,7 @@ python3Packages.buildPythonApplication rec {
pytube
html2text
youtube-transcript-api
pydbus
];
dontWrapGApps = true;
+37 -15
View File
@@ -1,28 +1,35 @@
{ lib
, stdenv
, fetchFromGitHub
, nixosTests
{
lib,
stdenv,
fetchFromGitHub,
nixosTests,
testers,
}:
let
tools = [
"apfsck"
"apfs-label"
"apfs-snap"
"mkapfs"
];
in
stdenv.mkDerivation (finalAttrs: {
pname = "apfsprogs";
version = "0-unstable-2024-09-27";
version = "0.2.0";
src = fetchFromGitHub {
owner = "linux-apfs";
repo = "apfsprogs";
rev = "f31d7c2d69d212ce381399d2bb1e91410f592484";
hash = "sha256-+c+wU52XKNOTxSpSrkrNWoGEYw6Zo4CGEOyKMvkXEa0=";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-rolbBLdE98jqlKC06fTo6eJU3abKzgB3QIlaw4bza9U=";
};
postPatch = let
shortRev = builtins.substring 0 9 finalAttrs.src.rev;
in ''
postPatch = ''
substituteInPlace \
apfs-snap/Makefile apfsck/Makefile mkapfs/Makefile apfs-label/Makefile \
--replace-fail \
'$(shell git describe --always HEAD | tail -c 9)' \
'${shortRev}'
'v${finalAttrs.version}'
'';
buildPhase = ''
@@ -43,15 +50,30 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.tests = {
apfs = nixosTests.apfs;
};
passthru.tests =
let
mkVersionTest = tool: {
"version-${tool}" = testers.testVersion {
package = finalAttrs.finalPackage;
command = "${tool} -v";
version = "v${finalAttrs.version}";
};
};
versionTestList = builtins.map mkVersionTest tools;
versionTests = lib.mergeAttrsList versionTestList;
in
{
apfs = nixosTests.apfs;
}
// versionTests;
strictDeps = true;
meta = with lib; {
description = "Experimental APFS tools for linux";
homepage = "https://github.com/linux-apfs/apfsprogs";
changelog = "https://github.com/linux-apfs/apfsprogs/releases/tag/v${finalAttrs.version}";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ Luflosi ];
@@ -1,14 +1,13 @@
{ lib
, stdenv
, audacious-plugins
, fetchFromGitHub
, meson
, ninja
, pkg-config
, qtbase
, qtsvg
, qtwayland
, wrapQtAppsHook
{
lib,
stdenv,
audacious-plugins,
fetchFromGitHub,
meson,
ninja,
pkg-config,
qt6,
withPlugins ? false,
}:
stdenv.mkDerivation rec {
@@ -26,13 +25,13 @@ stdenv.mkDerivation rec {
meson
ninja
pkg-config
wrapQtAppsHook
qt6.wrapQtAppsHook
];
buildInputs = [
qtbase
qtsvg
qtwayland
qt6.qtbase
qt6.qtsvg
qt6.qtwayland
];
mesonFlags = [
@@ -40,7 +39,7 @@ stdenv.mkDerivation rec {
"-Dbuildstamp=NixOS"
];
postInstall = lib.optionalString (audacious-plugins != null) ''
postInstall = lib.optionalString withPlugins ''
ln -s ${audacious-plugins}/lib/audacious $out/lib
ln -s ${audacious-plugins}/share/audacious/Skins $out/share/audacious/
'';
@@ -50,14 +49,18 @@ stdenv.mkDerivation rec {
homepage = "https://audacious-media-player.org";
downloadPage = "https://github.com/audacious-media-player/audacious";
mainProgram = "audacious";
maintainers = with lib.maintainers; [ ramkromberg ttuegel thiagokokada ];
maintainers = with lib.maintainers; [
ramkromberg
ttuegel
thiagokokada
];
platforms = lib.platforms.linux;
license = with lib.licenses; [
bsd2
bsd3 #https://github.com/audacious-media-player/audacious/blob/master/COPYING
bsd3 # https://github.com/audacious-media-player/audacious/blob/master/COPYING
gpl2
gpl3
lgpl2Plus #http://redmine.audacious-media-player.org/issues/46
lgpl2Plus # http://redmine.audacious-media-player.org/issues/46
];
};
}
@@ -1,47 +1,46 @@
{ stdenv
, fetchFromGitHub
, alsa-lib
, audacious
, curl
, faad2
, ffmpeg
, flac
, fluidsynth
, gdk-pixbuf
, lame
, libbs2b
, libcddb
, libcdio
, libcdio-paranoia
, libcue
, libjack2
, libmad
, libmms
, libmodplug
, libmowgli
, libnotify
, libogg
, libopenmpt
, libpulseaudio
, libsamplerate
, libsidplayfp
, libsndfile
, libvorbis
, libxml2
, lirc
, meson
, mpg123
, neon
, ninja
, pkg-config
, opusfile
, pipewire
, qtbase
, qtmultimedia
, qtwayland
, soxr
, vgmstream
, wavpack
{
stdenv,
fetchFromGitHub,
alsa-lib,
audacious-bare,
curl,
faad2,
ffmpeg,
flac,
fluidsynth,
gdk-pixbuf,
lame,
libbs2b,
libcddb,
libcdio,
libcdio-paranoia,
libcue,
libjack2,
libmad,
libmms,
libmodplug,
libmowgli,
libnotify,
libogg,
libopenmpt,
libpulseaudio,
libsamplerate,
libsidplayfp,
libsndfile,
libvorbis,
libxml2,
lirc,
meson,
mpg123,
neon,
ninja,
pkg-config,
opusfile,
pipewire,
qt6,
soxr,
vgmstream,
wavpack,
}:
stdenv.mkDerivation rec {
@@ -64,7 +63,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
audacious
audacious-bare
alsa-lib
curl
faad2
@@ -96,9 +95,9 @@ stdenv.mkDerivation rec {
neon
opusfile
pipewire
qtbase
qtmultimedia
qtwayland
qt6.qtbase
qt6.qtmultimedia
qt6.qtwayland
soxr
wavpack
libopenmpt
@@ -111,10 +110,12 @@ stdenv.mkDerivation rec {
dontWrapQtApps = true;
postInstall = ''
ln -s ${vgmstream.override { buildAudaciousPlugin = true; }}/lib/audacious/Input/* $out/lib/audacious/Input
ln -s ${
vgmstream.override { buildAudaciousPlugin = true; }
}/lib/audacious/Input/* $out/lib/audacious/Input
'';
meta = audacious.meta // {
meta = audacious-bare.meta // {
description = "Plugins for Audacious music player";
downloadPage = "https://github.com/audacious-media-player/audacious-plugins";
};
+3 -3
View File
@@ -27,15 +27,15 @@ assert lib.assertMsg (lib.elem true [
rustPlatform.buildRustPackage rec {
pname = "diesel-cli";
version = "2.2.4";
version = "2.2.5";
src = fetchCrate {
inherit version;
crateName = "diesel_cli";
hash = "sha256-kTwAG1B4gy+1jj5ar5RkmIUMAO9wYsG7QnMcZii/OZk=";
hash = "sha256-cMGSBZ2UexIvSWRI2LIXR7thKciM9+HTB4V8FWpP3ZU=";
};
cargoHash = "sha256-qcyNFuKJldHVJDAye4K1rHPf/SvpZ+BmqBast1vh/3Q=";
cargoHash = "sha256-Qdi9zdBiaAWS0Ao/8Z1jrb07FLE92ETd7RCMd/7J+mI=";
nativeBuildInputs = [
installShellFiles
+137
View File
@@ -0,0 +1,137 @@
{
lib,
stdenv,
fetchurl,
geant4,
}:
let
mkDataset =
{
pname,
version,
sha256,
envvar,
}:
stdenv.mkDerivation {
inherit pname version;
geant_version = geant4.version;
src = fetchurl {
url = "https://cern.ch/geant4-data/datasets/${pname}.${version}.tar.gz";
inherit sha256;
};
preferLocalBuild = true;
dontBuild = true;
dontConfigure = true;
datadir = "${placeholder "out"}/share/Geant4-${geant4.version}/data/${pname}${version}";
installPhase = ''
mkdir -p $datadir
mv ./* $datadir
'';
inherit envvar;
setupHook = ./datasets-hook.sh;
meta = with lib; {
description = "Data files for the Geant4 toolkit";
homepage = "https://geant4.web.cern.ch/support/download";
license = licenses.g4sl;
platforms = platforms.all;
};
};
in
builtins.listToAttrs (
map
(a: {
name = a.pname;
value = mkDataset a;
})
[
{
pname = "G4NDL";
version = "4.7.1";
sha256 = "sha256-06yuSGIhGNJXneJKVNUz+yQWvw2p3SiPFyTfFIWkbHw=";
envvar = "NEUTRONHP";
}
{
pname = "G4EMLOW";
version = "8.5";
sha256 = "sha256-ZrrKSaxdReKsEMEltPsmYiXlEYA+ZpgZCc6c0+m873M=";
envvar = "LE";
}
{
pname = "G4PhotonEvaporation";
version = "5.7";
sha256 = "sha256-dh5C5W/93j2YOfn52BAmB8a0wDKRUe5Rggb07p535+U=";
envvar = "LEVELGAMMA";
}
{
pname = "G4RadioactiveDecay";
version = "5.6";
sha256 = "sha256-OIYHfJyOWph4PmcY4cMlZ4me6y27M+QC1Edrwv5PDfE=";
envvar = "RADIOACTIVE";
}
{
pname = "G4SAIDDATA";
version = "2.0";
sha256 = "sha256-HSao55uqceRNV1m59Vpn6Lft4xdRMWqekDfYAJDHLpE=";
envvar = "SAIDXS";
}
{
pname = "G4PARTICLEXS";
version = "4.0";
sha256 = "sha256-k4EDlwPD8rD9NqtJmTYqLItP+QgMMi+QtOMZKBEzypU=";
envvar = "PARTICLEXS";
}
{
pname = "G4ABLA";
version = "3.3";
sha256 = "sha256-HgQbMlLunO+IbWJPdT5pMwOqMtfl7zu6h7NPNtkuorE=";
envvar = "ABLA";
}
{
pname = "G4INCL";
version = "1.2";
sha256 = "sha256-+ICxYHPuCpLXSU8ydqbVLU3h02d6DUx8WHADlu0OGn4=";
envvar = "INCL";
}
{
pname = "G4PII";
version = "1.3";
sha256 = "sha256-YiWtkCZ19DgcmMa6JfxaBs6HVJqpeWNNPQNJHWYW6SY=";
envvar = "PII";
}
{
pname = "G4ENSDFSTATE";
version = "2.3";
sha256 = "sha256-lETF4IIHkavTzKrOEFsOR3kPrc4obhEUmDTnnEqOkgM=";
envvar = "ENSDFSTATE";
}
{
pname = "G4RealSurface";
version = "2.2";
sha256 = "sha256-mVTe4AEvUzEmf3g2kOkS5y21v1Lqm6vs0S6iIoIXaCA=";
envvar = "REALSURFACE";
}
{
pname = "G4TENDL";
version = "1.4";
sha256 = "sha256-S3J0AgzItO1Wm4ku8YwuCI7c22tm850lWFzO4l2XIeA=";
envvar = "PARTICLEHP";
}
]
)
+155
View File
@@ -0,0 +1,155 @@
{
lib,
stdenv,
fetchurl,
callPackage,
boost,
clhep,
cmake,
coin3d,
expat,
libGL,
libGLU,
libGLX,
libXext,
libXmu,
libXpm,
motif,
python3,
qt5,
soxt,
xercesc,
zlib,
enableMultiThreading ? true,
enableInventor ? false,
enableQt ? false,
enableXM ? false,
enableOpenGLX11 ? !stdenv.hostPlatform.isDarwin,
enablePython ? false,
enableRaytracerX11 ? false,
}:
let
boost_python = boost.override {
enablePython = true;
python = python3;
};
in
stdenv.mkDerivation rec {
version = "11.2.2";
pname = "geant4";
src = fetchurl {
url = "https://cern.ch/geant4-data/releases/geant4-v${version}.tar.gz";
hash = "sha256-0k9lc1uKCgOcAPlDSZHpnvEZuGxRDQ8qshFV24KjSR0=";
};
# Fix broken paths in a .pc
postPatch = ''
substituteInPlace source/externals/ptl/cmake/Modules/PTLPackageConfigHelpers.cmake \
--replace '${"$"}{prefix}/${"$"}{PTL_INSTALL_' '${"$"}{PTL_INSTALL_'
'';
cmakeFlags =
[
"-DGEANT4_INSTALL_DATA=OFF"
"-DGEANT4_USE_GDML=ON"
"-DGEANT4_USE_G3TOG4=ON"
"-DGEANT4_USE_QT=${if enableQt then "ON" else "OFF"}"
"-DGEANT4_USE_XM=${if enableXM then "ON" else "OFF"}"
"-DGEANT4_USE_OPENGL_X11=${if enableOpenGLX11 then "ON" else "OFF"}"
"-DGEANT4_USE_INVENTOR=${if enableInventor then "ON" else "OFF"}"
"-DGEANT4_USE_PYTHON=${if enablePython then "ON" else "OFF"}"
"-DGEANT4_USE_RAYTRACER_X11=${if enableRaytracerX11 then "ON" else "OFF"}"
"-DGEANT4_USE_SYSTEM_CLHEP=ON"
"-DGEANT4_USE_SYSTEM_EXPAT=ON"
"-DGEANT4_USE_SYSTEM_ZLIB=ON"
"-DGEANT4_BUILD_MULTITHREADED=${if enableMultiThreading then "ON" else "OFF"}"
]
++ lib.optionals (enableOpenGLX11 && stdenv.hostPlatform.isDarwin) [
"-DXQuartzGL_INCLUDE_DIR=${libGLX.dev}/include"
"-DXQuartzGL_gl_LIBRARY=${libGLX}/lib/libGL.dylib"
]
++ lib.optionals (enableMultiThreading && enablePython) [
"-DGEANT4_BUILD_TLS_MODEL=global-dynamic"
]
++ lib.optionals enableInventor [
"-DINVENTOR_INCLUDE_DIR=${coin3d}/include"
"-DINVENTOR_LIBRARY_RELEASE=${coin3d}/lib/libCoin.so"
];
nativeBuildInputs = [ cmake ];
propagatedNativeBuildInputs = lib.optionals enableQt [ qt5.wrapQtAppsHook ];
dontWrapQtApps = true; # no binaries
buildInputs =
lib.optionals enableOpenGLX11 [
libGLU
libXext
libXmu
]
++ lib.optionals enableInventor [
libXpm
coin3d
soxt
motif
]
++ lib.optionals enablePython [
boost_python
python3
];
propagatedBuildInputs =
[
clhep
expat
xercesc
zlib
]
++ lib.optionals enableOpenGLX11 [ libGL ]
++ lib.optionals enableXM [ motif ]
++ lib.optionals enableQt [ qt5.qtbase ];
postFixup =
''
# Don't try to export invalid environment variables.
sed -i 's/export G4\([A-Z]*\)DATA/#export G4\1DATA/' "$out"/bin/geant4.sh
''
+ lib.optionalString enableQt ''
wrapQtAppsHook
'';
setupHook = ./geant4-hook.sh;
passthru = {
data = callPackage ./datasets.nix { };
tests = callPackage ./tests.nix { };
inherit enableQt;
};
# Set the myriad of envars required by Geant4 if we use a nix-shell.
shellHook = ''
source $out/nix-support/setup-hook
'';
meta = with lib; {
broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
description = "Toolkit for the simulation of the passage of particles through matter";
longDescription = ''
Geant4 is a toolkit for the simulation of the passage of particles through matter.
Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science.
The two main reference papers for Geant4 are published in Nuclear Instruments and Methods in Physics Research A 506 (2003) 250-303, and IEEE Transactions on Nuclear Science 53 No. 1 (2006) 270-278.
'';
homepage = "http://www.geant4.org";
license = licenses.g4sl;
maintainers = with maintainers; [
omnipotententity
veprbl
];
platforms = platforms.unix;
};
}
@@ -1,4 +1,8 @@
{ stdenv, cmake, geant4 }:
{
stdenv,
cmake,
geant4,
}:
{
example_B1 = stdenv.mkDerivation {
+3 -3
View File
@@ -10,16 +10,16 @@
}:
buildGoModule rec {
pname = "goreleaser";
version = "2.4.5";
version = "2.4.8";
src = fetchFromGitHub {
owner = "goreleaser";
repo = "goreleaser";
rev = "v${version}";
hash = "sha256-s0t7aKmA42WqFCCL1rMD4az9g9aHc/ordMB2KXilhV8=";
hash = "sha256-inM+CyYk8sTTS8QomPhm9SsQVhnv+JkjL4vpwLsotnY=";
};
vendorHash = "sha256-jNzTVNSg/NR2lIuheUZSao+AXMuYRYmNPmFTB2Wu2dI=";
vendorHash = "sha256-rS6+/HpF12AHgH5yPkyhA5qIMtucbNUTSMxuWfhvMZo=";
ldflags = [
"-s"
+13 -5
View File
@@ -69,13 +69,13 @@ let
in
effectiveStdenv.mkDerivation (finalAttrs: {
pname = "llama-cpp";
version = "3887";
version = "4154";
src = fetchFromGitHub {
owner = "ggerganov";
repo = "llama.cpp";
rev = "refs/tags/b${finalAttrs.version}";
hash = "sha256-uyZ/uyuLzXAeZ8TQK8e6+zf+ZTFRSJJ1Doqw8Cd10+A=";
hash = "sha256-rttgk8mF9s3R53+TN5+PdDtkTG5cohn/9wz9Z5gRpdM=";
leaveDotGit = true;
postFetch = ''
git -C "$out" rev-parse --short HEAD > $out/COMMIT
@@ -84,8 +84,16 @@ effectiveStdenv.mkDerivation (finalAttrs: {
};
postPatch = ''
substituteInPlace ./ggml/src/ggml-metal.m \
--replace-fail '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
# Workaround for local-ai package which overrides this package to an older llama-cpp
if [ -f ./ggml/src/ggml-metal.m ]; then
substituteInPlace ./ggml/src/ggml-metal.m \
--replace-fail '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
fi
if [ -f ./ggml/src/ggml-metal/ggml-metal.m ]; then
substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
--replace-fail '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
fi
substituteInPlace ./scripts/build-info.sh \
--replace-fail 'build_number="0"' 'build_number="${finalAttrs.version}"' \
@@ -160,7 +168,7 @@ effectiveStdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/ggerganov/llama.cpp/";
license = licenses.mit;
mainProgram = "llama";
maintainers = with maintainers; [ dit7ya elohmeier philiptaron ];
maintainers = with maintainers; [ dit7ya elohmeier philiptaron xddxdd ];
platforms = platforms.unix;
badPlatforms = optionals (cudaSupport || openclSupport) lib.platforms.darwin;
broken = (metalSupport && !effectiveStdenv.hostPlatform.isDarwin);
+8 -3
View File
@@ -4,19 +4,20 @@
stdenv,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
buildGoModule rec {
pname = "nezha-agent";
version = "0.20.3";
version = "0.20.5";
src = fetchFromGitHub {
owner = "nezhahq";
repo = "agent";
rev = "refs/tags/v${version}";
hash = "sha256-cLLiJbAr7TxVUNV31Y9TG8ZL4uqBCOnrOr1FM4+1U5c=";
hash = "sha256-CVE1c0LLheGlH8oMWQWs6fox7mlHc5Y2O9XQ6kqXAwI=";
};
vendorHash = "sha256-q6/265vVg6jCnDvs825nni8QFHkJpQz4xxC9MlJH2do=";
vendorHash = "sha256-ytFsTHl6kVwmqCabaMDxxijszY3jzWWUIZKBCebPMkI=";
ldflags = [
"-s"
@@ -54,6 +55,10 @@ buildGoModule rec {
versionCheckHook
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Agent of Nezha Monitoring";
homepage = "https://github.com/nezhahq/agent";
+2 -2
View File
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "rasm";
version = "2.2.8";
version = "2.2.11";
src = fetchFromGitHub {
owner = "EdouardBERGE";
repo = "rasm";
rev = "v${version}";
hash = "sha256-L3kVwB6ZGw8HGqn2m60Grd3fwpTeRK8LeMtmNb4UjdQ=";
hash = "sha256-wFdRMWnOZ3gVp9RwTwD1bJEKVJ9khPRSQoCi75/YiPM=";
};
# by default the EXEC variable contains `rasm.exe`
+2 -2
View File
@@ -9,7 +9,7 @@
python3Packages.buildPythonApplication rec {
pname = "sqlite3-to-mysql";
version = "2.3.1";
version = "2.3.2";
format = "pyproject";
disabled = python3Packages.pythonOlder "3.8";
@@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
owner = "techouse";
repo = "sqlite3-to-mysql";
rev = "refs/tags/v${version}";
hash = "sha256-13NLtP9gDd9hrwY09+7CuM4Rl+Hce82TETdfwBC/5HI=";
hash = "sha256-2zylVnPlptPCxUFwU9j9g//T5fzPJgXc3hQc6iMoLLE=";
};
build-system = with python3Packages; [
+25 -10
View File
@@ -1,7 +1,19 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, gtk3
, audacious, mpg123, ffmpeg, libvorbis, libao, jansson, speex
, nix-update-script
, buildAudaciousPlugin ? false # only build cli by default, pkgs.audacious-plugins sets this to enable plugin support
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
gtk3,
audacious-bare,
mpg123,
ffmpeg,
libvorbis,
libao,
jansson,
speex,
nix-update-script,
buildAudaciousPlugin ? false, # only build cli by default, pkgs.audacious-plugins sets this to enable plugin support
}:
stdenv.mkDerivation rec {
@@ -17,7 +29,10 @@ stdenv.mkDerivation rec {
passthru.updateScript = nix-update-script {
attrPath = "vgmstream";
extraArgs = [ "--version-regex" "r(.*)" ];
extraArgs = [
"--version-regex"
"r(.*)"
];
};
nativeBuildInputs = [
@@ -32,7 +47,7 @@ stdenv.mkDerivation rec {
libao
jansson
speex
] ++ lib.optional buildAudaciousPlugin (audacious.override { audacious-plugins = null; });
] ++ lib.optional buildAudaciousPlugin audacious-bare;
preConfigure = ''
substituteInPlace cmake/dependencies/audacious.cmake \
@@ -42,13 +57,13 @@ stdenv.mkDerivation rec {
cmakeFlags = [
# It always tries to download it, no option to use the system one
"-DUSE_CELT=OFF"
] ++ lib.optional (! buildAudaciousPlugin) "-DBUILD_AUDACIOUS=OFF";
] ++ lib.optional (!buildAudaciousPlugin) "-DBUILD_AUDACIOUS=OFF";
meta = with lib; {
description = "Library for playback of various streamed audio formats used in video games";
homepage = "https://vgmstream.org";
homepage = "https://vgmstream.org";
maintainers = with maintainers; [ zane ];
license = with licenses; isc;
platforms = with platforms; unix;
license = with licenses; isc;
platforms = with platforms; unix;
};
}
@@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [
gevent msgpack base58 merkletools rsa pysocks pyasn1 websocket-client
gevent-websocket rencode bitcoinlib maxminddb pyopenssl rich defusedxml
gevent-websocket rencode python-bitcoinlib maxminddb pyopenssl rich defusedxml
pyaes coincurve
];
+1 -1
View File
@@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [
gevent msgpack base58 merkletools rsa pysocks pyasn1 websocket-client
gevent-websocket rencode bitcoinlib maxminddb pyopenssl
gevent-websocket rencode python-bitcoinlib maxminddb pyopenssl
];
buildPhase = ''
@@ -11,10 +11,11 @@ mkCoqDerivation {
release."1.2.5".sha256 = "sha256-3qOPNCRjGK2UdHGMSqElpIXhAPVCklpeQgZwf9AFals=";
release."1.3.0".sha256 = "sha256-h9pa6vaKT6jCEaIdEdcu0498Ou5kEXtZdb9P7WXK1DQ=";
release."1.3.1".sha256 = "sha256-wBizm1hJXPYBu0tHFNScQHd22FebsJYoggT5OlhY/zM=";
release."1.4.0".sha256 = "sha256-8TtNPEbp3uLAH+MjOKiTZHOjPb3vVYlabuqsdWxbg80=";
inherit version;
defaultVersion = with lib.versions; lib.switch [ coq.version mathcomp.version ] [
{ cases = [ (isGe "8.16") (isGe "2.0") ]; out = "1.3.1"; }
{ cases = [ (isGe "8.16") (isGe "2.0") ]; out = "1.4.0"; }
{ cases = [ (isGe "8.16") "2.0.0" ]; out = "1.3.0"; }
{ cases = [ (isGe "8.11") (range "1.12" "1.19") ]; out = "1.2.5"; }
{ cases = [ (isGe "8.11") (range "1.11" "1.14") ]; out = "1.2.4"; }
@@ -1,119 +0,0 @@
{ lib, stdenv, fetchurl, fetchpatch, flex, bison, file }:
stdenv.mkDerivation rec {
pname = "libstdc++5";
version = "3.3.6";
src = [
(fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-core-${version}.tar.bz2";
sha256 = "1dpyrpsgakilz2rnh5f8gvrzq5pwzvndacc0df6m04bpqn5fx6sg";
})
(fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-g++-${version}.tar.bz2";
sha256 = "14lxl81f7adpc9jxfiwzdxsdzs5zv4piv8xh7f9w910hfzrgvsby";
})
];
patches = [
./no-sys-dirs.patch
(fetchpatch {
name = "siginfo.patch";
url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/e36ee8ed9bb5942db14cf6249a2ead14974a2bfa/trunk/siginfo.patch";
sha256 = "15zldbm33yba293dgrgsbv3j332hkc3iqpyc8fa7zl42mh9qk22j";
extraPrefix = "";
})
(fetchpatch {
name = "gcc-3.4.3-no_multilib_amd64.patch";
url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/e36ee8ed9bb5942db14cf6249a2ead14974a2bfa/trunk/gcc-3.4.3-no_multilib_amd64.patch";
sha256 = "11m5lc51b0addhc4yq4rz0dwpv6k73rrj73wya3lqdk8rly6cjpm";
extraPrefix = "";
})
# Required because of glibc 2.26
./struct-ucontext.patch
];
postPatch = ''
# fix build issue with recent gcc
sed -i "s#O_CREAT#O_CREAT, 0666#" gcc/collect2.c
# No fixincludes
sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
'';
preConfigure = ''
mkdir ../build
cd ../build
configureScript=../$sourceRoot/configure
'';
preBuild = ''
# libstdc++ needs this; otherwise it will use /lib/cpp, which is a Bad
# Thing.
export CPP="gcc -E"
# Use *real* header files, otherwise a limits.h is generated
# that does not include Glibc's limits.h (notably missing
# SSIZE_MAX, which breaks the build).
export NIX_FIXINC_DUMMY="$(cat $NIX_CC/nix-support/orig-libc-dev)/include"
# The path to the Glibc binaries such as `crti.o'.
glibc_libdir="$(cat $NIX_CC/nix-support/orig-libc)/lib"
# Figure out what extra flags to pass to the gcc compilers
# being generated to make sure that they use our glibc.
EXTRA_FLAGS="-I$NIX_FIXINC_DUMMY $(cat $NIX_CC/nix-support/libc-crt1-cflags) $(cat $NIX_CC/nix-support/libc-cflags) -O2"
extraLDFlags="-L$glibc_libdir -rpath $glibc_libdir $(cat $NIX_BINTOOLS/nix-support/libc-ldflags || true) $(cat $NIX_BINTOOLS/nix-support/libc-ldflags-before || true)"
for i in $extraLDFlags; do
EXTRA_FLAGS="$EXTRA_FLAGS -Wl,$i"
done
# CFLAGS_FOR_TARGET are needed for the libstdc++ configure script to find
# the startfiles.
# FLAGS_FOR_TARGET are needed for the target libraries to receive the -Bxxx
# for the startfiles.
makeFlagsArray=( \
"''${makeFlagsArray[@]}" \
NATIVE_SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \
SYSTEM_HEADER_DIR="$NIX_FIXINC_DUMMY" \
CFLAGS_FOR_BUILD="$EXTRA_FLAGS" \
CFLAGS_FOR_TARGET="$EXTRA_FLAGS" \
CXXFLAGS_FOR_BUILD="$EXTRA_FLAGS" \
CXXFLAGS_FOR_TARGET="$EXTRA_FLAGS" \
FLAGS_FOR_TARGET="$EXTRA_FLAGS" \
LDFLAGS_FOR_BUILD="$EXTRA_FLAGS" \
LDFLAGS_FOR_TARGET="$EXTRA_FLAGS" \
BOOT_CFLAGS="$EXTRA_FLAGS" \
BOOT_LDFLAGS="$EXTRA_FLAGS"
)
'';
hardeningDisable = [ "format" ];
nativeBuildInputs = [ flex bison file ];
configureFlags = [ "--disable-multilib" "--enable-__cxa-atexit" "--enable-threads=posix" "--enable-languages=c++" "--enable-clocale=gnu" ];
buildFLags = [ "all-target-libstdc++-v3" ];
installFlags = [ "install-target-libstdc++-v3" ];
postInstall = ''
# Remove includefiles and libs provided by gcc
shopt -s extglob
rm -rf $out/{bin,include,share,man,info}
rm -f $out/lib/*.a
rm -rf $out/lib/!(libstdc++*)
'';
meta = with lib; {
homepage = "https://gcc.gnu.org/";
license = licenses.lgpl3Plus;
description = "GNU Compiler Collection, version ${version} -- C++ standard library";
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
};
}
@@ -1,53 +0,0 @@
diff -ru3 gcc-3.3.6-old/gcc/cppdefault.c gcc-3.3.6/gcc/cppdefault.c
--- gcc-3.3.6-old/gcc/cppdefault.c 2003-11-07 02:13:31.000000000 +0300
+++ gcc-3.3.6/gcc/cppdefault.c 2016-09-02 16:00:03.492484016 +0300
@@ -26,6 +26,10 @@
#include "system.h"
#include "cppdefault.h"
+#undef LOCAL_INCLUDE_DIR
+#undef SYSTEM_INCLUDE_DIR
+#undef STANDARD_INCLUDE_DIR
+
const struct default_include cpp_include_defaults[]
#ifdef INCLUDE_DEFAULTS
= INCLUDE_DEFAULTS;
diff -ru3 gcc-3.3.6-old/gcc/gcc.c gcc-3.3.6/gcc/gcc.c
--- gcc-3.3.6-old/gcc/gcc.c 2004-04-01 20:55:17.000000000 +0400
+++ gcc-3.3.6/gcc/gcc.c 2016-09-02 16:01:24.843520114 +0300
@@ -6130,10 +6130,6 @@
NULL, PREFIX_PRIORITY_LAST, 0, NULL, 1);
}
- add_sysrooted_prefix (&startfile_prefixes, standard_startfile_prefix_1,
- "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL, 1);
- add_sysrooted_prefix (&startfile_prefixes, standard_startfile_prefix_2,
- "BINUTILS", PREFIX_PRIORITY_LAST, 0, NULL, 1);
#if 0 /* Can cause surprises, and one can use -B./ instead. */
add_prefix (&startfile_prefixes, "./", NULL,
PREFIX_PRIORITY_LAST, 1, NULL, 0);
diff -ru3 gcc-3.3.6-old/gcc/Makefile.in gcc-3.3.6/gcc/Makefile.in
--- gcc-3.3.6-old/gcc/Makefile.in 2004-04-01 20:55:23.000000000 +0400
+++ gcc-3.3.6/gcc/Makefile.in 2016-09-02 16:00:03.493484017 +0300
@@ -260,7 +260,11 @@
PARTITION_H = $(srcdir)/../include/partition.h
# Default native SYSTEM_HEADER_DIR, to be overridden by targets.
-NATIVE_SYSTEM_HEADER_DIR = /usr/include
+# Nix: we override NATIVE_SYSTEM_HEADER_DIR in order to prevent
+# `fixinc' from fixing header files in /usr/include. However,
+# NATIVE_SYSTEM_HEADER_DIR must point to an existing directory, so set
+# it to some dummy directory.
+NATIVE_SYSTEM_HEADER_DIR = $(NIX_FIXINC_DUMMY)
# Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
@@ -2201,7 +2205,7 @@
-DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_alias)\" \
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
- -DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \
+ -DLOCAL_INCLUDE_DIR=\"/no-such-dir\" \
-DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
-DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \
@TARGET_SYSTEM_ROOT_DEFINE@
@@ -1,61 +0,0 @@
diff --git a/gcc/config/alpha/linux.h b/gcc/config/alpha/linux.h
index 3a2940c..67f9899 100644
--- a/gcc/config/alpha/linux.h
+++ b/gcc/config/alpha/linux.h
@@ -89,7 +89,7 @@ Boston, MA 02111-1307, USA. */
{ \
struct rt_sigframe { \
struct siginfo info; \
- struct ucontext uc; \
+ ucontext_t uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = &rt_->uc.uc_mcontext; \
} \
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h
index e86ab3d..30797a7 100644
--- a/gcc/config/i386/linux.h
+++ b/gcc/config/i386/linux.h
@@ -260,7 +260,7 @@ Boston, MA 02111-1307, USA. */
siginfo_t *pinfo; \
void *puc; \
siginfo_t info; \
- struct ucontext uc; \
+ ucontext_t uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
} \
diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h
index fbfaa58..200c8dc 100644
--- a/gcc/config/i386/linux64.h
+++ b/gcc/config/i386/linux64.h
@@ -112,7 +112,7 @@ Boston, MA 02111-1307, USA. */
if (*(unsigned char *)(pc_+0) == 0x48 \
&& *(unsigned long *)(pc_+1) == 0x050f0000000fc0c7) \
{ \
- struct ucontext *uc_ = (CONTEXT)->cfa; \
+ ucontext_t *uc_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &uc_->uc_mcontext; \
} \
else \
@@ -182,7 +182,7 @@ Boston, MA 02111-1307, USA. */
struct siginfo *pinfo; \
void *puc; \
struct siginfo info; \
- struct ucontext uc; \
+ ucontext_t uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
} \
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index ba70ec1..0fff8b1 100644
--- a/gcc/config/rs6000/linux.h
+++ b/gcc/config/rs6000/linux.h
@@ -101,7 +101,7 @@ Boston, MA 02111-1307, USA. */
struct kernel_old_ucontext {
unsigned long uc_flags;
- struct ucontext *uc_link;
+ ucontext_t *uc_link;
stack_t uc_stack;
struct sigcontext_struct uc_mcontext;
sigset_t uc_sigmask;
@@ -1,119 +0,0 @@
{ lib, stdenv, fetchurl, geant4 }:
let
mkDataset = { pname, version, sha256, envvar }:
stdenv.mkDerivation {
inherit pname version;
geant_version = geant4.version;
src = fetchurl {
url = "https://cern.ch/geant4-data/datasets/${pname}.${version}.tar.gz";
inherit sha256;
};
preferLocalBuild = true;
dontBuild = true;
dontConfigure = true;
datadir = "${placeholder "out"}/share/Geant4-${geant4.version}/data/${pname}${version}";
installPhase = ''
mkdir -p $datadir
mv ./* $datadir
'';
inherit envvar;
setupHook = ./datasets-hook.sh;
meta = with lib; {
description = "Data files for the Geant4 toolkit";
homepage = "https://geant4.web.cern.ch/support/download";
license = licenses.g4sl;
platforms = platforms.all;
};
};
in
builtins.listToAttrs (map (a: { name = a.pname; value = mkDataset a; }) [
{
pname = "G4NDL";
version = "4.7.1";
sha256 = "sha256-06yuSGIhGNJXneJKVNUz+yQWvw2p3SiPFyTfFIWkbHw=";
envvar = "NEUTRONHP";
}
{
pname = "G4EMLOW";
version = "8.5";
sha256 = "sha256-ZrrKSaxdReKsEMEltPsmYiXlEYA+ZpgZCc6c0+m873M=";
envvar = "LE";
}
{
pname = "G4PhotonEvaporation";
version = "5.7";
sha256 = "sha256-dh5C5W/93j2YOfn52BAmB8a0wDKRUe5Rggb07p535+U=";
envvar = "LEVELGAMMA";
}
{
pname = "G4RadioactiveDecay";
version = "5.6";
sha256 = "sha256-OIYHfJyOWph4PmcY4cMlZ4me6y27M+QC1Edrwv5PDfE=";
envvar = "RADIOACTIVE";
}
{
pname = "G4SAIDDATA";
version = "2.0";
sha256 = "sha256-HSao55uqceRNV1m59Vpn6Lft4xdRMWqekDfYAJDHLpE=";
envvar = "SAIDXS";
}
{
pname = "G4PARTICLEXS";
version = "4.0";
sha256 = "sha256-k4EDlwPD8rD9NqtJmTYqLItP+QgMMi+QtOMZKBEzypU=";
envvar = "PARTICLEXS";
}
{
pname = "G4ABLA";
version = "3.3";
sha256 = "sha256-HgQbMlLunO+IbWJPdT5pMwOqMtfl7zu6h7NPNtkuorE=";
envvar = "ABLA";
}
{
pname = "G4INCL";
version = "1.2";
sha256 = "sha256-+ICxYHPuCpLXSU8ydqbVLU3h02d6DUx8WHADlu0OGn4=";
envvar = "INCL";
}
{
pname = "G4PII";
version = "1.3";
sha256 = "sha256-YiWtkCZ19DgcmMa6JfxaBs6HVJqpeWNNPQNJHWYW6SY=";
envvar = "PII";
}
{
pname = "G4ENSDFSTATE";
version = "2.3";
sha256 = "sha256-lETF4IIHkavTzKrOEFsOR3kPrc4obhEUmDTnnEqOkgM=";
envvar = "ENSDFSTATE";
}
{
pname = "G4RealSurface";
version = "2.2";
sha256 = "sha256-mVTe4AEvUzEmf3g2kOkS5y21v1Lqm6vs0S6iIoIXaCA=";
envvar = "REALSURFACE";
}
{
pname = "G4TENDL";
version = "1.4";
sha256 = "sha256-S3J0AgzItO1Wm4ku8YwuCI7c22tm850lWFzO4l2XIeA=";
envvar = "PARTICLEHP";
}
])
@@ -1,143 +0,0 @@
{ enableMultiThreading ? true
, enableInventor ? false
, enableQT ? false # deprecated name
, enableQt ? enableQT
, enableXM ? false
, libGLX
, enableOpenGLX11 ? !stdenv.hostPlatform.isDarwin
, enablePython ? false
, enableRaytracerX11 ? false
# Standard build environment with cmake.
, lib, stdenv, fetchurl, cmake
, clhep
, expat
, xercesc
, zlib
# For enableQt.
, qtbase
, wrapQtAppsHook
# For enableXM.
, motif
# For enableInventor
, coin3d
, soxt
, libXpm
# For enableQt, enableXM, enableOpenGLX11, enableRaytracerX11.
, libGLU, libGL
, libXext
, libXmu
# For enablePython
, boost
, python3
# For tests
, callPackage
}:
let
boost_python = boost.override { enablePython = true; python = python3; };
in
lib.warnIf (enableQT != false) "geant4: enableQT is deprecated, please use enableQt"
stdenv.mkDerivation rec {
version = "11.2.2";
pname = "geant4";
src = fetchurl {
url = "https://cern.ch/geant4-data/releases/geant4-v${version}.tar.gz";
hash = "sha256-0k9lc1uKCgOcAPlDSZHpnvEZuGxRDQ8qshFV24KjSR0=";
};
# Fix broken paths in a .pc
postPatch = ''
substituteInPlace source/externals/ptl/cmake/Modules/PTLPackageConfigHelpers.cmake \
--replace '${"$"}{prefix}/${"$"}{PTL_INSTALL_' '${"$"}{PTL_INSTALL_'
'';
cmakeFlags = [
"-DGEANT4_INSTALL_DATA=OFF"
"-DGEANT4_USE_GDML=ON"
"-DGEANT4_USE_G3TOG4=ON"
"-DGEANT4_USE_QT=${if enableQt then "ON" else "OFF"}"
"-DGEANT4_USE_XM=${if enableXM then "ON" else "OFF"}"
"-DGEANT4_USE_OPENGL_X11=${if enableOpenGLX11 then "ON" else "OFF"}"
"-DGEANT4_USE_INVENTOR=${if enableInventor then "ON" else "OFF"}"
"-DGEANT4_USE_PYTHON=${if enablePython then "ON" else "OFF"}"
"-DGEANT4_USE_RAYTRACER_X11=${if enableRaytracerX11 then "ON" else "OFF"}"
"-DGEANT4_USE_SYSTEM_CLHEP=ON"
"-DGEANT4_USE_SYSTEM_EXPAT=ON"
"-DGEANT4_USE_SYSTEM_ZLIB=ON"
"-DGEANT4_BUILD_MULTITHREADED=${if enableMultiThreading then "ON" else "OFF"}"
] ++ lib.optionals (enableOpenGLX11 && stdenv.hostPlatform.isDarwin) [
"-DXQuartzGL_INCLUDE_DIR=${libGLX.dev}/include"
"-DXQuartzGL_gl_LIBRARY=${libGLX}/lib/libGL.dylib"
] ++ lib.optionals (enableMultiThreading && enablePython) [
"-DGEANT4_BUILD_TLS_MODEL=global-dynamic"
] ++ lib.optionals enableInventor [
"-DINVENTOR_INCLUDE_DIR=${coin3d}/include"
"-DINVENTOR_LIBRARY_RELEASE=${coin3d}/lib/libCoin.so"
];
nativeBuildInputs = [
cmake
];
propagatedNativeBuildInputs = lib.optionals enableQt [
wrapQtAppsHook
];
dontWrapQtApps = true; # no binaries
buildInputs =
lib.optionals enableOpenGLX11 [ libGLU libXext libXmu ]
++ lib.optionals enableInventor [ libXpm coin3d soxt motif ]
++ lib.optionals enablePython [ boost_python python3 ];
propagatedBuildInputs = [ clhep expat xercesc zlib ]
++ lib.optionals enableOpenGLX11 [ libGL ]
++ lib.optionals enableXM [ motif ]
++ lib.optionals enableQt [ qtbase ];
postFixup = ''
# Don't try to export invalid environment variables.
sed -i 's/export G4\([A-Z]*\)DATA/#export G4\1DATA/' "$out"/bin/geant4.sh
'' + lib.optionalString enableQt ''
wrapQtAppsHook
'';
setupHook = ./geant4-hook.sh;
passthru = {
data = callPackage ./datasets.nix {};
tests = callPackage ./tests.nix {};
inherit enableQt;
};
# Set the myriad of envars required by Geant4 if we use a nix-shell.
shellHook = ''
source $out/nix-support/setup-hook
'';
meta = with lib; {
broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
description = "Toolkit for the simulation of the passage of particles through matter";
longDescription = ''
Geant4 is a toolkit for the simulation of the passage of particles through matter.
Its areas of application include high energy, nuclear and accelerator physics, as well as studies in medical and space science.
The two main reference papers for Geant4 are published in Nuclear Instruments and Methods in Physics Research A 506 (2003) 250-303, and IEEE Transactions on Nuclear Science 53 No. 1 (2006) 270-278.
'';
homepage = "http://www.geant4.org";
license = licenses.g4sl;
maintainers = with maintainers; [ omnipotententity veprbl ];
platforms = platforms.unix;
};
}
@@ -4,21 +4,23 @@
fetchPypi,
azure-mgmt-core,
azure-mgmt-common,
msrest,
isodate,
pythonOlder,
setuptools,
typing-extensions,
}:
buildPythonPackage rec {
pname = "azure-mgmt-resource";
version = "23.1.1";
version = "23.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ILawBrVE/bGWB/P2o4EQViXgu2D78wNvOYhcRkbTND4=";
pname = "azure_mgmt_resource";
inherit version;
hash = "sha256-dHt1DfevI6sw5T0/NiR6sMFt4eJn1maxpQd8OaQpJSk=";
};
build-system = [ setuptools ];
@@ -26,7 +28,8 @@ buildPythonPackage rec {
dependencies = [
azure-mgmt-common
azure-mgmt-core
msrest
isodate
typing-extensions
];
# Module has no tests
@@ -38,7 +41,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Microsoft Azure SDK for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/resources/azure-mgmt-resource";
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-resource_${version}/sdk/resources/azure-mgmt-resource/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [
olcai
@@ -11,7 +11,7 @@
buildPythonPackage rec {
pname = "garminconnect";
version = "0.2.20";
version = "0.2.21";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "cyberjunky";
repo = "python-garminconnect";
rev = "refs/tags/${version}";
hash = "sha256-PFasW2rOfKwAjkqd690UXE3NNIjO3njBVYy5m+aXcfk=";
hash = "sha256-sSprHu6VCa+VRipmSX/YcfyTe5dKHhNkxmbO9hzNYq8=";
};
build-system = [ pdm-backend ];
@@ -17,7 +17,7 @@
buildPythonPackage rec {
pname = "lacuscore";
version = "1.12.3";
version = "1.12.5";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -26,7 +26,7 @@ buildPythonPackage rec {
owner = "ail-project";
repo = "LacusCore";
rev = "refs/tags/v${version}";
hash = "sha256-cKAHNOZZtIdys0z36F0ORf6xXL/JkAgwZouvYYu/OTU=";
hash = "sha256-iozCgQ7VULQVlKaHmThxiFDZ2hly2yYMdIrXBFHFRfI=";
};
pythonRelaxDeps = [
@@ -402,8 +402,8 @@ rec {
"sha256-KOvVP0ttOXBxmDF05GPRNvr2fKUc6+qJz3Pw53oAI+o=";
mypy-boto3-directconnect =
buildMypyBoto3Package "directconnect" "1.35.0"
"sha256-HCSark4bQG673j5KZ1ZULwNiOBk/cichkGwuH1XNAPk=";
buildMypyBoto3Package "directconnect" "1.35.69"
"sha256-GD1z4qFr5lhUUM74z3hC9iRFfJUpQkGEEyA/dq3G/1c=";
mypy-boto3-discovery =
buildMypyBoto3Package "discovery" "1.35.66"
@@ -954,8 +954,8 @@ rec {
"sha256-i4h13QqDO65bSTlxdt5hN6iXag578jc3Mv7bOHBZkpQ=";
mypy-boto3-networkmanager =
buildMypyBoto3Package "networkmanager" "1.35.0"
"sha256-z1YOK7DoyTEWnaWJ8x8VKZNETw/7jPXBjmN4ZX7m5E0=";
buildMypyBoto3Package "networkmanager" "1.35.69"
"sha256-zTWtchusIiyp5CLz2kEeKrLVueg5Par92sufw0EM5mM=";
mypy-boto3-nimble =
buildMypyBoto3Package "nimble" "1.35.0"
@@ -1162,8 +1162,8 @@ rec {
"sha256-RwPNNFntNChLqbr86wd1bwp6OqWvs3oj3V+4X71J3Hw=";
mypy-boto3-s3 =
buildMypyBoto3Package "s3" "1.35.67"
"sha256-rtfS6OOE1A59exAxKTtPma2U7y6qGrx8GqBgqZlu6Zs=";
buildMypyBoto3Package "s3" "1.35.69"
"sha256-l/eUSoSkpJKCglvvFIOiVoDc3OddpgF3RdcJ0s8qocA=";
mypy-boto3-s3control =
buildMypyBoto3Package "s3control" "1.35.55"
@@ -1,6 +1,6 @@
{
lib,
bitcoinlib,
python-bitcoinlib,
buildPythonPackage,
fetchFromGitHub,
gitpython,
@@ -24,7 +24,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
bitcoinlib
python-bitcoinlib
gitpython
pycryptodomex
];
@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "pbs-installer";
version = "2024.10.08";
version = "2024.10.16";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "frostming";
repo = "pbs-installer";
rev = "refs/tags/${version}";
hash = "sha256-fftrY1r84o9Vj9Hw18WYItGRRjgKarF1tXmDV2tERXQ=";
hash = "sha256-rMj0zKqfYvOvKZVNoZxOULaXyzjiMfBN49M+Z3+SAaM=";
};
build-system = [ pdm-backend ];
@@ -16,7 +16,7 @@
buildPythonPackage rec {
pname = "pygitguardian";
version = "1.17.0";
version = "1.18.0";
pyproject = true;
disabled = pythonOlder "3.8";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
owner = "GitGuardian";
repo = "py-gitguardian";
rev = "refs/tags/v${version}";
hash = "sha256-+L0rF5wy4iL/6nPdLSXwYazxsobH2G3pCATrqYe9B6U=";
hash = "sha256-4qMcBtelLiqLXKV8YIw9M6e97Nbo/K8UpsKoR0W7uKM=";
};
pythonRelaxDeps = [
@@ -55,6 +55,7 @@ buildPythonPackage rec {
disabledTests = [
# Tests require an API key
"test_api_tokens"
"test_bogus_rate_limit"
"test_compute_sca_files"
"test_content_scan_exceptions"
@@ -76,6 +77,7 @@ buildPythonPackage rec {
"test_sca_scan_all_with_params"
"test_sca_scan_directory_invalid_tar"
"test_sca_scan_directory"
"test_scan"
"test_versions_from_headers"
];
@@ -8,7 +8,7 @@
}:
buildPythonPackage rec {
pname = "bitcoinlib";
pname = "python-bitcoinlib";
version = "0.12.2";
format = "setuptools";
@@ -132,5 +132,6 @@ buildPythonPackage rec {
maintainers = [ ];
homepage = "https://mapnik.org";
license = licenses.lgpl21Plus;
broken = true; # At 2024-11-13, test_raster_warping fails.
};
}
@@ -10,7 +10,7 @@
buildPythonPackage rec {
pname = "tencentcloud-sdk-python";
version = "3.0.1271";
version = "3.0.1272";
pyproject = true;
disabled = pythonOlder "3.9";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
owner = "TencentCloud";
repo = "tencentcloud-sdk-python";
rev = "refs/tags/${version}";
hash = "sha256-kXkn9RhQm6EPS3MABe413xKv+ldKOT6EBs6qo4fMacY=";
hash = "sha256-J6W4czmoxxdEudKoeqEH57vNBb2fEyqYU2LAiYTBq40=";
};
build-system = [ setuptools ];
@@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "teslajsonpy";
version = "3.12.2";
version = "3.12.3";
pyproject = true;
disabled = pythonOlder "3.7";
@@ -27,7 +27,7 @@ buildPythonPackage rec {
owner = "zabuldon";
repo = "teslajsonpy";
rev = "refs/tags/v${version}";
hash = "sha256-chUW7aa99KzYyn8qVDX4GK8eI8MoP8+TKRx9PI+0ZKE=";
hash = "sha256-LvkStE5iIDfJ6U939JkVWqNsPLojGBXM/TFiJZpZ8tA=";
};
build-system = [ poetry-core ];
-9
View File
@@ -1,9 +0,0 @@
{ callPackage }:
{
ut2004-demo = callPackage ./demo.nix { };
ut2004 = gamePacks: callPackage ./wrapper.nix {
inherit gamePacks;
};
}
-40
View File
@@ -1,40 +0,0 @@
{ lib, stdenv, fetchurl }:
let
arch =
if stdenv.hostPlatform.system == "x86_64-linux" then "amd64"
else if stdenv.hostPlatform.system == "i686-linux" then "x86"
else throw "Unsupported architecture";
in stdenv.mkDerivation rec {
pname = "ut2004-demo";
version = "3334";
src = fetchurl {
url = "http://ftp.snt.utwente.nl/pub/games/UT2004/demo/UT2004-LNX-Demo${version}.run.gz";
sha256 = "0d5f84qz8l1rg16yzx2k4ikr46n9iwj68na1bqi87wrww7ck6jh7";
};
buildCommand = ''
cat $src | gunzip > setup.run
chmod +x setup.run
./setup.run --noexec --target .
mkdir $out
tar -xaf ut2004demo.tar.bz2 -C $out
tar -xaf linux-${arch}.tar.bz2 -C $out
rm $out/System/libSDL-1.2.so.0
rm $out/System/openal.so
'';
dontStrip = true;
dontPatchELF = true;
meta = with lib; {
description = "First-person shooter video game developed by Epic Games and Digital Extreme -- demo version";
homepage = "http://www.unrealtournament2004.com";
license = licenses.unfree;
maintainers = with maintainers; [ abbradar ];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}
-46
View File
@@ -1,46 +0,0 @@
{ stdenv, lib, runCommand, buildEnv, makeWrapper, makeDesktopItem, gamePacks, libstdcxx5, SDL, openal }:
let
game = buildEnv {
name = "ut2004-game";
paths = gamePacks;
ignoreCollisions = true;
pathsToLink = [ "/" "/System" ];
postBuild = ''
ln -s ${lib.getLib SDL}/lib/libSDL-1.2.so.0 $out/System
ln -s ${lib.getLib openal}/lib/libopenal.so $out/System/openal.so
for i in $out/System/*-bin; do
path="$(readlink -f "$i")"
rm "$i"
cp "$path" "$i"
chmod +w "$i"
patchelf \
--set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) \
--set-rpath "$out/System:${lib.makeLibraryPath [ libstdcxx5 ]}" \
"$i"
done
'';
};
desktop = makeDesktopItem {
name = "ut2004";
desktopName = "Unreal Tournament 2004";
comment = "A first-person shooter video game developed by Epic Games and Digital Extreme";
genericName = "First-person shooter";
categories = [ "Game" ];
exec = "ut2004";
};
in runCommand "ut2004" {
nativeBuildInputs = [ makeWrapper ];
} ''
mkdir -p $out/bin
for i in ${game}/System/*-bin; do
name="$(basename "$i")"
makeWrapper $i $out/bin/''${name%-bin} \
--chdir "${game}/System"
done
mkdir -p $out/share/applications
ln -s ${desktop}/share/applications/* $out/share/applications
''
+198 -198
View File
@@ -1,332 +1,332 @@
{
"bluedevil": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/bluedevil-6.2.3.tar.xz",
"hash": "sha256-gEC21kiD8wDksAm6ZiRDy0a36iaupxJ7ciNq56Pxkbs="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/bluedevil-6.2.4.tar.xz",
"hash": "sha256-5mSo3RvlVwNWki7IV4vZGi24ZlamdsHIbbnDzv2+ogI="
},
"breeze": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/breeze-6.2.3.tar.xz",
"hash": "sha256-UIzt2XlqS7LjwRWi9VZxnW5iYDIGRjR2OXkpUE+hGqQ="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/breeze-6.2.4.tar.xz",
"hash": "sha256-TZYTiWCC8zZBOrsk74+NhlE/fpmkwLzfL0XNfFu9fCA="
},
"breeze-grub": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/breeze-grub-6.2.3.tar.xz",
"hash": "sha256-n+Iw30bEqVEnlboP1l7z0ygee2owmWdqY4s20YGVRLE="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/breeze-grub-6.2.4.tar.xz",
"hash": "sha256-gUbx1po18gP1XIZXwzlVkvEiEU+8yXV8/NJXukRQrIs="
},
"breeze-gtk": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/breeze-gtk-6.2.3.tar.xz",
"hash": "sha256-PFmy9gWbZmHvH+t05ZrTBbrTkdaSsw19Ox4NkcQSxqE="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/breeze-gtk-6.2.4.tar.xz",
"hash": "sha256-YQwk1Ghr4IqSM3UWtn6fCcfjZd3cPgKXbSSvNkIzvKA="
},
"breeze-plymouth": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/breeze-plymouth-6.2.3.tar.xz",
"hash": "sha256-hRaoLZYQR0am8zmPPx8VsCkVxEbuG/10Tj9wu82lFiI="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/breeze-plymouth-6.2.4.tar.xz",
"hash": "sha256-IaISI1lhDkM6NiCDYKt4NL/JHHIixqHV7d2ZI9yyDtw="
},
"discover": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/discover-6.2.3.tar.xz",
"hash": "sha256-bfLedenei/y6Va7noc64278PqzsBilkYP7yvurL7Iso="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/discover-6.2.4.tar.xz",
"hash": "sha256-YZqKgGcPUtALvmfa6iLR2w18m0S1eGXclyVYBhutFCc="
},
"drkonqi": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/drkonqi-6.2.3.tar.xz",
"hash": "sha256-3BTgxUiF6An59uKCUyrqFX+Qo39CjVTy9ws3WaONJeY="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/drkonqi-6.2.4.tar.xz",
"hash": "sha256-qXCmXNwUaQWKfMZS3SzM0NazAq6QapMgjTXYINtXMtg="
},
"flatpak-kcm": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/flatpak-kcm-6.2.3.tar.xz",
"hash": "sha256-bFR+SoX2t4t2KuYNWekZiwFO3w3+wdozW8tiN/z3hrc="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/flatpak-kcm-6.2.4.tar.xz",
"hash": "sha256-EPiyGLMv1NCDexfov4duE2ZgR8k4+6I9d730CcOyPoM="
},
"kactivitymanagerd": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kactivitymanagerd-6.2.3.tar.xz",
"hash": "sha256-Sr769igaR1VTJ2kucSCqY1MlzCCuhofOues647AtDYI="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kactivitymanagerd-6.2.4.tar.xz",
"hash": "sha256-F2csZVAMcx7rPENknPUuyuEVrf0ZQsJFmQVezj5KkNo="
},
"kde-cli-tools": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kde-cli-tools-6.2.3.tar.xz",
"hash": "sha256-TFffe8/SHmnFaF1yezqi5Ci9/uG5kB6PHYeiFdEm8vM="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kde-cli-tools-6.2.4.tar.xz",
"hash": "sha256-EXrLp9aABuApn9aBKLb+VIWekg4OOKTzlJmKuIER2ec="
},
"kdecoration": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kdecoration-6.2.3.tar.xz",
"hash": "sha256-SWN3JuDDR2dPKgJIQI5MXrN7XjX5nhE0O3M4uMNYwGM="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kdecoration-6.2.4.tar.xz",
"hash": "sha256-rGRbTVgtEQJYaUqeLqK/Zfu9S9WOnen5NUeGOXvE9xo="
},
"kde-gtk-config": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kde-gtk-config-6.2.3.tar.xz",
"hash": "sha256-LpiFDJiJw6jsd2ebiHMwWeorGC6lbIK3BxO2Zz7ljL4="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kde-gtk-config-6.2.4.tar.xz",
"hash": "sha256-6AGhYuhZdmGCvM/S1KvXCT273pUYPidq1N6BkhUeVkU="
},
"kdeplasma-addons": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kdeplasma-addons-6.2.3.tar.xz",
"hash": "sha256-fG/qKMQHxnz2dGA4T0cgFN20dpQGPEWgju/9P8Ox8Pk="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kdeplasma-addons-6.2.4.tar.xz",
"hash": "sha256-0JnCk13XTrL0mWOHG34m+FS+QOTXdz/Jodash5/Rb5E="
},
"kgamma": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kgamma-6.2.3.tar.xz",
"hash": "sha256-1afemiTvMQXT87HrIIMg5Ip8D1dVKxb8FuaHGmMJOgQ="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kgamma-6.2.4.tar.xz",
"hash": "sha256-c6dF/GbNFOqm4TNQw4aDpQRRJYh6GPRh6ytk5Q5qGSI="
},
"kglobalacceld": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kglobalacceld-6.2.3.tar.xz",
"hash": "sha256-2ey5OT8arFqnR6JBimjfevOm/uDZt1azqbTJfTq23qg="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kglobalacceld-6.2.4.tar.xz",
"hash": "sha256-0ikE4sg0LbzPeoGX0mDMDff17KWuZZq4ExVXPbgNNno="
},
"kinfocenter": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kinfocenter-6.2.3.tar.xz",
"hash": "sha256-iX7RKqxUv5zNw966VJAJ3Ug6sRF4OaOC6/AioemszKA="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kinfocenter-6.2.4.tar.xz",
"hash": "sha256-a92mBn9tEVaiWKQ6Vtc0EmIP8iSwZAs+pCSt8SIwO6I="
},
"kmenuedit": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kmenuedit-6.2.3.tar.xz",
"hash": "sha256-GvvsMPW8q/oHlzmlwGuR4OTsr/uh1pUpaauo9EuiDEk="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kmenuedit-6.2.4.tar.xz",
"hash": "sha256-F09b+xdGQre3JEXylNQQz6zK9lczUMFK9xHkjchWrfk="
},
"kpipewire": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kpipewire-6.2.3.tar.xz",
"hash": "sha256-u0c/FbTU9ZR5y7q6bveB2bxIgTuXw17fs5gtCsjwMPc="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kpipewire-6.2.4.tar.xz",
"hash": "sha256-duRWIGqfbpIssQYUR2oZaC+MJ5V8XImY8dGg2tuUyms="
},
"krdp": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/krdp-6.2.3.tar.xz",
"hash": "sha256-EffDMZqetNm2s9VN2L605ozIF4jgE4Nc5rJ2U7Kvx+Q="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/krdp-6.2.4.tar.xz",
"hash": "sha256-9iKdH3zPzjTXLmVl2LTL3HbvNXmHlM0u0llPca6DV7s="
},
"kscreen": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kscreen-6.2.3.tar.xz",
"hash": "sha256-comxlZ7iZxV/m2z+eP1/+uGBM8pqlJ9ILSJRVZu5OWk="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kscreen-6.2.4.tar.xz",
"hash": "sha256-P2YMmOaYtTqU6rdfVd1W4q/y3HrjTIvmmHVGZZnnsAI="
},
"kscreenlocker": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kscreenlocker-6.2.3.tar.xz",
"hash": "sha256-FDjIvb2OCY7MWg9togXm+uUlQB2c8T0nn1X69xPR5U8="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kscreenlocker-6.2.4.tar.xz",
"hash": "sha256-Ep0Qw4kiIhaNu/gM29qBCtBiwm3lH3y8JZDmVfVTyxY="
},
"ksshaskpass": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/ksshaskpass-6.2.3.tar.xz",
"hash": "sha256-GHIZheT2KKnSo8qIxqxB+lLZktEpvcbN3n1BQLIbkBs="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/ksshaskpass-6.2.4.tar.xz",
"hash": "sha256-PdkdLhg+9eISmBvSYzkZidKrb8kk+TVROKurB/LKv78="
},
"ksystemstats": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/ksystemstats-6.2.3.tar.xz",
"hash": "sha256-W9Q6H9vwjElVTbIrkZdrGYQSpeAA4QnQEHW9JeYGFBo="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/ksystemstats-6.2.4.tar.xz",
"hash": "sha256-SalO8F5qsOjw/1onIZTzTYpNVy/nn8q2XJbqLsFGDEM="
},
"kwallet-pam": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kwallet-pam-6.2.3.tar.xz",
"hash": "sha256-rETUciK0QNFM34ZimQ7NzleOj2VHXvZ1mkx7nVhRSe4="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kwallet-pam-6.2.4.tar.xz",
"hash": "sha256-CwShwte6T9wgoHY3J6XNQ2ItKHRSPdn9gzuRLBEB1eM="
},
"kwayland": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kwayland-6.2.3.tar.xz",
"hash": "sha256-D9U50EKDh6TyT/qsyh0qUUEtTCrcQRltDt6VZQK7L9w="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kwayland-6.2.4.tar.xz",
"hash": "sha256-9P5pl4+OmwxABYAZeC8Tv913DPVF2TJaezeIJvDNNKw="
},
"kwayland-integration": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kwayland-integration-6.2.3.tar.xz",
"hash": "sha256-9QDDA2QmuqcPlO6zgIfMobEE8ct8KsJAZRuolt6hTC8="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kwayland-integration-6.2.4.tar.xz",
"hash": "sha256-NH+TvNhLkNvMIhGMHYl/T3zWhmTA6H9rhm1SQABv4js="
},
"kwin": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kwin-6.2.3.tar.xz",
"hash": "sha256-66IKOVKZryNY/guh1iFsAEgOzdzJ1EUvd/emDB548QE="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kwin-6.2.4.tar.xz",
"hash": "sha256-1LeOvclDLLHiJGIaxDz7gbktvO4DSv6Qu+tbIvIY8yE="
},
"kwrited": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/kwrited-6.2.3.tar.xz",
"hash": "sha256-fwL3PyQQmse8DuYbYa/9ztoYxh8OkWikPG/BHqbnYb4="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/kwrited-6.2.4.tar.xz",
"hash": "sha256-VbZkMQ2Y0uJtMEh49qLn3BWsMrlBB2rmozkeBJw+m2Y="
},
"layer-shell-qt": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/layer-shell-qt-6.2.3.tar.xz",
"hash": "sha256-AJQf7fxUIPZda+JHBLXMLwf1lx9bfAAUVmjO3HNlHhw="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/layer-shell-qt-6.2.4.tar.xz",
"hash": "sha256-ABiXp9SZGp6VvnMVLZUTZizH2KUyEXAtkG1Ze3PO2HI="
},
"libkscreen": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/libkscreen-6.2.3.tar.xz",
"hash": "sha256-p54GdZRLS2lxPobyz+PJd3V9RPJPGT8xGqVC6TgvIjg="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/libkscreen-6.2.4.tar.xz",
"hash": "sha256-PMBtXFYatNvtvFSKRlURnoYcSsKeVl/1hGJz8MdunLQ="
},
"libksysguard": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/libksysguard-6.2.3.tar.xz",
"hash": "sha256-rnsVfcys/oVw1UlOBQWKI5hg5fArjcs6O5IpSNo5CTU="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/libksysguard-6.2.4.tar.xz",
"hash": "sha256-95n5Dv07Pg6hexlpuwzFdEx3YuoW0SixtNMd+njMWK4="
},
"libplasma": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/libplasma-6.2.3.tar.xz",
"hash": "sha256-LoXzJFwQuAyEGYXER5+o9F+I9K8BprgFP9C324qcWO4="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/libplasma-6.2.4.tar.xz",
"hash": "sha256-Zu2hRftX3MWF25f9flQ/LN/HRc64PBbL49CAk59bGxQ="
},
"milou": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/milou-6.2.3.tar.xz",
"hash": "sha256-NxGG3iA+a1KNm12ZytfsPNXvXme9qWJNBsQ4WvMpAlc="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/milou-6.2.4.tar.xz",
"hash": "sha256-tHpjWQSneqgvsC2WoCYQAMyV2gHQdJjqnynUwHQ3dfk="
},
"ocean-sound-theme": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/ocean-sound-theme-6.2.3.tar.xz",
"hash": "sha256-7OsnYhVDzcGCQFHZw0DqAwOK/Iv0XBD+7ozd1ayIB9E="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/ocean-sound-theme-6.2.4.tar.xz",
"hash": "sha256-e1SSq62KddJC54g5XNoFTez8hdD/IhvOBbkkUY8WMAo="
},
"oxygen": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/oxygen-6.2.3.tar.xz",
"hash": "sha256-LYdUmyVz4bDeDbFRFnubi+kEZ3+zUdAbU4e42ZX+z78="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/oxygen-6.2.4.tar.xz",
"hash": "sha256-hmpYvaPzYfKweMRHuViFudOQXYCyhUVIYRk9PoY6FFI="
},
"oxygen-sounds": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/oxygen-sounds-6.2.3.tar.xz",
"hash": "sha256-pslNLDH05ZBBJBAgKcGFYO402CG+nVkn/W9AHKWxDmk="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/oxygen-sounds-6.2.4.tar.xz",
"hash": "sha256-eWe8OSAwNyWq4bVwAfIZKwaiUIT787joRfXwUaViWN4="
},
"plasma5support": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma5support-6.2.3.tar.xz",
"hash": "sha256-xO7Ntf5SqWkojGPDVFAZqy0u9AS1UtcZ5g/6djFm8K0="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma5support-6.2.4.tar.xz",
"hash": "sha256-Izu9w/HAuKy7cQ9TxjCDWcMVtpmVj2eEs0Z/RyT5PY0="
},
"plasma-activities": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-activities-6.2.3.tar.xz",
"hash": "sha256-pi741F3rk0wBf6q806use2rfPHrUeRltOw+H832ziEc="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-activities-6.2.4.tar.xz",
"hash": "sha256-fJddJCHmeS6MPMpfImEdrFX0Th7IZI35dxLwDLuQfMs="
},
"plasma-activities-stats": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-activities-stats-6.2.3.tar.xz",
"hash": "sha256-W+1GyGD1NwjT3mgw9M1VRHINGFHAB0ESPohR7i2+fvs="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-activities-stats-6.2.4.tar.xz",
"hash": "sha256-wicYULV7DaboTmEEnD3W1gJE5HSCJFZyqcIg3r8EzLs="
},
"plasma-browser-integration": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-browser-integration-6.2.3.tar.xz",
"hash": "sha256-/s5wowbUOiFfN8lHbYMY1bPbBQZSmcylmGE60CCMNPA="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-browser-integration-6.2.4.tar.xz",
"hash": "sha256-UEvhuwyyKxoTwLdHE1FnL7o6Rr3I5XJNS6QBPo8tY80="
},
"plasma-desktop": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-desktop-6.2.3.tar.xz",
"hash": "sha256-Yh7xjmXXU3gyCIHAxdSGbzkDILCyq6/ryzPXVGFoYyo="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-desktop-6.2.4.tar.xz",
"hash": "sha256-gfKrQM3sMykYyQsbcyq7KqDAUChU5IuPoG+4K1KSTaM="
},
"plasma-dialer": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-dialer-6.2.3.tar.xz",
"hash": "sha256-Ukz0HUt7SK7GenW1DvCxSH2lIdWfyHXpP4gCmIEbUCE="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-dialer-6.2.4.tar.xz",
"hash": "sha256-sdHANPIayXww+bEsnJmPzaJk02cn0v1GSU5lWuecgWc="
},
"plasma-disks": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-disks-6.2.3.tar.xz",
"hash": "sha256-tFtEm6azlXcsPkHrKx8c4XH0+KMFKenshhMUGk9IHLo="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-disks-6.2.4.tar.xz",
"hash": "sha256-cysnzgdv3/7LAbVRhNSVfoWSFhdk5XmDXVnlz/XnJGo="
},
"plasma-firewall": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-firewall-6.2.3.tar.xz",
"hash": "sha256-x7oY5/3Q7XK8Bq5YJengVpl42Nf6XU4j/pkL6BYyZ/4="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-firewall-6.2.4.tar.xz",
"hash": "sha256-mrcISNBhbwjk8nuzHCN0aqNdgA2bdIKR6qB43RmZPVU="
},
"plasma-integration": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-integration-6.2.3.tar.xz",
"hash": "sha256-v0Pkku9BneHnHLLcr/yWeT1FTAjz0v5LGg/tqqnMu30="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-integration-6.2.4.tar.xz",
"hash": "sha256-jT2bAirvQRo2qtpWSTGq1OyB34uO9uP0CR42JSIpXMc="
},
"plasma-mobile": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-mobile-6.2.3.tar.xz",
"hash": "sha256-Mma10wHNmF/2zaIEZm81m5iWsHeaL+B4Z8RPRRQFMkQ="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-mobile-6.2.4.tar.xz",
"hash": "sha256-7RmOzJAr3Ow9Zr8ePWBCFFDsP13qdLE5WqaifR7uoK8="
},
"plasma-nano": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-nano-6.2.3.tar.xz",
"hash": "sha256-oJX9nChafpuPR803tOAJ3NY7GuBMCovWYcx4RmpVOSc="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-nano-6.2.4.tar.xz",
"hash": "sha256-X29HKQk7mLclZADJD2m+qgOZ/Qnq3RSN4BBFTYo4WiE="
},
"plasma-nm": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-nm-6.2.3.tar.xz",
"hash": "sha256-EDhCnLa135e4rudXceBR04E+rbvEgPK08j8iXRHtnHs="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-nm-6.2.4.tar.xz",
"hash": "sha256-9DY/MnzNdX+wE91L8pkqN6WNtrZifPLQEPMNWvr9gyo="
},
"plasma-pa": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-pa-6.2.3.tar.xz",
"hash": "sha256-AOyBDMJYzDjYYC9Tc753PBJHT73vSjyi/ZageOjpOxE="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-pa-6.2.4.tar.xz",
"hash": "sha256-J2V1s4HCYIAnmlrPh69kJQJtLuvhqQZQc4P18J5oGlc="
},
"plasma-sdk": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-sdk-6.2.3.tar.xz",
"hash": "sha256-8r7AyQAargJ2AXu792WSVkPCohEqvBd1U60cSosX0t0="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-sdk-6.2.4.tar.xz",
"hash": "sha256-V29qp1HZ0s9mzfCVYs6G7QLLv3PlrlzL0G4B+BY7iHg="
},
"plasma-systemmonitor": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-systemmonitor-6.2.3.tar.xz",
"hash": "sha256-EtnGmNN1NcHExovtFejaE9fqRjb6DJSf7dIsOI63P7w="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-systemmonitor-6.2.4.tar.xz",
"hash": "sha256-R5a1pXH/Q5b9R1WxsJCyfCP6WWuHFcMs5KAxXRLIBkw="
},
"plasma-thunderbolt": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-thunderbolt-6.2.3.tar.xz",
"hash": "sha256-yxsJTEr7U1zKFKmPMVktm05Si3he+xmHMTsHp2xN2cA="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-thunderbolt-6.2.4.tar.xz",
"hash": "sha256-xDXVALHA+iwYSFGtPqIFzWBlGgqqoxqeb82I4K7vtnA="
},
"plasma-vault": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-vault-6.2.3.tar.xz",
"hash": "sha256-5/uDsikjQ8xUR7eCYXEzDqcnsPRBORTz9U5tLCgfUVQ="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-vault-6.2.4.tar.xz",
"hash": "sha256-ypk008ov5VYzxCkwIGj4F3i/SmLiIFnuK2qglQ6WhsM="
},
"plasma-welcome": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-welcome-6.2.3.tar.xz",
"hash": "sha256-poSSmGAHkG4GEU3acvLTAVcGGZHBryd0PtaWlKi8698="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-welcome-6.2.4.tar.xz",
"hash": "sha256-2QnEefl0eZZCMv2h+AsFOlTDp0jlEnwhG5OHB2LmtlM="
},
"plasma-workspace": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-workspace-6.2.3.tar.xz",
"hash": "sha256-n2gAe83KcBV9k/ocHpJb/9h7IdK3EAXSpQ+KbyfdWZg="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-workspace-6.2.4.tar.xz",
"hash": "sha256-Mqo72inXt2p9rn4fjJeJz+f2CeuHjhp5PbSxSQyjwXQ="
},
"plasma-workspace-wallpapers": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plasma-workspace-wallpapers-6.2.3.tar.xz",
"hash": "sha256-pvYf0CsneYc9TTXewFiHwV7NUdo0vLHLoS5ivnsUOrE="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plasma-workspace-wallpapers-6.2.4.tar.xz",
"hash": "sha256-63qSncfSVIsO59d3N/sPLrV1cfgjXjmM4bM+kuivqls="
},
"plymouth-kcm": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/plymouth-kcm-6.2.3.tar.xz",
"hash": "sha256-oRuXDjHyrbr/jHWm9UiCqdlQXJgzPh1aS/hVSnf/QNc="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/plymouth-kcm-6.2.4.tar.xz",
"hash": "sha256-KfzAFFAn7WHFgelog49vaCtVWwuo4ODtNtmupZ2ZoX0="
},
"polkit-kde-agent-1": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/polkit-kde-agent-1-6.2.3.tar.xz",
"hash": "sha256-71XQ25jSz53iQ8B8lTR/T3LnUqk/9G8laPsjN0Mti18="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/polkit-kde-agent-1-6.2.4.tar.xz",
"hash": "sha256-Et5F4Vcjm1gfIb3Zo+2j/3O8VTALqXmkLJeZ8bd1P40="
},
"powerdevil": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/powerdevil-6.2.3.tar.xz",
"hash": "sha256-VM8+PQvC+jV4r5Aet7fi5Wj7WfC3Acru73AX5VlUHsY="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/powerdevil-6.2.4.tar.xz",
"hash": "sha256-F8RA19WWvgd5f2BJhcSyX5KXEoqv1vEbiKSpr+IL3a8="
},
"print-manager": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/print-manager-6.2.3.tar.xz",
"hash": "sha256-RKyOxYO5hs27eG5AxTR9f2OCbnfOIQ+LIWHHkwDrgdY="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/print-manager-6.2.4.tar.xz",
"hash": "sha256-4Ly5GtOxnkJZp6NQl/cYedLv5tlmUhl5Az+x6R/GuJU="
},
"qqc2-breeze-style": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/qqc2-breeze-style-6.2.3.tar.xz",
"hash": "sha256-3LJHPKYLHbnGuBd46zHhPFmA/8EdbmogSMou5PK52VI="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/qqc2-breeze-style-6.2.4.tar.xz",
"hash": "sha256-rAKm2xTlOXlvxSVfUS+o1qSOKkyq2sKD72sZDnBHEXo="
},
"sddm-kcm": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/sddm-kcm-6.2.3.tar.xz",
"hash": "sha256-mpzD46nxNAAl0UM9f+O+5Hlx05kGdpL+JyYfrd2LXV4="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/sddm-kcm-6.2.4.tar.xz",
"hash": "sha256-foYsQNW82GlD89vlhVg6pVXU+gvDEqf87csxbq3fsdc="
},
"spacebar": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/spacebar-6.2.3.tar.xz",
"hash": "sha256-n0z8aCp4W21m8C+8vLQVrNU160XukngScxoPDCCiP6I="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/spacebar-6.2.4.tar.xz",
"hash": "sha256-vvdBZWaHLdxgLATJhgjSCnK3HMWSz3OAwst0HUusilg="
},
"systemsettings": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/systemsettings-6.2.3.tar.xz",
"hash": "sha256-RPAFD8nFR4jbaQi9+8n5o7HRqxh2OrCQfQgV0WPXwTo="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/systemsettings-6.2.4.tar.xz",
"hash": "sha256-YXnzPDWPm5Zub7eaftYnF6qOdJdZVudasPp4clCHwVY="
},
"wacomtablet": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/wacomtablet-6.2.3.tar.xz",
"hash": "sha256-poG8k45ljTrBvzcjvctRvZHk2BiOh0nRDzoPFvWlBb8="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/wacomtablet-6.2.4.tar.xz",
"hash": "sha256-P68lefv+ibKaLlRIV7lymRFCmD8i1h4xbwnh1L/PYOM="
},
"xdg-desktop-portal-kde": {
"version": "6.2.3",
"url": "mirror://kde/stable/plasma/6.2.3/xdg-desktop-portal-kde-6.2.3.tar.xz",
"hash": "sha256-XyrRCMQga5a0h2DvCT3re5NRhYNsXM53oz5JyvPddNo="
"version": "6.2.4",
"url": "mirror://kde/stable/plasma/6.2.4/xdg-desktop-portal-kde-6.2.4.tar.xz",
"hash": "sha256-2vLYdp0PRSZO8fSLY/UnREYiJXT/gy5A8h0GpMOCLR0="
}
}
+5 -1
View File
@@ -2,13 +2,17 @@
mkKdeDerivation,
pkg-config,
qtsensors,
qtwayland,
plasma-workspace,
}:
mkKdeDerivation {
pname = "plasma-mobile";
extraNativeBuildInputs = [ pkg-config ];
extraBuildInputs = [ qtsensors ];
extraBuildInputs = [
qtsensors
qtwayland
];
postFixup = ''
substituteInPlace "$out/share/wayland-sessions/plasma-mobile.desktop" \
--replace-fail \
@@ -46,12 +46,12 @@ rec {
stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest;
production = generic {
version = "550.127.05";
sha256_64bit = "sha256-04TzT10qiWvXU20962ptlz2AlKOtSFocLuO/UZIIauk=";
sha256_aarch64 = "sha256-3wsGqJvDf8io4qFSqbpafeHHBjbasK5i/W+U6TeEeBY=";
openSha256 = "sha256-r0zlWPIuc6suaAk39pzu/tp0M++kY2qF8jklKePhZQQ=";
settingsSha256 = "sha256-cUSOTsueqkqYq3Z4/KEnLpTJAryML4Tk7jco/ONsvyg=";
persistencedSha256 = "sha256-8nowXrL6CRB3/YcoG1iWeD4OCYbsYKOOPE374qaa4sY=";
version = "550.135";
sha256_64bit = "sha256-ESBH9WRABWkOdiFBpVtCIZXKa5DvQCSke61MnoGHiKk=";
sha256_aarch64 = "sha256-uyBCVhGZ637wv9JAp6Bq0A4e5aQ84jz/5iBgXdPr2FU=";
openSha256 = "sha256-426lonLlCk4jahU4waAilYiRUv6bkLMuEpOLkCwcutE=";
settingsSha256 = "sha256-4B61Q4CxDqz/BwmDx6EOtuXV/MNJbaZX+hj/Szo1z1Q=";
persistencedSha256 = "sha256-FXKOTLbjhoGbO3q6kRuRbHw2pVUkOYTbTX2hyL/az94=";
};
latest = selectHighestVersion production (generic {
@@ -17,7 +17,7 @@ python3Packages.buildPythonApplication rec {
# The makefile builds docker containers.
dontBuild = true;
propagatedBuildInputs = with python3Packages; [ prometheus-client bitcoinlib riprova ];
propagatedBuildInputs = with python3Packages; [ prometheus-client python-bitcoinlib riprova ];
installPhase = ''
mkdir -p $out/bin
+1 -1
View File
@@ -139,7 +139,7 @@ let
# Turn a derivation into its outPath without a string context attached.
# See the comment at the usage site.
unsafeDerivationToUntrackedOutpath = drv:
if isDerivation drv
if isDerivation drv && (!drv.__contentAddressed or false)
then builtins.unsafeDiscardStringContext drv.outPath
else drv;
+3
View File
@@ -651,6 +651,7 @@ mapAliases {
librewolf-wayland = librewolf; # Added 2022-11-15
libseat = throw "'libseat' has been renamed to/replaced by 'seatd'"; # Converted to throw 2024-10-17
libsForQt515 = libsForQt5; # Added 2022-11-24
libstdcxx5 = throw "libstdcxx5 is severly outdated and has been removed"; # Added 2024-11-24
libtensorflow-bin = libtensorflow; # Added 2022-09-25
libtorrentRasterbar = throw "'libtorrentRasterbar' has been renamed to/replaced by 'libtorrent-rasterbar'"; # Converted to throw 2024-10-17
libtorrentRasterbar-1_2_x = throw "'libtorrentRasterbar-1_2_x' has been renamed to/replaced by 'libtorrent-rasterbar-1_2_x'"; # Converted to throw 2024-10-17
@@ -1301,6 +1302,8 @@ mapAliases {
urxvt_tabbedex = throw "'urxvt_tabbedex' has been renamed to/replaced by 'rxvt-unicode-plugins.tabbedex'"; # Converted to throw 2024-10-17
urxvt_theme_switch = throw "'urxvt_theme_switch' has been renamed to/replaced by 'rxvt-unicode-plugins.theme-switch'"; # Converted to throw 2024-10-17
urxvt_vtwheel = throw "'urxvt_vtwheel' has been renamed to/replaced by 'rxvt-unicode-plugins.vtwheel'"; # Converted to throw 2024-10-17
ut2004Packages = throw "UT2004 requires libstdc++5 which is not supported by nixpkgs anymore"; # Added 2024-11-24
ut2004demo = ut2004Packages; # Added 2024-11-24
util-linuxCurses = util-linux; # Added 2022-04-12
utillinux = util-linux; # Added 2020-11-24, keep until node2nix is phased out, see https://github.com/NixOS/nixpkgs/issues/229475
+1 -13
View File
@@ -8178,8 +8178,6 @@ with pkgs;
then targetPackages.stdenv.cc.cc
else gcc.cc;
libstdcxx5 = callPackage ../development/libraries/gcc/libstdc++/5.nix { };
libsigrok = callPackage ../development/tools/libsigrok {
python = python3;
};
@@ -13358,11 +13356,7 @@ with pkgs;
protobuf = protobuf_21;
};
audacious = qt6Packages.callPackage ../applications/audio/audacious { };
audacious-plugins = qt6Packages.callPackage ../applications/audio/audacious/plugins.nix {
# Avoid circular dependency
audacious = audacious.override { audacious-plugins = null; };
};
audacious = audacious-bare.override { withPlugins = true; };
av-98 = callPackage ../applications/networking/browsers/av-98 { };
@@ -17288,10 +17282,6 @@ with pkgs;
ue4demos = recurseIntoAttrs (callPackage ../games/ue4demos { });
ut2004Packages = dontRecurseIntoAttrs (callPackage ../games/ut2004 { });
ut2004demo = res.ut2004Packages.ut2004 [ res.ut2004Packages.ut2004-demo ];
# To ensure vdrift's code is built on hydra
vdrift-bin = vdrift.bin;
@@ -18078,8 +18068,6 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
geant4 = libsForQt5.callPackage ../development/libraries/physics/geant4 { };
hepmc3 = callPackage ../development/libraries/physics/hepmc3 {
python = null;
};
-1
View File
@@ -21,7 +21,6 @@
rPackages
roundcubePlugins
sourceHanPackages
ut2004Packages
zabbix50
zabbix60
zeroadPackages
+1 -1
View File
@@ -1659,7 +1659,7 @@ self: super: with self; {
bitbox02 = callPackage ../development/python-modules/bitbox02 { };
bitcoinlib = callPackage ../development/python-modules/bitcoinlib { };
python-bitcoinlib = callPackage ../development/python-modules/python-bitcoinlib { };
bitcoin-utils-fork-minimal = callPackage ../development/python-modules/bitcoin-utils-fork-minimal { };