diff --git a/.github/labeler.yml b/.github/labeler.yml
index 94dfec05c9fd..47ec892e2266 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -7,6 +7,8 @@
"6.topic: cinnamon":
- pkgs/desktops/cinnamon/**/*
+ - nixos/modules/services/x11/desktop-managers/cinnamon.nix
+ - nixos/tests/cinnamon.nix
"6.topic: emacs":
- nixos/modules/services/editors/emacs.nix
diff --git a/lib/licenses.nix b/lib/licenses.nix
index a4dc15c1a79c..6eeba6588be1 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -893,6 +893,11 @@ in mkLicense lset) ({
free = false;
};
+ vol-sl = {
+ fullName = "Volatility Software License, Version 1.0";
+ url = "https://www.volatilityfoundation.org/license/vsl-v1.0";
+ };
+
vsl10 = {
spdxId = "VSL-1.0";
fullName = "Vovida Software License v1.0";
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 26562863edd5..db656032f8e1 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -10241,6 +10241,15 @@
githubId = 29493551;
name = "Josh Peters";
};
+ peterwilli = {
+ email = "peter@codebuffet.co";
+ github = "peterwilli";
+ githubId = 1212814;
+ name = "Peter Willemsen";
+ keys = [{
+ fingerprint = "A37F D403 88E2 D026 B9F6 9617 5C9D D4BF B96A 28F0";
+ }];
+ };
peti = {
email = "simons@cryp.to";
github = "peti";
diff --git a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
index c66381dce54c..9bf4877ecec2 100644
--- a/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
+++ b/nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
@@ -392,6 +392,17 @@
instead.
+
+
+ The coq package and versioned variants
+ starting at coq_8_14 no longer include
+ CoqIDE, which is now available through
+ coqPackages.coqide. It is still possible to
+ get CoqIDE as part of the coq package by
+ overriding the buildIde argument of the
+ derivation.
+
+
PHP 7.4 is no longer supported due to upstream not supporting
diff --git a/nixos/doc/manual/release-notes/rl-2211.section.md b/nixos/doc/manual/release-notes/rl-2211.section.md
index 0c03d638d838..3340d5de23a3 100644
--- a/nixos/doc/manual/release-notes/rl-2211.section.md
+++ b/nixos/doc/manual/release-notes/rl-2211.section.md
@@ -136,6 +136,12 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).
- `services.hbase` has been renamed to `services.hbase-standalone`.
For production HBase clusters, use `services.hadoop.hbase` instead.
+- The `coq` package and versioned variants starting at `coq_8_14` no
+ longer include CoqIDE, which is now available through
+ `coqPackages.coqide`. It is still possible to get CoqIDE as part of
+ the `coq` package by overriding the `buildIde` argument of the
+ derivation.
+
- PHP 7.4 is no longer supported due to upstream not supporting this
version for the entire lifecycle of the 22.11 release.
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 7c8de19731f7..45f0575cd923 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -82,6 +82,7 @@ in {
cfssl = handleTestOn ["x86_64-linux"] ./cfssl.nix {};
charliecloud = handleTest ./charliecloud.nix {};
chromium = (handleTestOn ["x86_64-linux"] ./chromium.nix {}).stable or {};
+ cinnamon = handleTest ./cinnamon.nix {};
cjdns = handleTest ./cjdns.nix {};
clickhouse = handleTest ./clickhouse.nix {};
cloud-init = handleTest ./cloud-init.nix {};
diff --git a/nixos/tests/cinnamon.nix b/nixos/tests/cinnamon.nix
new file mode 100644
index 000000000000..f0add4142929
--- /dev/null
+++ b/nixos/tests/cinnamon.nix
@@ -0,0 +1,68 @@
+import ./make-test-python.nix ({ pkgs, lib, ... }: {
+ name = "cinnamon";
+
+ meta = with lib; {
+ maintainers = teams.cinnamon.members;
+ };
+
+ nodes.machine = { nodes, ... }: {
+ imports = [ ./common/user-account.nix ];
+ services.xserver.enable = true;
+ services.xserver.desktopManager.cinnamon.enable = true;
+ };
+
+ enableOCR = true;
+
+ testScript = { nodes, ... }:
+ let
+ user = nodes.machine.config.users.users.alice;
+ uid = toString user.uid;
+ bus = "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/${uid}/bus";
+ display = "DISPLAY=:0.0";
+ env = "${bus} ${display}";
+ gdbus = "${env} gdbus";
+ su = command: "su - ${user.name} -c '${env} ${command}'";
+
+ # Call javascript in cinnamon (the shell), returns a tuple (success, output),
+ # where `success` is true if the dbus call was successful and `output` is what
+ # the javascript evaluates to.
+ eval = "call --session -d org.Cinnamon -o /org/Cinnamon -m org.Cinnamon.Eval";
+
+ # Should be 2 (RunState.RUNNING) when startup is done.
+ # https://github.com/linuxmint/cinnamon/blob/5.4.0/js/ui/main.js#L183-L187
+ getRunState = su "${gdbus} ${eval} Main.runState";
+
+ # Start gnome-terminal.
+ gnomeTerminalCommand = su "gnome-terminal";
+
+ # Hopefully gnome-terminal's wm class.
+ wmClass = su "${gdbus} ${eval} global.display.focus_window.wm_class";
+ in
+ ''
+ machine.wait_for_unit("display-manager.service")
+
+ with subtest("Test if we can see username in slick-greeter"):
+ machine.wait_for_text("${user.description}")
+ machine.screenshot("slick_greeter_lightdm")
+
+ with subtest("Login with slick-greeter"):
+ machine.send_chars("${user.password}\n")
+ machine.wait_for_x()
+ machine.wait_for_file("${user.home}/.Xauthority")
+ machine.succeed("xauth merge ${user.home}/.Xauthority")
+
+ with subtest("Check that logging in has given the user ownership of devices"):
+ machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}")
+
+ with subtest("Wait for the Cinnamon shell"):
+ # Correct output should be (true, '2')
+ machine.wait_until_succeeds("${getRunState} | grep -q 'true,..2'")
+
+ with subtest("Open GNOME Terminal"):
+ machine.succeed("${gnomeTerminalCommand}")
+ # Correct output should be (true, '"Gnome-terminal"')
+ machine.wait_until_succeeds("${wmClass} | grep -q 'true,...Gnome-terminal'")
+ machine.sleep(20)
+ machine.screenshot("screen")
+ '';
+})
diff --git a/pkgs/applications/audio/headset/default.nix b/pkgs/applications/audio/headset/default.nix
new file mode 100644
index 000000000000..9fbf3c08c2b7
--- /dev/null
+++ b/pkgs/applications/audio/headset/default.nix
@@ -0,0 +1,45 @@
+{ lib
+, stdenv
+, fetchurl
+, dpkg
+, makeWrapper
+, electron
+}:
+
+stdenv.mkDerivation rec {
+ pname = "headset";
+ version = "4.0.0";
+
+ src = fetchurl {
+ url = "https://github.com/headsetapp/headset-electron/releases/download/v${version}/headset_${version}_amd64.deb";
+ hash = "sha256-M1HMZgYczZWFq0EGlCMEGOGUNoUcmq37J8Ycen72PhM=";
+ };
+
+ dontConfigure = true;
+ dontBuild = true;
+
+ nativeBuildInputs = [ makeWrapper dpkg ];
+
+ unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner";
+
+ installPhase = ''
+ runHook preInstall
+
+ mkdir -p $out/bin $out/share/headset
+ cp -R usr/share/{applications,icons} $out/share
+ cp -R usr/lib/headset/resources/app.asar $out/share/headset/
+
+ makeWrapper ${electron}/bin/electron $out/bin/headset \
+ --add-flags $out/share/headset/app.asar
+
+ runHook postInstall
+ '';
+
+ meta = with lib; {
+ description = "A simple music player for YouTube and Reddit";
+ homepage = "https://headsetapp.co/";
+ license = licenses.mit;
+ platforms = [ "x86_64-linux" ];
+ maintainers = with maintainers; [ muscaln ];
+ };
+}
diff --git a/pkgs/applications/audio/qjackctl/default.nix b/pkgs/applications/audio/qjackctl/default.nix
index 6c7bfff86b1b..434be82f6fb3 100644
--- a/pkgs/applications/audio/qjackctl/default.nix
+++ b/pkgs/applications/audio/qjackctl/default.nix
@@ -5,7 +5,7 @@
}:
mkDerivation rec {
- version = "0.9.6";
+ version = "0.9.7";
pname = "qjackctl";
# some dependencies such as killall have to be installed additionally
@@ -14,7 +14,7 @@ mkDerivation rec {
owner = "rncbc";
repo = "qjackctl";
rev = "${pname}_${lib.replaceChars ["."] ["_"] version}";
- sha256 = "sha256-8oVnUe+/y4p1WeHMEhKMIl0/ax3PT0pN4f1UJaBmZBw=";
+ sha256 = "sha256-PchW9cM5qEP51G9RXUZ3j/AvKqTkgNiw3esqSQqsy0M=";
};
buildInputs = [
diff --git a/pkgs/applications/blockchains/terra-station/default.nix b/pkgs/applications/blockchains/terra-station/default.nix
new file mode 100644
index 000000000000..7b82f2658a1c
--- /dev/null
+++ b/pkgs/applications/blockchains/terra-station/default.nix
@@ -0,0 +1,71 @@
+{ lib, stdenv
+, fetchurl
+, gcc-unwrapped
+, dpkg
+, util-linux
+, bash
+, makeWrapper
+, electron
+}:
+
+let
+ inherit (stdenv.hostPlatform) system;
+
+ throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
+
+ sha256 = {
+ "x86_64-linux" = "139nlr191bsinx6ixpi2glcr03lsnzq7b0438h3245napsnjpx6p";
+ }."${system}" or throwSystem;
+
+ arch = {
+ "x86_64-linux" = "amd64";
+ }."${system}" or throwSystem;
+
+in
+
+stdenv.mkDerivation rec {
+ pname = "terra-station";
+ version = "1.2.0";
+
+ src = fetchurl {
+ url = "https://github.com/terra-money/station-desktop/releases/download/v${version}/Terra.Station_${version}_${arch}.deb";
+ inherit sha256;
+ };
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ dontConfigure = true;
+ dontBuild = true;
+
+ unpackPhase = ''
+ ${dpkg}/bin/dpkg-deb -x $src .
+ '';
+
+ installPhase = ''
+ runHook preInstall
+
+ mkdir -p $out/bin $out/share/${pname}
+
+ cp -a usr/share/* $out/share
+ cp -a "opt/Terra Station/"{locales,resources} $out/share/${pname}
+
+ substituteInPlace $out/share/applications/station-electron.desktop \
+ --replace "/opt/Terra Station/station-electron" ${pname}
+
+ runHook postInstall
+ '';
+
+ postFixup = ''
+ makeWrapper ${electron}/bin/electron $out/bin/${pname} \
+ --add-flags $out/share/${pname}/resources/app.asar \
+ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gcc-unwrapped.lib ]}"
+ '';
+
+ meta = with lib; {
+ description = "Terra station is the official wallet of the Terra blockchain.";
+ homepage = "https://docs.terra.money/docs/learn/terra-station/README.html";
+ license = licenses.isc;
+ maintainers = [ maintainers.peterwilli ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/radio/soapysdrplay/default.nix b/pkgs/applications/radio/soapysdrplay/default.nix
index d205462fb604..80c9c409e1ee 100644
--- a/pkgs/applications/radio/soapysdrplay/default.nix
+++ b/pkgs/applications/radio/soapysdrplay/default.nix
@@ -1,14 +1,14 @@
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, soapysdr, sdrplay }:
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
pname = "soapysdr-sdrplay3";
- version = "unstable-2021-04-25";
+ version = "0.4.0";
src = fetchFromGitHub {
owner = "pothosware";
repo = "SoapySDRPlay3";
- rev = "e6fdb719b611b1dfb7f26c56a4df1e241bd10129";
- sha256 = "0rrylp3ikrva227hjy60v4n6d6yvdavjsad9kszw9s948mwiashi";
+ rev = "soapy-sdrplay3-${version}";
+ sha256 = "sha256-WMcAw0uR2o2SrQR4mBtdVEZlJ/ZXRqwo6zMJNsB/5U4=";
};
nativeBuildInputs = [ cmake pkg-config ];
diff --git a/pkgs/development/libraries/openmpi/default.nix b/pkgs/development/libraries/openmpi/default.nix
index ec12527b7350..723f1848c6a0 100644
--- a/pkgs/development/libraries/openmpi/default.nix
+++ b/pkgs/development/libraries/openmpi/default.nix
@@ -73,16 +73,6 @@ in stdenv.mkDerivation rec {
enableParallelBuilding = true;
- # disable stackprotector on aarch64-darwin for now
- # https://github.com/NixOS/nixpkgs/issues/127608
- #
- # build error:
- #
- # /private/tmp/nix-build-openmpi-4.1.1.drv-0/ccg7QqR8.s:13:15: error: index must be an integer in range [-256, 255].
- # ldr x2, [x2, ___stack_chk_guard];momd
- #
- hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
-
postInstall = ''
rm -f $out/lib/*.la
'';
diff --git a/pkgs/development/lua-modules/generated-packages.nix b/pkgs/development/lua-modules/generated-packages.nix
index e20f45df46cb..cb81b97d0327 100644
--- a/pkgs/development/lua-modules/generated-packages.nix
+++ b/pkgs/development/lua-modules/generated-packages.nix
@@ -125,7 +125,7 @@ buildLuarocksPackage {
pname = "bit32";
version = "5.3.0-1";
knownRockspec = (fetchurl {
- url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/bit32-5.3.0-1.rockspec";
+ url = "mirror://luarocks/bit32-5.3.0-1.rockspec";
sha256 = "1d6xdihpksrj5a3yvsvnmf3vfk15hj6f8n1rrs65m7adh87hc0yd";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
@@ -153,26 +153,34 @@ buildLuarocksPackage {
}) {};
busted = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua, lua_cliargs, luafilesystem, luasystem, dkjson, say, luassert, lua-term, penlight, mediator_lua
+, fetchgit, luasystem, lua-term, luassert, mediator_lua, say, dkjson, penlight, luafilesystem, lua, lua_cliargs
}:
buildLuarocksPackage {
pname = "busted";
- version = "2.0.0-1";
+ version = "2.1.1-1";
knownRockspec = (fetchurl {
- url = "mirror://luarocks/busted-2.0.0-1.rockspec";
- sha256 = "0cbw95bjxl667n9apcgng2kr5hq6bc7gp3vryw4dzixmfabxkcbw";
+ url = "mirror://luarocks/busted-2.1.1-1.rockspec";
+ sha256 = "0f9iz3pa2gmb2vccvygp6zdiji7l8bap0vlgqgrcg331qsrkf70h";
}).outPath;
- src = fetchurl {
- url = "https://github.com/Olivine-Labs/busted/archive/v2.0.0.tar.gz";
- sha256 = "1ps7b3f4diawfj637mibznaw4x08gn567pyni0m2s50hrnw4v8zx";
- };
+ src = fetchgit ( removeAttrs (builtins.fromJSON ''{
+ "url": "https://github.com/lunarmodules/busted.git",
+ "rev": "e3ed48759b625f2e37bf02ccc057b2b98108f108",
+ "date": "2022-08-24T17:34:58+03:00",
+ "path": "/nix/store/7g9rxkyhabgx0acwmzl4r4xfh193avpw-busted",
+ "sha256": "0nab0s5lhk0nhh58c4jspv5sj4g7839gb5q145hrlgbsxqncp8wy",
+ "fetchLFS": false,
+ "fetchSubmodules": true,
+ "deepClone": false,
+ "leaveDotGit": false
+}
+ '') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua lua_cliargs luafilesystem luasystem dkjson say luassert lua-term penlight mediator_lua ];
+ propagatedBuildInputs = [ luasystem lua-term luassert mediator_lua say dkjson penlight luafilesystem lua lua_cliargs ];
meta = {
- homepage = "http://olivinelabs.com/busted/";
- description = "Elegant Lua unit testing.";
+ homepage = "https://lunarmodules.github.io/busted/";
+ description = "Elegant Lua unit testing";
license.fullName = "MIT ";
};
}) {};
@@ -246,7 +254,7 @@ buildLuarocksPackage {
}) {};
compat53 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua
+, fetchzip, lua
}:
buildLuarocksPackage {
pname = "compat53";
@@ -255,9 +263,9 @@ buildLuarocksPackage {
url = "mirror://luarocks/compat53-0.7-1.rockspec";
sha256 = "1r7a3q1cjrcmdycrv2ikgl83irjhxs53sa88v2fdpr9aaamlb101";
}).outPath;
- src = fetchurl {
+ src = fetchzip {
url = "https://github.com/keplerproject/lua-compat-5.3/archive/v0.7.zip";
- sha256 = "1x3wv1qx7b2zlf3fh4q9pmi2xxkcdm024g7bf11rpv0yacnhran3";
+ sha256 = "02a14nvn7aggg1yikj9h3dcf8aqjbxlws1bfvqbpfxv9d5phnrpz";
};
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4");
@@ -399,10 +407,10 @@ buildLuarocksPackage {
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/astoff/digestif",
- "rev": "1fac471a153b99da7f858e63edfa19ec2afee791",
- "date": "2022-03-13T17:25:22+01:00",
- "path": "/nix/store/4fxlwjvv07gbdi094abl59h8j5ly4ghm-digestif",
- "sha256": "1mlmn3v97il5jsl28hjjgvm0dix5r6rsrdzavq25pbv0c46b3zzf",
+ "rev": "95b13ba7ed33605406353b200920ece08868d5a8",
+ "date": "2022-07-03T13:41:35+02:00",
+ "path": "/nix/store/k8y6gk4pqri76657c2sy4j4bkyh30jz5-digestif",
+ "sha256": "12pksz1l84iml7ng6yhywf0fyy8lclmcn2jjkdrh994lb7q9ya99",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -427,7 +435,7 @@ buildLuarocksPackage {
pname = "dkjson";
version = "2.6-1";
knownRockspec = (fetchurl {
- url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/dkjson-2.6-1.rockspec";
+ url = "mirror://luarocks/dkjson-2.6-1.rockspec";
sha256 = "1hhmgz2nixqg23shfnl0kq6wxdadx36z6hhsrz33g7idbm6rbwm1";
}).outPath;
src = fetchurl {
@@ -446,7 +454,7 @@ buildLuarocksPackage {
}) {};
fifo = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua
+, fetchzip, lua
}:
buildLuarocksPackage {
pname = "fifo";
@@ -455,9 +463,9 @@ buildLuarocksPackage {
url = "mirror://luarocks/fifo-0.2-0.rockspec";
sha256 = "0vr9apmai2cyra2n573nr3dyk929gzcs4nm1096jdxcixmvh2ymq";
}).outPath;
- src = fetchurl {
+ src = fetchzip {
url = "https://github.com/daurnimator/fifo.lua/archive/0.2.zip";
- sha256 = "1a028yyc1xlkaavij8rkz18dqf96risrj65xp0p72y2mhsrckdp1";
+ sha256 = "1800k7h5hxsvm05bjdr65djjml678lwb0661cll78z1ys2037nzn";
};
propagatedBuildInputs = [ lua ];
@@ -470,7 +478,7 @@ buildLuarocksPackage {
}) {};
fluent = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, cldr, luaepnf, penlight
+, fetchgit, luaepnf, cldr, lua, penlight
}:
buildLuarocksPackage {
pname = "fluent";
@@ -493,7 +501,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua cldr luaepnf penlight ];
+ propagatedBuildInputs = [ luaepnf cldr lua penlight ];
meta = {
homepage = "https://github.com/alerque/fluent-lua";
@@ -512,10 +520,10 @@ buildLuarocksPackage {
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/lewis6991/gitsigns.nvim",
- "rev": "27aeb2e715c32cbb99aa0b326b31739464b61644",
- "date": "2022-05-26T12:55:53+01:00",
- "path": "/nix/store/bfz0bk523dk4dciiknrzvp87yvnbgcb2-gitsigns.nvim",
- "sha256": "04m1767cndrx46xsa6frf77xv64hmr6w21dk2wh4s0sqjvqqm1r6",
+ "rev": "d7e0bcbe45bd9d5d106a7b2e11dc15917d272c7a",
+ "date": "2022-09-01T14:06:41+01:00",
+ "path": "/nix/store/3i20afjhjknqk3wggbrk3kwcbnnjqqxd-gitsigns.nvim",
+ "sha256": "1h4gxyamynwygxpqfib2a7sd1xbi6sh8ixg85j6qiaqqpahr0a4k",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -534,22 +542,22 @@ buildLuarocksPackage {
}) {};
http = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua, compat53, bit32, cqueues, luaossl, basexx, lpeg, lpeg_patterns, binaryheap, fifo
+, fetchzip, luaossl, cqueues, compat53, lpeg, fifo, binaryheap, lpeg_patterns, basexx, bit32, lua
}:
buildLuarocksPackage {
pname = "http";
version = "0.3-0";
knownRockspec = (fetchurl {
- url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/http-0.3-0.rockspec";
+ url = "mirror://luarocks/http-0.3-0.rockspec";
sha256 = "0fn3irkf5nnmfc83alc40b316hs8l7zdq2xlaiaa65sjd8acfvia";
}).outPath;
- src = fetchurl {
+ src = fetchzip {
url = "https://github.com/daurnimator/lua-http/archive/v0.3.zip";
- sha256 = "13xyj8qx42mzn1z4lwwdfd7ha06a720q4b7d04ir6vvp2fwp3s4q";
+ sha256 = "1pqxxxifl2j1cik3kgayx43v6py5jp6r22myhvxfffysb3b84a2l";
};
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua compat53 bit32 cqueues luaossl basexx lpeg lpeg_patterns binaryheap fifo ];
+ propagatedBuildInputs = [ luaossl cqueues compat53 lpeg fifo binaryheap lpeg_patterns basexx bit32 lua ];
meta = {
homepage = "https://github.com/daurnimator/lua-http";
@@ -618,7 +626,7 @@ buildLuarocksPackage {
}) {};
ldoc = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, penlight, markdown
+, fetchgit, markdown, penlight
}:
buildLuarocksPackage {
pname = "ldoc";
@@ -626,10 +634,10 @@ buildLuarocksPackage {
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/stevedonovan/LDoc.git",
- "rev": "e97398356b27473e5ba0626427daaec54f407e22",
- "date": "2022-01-17T13:53:47+03:00",
- "path": "/nix/store/6s0dmcz2jgjhjhakr5miq8ffgkchd0wh-LDoc",
- "sha256": "13k4vi12s37izsjqcnfcliwlizr1ic0vwb0zlxcsghi31k031him",
+ "rev": "71dd5edbda829cd87b312956f4eae1ff8133fb14",
+ "date": "2022-06-17T13:41:29+03:00",
+ "path": "/nix/store/ywgvf4a5bdh7b7jzx8xgibch0a9kr9d2-LDoc",
+ "sha256": "0wwr28fl46y84p78bxaw9wsb7b4x7hmjywfdx5d70axh0amnlyrv",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -637,7 +645,7 @@ buildLuarocksPackage {
}
'') ["date" "path"]) ;
- propagatedBuildInputs = [ penlight markdown ];
+ propagatedBuildInputs = [ markdown penlight ];
meta = {
homepage = "https://github.com/lunarmodules/LDoc";
@@ -653,7 +661,7 @@ buildLuarocksPackage {
pname = "lgi";
version = "0.9.2-1";
knownRockspec = (fetchurl {
- url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/lgi-0.9.2-1.rockspec";
+ url = "mirror://luarocks/lgi-0.9.2-1.rockspec";
sha256 = "1gqi07m4bs7xibsy4vx8qgyp3yb1wnh0gdq1cpwqzv35y6hn5ds3";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
@@ -839,7 +847,7 @@ buildLuarocksPackage {
}) {};
lpeg_patterns = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua, lpeg
+, fetchzip, lpeg, lua
}:
buildLuarocksPackage {
pname = "lpeg_patterns";
@@ -848,12 +856,12 @@ buildLuarocksPackage {
url = "mirror://luarocks/lpeg_patterns-0.5-0.rockspec";
sha256 = "1vzl3ryryc624mchclzsfl3hsrprb9q214zbi1xsjcc4ckq5qfh7";
}).outPath;
- src = fetchurl {
+ src = fetchzip {
url = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip";
- sha256 = "17jizbyalzdg009p3x2260bln65xf8xhv9npr0kr93kv986j463b";
+ sha256 = "1s3c179a64r45ffkawv9dnxw4mzwkzj00nr9z2gs5haajgpjivw6";
};
- propagatedBuildInputs = [ lua lpeg ];
+ propagatedBuildInputs = [ lpeg lua ];
meta = {
homepage = "https://github.com/daurnimator/lpeg_patterns/archive/v0.5.zip";
@@ -1104,7 +1112,7 @@ buildLuarocksPackage {
}) {};
lua-lsp = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, dkjson, lpeglabel, inspect
+, fetchgit, dkjson, inspect, lua, lpeglabel
}:
buildLuarocksPackage {
pname = "lua-lsp";
@@ -1127,7 +1135,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4");
- propagatedBuildInputs = [ lua dkjson lpeglabel inspect ];
+ propagatedBuildInputs = [ dkjson inspect lua lpeglabel ];
meta = {
homepage = "https://github.com/Alloyed/lua-lsp";
@@ -1229,7 +1237,7 @@ buildLuarocksPackage {
}) {};
lua-resty-jwt = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, lua-resty-openssl
+, fetchgit, lua-resty-openssl, lua
}:
buildLuarocksPackage {
pname = "lua-resty-jwt";
@@ -1252,7 +1260,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua lua-resty-openssl ];
+ propagatedBuildInputs = [ lua-resty-openssl lua ];
meta = {
homepage = "https://github.com/cdbattags/lua-resty-jwt";
@@ -1262,7 +1270,7 @@ buildLuarocksPackage {
}) {};
lua-resty-openidc = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, lua-resty-http, lua-resty-session, lua-resty-jwt
+, fetchgit, lua-resty-session, lua-resty-jwt, lua-resty-http, lua
}:
buildLuarocksPackage {
pname = "lua-resty-openidc";
@@ -1285,7 +1293,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua lua-resty-http lua-resty-session lua-resty-jwt ];
+ propagatedBuildInputs = [ lua-resty-session lua-resty-jwt lua-resty-http lua ];
meta = {
homepage = "https://github.com/zmartzone/lua-resty-openidc";
@@ -1298,17 +1306,17 @@ lua-resty-openssl = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchgit}:
buildLuarocksPackage {
pname = "lua-resty-openssl";
- version = "0.8.8-1";
+ version = "0.8.10-1";
knownRockspec = (fetchurl {
- url = "mirror://luarocks/lua-resty-openssl-0.8.8-1.rockspec";
- sha256 = "17arjjhrxs3sas6d65ffh8nmvb220vrhwiwac3qam42im7zc8544";
+ url = "mirror://luarocks/lua-resty-openssl-0.8.10-1.rockspec";
+ sha256 = "0rwqc8yy9jk419vyil3c1dc2cmlsy1yf2f8b85i1xvwd8safvc8g";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/fffonion/lua-resty-openssl.git",
- "rev": "7aad15a46bf9f5b81809be53f86ebbdb20ee2e8d",
- "date": "2022-04-14T19:05:18+08:00",
- "path": "/nix/store/3a8qz63k5xmkx44djm3prwhmig8wmjnf-lua-resty-openssl",
- "sha256": "07h1sbfp9l04hr8h6zfgbhs9ray26gr3pa149733wzbdxfkl3bcz",
+ "rev": "c569d6c2ed4512f2228b61a52c9bb1949dc55f7c",
+ "date": "2022-06-24T12:22:19+08:00",
+ "path": "/nix/store/kbpwc7yhba4gqp6lkmdphkvkvhc1m4h6-lua-resty-openssl",
+ "sha256": "08cw03kihqa2j23p29dxli84zafpdxnx5a4zm625dqzlqnq86ajc",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -1564,21 +1572,21 @@ buildLuarocksPackage {
}) {};
luacheck = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, argparse, luafilesystem
+, fetchgit, argparse, luafilesystem, lua
}:
buildLuarocksPackage {
pname = "luacheck";
- version = "0.26.1-1";
+ version = "1.0.0-1";
knownRockspec = (fetchurl {
- url = "mirror://luarocks/luacheck-0.26.1-1.rockspec";
- sha256 = "11r5g6xi1s2d7cpmz2fysfgi78wpszy58rxfkwikqpi6kyc8qmf5";
+ url = "mirror://luarocks/luacheck-1.0.0-1.rockspec";
+ sha256 = "0q5kqix5n016piqhasp4h22srz1lzp96cjls4fgsbirjn87gsnxv";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/lunarmodules/luacheck.git",
- "rev": "2445a9dd3859655646bd6eb848459f2b46b4a3e3",
- "date": "2022-04-23T17:22:03+03:00",
- "path": "/nix/store/7a8qrmy41bnn1wgs93b5gi48k30v5bfj-luacheck",
- "sha256": "0zrcni7p0bpqmb383608kmfyxwfxs9qa42g3sb4lhvzg2zggri5q",
+ "rev": "4d2979930245415e556a7c9f47b63ea038afcfee",
+ "date": "2022-08-24T12:50:43+03:00",
+ "path": "/nix/store/kfqdn4v9nzqqdw02fri10ic7v61r99n7-luacheck",
+ "sha256": "1dkqcaf0yrbcwbjiqbpdksj39sj8rbkd8432q568dgq2z5y9khcf",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -1587,7 +1595,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua argparse luafilesystem ];
+ propagatedBuildInputs = [ argparse luafilesystem lua ];
meta = {
homepage = "https://github.com/lunarmodules/luacheck";
@@ -1663,7 +1671,7 @@ buildLuarocksPackage {
}) {};
luadbi-mysql = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, luadbi
+, fetchgit, luadbi, lua
}:
buildLuarocksPackage {
pname = "luadbi-mysql";
@@ -1686,7 +1694,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4");
- propagatedBuildInputs = [ lua luadbi ];
+ propagatedBuildInputs = [ luadbi lua ];
meta = {
homepage = "https://github.com/mwild1/luadbi";
@@ -1729,7 +1737,7 @@ buildLuarocksPackage {
}) {};
luadbi-sqlite3 = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, luadbi
+, fetchgit, luadbi, lua
}:
buildLuarocksPackage {
pname = "luadbi-sqlite3";
@@ -1752,7 +1760,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4");
- propagatedBuildInputs = [ lua luadbi ];
+ propagatedBuildInputs = [ luadbi lua ];
meta = {
homepage = "https://github.com/mwild1/luadbi";
@@ -1801,7 +1809,7 @@ buildLuarocksPackage {
pname = "luaevent";
version = "0.4.6-1";
knownRockspec = (fetchurl {
- url = "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luaevent-0.4.6-1.rockspec";
+ url = "mirror://luarocks/luaevent-0.4.6-1.rockspec";
sha256 = "03zixadhx4a7nh67n0sm6sy97c8i9va1a78hibhrl7cfbqc2zc7f";
}).outPath;
src = fetchurl {
@@ -1831,10 +1839,10 @@ buildLuarocksPackage {
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/lunarmodules/luaexpat.git",
- "rev": "7d99eec9685087e6b3a57a09d672591c2aa0f4f6",
- "date": "2022-04-01T17:08:05+02:00",
- "path": "/nix/store/b6jyh79ggjdqgizk9amzh74lq4lwm3nm-luaexpat",
- "sha256": "0yia3xpf6pwmy10yg2dnyfg3v774jay24qfyvm9pj21h2ad7ckm1",
+ "rev": "10b10ca30536ee5df8c814dd18991148984efe24",
+ "date": "2022-08-29T13:45:12+02:00",
+ "path": "/nix/store/prmd5hiippdd32qa0xicbf9rw8k39md7-luaexpat",
+ "sha256": "0rzwrmjy2kbkvhgmprnlqmkl6kqvxqlb5kh9ww3zff0xv7xf03vb",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -1953,18 +1961,18 @@ buildLuarocksPackage {
}) {};
luaossl = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua
+, fetchzip, lua
}:
buildLuarocksPackage {
pname = "luaossl";
- version = "20200709-0";
+ version = "20220711-0";
knownRockspec = (fetchurl {
- url = "mirror://luarocks/luaossl-20200709-0.rockspec";
- sha256 = "0izxxrzc49q4jancza43b2y4hfvasflpcag771nrhapk1n8k45f3";
+ url = "mirror://luarocks/luaossl-20220711-0.rockspec";
+ sha256 = "0b68kvfz587ilmb5c1p7920kysg9q4m4fl4cz4d93jl3270mzh8y";
}).outPath;
- src = fetchurl {
- url = "https://github.com/wahern/luaossl/archive/rel-20200709.zip";
- sha256 = "07j1rqqypjb24x11x6v6qpwf12g0ib23qwg47sw3c2yqkbq744j4";
+ src = fetchzip {
+ url = "https://github.com/wahern/luaossl/archive/rel-20220711.zip";
+ sha256 = "1a9pgmc6fbhgh1m9ksz9fq057yzz46npqgakcsy9vngg47xacfdb";
};
propagatedBuildInputs = [ lua ];
@@ -1977,7 +1985,7 @@ buildLuarocksPackage {
}) {};
luaposix = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, bit32, lua
+, fetchzip, bit32, lua
}:
buildLuarocksPackage {
pname = "luaposix";
@@ -1986,9 +1994,9 @@ buildLuarocksPackage {
url = "mirror://luarocks/luaposix-34.1.1-1.rockspec";
sha256 = "0hx6my54axjcb3bklr991wji374qq6mwa3ily6dvb72vi2534nwz";
}).outPath;
- src = fetchurl {
+ src = fetchzip {
url = "http://github.com/luaposix/luaposix/archive/v34.1.1.zip";
- sha256 = "1xqx764ji054jphxdhkynsmwzqzkfgxqfizxkf70za6qfrvnl3yh";
+ sha256 = "0863r8c69yx92lalj174qdhavqmcs2cdimjim6k55qj9yn78v9zl";
};
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.4");
@@ -2028,21 +2036,21 @@ buildLuarocksPackage {
}) {};
luasec = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, luasocket
+, fetchgit, luasocket, lua
}:
buildLuarocksPackage {
pname = "luasec";
- version = "1.1.0-1";
+ version = "1.2.0-1";
knownRockspec = (fetchurl {
- url = "mirror://luarocks/luasec-1.1.0-1.rockspec";
- sha256 = "1j080wx40cfxfmb42w6jf06yp2wqfnlf281lda6i7lwh4rh2800m";
+ url = "mirror://luarocks/luasec-1.2.0-1.rockspec";
+ sha256 = "0zavdkwd701j8zqyzrpn1n5xd242vziq2l79amjdn5mcw81nrsdf";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/brunoos/luasec",
- "rev": "df27c62f4cea33cb3525fed2a4b280997ed11aad",
- "date": "2022-04-13T10:46:36-03:00",
- "path": "/nix/store/h9bxbfm36ab2z314lpny78jympq9cxli-luasec",
- "sha256": "04zch1ims50phgzqnbpxdfnxyrr9kpb8wi5bm9hhsizrzsx637is",
+ "rev": "d9215ee00f6694a228daad50ee85827a4cd13583",
+ "date": "2022-07-30T08:42:53-03:00",
+ "path": "/nix/store/77m3g768a230h77nxiw23ay73aryq1zh-luasec",
+ "sha256": "1rz2lhf243lrsjsyjwxhijhqr88l8l8sndzzv9w4x1j0zpa9sblb",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -2051,7 +2059,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua luasocket ];
+ propagatedBuildInputs = [ luasocket lua ];
meta = {
homepage = "https://github.com/brunoos/luasec/wiki";
@@ -2066,17 +2074,17 @@ luasocket = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
}:
buildLuarocksPackage {
pname = "luasocket";
- version = "3.0.0-1";
+ version = "3.1.0-1";
knownRockspec = (fetchurl {
- url = "mirror://luarocks/luasocket-3.0.0-1.rockspec";
- sha256 = "00j6jss7ifrqsylh1k9254i715z17j99hhawhlkmha1y6wn4glam";
+ url = "mirror://luarocks/luasocket-3.1.0-1.rockspec";
+ sha256 = "0wg9735cyz2gj7r9za8yi83w765g0f4pahnny7h0pdpx58pgfx4r";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/lunarmodules/luasocket.git",
- "rev": "88c8a85cb6528232288ec590910b7a966aace52b",
- "date": "2022-03-25T11:05:48+03:00",
- "path": "/nix/store/vn80kf268mjilsnm7850ag4zhan5na2c-luasocket",
- "sha256": "0263gmxdpb2snv9yrwqsg3q641a9gm6migqsmi871hrhxaq0l9c1",
+ "rev": "95b7efa9da506ef968c1347edf3fc56370f0deed",
+ "date": "2022-07-27T10:07:00+03:00",
+ "path": "/nix/store/r5pqxqjkdwl80nmjkv400mbls7cfymjc-luasocket",
+ "sha256": "13hyf9cvny0kxwyg08929kkl31w74j66fj6zg1myyjr9nh5b795h",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -2106,10 +2114,10 @@ buildLuarocksPackage {
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/keplerproject/luasql.git",
- "rev": "fb70ea47433a66f9b72811cd046dd7d7418a0e89",
- "date": "2022-05-29T22:25:54-03:00",
- "path": "/nix/store/zkir0i3j5jxb704bi5cnn2i51niabl7c-luasql",
- "sha256": "1gnp1892v0g5kzsfrg3l3ykhq81nfv11mhb0djhgrjqx7zaxi24l",
+ "rev": "b7da7097d91b3233156aba2e7d0c6e5590766884",
+ "date": "2022-07-27T13:39:06-03:00",
+ "path": "/nix/store/rb4i0qxm8yy552hhmxdh65sf463qn02f-luasql",
+ "sha256": "046zv23kk2riyiw1vngbwn2a4rkg9wm3ra2b1vmmhkr9idlncq94",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -2129,26 +2137,34 @@ buildLuarocksPackage {
}) {};
luassert = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua, say
+, fetchgit, say, lua
}:
buildLuarocksPackage {
pname = "luassert";
- version = "1.8.0-0";
+ version = "1.9.0-1";
knownRockspec = (fetchurl {
- url = "mirror://luarocks/luassert-1.8.0-0.rockspec";
- sha256 = "1194y81nlkq4qmrrgl7z82i6vgvhqvp1p673kq0arjix8mv3zyz1";
+ url = "mirror://luarocks/luassert-1.9.0-1.rockspec";
+ sha256 = "1bkzr03190p33lprgy51nl84aq082fyc3f7s3wkk7zlay4byycxd";
}).outPath;
- src = fetchurl {
- url = "https://github.com/Olivine-Labs/luassert/archive/v1.8.0.tar.gz";
- sha256 = "0xlwlb32215524bg33svp1ci8mdvh9wykchl8dkhihpxcd526mar";
- };
+ src = fetchgit ( removeAttrs (builtins.fromJSON ''{
+ "url": "https://github.com/lunarmodules/luassert.git",
+ "rev": "8d8dc8a54cc468048a128a867f6449a6c3fdd11a",
+ "date": "2022-08-24T00:00:45+03:00",
+ "path": "/nix/store/vfcl25wxps5kvh5prjkkjlj1ga3kgw63-luassert",
+ "sha256": "0wlp6qdm9dkwzs8lvnj7zvmid4y12v717ywlhxn2brkbjpvl2dwf",
+ "fetchLFS": false,
+ "fetchSubmodules": true,
+ "deepClone": false,
+ "leaveDotGit": false
+}
+ '') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua say ];
+ propagatedBuildInputs = [ say lua ];
meta = {
- homepage = "http://olivinelabs.com/busted/";
- description = "Lua Assertions Extension";
+ homepage = "https://lunarmodules.github.io/busted/";
+ description = "Lua assertions extension";
license.fullName = "MIT ";
};
}) {};
@@ -2204,7 +2220,7 @@ buildLuarocksPackage {
}) {};
luaunit = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua
+, fetchzip, lua
}:
buildLuarocksPackage {
pname = "luaunit";
@@ -2213,13 +2229,13 @@ buildLuarocksPackage {
url = "mirror://luarocks/luaunit-3.4-1.rockspec";
sha256 = "111435fa8p2819vcvg76qmknj0wqk01gy9d1nh55c36616xnj54n";
}).outPath;
- src = fetchurl {
+ src = fetchzip {
url = "https://github.com/bluebird75/luaunit/releases/download/LUAUNIT_V3_4/rock-luaunit-3.4.zip";
- sha256 = "1v8nkiwz2nr242h5cl4af6vmn5gxmn94skps1qhb55ak60j20nvr";
+ sha256 = "0qf07y3229lq3qq1mfkv83gzbc7dgyr67hysqjb5bbk333flv56r";
};
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5");
- propagatedBuildInputs = [ lua lua ];
+ propagatedBuildInputs = [ lua ];
meta = {
homepage = "http://github.com/bluebird75/luaunit";
@@ -2314,8 +2330,8 @@ buildLuarocksPackage {
}) {};
luv = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, cmake, fetchurl, lua
-}:
+, fetchurl, lua
+, cmake}:
buildLuarocksPackage {
pname = "luv";
version = "1.43.0-0";
@@ -2340,7 +2356,7 @@ buildLuarocksPackage {
}) {};
lyaml = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua
+, fetchzip, lua
}:
buildLuarocksPackage {
pname = "lyaml";
@@ -2349,9 +2365,9 @@ buildLuarocksPackage {
url = "mirror://luarocks/lyaml-6.2.7-1.rockspec";
sha256 = "0m5bnzg24nyk35gcn4rydgzk0ysk1f6rslxwxd0w3drl1bg64zja";
}).outPath;
- src = fetchurl {
+ src = fetchzip {
url = "http://github.com/gvvaughan/lyaml/archive/v6.2.7.zip";
- sha256 = "165mr3krf8g8070j4ax9z0j2plfbdwb8x2zk2hydpqaqa0kcdb0c";
+ sha256 = "1qfvk610xgglyv9n2dp0cnh21f20q2zkl941qsv9qcbnm2f03vna";
};
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5");
@@ -2424,7 +2440,7 @@ buildLuarocksPackage {
}) {};
moonscript = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, lua, lpeg, argparse, luafilesystem
+, fetchgit, lua, luafilesystem, argparse, lpeg
}:
buildLuarocksPackage {
pname = "moonscript";
@@ -2444,7 +2460,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua lpeg argparse luafilesystem ];
+ propagatedBuildInputs = [ lua luafilesystem argparse lpeg ];
meta = {
homepage = "http://moonscript.org";
@@ -2477,19 +2493,19 @@ buildLuarocksPackage {
}) {};
nvim-client = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua, mpack, luv, coxpcall
+, fetchurl, luv, mpack, lua, coxpcall
}:
buildLuarocksPackage {
pname = "nvim-client";
- version = "0.2.3-1";
+ version = "0.2.4-1";
src = fetchurl {
- url = "https://github.com/neovim/lua-client/archive/0.2.3-1.tar.gz";
- sha256 = "0w6rc7b9gmz17x4l1q2nv275bkzwvg3pfg5mzsd4wymy2iwrqphf";
+ url = "https://github.com/neovim/lua-client/archive/0.2.4-1.tar.gz";
+ sha256 = "0sk1lmj0r7pyj9k3p6n0wqjbd95br44ansz0ck3amp6ql8f9kprf";
};
disabled = with lua; (luaOlder "5.1");
- propagatedBuildInputs = [ lua mpack luv coxpcall ];
+ propagatedBuildInputs = [ luv mpack lua coxpcall ];
meta = {
homepage = "https://github.com/neovim/lua-client";
@@ -2500,17 +2516,17 @@ buildLuarocksPackage {
penlight = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchgit, lua, luafilesystem
-}:
+, busted}:
buildLuarocksPackage {
pname = "penlight";
version = "dev-1";
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/lunarmodules/penlight.git",
- "rev": "a7b9f888cd72dfa875e3b7cc3b88be632f567d79",
- "date": "2022-03-24T13:21:29+01:00",
- "path": "/nix/store/vk0z1hx9rwl45g3nn0f6c4m6mx8d9p65-penlight",
- "sha256": "0w5w13gdbbnli23zmixy20jq6z3j5p6z3br3abpl5qh36b01i5p4",
+ "rev": "d5958e242b95984a278c39c63fadc5ef1258978b",
+ "date": "2022-08-14T10:06:20+02:00",
+ "path": "/nix/store/91nha43c2gdjyn8146fn9zfghlgvvdzz-penlight",
+ "sha256": "0bvc1a3g41mx8wlaq4ig3cl568rsysyggsr00hf7bi0ygf529sny",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -2520,6 +2536,7 @@ buildLuarocksPackage {
disabled = with lua; (luaOlder "5.1");
propagatedBuildInputs = [ lua luafilesystem ];
+ checkInputs = [ busted ];
meta = {
homepage = "https://lunarmodules.github.io/penlight";
@@ -2538,10 +2555,10 @@ buildLuarocksPackage {
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/nvim-lua/plenary.nvim",
- "rev": "54b2e3d58f567983feabaeb9408eccf6b7f32206",
- "date": "2022-06-01T15:32:39+02:00",
- "path": "/nix/store/j29rrzs7dsm6720rsjmzk7r1a27zv7h1-plenary.nvim",
- "sha256": "1ldjdc7yq4awlllr9dcv8fnkcwgdpvj0py5mhvx3v1yjniwrkn2i",
+ "rev": "4b66054e75356ac0b909bbfee9c682e703f535c2",
+ "date": "2022-09-03T11:21:04+02:00",
+ "path": "/nix/store/gaphh0qlf40ryk2000plscvzcbzg0kz5-plenary.nvim",
+ "sha256": "1yl5m7is35bk30swr5m1pcl2i0wf8gjcnas6bpahlxqa4x0yr1x8",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -2560,8 +2577,8 @@ buildLuarocksPackage {
}) {};
rapidjson = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, cmake, fetchgit, lua
-}:
+, fetchgit, lua
+, cmake}:
buildLuarocksPackage {
pname = "rapidjson";
version = "0.7.1-1";
@@ -2591,7 +2608,7 @@ buildLuarocksPackage {
}) {};
readline = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua, luaposix
+, fetchurl, luaposix, lua
}:
buildLuarocksPackage {
pname = "readline";
@@ -2606,7 +2623,7 @@ buildLuarocksPackage {
};
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5");
- propagatedBuildInputs = [ lua luaposix ];
+ propagatedBuildInputs = [ luaposix lua ];
meta = {
homepage = "http://pjb.com.au/comp/lua/readline.html";
@@ -2616,24 +2633,33 @@ buildLuarocksPackage {
}) {};
say = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua
-}:
+, fetchgit, lua
+, busted}:
buildLuarocksPackage {
pname = "say";
- version = "1.3-1";
+ version = "scm-1";
- src = fetchurl {
- url = "https://github.com/Olivine-Labs/say/archive/v1.3-1.tar.gz";
- sha256 = "1jh76mxq9dcmv7kps2spwcc6895jmj2sf04i4y9idaxlicvwvs13";
- };
+ src = fetchgit ( removeAttrs (builtins.fromJSON ''{
+ "url": "https://github.com/lunarmodules/say.git",
+ "rev": "45a3057e68c52b34ab59ef167efeb2340e356661",
+ "date": "2022-08-27T11:00:01+03:00",
+ "path": "/nix/store/324ryi5hlaisnyp4wpd1hvzcfv508i4s-say",
+ "sha256": "178pdsswwnja2f106701xmdxsdijjl5smm28dhhdcmjyb4mn8cr2",
+ "fetchLFS": false,
+ "fetchSubmodules": true,
+ "deepClone": false,
+ "leaveDotGit": false
+}
+ '') ["date" "path"]) ;
disabled = with lua; (luaOlder "5.1");
propagatedBuildInputs = [ lua ];
+ checkInputs = [ busted ];
meta = {
- homepage = "http://olivinelabs.com/busted/";
- description = "Lua String Hashing/Indexing Library";
- license.fullName = "MIT ";
+ homepage = "https://lunarmodules.github.io/say";
+ description = "Lua string hashing/indexing library";
+ license.fullName = "MIT";
};
}) {};
@@ -2666,13 +2692,14 @@ buildLuarocksPackage {
meta = {
homepage = "https://github.com/pkulchenko/serpent";
description = "Lua serializer and pretty printer";
+ maintainers = with lib.maintainers; [ lockejan ];
license.fullName = "MIT";
};
}) {};
sqlite = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
, fetchgit, luv
-}:
+, plenary-nvim}:
buildLuarocksPackage {
pname = "sqlite";
version = "v1.2.2-0";
@@ -2694,6 +2721,7 @@ buildLuarocksPackage {
'') ["date" "path"]) ;
propagatedBuildInputs = [ luv ];
+ checkInputs = [ plenary-nvim ];
meta = {
homepage = "https://github.com/tami5/sqlite.lua";
@@ -2711,10 +2739,10 @@ buildLuarocksPackage {
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/lua-stdlib/_debug.git",
- "rev": "eaaa493937974889007158fa8681835b312d2a35",
- "date": "2022-01-02T17:12:19-08:00",
- "path": "/nix/store/qrzwpcg9airmlnayfgxspy7p7pa8csyl-_debug",
- "sha256": "0nik882xm0d243ah8v2z5przcny7pfbbj529yn4qyvvz67lsfydb",
+ "rev": "6ab5e78ef21ad9877e9733a178df4799b983e178",
+ "date": "2022-06-29T11:27:54-07:00",
+ "path": "/nix/store/c3p5jq6bawdmfnq1ayw6d7kwwc9sqmig-_debug",
+ "sha256": "1q0gvwwjclf4galz9c9h2xbzh799xswr9z9b7lncmwb5ky2jwpcy",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -2763,7 +2791,7 @@ buildLuarocksPackage {
}) {};
stdlib = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchurl, lua
+, fetchzip, lua
}:
buildLuarocksPackage {
pname = "stdlib";
@@ -2772,9 +2800,9 @@ buildLuarocksPackage {
url = "mirror://luarocks/stdlib-41.2.2-1.rockspec";
sha256 = "0rscb4cm8s8bb8fk8rknc269y7bjqpslspsaxgs91i8bvabja6f6";
}).outPath;
- src = fetchurl {
+ src = fetchzip {
url = "http://github.com/lua-stdlib/lua-stdlib/archive/release-v41.2.2.zip";
- sha256 = "0is8i8lk4qq4afnan0vj1bwr8brialyrva7cjy43alzgwdphwynx";
+ sha256 = "0ry6k0wh4vyar1z68s0qmqzkdkfn9lcznsl8av7x78qz6l16wfw4";
};
disabled = with lua; (luaOlder "5.1") || (luaAtLeast "5.5");
@@ -2789,21 +2817,21 @@ buildLuarocksPackage {
}) {};
tl = callPackage({ buildLuarocksPackage, luaOlder, luaAtLeast
-, fetchgit, compat53, argparse, luafilesystem
-}:
+, fetchgit, argparse, compat53, luafilesystem
+, dkjson}:
buildLuarocksPackage {
pname = "tl";
- version = "0.13.2-1";
+ version = "0.14.1-1";
knownRockspec = (fetchurl {
- url = "mirror://luarocks/tl-0.13.2-1.rockspec";
- sha256 = "0a9nr03q6w1689drd0r2y8m7qbyxm8n6bkgjplwkr6c6abvbis3f";
+ url = "mirror://luarocks/tl-0.14.1-1.rockspec";
+ sha256 = "09nm8vgn1j33bj6612h48jqv7vd72qm06f6rly0angkpcdzb2cd7";
}).outPath;
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
"url": "https://github.com/teal-language/tl",
- "rev": "473fef59f21e836e1337a0e3da3c759a1e3556bd",
- "date": "2021-07-30T21:02:34-03:00",
- "path": "/nix/store/29dm1abr2cc9zqs9n9lymg92gaxqh09g-tl",
- "sha256": "1cj7ihw1kz1n1jkha6q0mq0qmlw1vi04i6pcbw3w1cdf2i4fcglh",
+ "rev": "2a0426ed42a3616981410bab0ef1faa55ab9795d",
+ "date": "2022-08-23T02:17:01-03:00",
+ "path": "/nix/store/50p7nazikq1n1nffl84lnh8l39nm18pq-tl",
+ "sha256": "04bbls8dc0jg7vbqwafn24gqna4swk3aa760i98hnrbmax39pzh2",
"fetchLFS": false,
"fetchSubmodules": true,
"deepClone": false,
@@ -2811,7 +2839,8 @@ buildLuarocksPackage {
}
'') ["date" "path"]) ;
- propagatedBuildInputs = [ compat53 argparse luafilesystem ];
+ propagatedBuildInputs = [ argparse compat53 luafilesystem ];
+ checkInputs = [ dkjson ];
meta = {
homepage = "https://github.com/teal-language/tl";
diff --git a/pkgs/development/tools/diesel-cli/default.nix b/pkgs/development/tools/diesel-cli/default.nix
index b964262f56c3..77a206545150 100644
--- a/pkgs/development/tools/diesel-cli/default.nix
+++ b/pkgs/development/tools/diesel-cli/default.nix
@@ -25,15 +25,15 @@ in
rustPlatform.buildRustPackage rec {
pname = "diesel-cli";
- version = "1.4.1";
+ version = "2.0.0";
src = fetchCrate {
inherit version;
crateName = "diesel_cli";
- sha256 = "sha256-mRdDc4fHMkwkszY+2l8z1RSNMEQnrWI5/Y0Y2W+guQE=";
+ sha256 = "sha256-PBfVLqm9vEbf1tDTx4v8U1amYwC0hpYTAYcWyfHB84g=";
};
- cargoSha256 = "sha256-sQ762Ss31sA5qALHzwkvwbfRXo00cCtqzQyoz3/zf6I=";
+ cargoSha256 = "sha256-8bvJwdZEdIChFUdTVL+EyjzqI+OAJaVMOOyspReSFzc=";
nativeBuildInputs = [ installShellFiles pkg-config ];
diff --git a/pkgs/development/tools/misc/luarocks/default.nix b/pkgs/development/tools/misc/luarocks/default.nix
index 70df08af2de0..0817c78d4803 100644
--- a/pkgs/development/tools/misc/luarocks/default.nix
+++ b/pkgs/development/tools/misc/luarocks/default.nix
@@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "luarocks";
- version = "3.9.0";
+ version = "3.9.1";
src = fetchFromGitHub {
owner = "luarocks";
repo = "luarocks";
rev = "v${version}";
- sha256 = "sha256-i0NmF268aK5lr4zjYyhk4TPUO7Zyz0Cl0fSW43Pmd1Q=";
+ sha256 = "sha256-G6HDap3pspeQtGDBq+ukN7kftDaT/CozMVdYM60F6HI=";
};
patches = [ ./darwin-3.7.0.patch ];
diff --git a/pkgs/development/tools/misc/luarocks/luarocks-nix.nix b/pkgs/development/tools/misc/luarocks/luarocks-nix.nix
index d7dba4f59afb..d99f203f6d27 100644
--- a/pkgs/development/tools/misc/luarocks/luarocks-nix.nix
+++ b/pkgs/development/tools/misc/luarocks/luarocks-nix.nix
@@ -1,20 +1,24 @@
-{ luarocks, fetchFromGitHub, nix-update-script }:
+{ luarocks, fetchFromGitHub, unstableGitUpdater }:
luarocks.overrideAttrs(old: {
pname = "luarocks-nix";
+ version = "unstable-2022-09-04";
src = fetchFromGitHub {
owner = "nix-community";
repo = "luarocks-nix";
- rev = "b1ff9eeb64c7c1dc5fc177008d6f2be9191c6aa2";
- sha256 = "sha256-mkzrf/6yMyLMIEDwsuCIxi1HJvg57ybyZPXVheFAAHE=";
+ rev = "cfc1439a29ac666fb0fcf440224adf73004655d4";
+ sha256 = "sha256-uHkE9ztOZDs2pi7to3kZ0iELRhv/gPQgTK+qyYpFZ/Y=";
};
+
patches = [];
passthru = {
- updateScript = nix-update-script {
- attrPath = "luarocks-nix";
+ updateScript = unstableGitUpdater {
+ branch = "use-fetchzip";
};
};
- meta.mainProgram = "luarocks";
+ meta = {
+ mainProgram = "luarocks";
+ };
})
diff --git a/pkgs/development/tools/scalafmt/default.nix b/pkgs/development/tools/scalafmt/default.nix
index 6a442424c4f7..562bd1138dfc 100644
--- a/pkgs/development/tools/scalafmt/default.nix
+++ b/pkgs/development/tools/scalafmt/default.nix
@@ -1,8 +1,8 @@
-{ lib, stdenv, jdk, jre, coursier, makeWrapper }:
+{ lib, stdenv, jre, coursier, makeWrapper, setJavaClassPath }:
let
baseName = "scalafmt";
- version = "3.4.3";
+ version = "3.5.2";
deps = stdenv.mkDerivation {
name = "${baseName}-deps-${version}";
buildCommand = ''
@@ -12,16 +12,15 @@ let
cp $(< deps) $out/share/java/
'';
outputHashMode = "recursive";
- outputHashAlgo = "sha256";
- outputHash = "FWGvhKK/VnvetnHS35/z1errYTRZCrcfWyEAHlhKApk=";
+ outputHash = "sha256-1QP5a0QjYUDU3JzrIX2rM/DclRfU/ACSXVLd6C7uFCo=";
};
in
stdenv.mkDerivation {
pname = baseName;
inherit version;
- nativeBuildInputs = [ makeWrapper ];
- buildInputs = [ jdk deps ];
+ nativeBuildInputs = [ makeWrapper setJavaClassPath ];
+ buildInputs = [ deps ];
dontUnpack = true;
diff --git a/pkgs/games/blightmud/default.nix b/pkgs/games/blightmud/default.nix
index 43feb8b7c2a8..f9a453195f74 100644
--- a/pkgs/games/blightmud/default.nix
+++ b/pkgs/games/blightmud/default.nix
@@ -3,16 +3,16 @@
rustPlatform.buildRustPackage rec {
pname = "blightmud";
- version = "3.5.0";
+ version = "3.6.2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
- sha256 = "sha256-DaICzwBew90YstV42wiY0IbvR1W4Hm8dzo3xY2qlMGQ=";
+ sha256 = "sha256-0TFJjOuaixBqpo6gHJynIbVHvI+PxRhwdubIXDcR098=";
};
- cargoSha256 = "sha256-BamMTPh+GN9GG4puxyTauPhjCC8heCu1wsgFaw98s9U=";
+ cargoSha256 = "sha256-jTyXoEC/QBeVbAnv2BspflGP1jA9qH+NPrRAx3x2kEg=";
buildFeatures = lib.optional withTTS "tts";
@@ -51,6 +51,7 @@ rustPlatform.buildRustPackage rec {
"test_gmcp_negotiation"
"test_ttype_negotiation"
"test_reconnect"
+ "test_is_connected"
"test_mud"
"test_server"
"test_lua_script"
@@ -75,7 +76,5 @@ rustPlatform.buildRustPackage rec {
license = licenses.gpl3Plus;
maintainers = with maintainers; [ cpu ];
platforms = platforms.linux;
- # See https://github.com/NixOS/nixpkgs/pull/160120
- broken = withTTS;
};
}
diff --git a/pkgs/servers/bazarr/default.nix b/pkgs/servers/bazarr/default.nix
index b4b8b410e553..ae7e4b868882 100644
--- a/pkgs/servers/bazarr/default.nix
+++ b/pkgs/servers/bazarr/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "bazarr";
- version = "1.0.3";
+ version = "1.1.1";
sourceRoot = ".";
src = fetchurl {
url = "https://github.com/morpheus65535/bazarr/releases/download/v${version}/bazarr.zip";
- sha256 = "sha256-VApcTYARC6NaVmwXgpzW8xRE23refGudBgPsyq7Ypig=";
+ sha256 = "sha256-ClVHThhcf4QkYhgJevTKroBe0z0YZX83qKFB0thH6eM=";
};
nativeBuildInputs = [ unzip makeWrapper ];
@@ -32,6 +32,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Subtitle manager for Sonarr and Radarr";
homepage = "https://www.bazarr.media/";
+ sourceProvenance = with sourceTypes; [ binaryNativeCode ];
license = licenses.gpl3Only;
maintainers = with maintainers; [ d-xo ];
platforms = platforms.all;
diff --git a/pkgs/shells/fish/plugins/bass.nix b/pkgs/shells/fish/plugins/bass.nix
new file mode 100644
index 000000000000..db2907bddf40
--- /dev/null
+++ b/pkgs/shells/fish/plugins/bass.nix
@@ -0,0 +1,30 @@
+{ lib, buildFishPlugin, fetchFromGitHub, python3 }:
+
+buildFishPlugin rec {
+ pname = "bass";
+ version = "unstable-2021-02-18";
+
+ src = fetchFromGitHub {
+ owner = "edc";
+ repo = pname;
+ rev = "2fd3d2157d5271ca3575b13daec975ca4c10577a";
+ sha256 = "0mb01y1d0g8ilsr5m8a71j6xmqlyhf8w4xjf00wkk8k41cz3ypky";
+ };
+
+ #buildFishplugin will only move the .fish files, but bass also relies on python
+ postInstall = ''
+ cp functions/__bass.py $out/share/fish/vendor_functions.d/
+ '';
+
+ checkInputs = [ python3 ];
+ checkPhase = ''
+ make test
+ '';
+
+ meta = with lib; {
+ description = "Fish function making it easy to use utilities written for Bash in Fish shell";
+ homepage = "https://github.com/edc/bass";
+ license = licenses.mit;
+ maintainers = with maintainers; [ beezow ];
+ };
+}
diff --git a/pkgs/shells/fish/plugins/default.nix b/pkgs/shells/fish/plugins/default.nix
index 0cc6eb6b89ed..cb2d73dacc5a 100644
--- a/pkgs/shells/fish/plugins/default.nix
+++ b/pkgs/shells/fish/plugins/default.nix
@@ -8,6 +8,8 @@ lib.makeScope newScope (self: with self; {
clownfish = callPackage ./clownfish.nix { };
+ bass = callPackage ./bass.nix { };
+
done = callPackage ./done.nix { };
# Fishtape 2.x and 3.x aren't compatible,
diff --git a/pkgs/shells/zsh/zi/default.nix b/pkgs/shells/zsh/zi/default.nix
new file mode 100644
index 000000000000..b1adbe8d6616
--- /dev/null
+++ b/pkgs/shells/zsh/zi/default.nix
@@ -0,0 +1,30 @@
+{ lib, fetchFromGitHub, installShellFiles, stdenvNoCC }:
+
+stdenvNoCC.mkDerivation rec {
+ pname = "zi";
+ version = "unstable-2022-04-09";
+ src = fetchFromGitHub {
+ owner = "z-shell";
+ repo = pname;
+ rev = "4ca4d3276ca816c3d37a31e47d754f9a732c40b9";
+ sha256 = "sha256-KcDFT0is5Ef/zRo6zVfxYfBMOb5oVaVFT4EsUrfiMko=";
+ };
+
+ dontBuild = true;
+
+ nativeBuildInputs = [ installShellFiles ];
+
+ installPhase = ''
+ mkdir -p $out
+ cp -r lib zi.zsh $out
+ installManPage docs/man/zi.1
+ installShellCompletion --zsh lib/_zi
+ '';
+
+ meta = with lib; {
+ homepage = "https://github.com/z-shell/zi";
+ description = "A Swiss Army Knife for Zsh - Unix Shell";
+ license = licenses.mit;
+ maintainers = with maintainers; [ sei40kr ];
+ };
+}
diff --git a/pkgs/tools/backup/gyb/default.nix b/pkgs/tools/backup/gyb/default.nix
new file mode 100644
index 000000000000..2c82f40f583e
--- /dev/null
+++ b/pkgs/tools/backup/gyb/default.nix
@@ -0,0 +1,50 @@
+{ lib
+, fetchFromGitHub
+, python3
+, python3Packages
+}:
+
+python3Packages.buildPythonApplication rec {
+ pname = "gyb";
+ version = "1.62";
+ format = "other";
+
+ src = fetchFromGitHub {
+ owner = "GAM-team";
+ repo = "got-your-back";
+ rev = "v${version}";
+ sha256 = "sha256-HaexQ0y5i9Q0xgjzAX6E2xeyeDvARo7/Gx3ytohRT7U=";
+ };
+
+ propagatedBuildInputs = with python3Packages; [
+ google-api-python-client
+ google-auth
+ google-auth-oauthlib
+ google-auth-httplib2
+ httplib2
+ ];
+
+ installPhase = ''
+ runHook preInstall
+
+ mkdir -p $out/{bin,${python3.sitePackages}}
+ mv gyb.py "$out/bin/gyb"
+ mv *.py "$out/${python3.sitePackages}/"
+
+ runHook postInstall
+ '';
+
+ checkPhase = ''
+ $out/bin/gyb --help > /dev/null
+ '';
+
+ meta = with lib; {
+ description = ''
+ Got Your Back (GYB) is a command line tool for backing up your Gmail
+ messages to your computer using Gmail's API over HTTPS.
+ '';
+ homepage = "https://github.com/GAM-team/got-your-back";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ austinbutler ];
+ };
+}
diff --git a/pkgs/tools/filesystems/afsctool/default.nix b/pkgs/tools/filesystems/afsctool/default.nix
new file mode 100644
index 000000000000..303ec05bf834
--- /dev/null
+++ b/pkgs/tools/filesystems/afsctool/default.nix
@@ -0,0 +1,33 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, pkg-config
+, cmake
+, git
+, zlib
+, sparsehash
+, CoreServices
+}:
+
+stdenv.mkDerivation rec {
+ pname = "afsctool";
+ version = "1.7.0";
+
+ src = fetchFromGitHub {
+ owner = "RJVB";
+ repo = pname;
+ rev = version;
+ hash = "sha256-rqca7gpH46hk4MEPMHqYnteYJnGpLS/gu4XP7xWqDzo=";
+ };
+
+ nativeBuildInputs = [ pkg-config cmake git ];
+ buildInputs = [ zlib sparsehash CoreServices ];
+
+ meta = with lib; {
+ description = "Utility that allows end-users to leverage HFS+/APFS compression";
+ license = licenses.unfree;
+ maintainers = [ maintainers.viraptor ];
+ platforms = platforms.darwin;
+ homepage = "https://github.com/RJVB/afsctool";
+ };
+}
diff --git a/pkgs/tools/filesystems/ceph-csi/default.nix b/pkgs/tools/filesystems/ceph-csi/default.nix
index 28d8e36f9502..2069bd0f23ce 100644
--- a/pkgs/tools/filesystems/ceph-csi/default.nix
+++ b/pkgs/tools/filesystems/ceph-csi/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
pname = "ceph-csi";
- version = "3.5.1";
+ version = "3.7.0";
nativeBuildInputs = [ go ];
buildInputs = [ ceph ];
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "ceph";
repo = "ceph-csi";
rev = "v${version}";
- sha256 = "sha256-TKNpMRZALMBgK9kN6aVokC+JpRo18AOJIXKNb1ZGgkQ=";
+ sha256 = "sha256-DmYwLhJoWPsqtXQp2+vpUuEBfo7dTQkxMVa+/oR6LZk=";
};
preConfigure = ''
diff --git a/pkgs/tools/graphics/dippi/default.nix b/pkgs/tools/graphics/dippi/default.nix
new file mode 100644
index 000000000000..9c037d6d4a9f
--- /dev/null
+++ b/pkgs/tools/graphics/dippi/default.nix
@@ -0,0 +1,64 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, meson
+, ninja
+, pkg-config
+, python3
+, vala
+, glib
+, gtk3
+, gtk4
+, libadwaita
+, wrapGAppsHook4
+, appstream-glib
+, desktop-file-utils
+}:
+
+stdenv.mkDerivation rec {
+ pname = "dippi";
+ version = "4.0.0";
+
+ src = fetchFromGitHub {
+ owner = "cassidyjames";
+ repo = "dippi";
+ rev = version;
+ hash = "sha256-6eZRz3/LaZwy8DzC/8q9Jrebcx86hHri6KBgThU7Dhw=";
+ };
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ vala
+ pkg-config
+ wrapGAppsHook4
+ appstream-glib
+ desktop-file-utils
+ # For post_install.py
+ python3
+ glib
+ gtk3
+ ];
+
+ buildInputs = [
+ glib
+ gtk4
+ libadwaita
+ ];
+
+ postPatch = ''
+ patchShebangs build-aux/meson/post_install.py
+ '';
+
+ postInstall = ''
+ ln -s $out/bin/com.github.cassidyjames.dippi $out/bin/dippi
+ '';
+
+ meta = with lib; {
+ description = "Calculate display info like DPI and aspect ratio";
+ homepage = "https://github.com/cassidyjames/dippi";
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ zendo ];
+ };
+}
diff --git a/pkgs/tools/misc/dwarf2json/default.nix b/pkgs/tools/misc/dwarf2json/default.nix
new file mode 100644
index 000000000000..acad4c64bfee
--- /dev/null
+++ b/pkgs/tools/misc/dwarf2json/default.nix
@@ -0,0 +1,23 @@
+{ lib, fetchFromGitHub, buildGoModule }:
+
+buildGoModule rec {
+ pname = "dwarf2json";
+ version = "unstable-2021-04-15";
+
+ src = fetchFromGitHub {
+ owner = "volatilityfoundation";
+ repo = "dwarf2json";
+ rev = "e8a1ce85dc33bf2039adc7f8a5f47f3016153720";
+ sha256 = "sha256-hnS00glAcj78mZp5as63CsEn+dcr+GNEkz8iC3KM0h0=";
+ };
+
+ vendorSha256 = "sha256-tgs0l+sYdAxMHwVTew++keNpDyrHmevpmOBVIiuL+34=";
+
+ meta = with lib; {
+ homepage = "https://github.com/volatilityfoundation/dwarf2json";
+ description = "Convert ELF/DWARF symbol and type information into vol3's intermediate JSON";
+ license = licenses.vol-sl;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ arkivm ];
+ };
+}
diff --git a/pkgs/tools/misc/gomi/default.nix b/pkgs/tools/misc/gomi/default.nix
new file mode 100644
index 000000000000..e205216057fa
--- /dev/null
+++ b/pkgs/tools/misc/gomi/default.nix
@@ -0,0 +1,27 @@
+{ lib
+, buildGoModule
+, fetchFromGitHub
+}:
+
+buildGoModule rec {
+ pname = "gomi";
+ version = "1.1.1";
+
+ src = fetchFromGitHub {
+ owner = "b4b4r07";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "sha256-zLHP6PI2YeW1Fn6OPuMaiAPHOdudfKO4YP3XTh9HXNc=";
+ };
+
+ vendorSha256 = "sha256-7Qy7Akp/yP+XbxVQhQuUd1FZ504A3a2BLbHI3eglIqk=";
+
+ subPackages = [ "." ];
+
+ meta = with lib; {
+ description = "Replacement for UNIX rm command";
+ homepage = "https://github.com/b4b4r07/gomi";
+ license = licenses.mit;
+ maintainers = with maintainers; [ ozkutuk ];
+ };
+}
diff --git a/pkgs/tools/misc/panoply/default.nix b/pkgs/tools/misc/panoply/default.nix
index eda2619bcada..611874ab7684 100644
--- a/pkgs/tools/misc/panoply/default.nix
+++ b/pkgs/tools/misc/panoply/default.nix
@@ -2,11 +2,11 @@
stdenvNoCC.mkDerivation rec {
pname = "panoply";
- version = "5.1.1";
+ version = "5.2.0";
src = fetchurl {
url = "https://www.giss.nasa.gov/tools/panoply/download/PanoplyJ-${version}.tgz";
- sha256 = "sha256-qx/Uz/X9ZJ4ebV+OMtXVoReh61YAp9iRcJmywGfKiUw=";
+ sha256 = "sha256-ko2UB7jy2sob5i/TAjjJVBuVyvqgh4awB1jEv8DplM0=";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/tools/misc/rpi-imager/default.nix b/pkgs/tools/misc/rpi-imager/default.nix
index 3a7baa62bae8..56899ae3c343 100644
--- a/pkgs/tools/misc/rpi-imager/default.nix
+++ b/pkgs/tools/misc/rpi-imager/default.nix
@@ -16,13 +16,13 @@
mkDerivation rec {
pname = "rpi-imager";
- version = "1.7.1";
+ version = "1.7.2";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = pname;
rev = "v${version}";
- sha256 = "sha256-Yt+RWox+0VOw8SH7Ry/o4NHOg3IGcebVeE9OWGP17do=";
+ sha256 = "sha256-9/kZ9GVfLRdKxzyZ3E11aILkJWIeojt9Ew+vKktveoU=";
};
nativeBuildInputs = [ cmake util-linux ];
@@ -38,6 +38,8 @@ mkDerivation rec {
qtgraphicaleffects
];
+ sourceRoot = "${src.name}/src";
+
/* By default, the builder checks for JSON support in lsblk by running "lsblk --json",
but that throws an error, as /sys/dev doesn't exist in the sandbox.
This patch removes the check. */
diff --git a/pkgs/tools/text/book-summary/default.nix b/pkgs/tools/text/book-summary/default.nix
new file mode 100644
index 000000000000..563d486b8007
--- /dev/null
+++ b/pkgs/tools/text/book-summary/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, rustPlatform
+, fetchFromGitHub
+, fetchpatch
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "book-summary";
+ version = "0.2.1";
+
+ src = fetchFromGitHub {
+ owner = "dvogt23";
+ repo = pname;
+ rev = version;
+ sha256 = "1dawddkpyasy22biqz35c912xqmwcx6ihpqp6cnikbdzv8ni8adr";
+ };
+
+ cargoPatches = [
+ # add Cargo.lock
+ # can be removed after https://github.com/dvogt23/book-summary/pull/23 gets merged
+ (fetchpatch {
+ url = "https://github.com/dvogt23/book-summary/commit/9d941a57db5cd2fd0e9813230d69eb1d166a48f8.patch";
+ sha256 = "sha256-91dwJKdaLukxVZHA3RH1rxj45U/+mabFTflBaLd2rK8=";
+ })
+ ];
+
+ cargoSha256 = "sha256-chuEzYUfZC/ZdWIUEmAXJAnXG2s8mCcNs6cuq8Lh5PQ=";
+
+ meta = with lib; {
+ description = "Book auto-summary for gitbook and mdBook";
+ homepage = "https://github.com/dvogt23/book-summary";
+ license = licenses.mit;
+ maintainers = with teams; iog.members;
+ };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index b545203d57e8..86c3f270b273 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -638,12 +638,16 @@ with pkgs;
umoci = callPackage ../applications/virtualization/umoci {};
+ dippi = callPackage ../tools/graphics/dippi {};
+
dispad = callPackage ../tools/X11/dispad { };
dupeguru = callPackage ../applications/misc/dupeguru { };
dump1090 = callPackage ../applications/radio/dump1090 { };
+ dwarf2json = callPackage ../tools/misc/dwarf2json { };
+
ebook2cw = callPackage ../applications/radio/ebook2cw { };
edwin = callPackage ../data/fonts/edwin { };
@@ -703,6 +707,8 @@ with pkgs;
global-platform-pro = callPackage ../development/tools/global-platform-pro { };
+ gomi = callPackage ../tools/misc/gomi { };
+
graph-easy = callPackage ../tools/graphics/graph-easy { };
graphw00f = callPackage ../tools/security/graphw00f { };
@@ -1160,6 +1166,10 @@ with pkgs;
afpfs-ng = callPackage ../tools/filesystems/afpfs-ng { };
+ afsctool = callPackage ../tools/filesystems/afsctool {
+ inherit (darwin.apple_sdk.frameworks) CoreServices;
+ };
+
agate = callPackage ../servers/gemini/agate {
inherit (darwin.apple_sdk.frameworks) Security;
};
@@ -2600,6 +2610,8 @@ with pkgs;
harvid = callPackage ../tools/video/harvid { };
+ headset = callPackage ../applications/audio/headset { };
+
hilbish = callPackage ../shells/hilbish { };
hime = callPackage ../tools/inputmethods/hime {};
@@ -3054,6 +3066,8 @@ with pkgs;
boringtun = callPackage ../tools/networking/boringtun { };
+ book-summary = callPackage ../tools/text/book-summary { };
+
bookstack = callPackage ../servers/web-apps/bookstack { };
# Upstream recommends qt5.12 and it doesn't build with qt5.15
@@ -7129,6 +7143,8 @@ with pkgs;
grin = callPackage ../tools/text/grin { };
+ gyb = callPackage ../tools/backup/gyb { };
+
igrep = callPackage ../tools/text/igrep {
inherit (darwin.apple_sdk.frameworks) Security;
};
@@ -12669,6 +12685,8 @@ with pkgs;
zplug = callPackage ../shells/zsh/zplug { };
+ zi = callPackage ../shells/zsh/zi {};
+
zinit = callPackage ../shells/zsh/zinit {} ;
zint = qt6Packages.callPackage ../development/libraries/zint { };
@@ -32647,6 +32665,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security;
};
+ terra-station = callPackage ../applications/blockchains/terra-station { };
+
tessera = callPackage ../applications/blockchains/tessera { };
vertcoin = libsForQt514.callPackage ../applications/blockchains/vertcoin {