diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index d48b6de7bca7..380c810281ec 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -5620,6 +5620,12 @@ githubId = 84968; name = "Florian Paul Schmidt"; }; + fptje = { + email = "fpeijnenburg@gmail.com"; + github = "FPtje"; + githubId = 1202014; + name = "Falco Peijnenburg"; + }; fragamus = { email = "innovative.engineer@gmail.com"; github = "fragamus"; @@ -15556,6 +15562,12 @@ githubId = 6391601; name = "Roger Mason"; }; + sputn1ck = { + email = "kon@kon.ninja"; + github = "sputn1ck"; + githubId = 8904314; + name = "Konstantin Nick"; + }; squalus = { email = "squalus@squalus.net"; github = "squalus"; diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index 28b5592d9d7d..7aaa3f85bfe0 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -91,7 +91,7 @@ let # we just copy what we need from Glibc and use patchelf to make it # work. extraUtils = pkgs.runCommand "extra-utils" - { nativeBuildInputs = [pkgs.buildPackages.nukeReferences]; + { nativeBuildInputs = with pkgs.buildPackages; [ nukeReferences bintools ]; allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd } '' @@ -122,7 +122,7 @@ let # code, using default options and effectively ignore security relevant # ZFS properties such as `setuid=off` and `exec=off` (unless manually # duplicated in `fileSystems.*.options`, defeating "zfsutil"'s purpose). - copy_bin_and_libs ${pkgs.util-linux.mount}/bin/mount + copy_bin_and_libs ${lib.getOutput "mount" pkgs.util-linux}/bin/mount copy_bin_and_libs ${pkgs.zfs}/bin/mount.zfs ''} diff --git a/pkgs/applications/blockchains/aperture/default.nix b/pkgs/applications/blockchains/aperture/default.nix new file mode 100644 index 000000000000..e208666bfe2c --- /dev/null +++ b/pkgs/applications/blockchains/aperture/default.nix @@ -0,0 +1,27 @@ +{ buildGoModule +, fetchFromGitHub +, lib +}: + +buildGoModule rec { + pname = "aperture"; + version = "0.2-beta"; + + src = fetchFromGitHub { + owner = "lightninglabs"; + repo = "aperture"; + rev = "v${version}"; + hash = "sha256-l1fpjCAg+1PGNotKrjFLoYOMEzRNXC1mfdjRPfE0DsY="; + }; + + vendorHash = "sha256-tWFFmRSDUZXijAUTgR8k4EERHwIEBOyZZZ9BGXso/tU="; + + subPackages = [ "cmd/aperture" ]; + + meta = with lib; { + description = "L402 (Lightning HTTP 402) Reverse Proxy"; + homepage = "https://github.com/lightninglabs/aperture"; + license = licenses.mit; + maintainers = with maintainers; [ sputn1ck ]; + }; +} diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 989fbf258be1..b5179460e9ac 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -10470,6 +10470,18 @@ final: prev: meta.homepage = "https://github.com/haya14busa/vim-asterisk/"; }; + vim-astro = buildVimPluginFrom2Nix { + pname = "vim-astro"; + version = "2022-08-25"; + src = fetchFromGitHub { + owner = "wuelnerdotexe"; + repo = "vim-astro"; + rev = "34732be5e9a5c28c2409f4490edf92d46d8b55a9"; + sha256 = "1ild33hxiphj0z8b4kpcad4rai7q7jd0lsmhpa30kfgmyj5kh90z"; + }; + meta.homepage = "https://github.com/wuelnerdotexe/vim-astro/"; + }; + vim-asymptote = buildVimPluginFrom2Nix { pname = "vim-asymptote"; version = "2014-06-26"; diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 72f09aa5a721..70c8b1ce202f 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -885,6 +885,7 @@ https://github.com/ThePrimeagen/vim-apm/,, https://github.com/PeterRincker/vim-argumentative/,, https://github.com/FooSoft/vim-argwrap/,, https://github.com/haya14busa/vim-asterisk/,, +https://github.com/wuelnerdotexe/vim-astro/,HEAD, https://github.com/hura/vim-asymptote/,, https://github.com/907th/vim-auto-save/,, https://github.com/vim-autoformat/vim-autoformat/,, diff --git a/pkgs/applications/misc/gtkradiant/default.nix b/pkgs/applications/misc/gtkradiant/default.nix index a8f5c91d1eb8..7c91181e06fa 100644 --- a/pkgs/applications/misc/gtkradiant/default.nix +++ b/pkgs/applications/misc/gtkradiant/default.nix @@ -61,6 +61,81 @@ let rev = 144; sha256 = "sha256-JfmDIUoDY7dYdMgwwUMgcwNhWxuxsdkv1taw8DXhPY4="; }; + darkPlacesPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/DarkPlacesPack/trunk"; + rev = 57; + sha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + }; + doom3Pack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/Doom3Pack/trunk"; + rev = 56; + sha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + }; + halfLifePack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/HalfLifePack/trunk"; + rev = 1; + sha256 = "sha256-CrbN3iOG89j71y4ZJ4gNZEA5CYxphLLGbZwv6Tbjui0="; + }; + her2Pack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/Her2Pack/trunk"; + rev = 55; + sha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + }; + jk2Pack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/JK2Pack/trunk"; + rev = 77; + sha256 = "sha256-3g/p9OC0j2va9CXXtsQf0lP6VJ1WyI5k2W9xNRwYjS8="; + }; + nexuizPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/NexuizPack/trunk"; + rev = 49; + sha256 = "sha256-nAV7rZKDgAxlEmu2RfBFNsHv9Xgas1IlDgioligvY+c="; + }; + preyPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/PreyPack/trunk"; + rev = 19; + sha256 = "sha256-wbKEnSaFO40HxhMsbYKy76MxXDvY9O1lTcr3M7fXxW0="; + }; + q2wPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/Q2WPack/trunk"; + rev = 126; + sha256 = "sha256-Q6IyL2qUr+6ktP34oYkFqN5MeFxCXOkcjrPg5J95ftg="; + }; + q4Pack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/Q4Pack/trunk"; + rev = 54; + sha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + }; + ravenPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/RavenPack/trunk"; + rev = 1; + sha256 = "sha256-bYRjCkdaznaO7+WDB6cgL3szTB+MXwt3IKH3L2rGjLs="; + }; + reactionPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/ReactionPack/trunk"; + rev = 69; + sha256 = "sha256-aXSM0ubyhgamLBzfNZ6RzRSdzKwfHWLt/6OS/i9mMVo="; + }; + sof2Pack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/Sof2Pack/trunk"; + rev = 1; + sha256 = "sha256-EnGhYghXe6hU5vvdF+Z9geTiHDukBEr1+CQgunxxGic="; + }; + tremulousPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/TremulousPack/trunk"; + rev = 46; + sha256 = "sha256-NU+ynpqydFxdZSkh7Szm6DTqyMYVS+PU70Mp98ZjdOs="; + }; + ufoaiPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/UFOAIPack/trunk"; + rev = 69; + sha256 = "sha256-nAd7fFZJJ82rDPVlTiZkkTGXi5tw7BSKk+akFBXSWvY="; + }; + warsowPack = fetchsvn { + url = "svn://svn.icculus.org/gtkradiant-gamepacks/WarsowPack/trunk"; + rev = 53; + sha256 = "sha256-IQ12fEKnq0cJxef+ddvTXcwM8lQ8nlUoMJy81XJ7ANY="; + }; packs = runCommand "gtkradiant-packs" {} '' mkdir -p $out ln -s ${q3Pack} $out/Q3Pack @@ -74,30 +149,36 @@ let ln -s ${wolfPack} $out/WolfPack ln -s ${unvanquishedPack} $out/UnvanquishedPack ln -s ${q1Pack} $out/Q1Pack + ln -s ${darkPlacesPack} $out/DarkPlacesPack + ln -s ${doom3Pack} $out/Doom3Pack + ln -s ${halfLifePack} $out/HalfLifePack + ln -s ${her2Pack} $out/Her2Pack + ln -s ${jk2Pack} $out/JK2Pack + ln -s ${nexuizPack} $out/NexuizPack + ln -s ${preyPack} $out/PreyPack + ln -s ${q2wPack} $out/Q2WPack + ln -s ${q4Pack} $out/Q4Pack + ln -s ${ravenPack} $out/RavenPack + ln -s ${reactionPack} $out/ReactionPack + ln -s ${sof2Pack} $out/Sof2Pack + ln -s ${tremulousPack} $out/TermulousPack + ln -s ${ufoaiPack} $out/UFOAIPack + ln -s ${warsowPack} $out/WarsowPack ''; in stdenv.mkDerivation rec { pname = "gtkradiant"; - version = "unstable-2022-07-31"; + version = "unstable-2023-04-24"; src = fetchFromGitHub { owner = "TTimo"; repo = "GtkRadiant"; - rev = "5b498bfa01bde6c2c9eb60fb94cf04666e52d22d"; - sha256 = "sha256-407faeQnhxqbWgOUunQKj2JhHeqIzPPgrhz2K5O4CaM="; + rev = "ddbaf03d723a633d53fa442c2f802f7ad164dd6c"; + sha256 = "sha256-qI+KGx73AbM5PLFR2JDXKDbiqmU0gS/43rhjRKm/Gms="; }; - # patch paths so that .game settings are put into the user's home instead of the read-only /nix/store - postPatch = '' - substituteInPlace radiant/preferences.cpp \ - --replace 'gameFilePath += "games/";' 'gameFilePath = g_get_home_dir(); gameFilePath += "/.cache/radiant/games/";printf("gameFilePath: %s\\n", gameFilePath);' \ - --replace 'radCreateDirectory( gameFilePath );' 'if (g_mkdir_with_parents( gameFilePath, 0777 ) == -1) {radCreateDirectory( gameFilePath );};' \ - --replace 'strGamesPath = g_strAppPath.GetBuffer();' 'strGamesPath = g_get_home_dir();' \ - --replace 'strGamesPath += "games";' 'strGamesPath += "/.cache/radiant/games";' - ''; - nativeBuildInputs = let python = python3.withPackages (ps: with ps; [ @@ -113,7 +194,7 @@ stdenv.mkDerivation rec { test -e $(readlink $3) elif [ "$1" = update ]; then # verify existence - test -e $(readlink $3) + test -e $(readlink $2) else echo "$@" exit 1 @@ -145,8 +226,19 @@ stdenv.mkDerivation rec { postInstall = '' mkdir -p $out/{bin,lib} cp -ar install $out/lib/gtkradiant + for pack in ${packs}/* ; do + name=$(basename "$pack") + if ! [ -e $out/lib/gtkradiant/installs/$name ]; then + ln -s $pack $out/lib/gtkradiant/installs/$name + fi + done - ln -s ../lib/gtkradiant/radiant.bin $out/bin/gtkradiant + cat >$out/bin/gtkradiant <