Merge master into staging-next
This commit is contained in:
commit
40936b496d
|
@ -14,19 +14,25 @@ for example when using an 'old' hash in a fixed-output derivation.
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
passthru.tests.version = testVersion { package = hello; };
|
passthru.tests.version = testers.testVersion { package = hello; };
|
||||||
|
|
||||||
passthru.tests.version = testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = seaweedfs;
|
package = seaweedfs;
|
||||||
command = "weed version";
|
command = "weed version";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru.tests.version = testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = key;
|
package = key;
|
||||||
command = "KeY --help";
|
command = "KeY --help";
|
||||||
# Wrong '2.5' version in the code. Drop on next version.
|
# Wrong '2.5' version in the code. Drop on next version.
|
||||||
version = "2.5";
|
version = "2.5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = ghr;
|
||||||
|
# The output needs to contain the 'version' string without any prefix or suffix.
|
||||||
|
version = "v${version}";
|
||||||
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
## `testEqualDerivation` {#tester-testEqualDerivation}
|
## `testEqualDerivation` {#tester-testEqualDerivation}
|
||||||
|
@ -42,7 +48,7 @@ Otherwise, the build log explains the difference via `nix-diff`.
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
testEqualDerivation
|
testers.testEqualDerivation
|
||||||
"The hello package must stay the same when enabling checks."
|
"The hello package must stay the same when enabling checks."
|
||||||
hello
|
hello
|
||||||
(hello.overrideAttrs(o: { doCheck = true; }))
|
(hello.overrideAttrs(o: { doCheck = true; }))
|
||||||
|
@ -73,7 +79,7 @@ fixed output derivation.
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
tests.fetchgit = invalidateFetcherByDrvHash fetchgit {
|
tests.fetchgit = testers.invalidateFetcherByDrvHash fetchgit {
|
||||||
name = "nix-source";
|
name = "nix-source";
|
||||||
url = "https://github.com/NixOS/nix";
|
url = "https://github.com/NixOS/nix";
|
||||||
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
|
rev = "9d9dbe6ed05854e03811c361a3380e09183f4f4a";
|
||||||
|
|
|
@ -449,6 +449,7 @@ in
|
||||||
--dbuser ${cfg.database.user} \
|
--dbuser ${cfg.database.user} \
|
||||||
${optionalString (cfg.database.passwordFile != null) "--dbpassfile ${cfg.database.passwordFile}"} \
|
${optionalString (cfg.database.passwordFile != null) "--dbpassfile ${cfg.database.passwordFile}"} \
|
||||||
--passfile ${cfg.passwordFile} \
|
--passfile ${cfg.passwordFile} \
|
||||||
|
--dbtype ${cfg.database.type} \
|
||||||
${cfg.name} \
|
${cfg.name} \
|
||||||
admin
|
admin
|
||||||
|
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fulcrum";
|
pname = "fulcrum";
|
||||||
version = "1.7.0";
|
version = "1.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cculianu";
|
owner = "cculianu";
|
||||||
repo = "Fulcrum";
|
repo = "Fulcrum";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-FIa6eAE6yyJR5UdlCXB2Gx3DqN528POxb0eYOCpVjJk=";
|
sha256 = "sha256-g80XL7dzq2Ed08zAcgBjrHfL1Qqxhr5sL9koaE4fl/I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config qmake ];
|
nativeBuildInputs = [ pkg-config qmake ];
|
||||||
|
|
|
@ -10628,6 +10628,18 @@ final: prev:
|
||||||
meta.homepage = "https://github.com/kana/vim-niceblock/";
|
meta.homepage = "https://github.com/kana/vim-niceblock/";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vim-nickel = buildVimPluginFrom2Nix {
|
||||||
|
pname = "vim-nickel";
|
||||||
|
version = "2022-03-16";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nickel-lang";
|
||||||
|
repo = "vim-nickel";
|
||||||
|
rev = "2f0f5f8ce2a8e719a5e39d7210ca914ae403374c";
|
||||||
|
sha256 = "1li3wc5164mcqrvj42dc8zh3j8wml10gpgffapnjilwa5c85kv3q";
|
||||||
|
};
|
||||||
|
meta.homepage = "https://github.com/nickel-lang/vim-nickel/";
|
||||||
|
};
|
||||||
|
|
||||||
vim-ninja-feet = buildVimPluginFrom2Nix {
|
vim-ninja-feet = buildVimPluginFrom2Nix {
|
||||||
pname = "vim-ninja-feet";
|
pname = "vim-ninja-feet";
|
||||||
version = "2021-05-27";
|
version = "2021-05-27";
|
||||||
|
|
|
@ -892,6 +892,7 @@ https://github.com/tiagofumo/vim-nerdtree-syntax-highlight/,,
|
||||||
https://github.com/jistr/vim-nerdtree-tabs/,,
|
https://github.com/jistr/vim-nerdtree-tabs/,,
|
||||||
https://github.com/nfnty/vim-nftables/,,
|
https://github.com/nfnty/vim-nftables/,,
|
||||||
https://github.com/kana/vim-niceblock/,,
|
https://github.com/kana/vim-niceblock/,,
|
||||||
|
https://github.com/nickel-lang/vim-nickel/,main,
|
||||||
https://github.com/tommcdo/vim-ninja-feet/,,
|
https://github.com/tommcdo/vim-ninja-feet/,,
|
||||||
https://github.com/LnL7/vim-nix/,,
|
https://github.com/LnL7/vim-nix/,,
|
||||||
https://github.com/symphorien/vim-nixhash/,,
|
https://github.com/symphorien/vim-nixhash/,,
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "rofi-emoji";
|
pname = "rofi-emoji";
|
||||||
version = "3.0.1";
|
version = "3.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Mange";
|
owner = "Mange";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-pYNeAz8MKBM3VSkQfP4hgTbEy9haGmBmPf/nu9tvKts=";
|
sha256 = "sha256-YMQG0XO6zVei6GfBdgI7jtB7px12e+xvOMxZ1QHf5kQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cloudfoundry-cli";
|
pname = "cloudfoundry-cli";
|
||||||
version = "8.4.0";
|
version = "8.5.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cloudfoundry";
|
owner = "cloudfoundry";
|
||||||
repo = "cli";
|
repo = "cli";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-+UP1abTDYLn+lhMvo9G57X0nlColai7isNswog+3Y40=";
|
sha256 = "sha256-+fQnit2J3WQpir4HldkWKCex6byfp2IqEWCi4oJ5HgU=";
|
||||||
};
|
};
|
||||||
vendorSha256 = "sha256-opVnj6dTtHrPYM1v+EFw39XDMF/fampAn7n+JvlBcJk=";
|
vendorSha256 = "sha256-Wz5OoCrIY/xEXk+eqXtqtgVGD8oGUPmhzT5mOcZRD8w=";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
|
|
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "glooctl";
|
pname = "glooctl";
|
||||||
version = "1.12.15";
|
version = "1.12.17";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "solo-io";
|
owner = "solo-io";
|
||||||
repo = "gloo";
|
repo = "gloo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-HOWBigwW5JagFG1MfcFIXSzveGAj1BWjLbJL9ESLgAQ=";
|
hash = "sha256-6lwjfJOW1T+pRU9nrZ9Pit0N0je+t829jeKmlDn9TgA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
subPackages = [ "projects/gloo/cli/cmd" ];
|
subPackages = [ "projects/gloo/cli/cmd" ];
|
||||||
vendorSha256 = "sha256-6AgsnPrkLtUgvPMcXDZ9qVngnlN/65pwjdtBPdf0Jzw=";
|
vendorSha256 = "sha256-584gGED37p5QycoquFwp3hNR9x70kB1EsO5aoZTEJ1Y=";
|
||||||
|
|
||||||
nativeBuildInputs = [ installShellFiles ];
|
nativeBuildInputs = [ installShellFiles ];
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ branch ? "stable", callPackage, fetchurl, lib, stdenv }:
|
{ branch ? "stable", callPackage, fetchurl, lib, stdenv }:
|
||||||
let
|
let
|
||||||
versions = if stdenv.isLinux then {
|
versions = if stdenv.isLinux then {
|
||||||
stable = "0.0.19";
|
stable = "0.0.20";
|
||||||
ptb = "0.0.29";
|
ptb = "0.0.29";
|
||||||
canary = "0.0.139";
|
canary = "0.0.139";
|
||||||
} else {
|
} else {
|
||||||
|
@ -14,7 +14,7 @@ let
|
||||||
x86_64-linux = {
|
x86_64-linux = {
|
||||||
stable = fetchurl {
|
stable = fetchurl {
|
||||||
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
|
url = "https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz";
|
||||||
sha256 = "GfSyddbGF8WA6JmHo4tUM27cyHV5kRAyrEiZe1jbA5A=";
|
sha256 = "3f7yuxigEF3e8qhCetCHKBtV4XUHsx/iYiaCCXjspYw=";
|
||||||
};
|
};
|
||||||
ptb = fetchurl {
|
ptb = fetchurl {
|
||||||
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
|
url = "https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz";
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "limesuite";
|
pname = "limesuite";
|
||||||
version = "20.10.0";
|
version = "22.09.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "myriadrf";
|
owner = "myriadrf";
|
||||||
repo = "LimeSuite";
|
repo = "LimeSuite";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "04wzfhzqmxjsa6bgcr4zd518fln9rbwnbabf48kha84d70vzkdlx";
|
sha256 = "sha256-HV0ejx7ImJ7GvAyCi0a7OPB0/2UiLQxxhYR2bc2uYCA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
|
@ -22,9 +22,9 @@ buildGoModule rec {
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
||||||
passthru.tests.testVersion = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = ghr;
|
package = ghr;
|
||||||
version = "ghr version v${version}";
|
version = "v${version}";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "armadillo";
|
pname = "armadillo";
|
||||||
version = "11.2.3";
|
version = "11.2.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
|
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
|
||||||
sha256 = "sha256-TC6XzmBwf8HzSPRPevDLbSRm0KrQ0OpL9dXcGA5sukE=";
|
sha256 = "sha256-3EyRlUqxFJC/ZNLfzFSoAvFDk8dWqNVFrBVe7v+n/ZM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libwpe";
|
pname = "libwpe";
|
||||||
version = "1.12.2";
|
version = "1.12.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://wpewebkit.org/releases/${pname}-${version}.tar.xz";
|
url = "https://wpewebkit.org/releases/${pname}-${version}.tar.xz";
|
||||||
sha256 = "sha256-SsT9CotWK3Ib/9D0aunwbCtaMRRAdYGXi+h1qdZRZCo=";
|
sha256 = "sha256-uE/b+8hJzk/fCEuyi1jlRjsbS2zI8gDcd7QfhUXVMp0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, fetchurl, docbook_xsl, docbook_xsl_ns, gettext, libxslt, glibcLocales, docbook_xml_dtd_412, docbook_sgml_dtd_41, texlive, opensp
|
{ stdenv, lib, fetchurl, docbook_xsl, docbook_xsl_ns, gettext, libxslt, glibcLocales, docbook_xml_dtd_412, docbook_sgml_dtd_41, texlive, opensp
|
||||||
, perl, buildPerlPackage, ModuleBuild, TextWrapI18N, LocaleGettext, TermReadKey, SGMLSpm, UnicodeLineBreak, PodParser, YAMLTiny }:
|
, perl, buildPerlPackage, ModuleBuild, TextWrapI18N, LocaleGettext, TermReadKey, SGMLSpm, UnicodeLineBreak, PodParser, YAMLTiny }:
|
||||||
|
|
||||||
buildPerlPackage rec {
|
buildPerlPackage rec {
|
||||||
|
@ -9,7 +9,7 @@ buildPerlPackage rec {
|
||||||
sha256 = "0eb510a66f59de68cf7a205342036cc9fc08b39334b91f1456421a5f3359e68b";
|
sha256 = "0eb510a66f59de68cf7a205342036cc9fc08b39334b91f1456421a5f3359e68b";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ docbook_xsl docbook_xsl_ns ModuleBuild ];
|
nativeBuildInputs = [ docbook_xsl docbook_xsl_ns ModuleBuild ];
|
||||||
propagatedBuildInputs = [ TextWrapI18N LocaleGettext SGMLSpm UnicodeLineBreak PodParser YAMLTiny ];
|
propagatedBuildInputs = lib.optional (!stdenv.hostPlatform.isMusl) TextWrapI18N ++ [ LocaleGettext SGMLSpm UnicodeLineBreak PodParser YAMLTiny ];
|
||||||
# TODO: TermReadKey was temporarily removed from propagatedBuildInputs to unfreeze the build
|
# TODO: TermReadKey was temporarily removed from propagatedBuildInputs to unfreeze the build
|
||||||
buildInputs = [ gettext libxslt glibcLocales docbook_xml_dtd_412 docbook_sgml_dtd_41 texlive.combined.scheme-basic opensp ];
|
buildInputs = [ gettext libxslt glibcLocales docbook_xml_dtd_412 docbook_sgml_dtd_41 texlive.combined.scheme-basic opensp ];
|
||||||
LC_ALL = "en_US.UTF-8";
|
LC_ALL = "en_US.UTF-8";
|
||||||
|
@ -19,6 +19,14 @@ buildPerlPackage rec {
|
||||||
export PERL_MB_OPT="--install_base=$out --prefix=$out"
|
export PERL_MB_OPT="--install_base=$out --prefix=$out"
|
||||||
'';
|
'';
|
||||||
buildPhase = "perl Build.PL --install_base=$out --install_path=\"lib=$out/${perl.libPrefix}\"; ./Build build";
|
buildPhase = "perl Build.PL --install_base=$out --install_path=\"lib=$out/${perl.libPrefix}\"; ./Build build";
|
||||||
|
|
||||||
|
# Disabling tests on musl
|
||||||
|
# Void linux package have investigated the failure and tracked it down to differences in gettext behavior. They decided to disable tests.
|
||||||
|
# https://github.com/void-linux/void-packages/pull/34029#issuecomment-973267880
|
||||||
|
# Alpine packagers have not worried about running the tests until now:
|
||||||
|
# https://git.alpinelinux.org/aports/tree/main/po4a/APKBUILD#n11
|
||||||
|
doCheck = !stdenv.hostPlatform.isMusl;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
export SGML_CATALOG_FILES=${docbook_sgml_dtd_41}/sgml/dtd/docbook-4.1/docbook.cat
|
export SGML_CATALOG_FILES=${docbook_sgml_dtd_41}/sgml/dtd/docbook-4.1/docbook.cat
|
||||||
./Build test
|
./Build test
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"version": "0.1.12",
|
"version": "0.1.14",
|
||||||
"assets": {
|
"assets": {
|
||||||
"x86_64-darwin": {
|
"x86_64-darwin": {
|
||||||
"asset": "scala-cli-x86_64-apple-darwin.gz",
|
"asset": "scala-cli-x86_64-apple-darwin.gz",
|
||||||
"sha256": "1gg5w676h1dm6rmbjbc8fjrz8q2kpq1062xn0r3gm6jwjgjsbw6v"
|
"sha256": "1h20bd8rabpxgjp6czbn9m5yhmz77vkvpbsxmnf6src942ihb7sn"
|
||||||
},
|
},
|
||||||
"x86_64-linux": {
|
"x86_64-linux": {
|
||||||
"asset": "scala-cli-x86_64-pc-linux.gz",
|
"asset": "scala-cli-x86_64-pc-linux.gz",
|
||||||
"sha256": "1ihfkfgfwsvryk2hpiflakmi512m8xjaksny33fymn52cpv8n2gw"
|
"sha256": "1n4f920qpwhnarky1dh79sk1r3ayriinf4ah53704xvscc083c70"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,13 +5,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "cirrus-cli";
|
pname = "cirrus-cli";
|
||||||
version = "0.85.0";
|
version = "0.86.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "cirruslabs";
|
owner = "cirruslabs";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-hFL7ImtaQrNeoxNLE/RL79SHRBHSit1dQ6Wn8gq8dns=";
|
sha256 = "sha256-ilQNwxqi7PMj6zgJ7SbpKfHDiTEjfIey3jV/Owrbddc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-GRCcKIUimPFdeAhnz6RC5arZ0E+z+SpaAC1uDaxpJkI=";
|
vendorSha256 = "sha256-GRCcKIUimPFdeAhnz6RC5arZ0E+z+SpaAC1uDaxpJkI=";
|
||||||
|
|
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gomplate";
|
pname = "gomplate";
|
||||||
version = "3.11.2";
|
version = "3.11.3";
|
||||||
owner = "hairyhenderson";
|
owner = "hairyhenderson";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit owner rev;
|
inherit owner rev;
|
||||||
repo = pname;
|
repo = pname;
|
||||||
sha256 = "sha256-NIepoz1JToaX2EJCL/kqkpBJigJVy2Tkz0jGn4ukfvI=";
|
sha256 = "sha256-NvTwiGyBHhHiVHdWeXnJONNkHkrvsc1zmHPK8rSHaQw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-fXbwNX+GoujciZVxxe7Tl21MxWhyAD4cW/p8PCAAElw=";
|
vendorSha256 = "sha256-BIcOErtlcnE70Mo6fjmA/btvSpw95RaKLqNWsgyJgpc=";
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# some tests require network access
|
# some tests require network access
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "jsonnet-language-server";
|
pname = "jsonnet-language-server";
|
||||||
version = "0.9.0";
|
version = "0.9.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grafana";
|
owner = "grafana";
|
||||||
repo = "jsonnet-language-server";
|
repo = "jsonnet-language-server";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-Qp01JcgDdIK1yqXJCasZkh6rWXujdCHSFVxHSVySj50=";
|
sha256 = "sha256-JNRMV52sSA45lp1UdJ4wBGrhlGIFhYHhgZU0lop1HcI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-tsVevkMHuCv70A9Ohg9L+ghH5+v52X4sToI4bMlDzzo=";
|
vendorSha256 = "sha256-tsVevkMHuCv70A9Ohg9L+ghH5+v52X4sToI4bMlDzzo=";
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "hound";
|
pname = "hound";
|
||||||
version = "0.5.1";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hound-search";
|
owner = "hound-search";
|
||||||
repo = "hound";
|
repo = "hound";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-1URhb+ZrtP5eGS2o7lBxvAxQJR/J6oE+pCbJ7sQb0X4=";
|
sha256 = "sha256-M1c4lsD7DQo5+RCCDdyn9FeGuGngMsg1qSrxM2wCzpg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = "sha256-ZgF/PB3VTPx367JUkhOkSEK1uvqENNG0xuNXvCGENnQ=";
|
vendorSha256 = "sha256-ZgF/PB3VTPx367JUkhOkSEK1uvqENNG0xuNXvCGENnQ=";
|
||||||
|
|
|
@ -5,11 +5,13 @@
|
||||||
, lib
|
, lib
|
||||||
, patchelf
|
, patchelf
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, runCommand
|
||||||
|
, expect
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (dotnetCorePackages) sdk_6_0;
|
inherit (dotnetCorePackages) sdk_6_0;
|
||||||
in
|
in
|
||||||
buildDotnetModule rec {
|
let finalPackage = buildDotnetModule rec {
|
||||||
pname = "omnisharp-roslyn";
|
pname = "omnisharp-roslyn";
|
||||||
version = "1.39.1";
|
version = "1.39.1";
|
||||||
|
|
||||||
|
@ -72,6 +74,43 @@ buildDotnetModule rec {
|
||||||
rm $out/lib/omnisharp-roslyn/System.Configuration.ConfigurationManager.dll
|
rm $out/lib/omnisharp-roslyn/System.Configuration.ConfigurationManager.dll
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
no-sdk = runCommand "no-sdk" { nativeBuildInputs = [ finalPackage expect ]; meta.timeout = 60; } ''
|
||||||
|
HOME=$TMPDIR
|
||||||
|
expect <<"EOF"
|
||||||
|
spawn OmniSharp
|
||||||
|
expect_before timeout {
|
||||||
|
send_error "timeout!\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
expect "\"ERROR\",\"Name\":\"OmniSharp.MSBuild.Discovery.Providers.SdkInstanceProvider\""
|
||||||
|
expect eof
|
||||||
|
catch wait result
|
||||||
|
if { [lindex $result 3] == 0 } {
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
EOF
|
||||||
|
touch $out
|
||||||
|
'';
|
||||||
|
|
||||||
|
with-sdk = runCommand "with-sdk" { nativeBuildInputs = [ finalPackage sdk_6_0 expect ]; meta.timeout = 60; } ''
|
||||||
|
HOME=$TMPDIR
|
||||||
|
expect <<"EOF"
|
||||||
|
spawn OmniSharp
|
||||||
|
expect_before timeout {
|
||||||
|
send_error "timeout!\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
expect "{\"Event\":\"started\","
|
||||||
|
send \x03
|
||||||
|
expect eof
|
||||||
|
catch wait result
|
||||||
|
exit [lindex $result 3]
|
||||||
|
EOF
|
||||||
|
touch $out
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "OmniSharp based on roslyn workspaces";
|
description = "OmniSharp based on roslyn workspaces";
|
||||||
homepage = "https://github.com/OmniSharp/omnisharp-roslyn";
|
homepage = "https://github.com/OmniSharp/omnisharp-roslyn";
|
||||||
|
@ -83,4 +122,4 @@ buildDotnetModule rec {
|
||||||
maintainers = with maintainers; [ tesq0 ericdallo corngood mdarocha ];
|
maintainers = with maintainers; [ tesq0 ericdallo corngood mdarocha ];
|
||||||
mainProgram = "OmniSharp";
|
mainProgram = "OmniSharp";
|
||||||
};
|
};
|
||||||
}
|
}; in finalPackage
|
||||||
|
|
|
@ -54,6 +54,7 @@
|
||||||
tree-sitter-lua = lib.importJSON ./tree-sitter-lua.json;
|
tree-sitter-lua = lib.importJSON ./tree-sitter-lua.json;
|
||||||
tree-sitter-make = lib.importJSON ./tree-sitter-make.json;
|
tree-sitter-make = lib.importJSON ./tree-sitter-make.json;
|
||||||
tree-sitter-markdown = lib.importJSON ./tree-sitter-markdown.json;
|
tree-sitter-markdown = lib.importJSON ./tree-sitter-markdown.json;
|
||||||
|
tree-sitter-nickel = lib.importJSON ./tree-sitter-nickel.json;
|
||||||
tree-sitter-nix = lib.importJSON ./tree-sitter-nix.json;
|
tree-sitter-nix = lib.importJSON ./tree-sitter-nix.json;
|
||||||
tree-sitter-norg = lib.importJSON ./tree-sitter-norg.json;
|
tree-sitter-norg = lib.importJSON ./tree-sitter-norg.json;
|
||||||
tree-sitter-ocaml = lib.importJSON ./tree-sitter-ocaml.json;
|
tree-sitter-ocaml = lib.importJSON ./tree-sitter-ocaml.json;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"url": "https://github.com/nickel-lang/tree-sitter-nickel",
|
||||||
|
"rev": "9d83db400b6c11260b9106f131f93ddda8131933",
|
||||||
|
"date": "2022-07-06T11:43:01+02:00",
|
||||||
|
"path": "/nix/store/i7arz4binnq34j1k0hwlpl4apd9b4j4x-tree-sitter-nickel",
|
||||||
|
"sha256": "0rm63fnxja59zzkm7gz4vbzics8mdf7d6ijazcy9394kdqrcdzi6",
|
||||||
|
"fetchLFS": false,
|
||||||
|
"fetchSubmodules": false,
|
||||||
|
"deepClone": false,
|
||||||
|
"leaveDotGit": false
|
||||||
|
}
|
|
@ -339,6 +339,10 @@ let
|
||||||
orga = "ambroisie";
|
orga = "ambroisie";
|
||||||
repo = "tree-sitter-tiger";
|
repo = "tree-sitter-tiger";
|
||||||
};
|
};
|
||||||
|
"tree-sitter-nickel" = {
|
||||||
|
orga = "nickel-lang";
|
||||||
|
repo = "tree-sitter-nickel";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
allGrammars =
|
allGrammars =
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-nextest";
|
pname = "cargo-nextest";
|
||||||
version = "0.9.35";
|
version = "0.9.36";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nextest-rs";
|
owner = "nextest-rs";
|
||||||
repo = "nextest";
|
repo = "nextest";
|
||||||
rev = "cargo-nextest-${version}";
|
rev = "cargo-nextest-${version}";
|
||||||
sha256 = "sha256-tNpE0bEnN4eJZ0nTkGFNrUW5Lam+GK6gUqQZBBYSeEI=";
|
sha256 = "sha256-gp/XEhSNdoEs3+KXbbgbjRg29xHyHuAbYLBVvNDIgLw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-p6K3GumMpLlnFsTegnH/ij+VDTjAB/dXYea0cWtCOGw=";
|
cargoSha256 = "sha256-mz2zJwA05Wg6g+u7LfANMt+wwoZIQzb2mH3Y+b4SBr0=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
|
|
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cargo-spellcheck";
|
pname = "cargo-spellcheck";
|
||||||
version = "0.11.2";
|
version = "0.12.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "drahnr";
|
owner = "drahnr";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ZiRa4XYnY4fwbMenRLnvFQms66tIyGbm5saK8gN39ag=";
|
sha256 = "sha256-PyNO+kBxTYeqXgZh1XhE18G9ZK7suo/acKSE57zCbcY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-gWQbhFPdBDhPZY1LHxFlWO9xG4AXfyhZp0UnZ3Y86/Y=";
|
cargoSha256 = "sha256-i6AvKF34Gh3QhwvYVd+QTYCPMW9D0/vhz7WoY5d4kHU=";
|
||||||
|
|
||||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
|
|
|
@ -67,6 +67,12 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://raw.githubusercontent.com/openwrt/openwrt/87606e25afac6776d1bbc67ed284434ec5a832b4/toolchain/musl/patches/300-relative.patch";
|
url = "https://raw.githubusercontent.com/openwrt/openwrt/87606e25afac6776d1bbc67ed284434ec5a832b4/toolchain/musl/patches/300-relative.patch";
|
||||||
sha256 = "0hfadrycb60sm6hb6by4ycgaqc9sgrhh42k39v8xpmcvdzxrsq2n";
|
sha256 = "0hfadrycb60sm6hb6by4ycgaqc9sgrhh42k39v8xpmcvdzxrsq2n";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# fix parsing lines with optional fields in fstab etc. NOTE: Remove for the next release since it has been merged upstream
|
||||||
|
(fetchurl {
|
||||||
|
url = "https://git.musl-libc.org/cgit/musl/patch/?id=751bee0ee727e8d8b003c87cff77ac76f1dbecd6";
|
||||||
|
sha256 = "sha256-qCw132TCSaZrkISmtDb8Q8ufyt8sAJdwACkvfwuoi/0=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
CFLAGS = [ "-fstack-protector-strong" ]
|
CFLAGS = [ "-fstack-protector-strong" ]
|
||||||
++ lib.optional stdenv.hostPlatform.isPower "-mlong-double-64";
|
++ lib.optional stdenv.hostPlatform.isPower "-mlong-double-64";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "etcd";
|
pname = "etcd";
|
||||||
version = "3.4.20";
|
version = "3.4.21";
|
||||||
|
|
||||||
vendorSha256 = "sha256-P3EQTraMdZ2fAHDue5cKAxyHbh6nNeFV9ykT0rH7KPs=";
|
vendorSha256 = "sha256-P3EQTraMdZ2fAHDue5cKAxyHbh6nNeFV9ykT0rH7KPs=";
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ buildGoModule rec {
|
||||||
owner = "etcd-io";
|
owner = "etcd-io";
|
||||||
repo = "etcd";
|
repo = "etcd";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-JfwjkgD57FqSmwgWZ5NbxshmY5JZUUWsk3bdYx15BKo=";
|
sha256 = "sha256-+IU1l23sN9v48ZhJLGncUa3t5kPHBFcqQ/ojaZXzMU4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
|
@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
|
||||||
url = "https://github.com/hydrian/TTRSS-Auth-LDAP/commit/557811efa15bab3b5044c98416f9e37264f11c9a.patch";
|
url = "https://github.com/hydrian/TTRSS-Auth-LDAP/commit/557811efa15bab3b5044c98416f9e37264f11c9a.patch";
|
||||||
sha256 = "sha256-KtDY0J1OYNTLwK7834lI+2XL1N1FkOk5zhinGY90/4A=";
|
sha256 = "sha256-KtDY0J1OYNTLwK7834lI+2XL1N1FkOk5zhinGY90/4A=";
|
||||||
})
|
})
|
||||||
|
# https://github.com/hydrian/TTRSS-Auth-LDAP/pull/34
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/hydrian/TTRSS-Auth-LDAP/commit/b1a873f6a7d18231d2ac804d0146d6e048c8382c.patch";
|
||||||
|
sha256 = "sha256-t5bDQM97dGwr7tHSS9cSO7qApf2M8KNaIuIxbAjExrs=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "boulder";
|
pname = "boulder";
|
||||||
version = "2022-09-06";
|
version = "2022-09-14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "letsencrypt";
|
owner = "letsencrypt";
|
||||||
|
@ -19,7 +19,7 @@ buildGoModule rec {
|
||||||
git rev-parse --short=8 HEAD 2>/dev/null >$out/COMMIT
|
git rev-parse --short=8 HEAD 2>/dev/null >$out/COMMIT
|
||||||
find "$out" -name .git -print0 | xargs -0 rm -rf
|
find "$out" -name .git -print0 | xargs -0 rm -rf
|
||||||
'';
|
'';
|
||||||
hash = "sha256-BteHJAjIMPckbNIxgZCSSZV2iUc/yKVd0Px+S9ZwwUI=";
|
hash = "sha256-AviTVALFI1+0cFohLLdaKR1Lw3b9yURIIlrzweuiN7w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = null;
|
vendorHash = null;
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
}:
|
}:
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "barman";
|
pname = "barman";
|
||||||
version = "3.0.1";
|
version = "3.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "EnterpriseDB";
|
owner = "EnterpriseDB";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/release/${version}";
|
rev = "refs/tags/release/${version}";
|
||||||
sha256 = "sha256-e6euOtvJx+xUq5pWmWK6l7nv/twOa+0OABUTYvMd8Ow=";
|
sha256 = "sha256-xRyKCpO2eBe5lI0pQW8wUee/5ZMDEo7/FLORrp3Sduk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -8,16 +8,16 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "fclones";
|
pname = "fclones";
|
||||||
version = "0.27.3";
|
version = "0.28.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pkolaczk";
|
owner = "pkolaczk";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-IAo7FKHh4oRPEmToEJca6b6E+TZvTeICPRYxol6Ppwo=";
|
sha256 = "sha256-OOFmyTEiaZnCx15gkoMGooC4qlevKMBS7umawiKVZqE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-S4F/2kf9jbOA3o3kj5Ouo3QvCULbVILh3QbBLXUeOzc=";
|
cargoSha256 = "sha256-jWYiZ6YNeGtmcHgqCgC8A7dEdJ29n3W/RdE0wQbOUOA=";
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
AppKit
|
AppKit
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "boundary";
|
pname = "boundary";
|
||||||
version = "0.10.3";
|
version = "0.10.5";
|
||||||
|
|
||||||
src =
|
src =
|
||||||
let
|
let
|
||||||
|
@ -15,10 +15,10 @@ stdenv.mkDerivation rec {
|
||||||
aarch64-darwin = "darwin_arm64";
|
aarch64-darwin = "darwin_arm64";
|
||||||
};
|
};
|
||||||
sha256 = selectSystem {
|
sha256 = selectSystem {
|
||||||
x86_64-linux = "sha256-MflcfTX0Ap8KEP0NDSZMHKM+fPsCoorUcUHV3WDXmBE=";
|
x86_64-linux = "sha256-lVv+mC9pNYzQes9k8KqkrHULuwETSHUCBF0FNw7kR+8=";
|
||||||
aarch64-linux = "sha256-WeSmRpi50dfnv5quLPQTYNKQcQlBwno1iwPUyTeJrW4=";
|
aarch64-linux = "sha256-0GVANhtzrAJUl4hktgiCdzUMhlhh7jyMAWS7/DyVuiU=";
|
||||||
x86_64-darwin = "sha256-Ff4mu/g2K1wAeBj2IpOMT80gKcIP/dZjhWA8czokpxc=";
|
x86_64-darwin = "sha256-N14Lynd/Q/eIGrM6ljAKnZdse/ShkvPaKSz6Q9DtYC0=";
|
||||||
aarch64-darwin = "sha256-Ove3Tgj7FnR5ZTzVZlmFDRoUaVlO2xA6CzMqIdobZxQ=";
|
aarch64-darwin = "sha256-iScNf6YM5nUjBqWMWb0eM5j9f3WiVvWOtjq7eoABfUM=";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
fetchzip {
|
fetchzip {
|
||||||
|
|
Loading…
Reference in a new issue