Merge branch 'master' into staging-next

This commit is contained in:
Ryan Burns 2021-10-16 16:07:38 -07:00
commit 3220fbe696
170 changed files with 3739 additions and 2334 deletions

View File

@ -10406,6 +10406,12 @@
fingerprint = "B234 EFD4 2B42 FE81 EE4D 7627 F72C 4A88 7F9A 24CA";
}];
};
sirseruju = {
email = "sir.seruju@yandex.ru";
github = "sirseruju";
githubId = 74881555;
name = "Fofanov Sergey";
};
sivteck = {
email = "sivaram1992@gmail.com";
github = "sivteck";

View File

@ -1134,6 +1134,14 @@ Superuser created successfully.
the Plasma Wayland sesison.
</para>
</listitem>
<listitem>
<para>
<literal>boot.kernelParams</literal> now only accepts one
command line parameter per string. This change is aimed to
reduce common mistakes like <quote>param = 12</quote>, which
would be parsed as 3 parameters.
</para>
</listitem>
</itemizedlist>
</section>
<section xml:id="sec-release-21.11-notable-changes">

View File

@ -350,6 +350,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- `opencv2` no longer includes the non-free libraries by default, and consequently `pfstools` no longer includes OpenCV support by default. Both packages now support an `enableUnfree` option to re-enable this functionality.
- `services.xserver.displayManager.defaultSession = "plasma5"` does not work anymore, instead use either `"plasma"` for the Plasma X11 session or `"plasmawayland"` for the Plasma Wayland sesison.
- `boot.kernelParams` now only accepts one command line parameter per string. This change is aimed to reduce common mistakes like "param = 12", which would be parsed as 3 parameters.
## Other Notable Changes {#sec-release-21.11-notable-changes}

View File

@ -96,9 +96,8 @@ let
};
} cfg.extraConfig;
configFile = pkgs.runCommand "config.toml" {
buildInputs = [ pkgs.remarshal ];
preferLocalBuild = true;
configFile = pkgs.runCommandLocal "config.toml" {
nativeBuildInputs = [ pkgs.remarshal ];
} ''
remarshal -if json -of toml \
< ${pkgs.writeText "config.json" (builtins.toJSON configOptions)} \

View File

@ -61,6 +61,11 @@ in
serviceConfig = {
# rtl-sdr udev rules make supported USB devices +rw by plugdev.
SupplementaryGroups = "plugdev";
# rtl_433 needs rw access to the USB radio.
PrivateDevices = lib.mkForce false;
DeviceAllow = lib.mkForce "char-usb_device rw";
RestrictAddressFamilies = [ "AF_NETLINK" ];
ExecStart = let
matchers = (map (m:
"--channel_matcher '${m.name},${toString m.channel},${m.location}'"

View File

@ -83,7 +83,10 @@ in
};
boot.kernelParams = mkOption {
type = types.listOf types.str;
type = types.listOf (types.strMatching ''([^"[:space:]]|"[^"]*")+'' // {
name = "kernelParam";
description = "string, with spaces inside double quotes";
});
default = [ ];
description = "Parameters added to the kernel command line.";
};

View File

@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, cmake, pkg-config, alsa-lib ? null, fftwFloat, fltk13
, fluidsynth_1 ? null, lame ? null, libgig ? null, libjack2 ? null, libpulseaudio ? null
, fluidsynth ? null, lame ? null, libgig ? null, libjack2 ? null, libpulseaudio ? null
, libsamplerate, libsoundio ? null, libsndfile, libvorbis ? null, portaudio ? null
, qtbase, qtx11extras, qttools, SDL ? null, mkDerivation }:
@ -21,7 +21,7 @@ mkDerivation rec {
alsa-lib
fftwFloat
fltk13
fluidsynth_1
fluidsynth
lame
libgig
libjack2

View File

@ -8,7 +8,7 @@
let
pname = "trezor-suite";
version = "21.9.2";
version = "21.10.2";
name = "${pname}-${version}";
suffix = {
@ -18,9 +18,9 @@ let
src = fetchurl {
url = "https://github.com/trezor/${pname}/releases/download/v${version}/Trezor-Suite-${version}-${suffix}.AppImage";
sha512 = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | rg ^sha512 | sed 's/: /-/'
aarch64-linux = "sha512-mgip818sGkrKwF4v2mj/JeTNxBoj7DgdNPoxZ8sp8OvojHB2sa0hm4YXfrzAdPf8CP6d5ChUmwccQyYilGUiOQ==";
x86_64-linux = "sha512-f02m8Q6ITYhIXH1FS2BA/QYYsdtxklDDNYBXBarj8b1kA+yhDFZ3VL9vy+nZNdPQHQ2yMQreDzpcToXBQ67XyQ==";
sha512 = { # curl -Lfs https://github.com/trezor/trezor-suite/releases/latest/download/latest-linux{-arm64,}.yml | grep ^sha512 | sed 's/: /-/'
aarch64-linux = "sha512-+qXN9cQk1u18ZzeMecPNfhkTTsw61iM/IJYksPJl9+zx2AKldv9tAFUnnmKZ65LabiaIXI+emN185SRRcaOndw==";
x86_64-linux = "sha512-WpiG8VOEODqsQ1/jERiEEGwVqR0zbMqERGjOysEVYorA0p3xZyl7OSpWOSWaUjPBZpQtJIBdqhSXeoSRcvfJgg==";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
};

View File

@ -7,13 +7,13 @@
trivialBuild rec {
pname = "apheleia";
version = "0.pre+unstable=2021-08-08";
version = "1.1.2+unstable=2021-10-03";
src = fetchFromGitHub {
owner = "raxod502";
repo = pname;
rev = "8e022c67fea4248f831c678b31c19646cbcbbf6f";
hash = "sha256-Put/BBQ7V423C18UIVfaM17T+TDWtAxRZi7WI8doPJw=";
rev = "8b9d576f2fda10d0c9051fc03c1eb1d9791e32fd";
hash = "sha256-QwGlCdHBll16mbfQxGw1EORZFUxYCZSt8ThYTTGjRpo=";
};
buildInputs = [

View File

@ -369,10 +369,10 @@
elpaBuild {
pname = "boxy";
ename = "boxy";
version = "1.0.2";
version = "1.0.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/boxy-1.0.2.tar";
sha256 = "07m832kn4d6njfz21qfmh12gzd35d17v29pqlxfq9v03cazww4lr";
url = "https://elpa.gnu.org/packages/boxy-1.0.4.tar";
sha256 = "0cwzjyj8yjg13b63va6pnj01m6kc5g3zx69c9w2ysl2wk24zn6dz";
};
packageRequires = [ emacs ];
meta = {
@ -380,18 +380,18 @@
license = lib.licenses.free;
};
}) {};
boxy-headlines = callPackage ({ boxy, elpaBuild, emacs, fetchurl, lib }:
boxy-headings = callPackage ({ boxy, elpaBuild, emacs, fetchurl, lib, org }:
elpaBuild {
pname = "boxy-headlines";
ename = "boxy-headlines";
version = "1.0.2";
pname = "boxy-headings";
ename = "boxy-headings";
version = "2.1.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/boxy-headlines-1.0.2.tar";
sha256 = "1j8j2vc318mb4i116qs9zj6cvkiy1fips09mkzj6lqr25qk5fi31";
url = "https://elpa.gnu.org/packages/boxy-headings-2.1.0.tar";
sha256 = "021w4ic028jsq7vxz1jgnfny9dymcz6v112b3b3nwyw3g3dnc62f";
};
packageRequires = [ boxy emacs ];
packageRequires = [ boxy emacs org ];
meta = {
homepage = "https://elpa.gnu.org/packages/boxy-headlines.html";
homepage = "https://elpa.gnu.org/packages/boxy-headings.html";
license = lib.licenses.free;
};
}) {};
@ -666,10 +666,10 @@
elpaBuild {
pname = "consult";
ename = "consult";
version = "0.11";
version = "0.12";
src = fetchurl {
url = "https://elpa.gnu.org/packages/consult-0.11.tar";
sha256 = "14zjhsfhq5g9257maivyzpj5qxi1kprcsdk1qalwybyylyb4q4kk";
url = "https://elpa.gnu.org/packages/consult-0.12.tar";
sha256 = "0xcr7jki9m30hppy24z74nrw7xv5nahm1yrjilcck32mxfkrc69x";
};
packageRequires = [ emacs ];
meta = {
@ -696,10 +696,10 @@
elpaBuild {
pname = "corfu";
ename = "corfu";
version = "0.11";
version = "0.13";
src = fetchurl {
url = "https://elpa.gnu.org/packages/corfu-0.11.tar";
sha256 = "1sf7ll25ry7vwff4bvqgdh84zviqj6wifmqdb2z8hf12awz63icz";
url = "https://elpa.gnu.org/packages/corfu-0.13.tar";
sha256 = "0psvkxr7fjqq7gkqdzl0ma367zjlxgixk563vpv9hmwfwymddyyb";
};
packageRequires = [ emacs ];
meta = {
@ -1086,10 +1086,10 @@
elpaBuild {
pname = "ebdb";
ename = "ebdb";
version = "0.8.5";
version = "0.8.6";
src = fetchurl {
url = "https://elpa.gnu.org/packages/ebdb-0.8.5.tar";
sha256 = "1p2chzj5hnaiqhammvdp82ck5pi6h1rl9r782zaqxrhrqsp3vg09";
url = "https://elpa.gnu.org/packages/ebdb-0.8.6.tar";
sha256 = "0amr1s1q5w4513qw31qsr8gpsfgj5b2j7qn017rmwbaf1mj0k6z0";
};
packageRequires = [ emacs seq ];
meta = {
@ -1146,10 +1146,10 @@
elpaBuild {
pname = "eev";
ename = "eev";
version = "20211006";
version = "20211011";
src = fetchurl {
url = "https://elpa.gnu.org/packages/eev-20211006.tar";
sha256 = "08z9q5y46fqm7r1gwiv0ir2hcybwfrvh0b7pxsrppjs1gvclyazn";
url = "https://elpa.gnu.org/packages/eev-20211011.tar";
sha256 = "1a71qam6z5s3zl7fvxpsnabbqxh8a7llm1524nxs2353pb6ksfra";
};
packageRequires = [ emacs ];
meta = {
@ -1325,6 +1325,21 @@
license = lib.licenses.free;
};
}) {};
erc = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "erc";
ename = "erc";
version = "5.4.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/erc-5.4.1.tar";
sha256 = "0hghqwqrx11f8qa1zhyhjqp99w01l686azsmd24z9w0l93fz598a";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/erc.html";
license = lib.licenses.free;
};
}) {};
ergoemacs-mode = callPackage ({ cl-lib ? null
, elpaBuild
, emacs
@ -2084,16 +2099,16 @@
license = lib.licenses.free;
};
}) {};
kiwix = callPackage ({ elpaBuild, elquery, emacs, fetchurl, lib, request }:
kiwix = callPackage ({ elpaBuild, emacs, fetchurl, lib, request }:
elpaBuild {
pname = "kiwix";
ename = "kiwix";
version = "1.1.0";
version = "1.1.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/kiwix-1.1.0.tar";
sha256 = "1clp0q34bs395d0hrqdyvm9ds665hgf5qrdiqa14k31h4lbv2wsn";
url = "https://elpa.gnu.org/packages/kiwix-1.1.4.tar";
sha256 = "1ls11a7fc6d4gj85g8m09r95fvc4ppc0k0fs28d1hzybmgl89rgl";
};
packageRequires = [ elquery emacs request ];
packageRequires = [ emacs request ];
meta = {
homepage = "https://elpa.gnu.org/packages/kiwix.html";
license = lib.licenses.free;
@ -2268,10 +2283,10 @@
elpaBuild {
pname = "marginalia";
ename = "marginalia";
version = "0.8";
version = "0.9";
src = fetchurl {
url = "https://elpa.gnu.org/packages/marginalia-0.8.tar";
sha256 = "0afry11i7kgfa0q83p63hmahl7jzsqhn4sl1rnkjy98pnikwv9kd";
url = "https://elpa.gnu.org/packages/marginalia-0.9.tar";
sha256 = "0jnw9ys7p2rhi7sx2wxi3xs95ryg9vr34xb2jdfiz0p1xv04a300";
};
packageRequires = [ emacs ];
meta = {
@ -2577,14 +2592,29 @@
license = lib.licenses.free;
};
}) {};
nano-agenda = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "nano-agenda";
ename = "nano-agenda";
version = "0.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/nano-agenda-0.1.tar";
sha256 = "1bylgd4ly6dybpg66ndgsmgs5w0y5ymfq3s2pbwjnl46fnrmggz0";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/nano-agenda.html";
license = lib.licenses.free;
};
}) {};
nano-modeline = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "nano-modeline";
ename = "nano-modeline";
version = "0.1";
version = "0.2";
src = fetchurl {
url = "https://elpa.gnu.org/packages/nano-modeline-0.1.tar";
sha256 = "10hnxgjp56dqydf39mbn9zmwwvnwzi89lwnam5k3x6d6p2cnfgcx";
url = "https://elpa.gnu.org/packages/nano-modeline-0.2.tar";
sha256 = "13m8j8jnd33wwv1siv6frzdbs7bhspg859sflq58vimv444zjzac";
};
packageRequires = [ emacs ];
meta = {
@ -2596,10 +2626,10 @@
elpaBuild {
pname = "nano-theme";
ename = "nano-theme";
version = "0.2";
version = "0.2.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/nano-theme-0.2.tar";
sha256 = "0kcirnl1fg9kvavw8aq9l16jv4rrxv5w62i7wrsjn7np697sm0s6";
url = "https://elpa.gnu.org/packages/nano-theme-0.2.1.tar";
sha256 = "0m98kq40dhbrn55x4bp2x5d5j1gps4y7z4086mgnj8wr1y3w8kdl";
};
packageRequires = [ emacs ];
meta = {
@ -2791,16 +2821,16 @@
license = lib.licenses.free;
};
}) {};
org-real = callPackage ({ boxy, elpaBuild, emacs, fetchurl, lib }:
org-real = callPackage ({ boxy, elpaBuild, emacs, fetchurl, lib, org }:
elpaBuild {
pname = "org-real";
ename = "org-real";
version = "1.0.1";
version = "1.0.4";
src = fetchurl {
url = "https://elpa.gnu.org/packages/org-real-1.0.1.tar";
sha256 = "0rklzp32v30ndyqli3fjcsqvvpiz3klsz26b7zn2bai2ldx6016s";
url = "https://elpa.gnu.org/packages/org-real-1.0.4.tar";
sha256 = "0bn9vyx74lki2nggzir02mcrww94dnqpbkryjr7a4i6am0ylf705";
};
packageRequires = [ boxy emacs ];
packageRequires = [ boxy emacs org ];
meta = {
homepage = "https://elpa.gnu.org/packages/org-real.html";
license = lib.licenses.free;
@ -3020,10 +3050,10 @@
elpaBuild {
pname = "project";
ename = "project";
version = "0.8.0";
version = "0.8.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/project-0.8.0.tar";
sha256 = "05q2zr661bn2h6pdvyv3apdajfxnsx0rb0n5np8cg98a7gw4zyxd";
url = "https://elpa.gnu.org/packages/project-0.8.1.tar";
sha256 = "1x3zkbjsi04v5ny3yxqrb75vcacrj9kxmpm9mvkp0n07j5g34f68";
};
packageRequires = [ emacs xref ];
meta = {
@ -3095,10 +3125,10 @@
elpaBuild {
pname = "python";
ename = "python";
version = "0.27.1";
version = "0.28";
src = fetchurl {
url = "https://elpa.gnu.org/packages/python-0.27.1.el";
sha256 = "0jygl2w8x73v22w0rzq75i2hnm3f46dzgg5x1ckz720nznvwwkka";
url = "https://elpa.gnu.org/packages/python-0.28.tar";
sha256 = "1pvhsdjla1rvw223h7irmbzzsrixnpy1rsskiq9xmkpkc688b6pm";
};
packageRequires = [ cl-lib emacs ];
meta = {
@ -3546,10 +3576,10 @@
elpaBuild {
pname = "shelisp";
ename = "shelisp";
version = "0.9.1";
version = "1.0.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/shelisp-0.9.1.el";
sha256 = "15z8rpx8nhx53q77z5fqcpww255di80lb5mm28mnn2myalrr8b59";
url = "https://elpa.gnu.org/packages/shelisp-1.0.0.tar";
sha256 = "05r26gy1ajl47ir0yz5gn62xw2f31vdq04n3r8ywlzxbqyvzlc0d";
};
packageRequires = [];
meta = {
@ -3561,10 +3591,10 @@
elpaBuild {
pname = "shell-command-plus";
ename = "shell-command+";
version = "2.2.1";
version = "2.3.1";
src = fetchurl {
url = "https://elpa.gnu.org/packages/shell-command+-2.2.1.tar";
sha256 = "1dmi7fn4g55va5ljpyswr3dpgj471747kkdixfyp8zpsbhvr5yf6";
url = "https://elpa.gnu.org/packages/shell-command+-2.3.1.tar";
sha256 = "0g8pcrkkh3bxcxxbasnz834gi3pvhlkpf011fvmlhwzswypcyqmy";
};
packageRequires = [ emacs ];
meta = {
@ -4574,10 +4604,10 @@
elpaBuild {
pname = "xref";
ename = "xref";
version = "1.2.2";
version = "1.3.0";
src = fetchurl {
url = "https://elpa.gnu.org/packages/xref-1.2.2.tar";
sha256 = "14kdy8blhs6lwg349l9lmv0bbpybgi9nsg2iic3v87j4jyi41ljm";
url = "https://elpa.gnu.org/packages/xref-1.3.0.tar";
sha256 = "0bw2cbxmjavzhmpd9gyl41d4c201p535jrfz3b7jb5zw12jdnppl";
};
packageRequires = [ emacs ];
meta = {

View File

@ -198,8 +198,6 @@
railgun = callPackage ./railgun { };
rec-mode = callPackage ./rec-mode { };
structured-haskell-mode = self.shm;
sv-kalender = callPackage ./sv-kalender { };

View File

@ -155,14 +155,29 @@
license = lib.licenses.free;
};
}) {};
flymake-kondor = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "flymake-kondor";
ename = "flymake-kondor";
version = "0.1.0";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/flymake-kondor-0.1.0.tar";
sha256 = "0fn9vnrqy5nmv07jv2ry0xs90rkb92qhrh7j5pdikw7zykcwlbdd";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/flymake-kondor.html";
license = lib.licenses.free;
};
}) {};
geiser = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "geiser";
ename = "geiser";
version = "0.16";
version = "0.18";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/geiser-0.16.tar";
sha256 = "1mhngb1ik3qsc3w466cs61rbz3nn08ag29m5vfbd6adk60xmhnfk";
url = "https://elpa.nongnu.org/nongnu/geiser-0.18.tar";
sha256 = "131j4f82hl4pqj07qsl1f2dz4105v5fyll3bc97ggayzvrdiy58i";
};
packageRequires = [ emacs ];
meta = {
@ -330,10 +345,10 @@
elpaBuild {
pname = "git-commit";
ename = "git-commit";
version = "3.2.1";
version = "3.3.0";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/git-commit-3.2.1.tar";
sha256 = "1jndc8ppj4r2s62idabygj4q0qbpk4gwifn8jrd6pa61d7dlvp28";
url = "https://elpa.nongnu.org/nongnu/git-commit-3.3.0.tar";
sha256 = "0lp6r4w1k0idvfc2h0chlplap2i4x2slva9cw3iw1rhhxbcvlmdx";
};
packageRequires = [ dash emacs transient with-editor ];
meta = {
@ -416,6 +431,21 @@
license = lib.licenses.free;
};
}) {};
haskell-tng-mode = callPackage ({ elpaBuild, emacs, fetchurl, lib, popup }:
elpaBuild {
pname = "haskell-tng-mode";
ename = "haskell-tng-mode";
version = "0.0.1";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/haskell-tng-mode-0.0.1.tar";
sha256 = "1dndnxb9bdjnixyl09025065wdrk0h8q721rbwvransq308fijwy";
};
packageRequires = [ emacs popup ];
meta = {
homepage = "https://elpa.gnu.org/packages/haskell-tng-mode.html";
license = lib.licenses.free;
};
}) {};
highlight-parentheses = callPackage ({ elpaBuild
, emacs
, fetchurl
@ -560,10 +590,10 @@
elpaBuild {
pname = "magit";
ename = "magit";
version = "3.2.1";
version = "3.3.0";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/magit-3.2.1.tar";
sha256 = "0yyf16605bp5q8jl2vbljxx04ja0ljvs775dnnawlc3mvn13zd9n";
url = "https://elpa.nongnu.org/nongnu/magit-3.3.0.tar";
sha256 = "0ihrds45z12z155c1y7haz1mxc95w6v4rynh0izm159xhz44121z";
};
packageRequires = [
dash
@ -582,10 +612,10 @@
elpaBuild {
pname = "magit-section";
ename = "magit-section";
version = "3.2.1";
version = "3.3.0";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/magit-section-3.2.1.tar";
sha256 = "1ppinys8rfa38ac8grcx16hlaw33p03pif4ya6bbw280kq8c73rv";
url = "https://elpa.nongnu.org/nongnu/magit-section-3.3.0.tar";
sha256 = "08ac10vips6f2gy4x4w2wkz2ki3q0d6dhynkmlpdinsdmgagziny";
};
packageRequires = [ dash emacs ];
meta = {
@ -657,10 +687,10 @@
elpaBuild {
pname = "org-contrib";
ename = "org-contrib";
version = "0.1";
version = "0.3";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/org-contrib-0.1.tar";
sha256 = "07hzywvgj11wd21dw4lbkvqv32da03407f9qynlzgg1qa7wknm2k";
url = "https://elpa.nongnu.org/nongnu/org-contrib-0.3.tar";
sha256 = "0fqhyby7624drskfsasgvzyxbgjb42rd6vw8l6xgb3h22kaprl0q";
};
packageRequires = [ emacs org ];
meta = {
@ -683,6 +713,21 @@
license = lib.licenses.free;
};
}) {};
popup = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "popup";
ename = "popup";
version = "0.5.8";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/popup-0.5.8.tar";
sha256 = "1amwxsymzvzmj8696fa6i0cqx4ac581rvr4dwkri7akkr7amh3yh";
};
packageRequires = [ emacs ];
meta = {
homepage = "https://elpa.gnu.org/packages/popup.html";
license = lib.licenses.free;
};
}) {};
projectile = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "projectile";
@ -841,10 +886,10 @@
elpaBuild {
pname = "swift-mode";
ename = "swift-mode";
version = "8.4.0";
version = "8.4.1";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/swift-mode-8.4.0.tar";
sha256 = "1pfp1nvq2gny6kbiq3q0dcms0ysw43zq0aayfwqdj0llkf025dfp";
url = "https://elpa.nongnu.org/nongnu/swift-mode-8.4.1.tar";
sha256 = "0f87bjgva0iv818bh2dqvc1svrwh5zm134jpxcmvmzr1yqazx4qp";
};
packageRequires = [ emacs seq ];
meta = {
@ -882,6 +927,21 @@
license = lib.licenses.free;
};
}) {};
vc-fossil = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "vc-fossil";
ename = "vc-fossil";
version = "20210928";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/vc-fossil-20210928.tar";
sha256 = "0n4h1cj1336mv5cswq0139bkry5gnv4hrrwzd4bqhrxp5kbhqa5y";
};
packageRequires = [];
meta = {
homepage = "https://elpa.gnu.org/packages/vc-fossil.html";
license = lib.licenses.free;
};
}) {};
web-mode = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "web-mode";
@ -916,10 +976,10 @@
elpaBuild {
pname = "with-editor";
ename = "with-editor";
version = "3.0.4";
version = "3.0.5";
src = fetchurl {
url = "https://elpa.nongnu.org/nongnu/with-editor-3.0.4.tar";
sha256 = "032i954rzn8sg1qp6vjhz6j8j1fl6mpvhfnmd3va8k9q9m27k4an";
url = "https://elpa.nongnu.org/nongnu/with-editor-3.0.5.tar";
sha256 = "0bri6jr99133k9w0d754rw2f6hgjzndczngfw2lf2rvxks448krm";
};
packageRequires = [ emacs ];
meta = {

View File

@ -1,18 +0,0 @@
{ lib
, trivialBuild
, recutils
}:
trivialBuild {
pname = "rec-mode";
inherit (recutils) version src;
postUnpack = ''
sourceRoot="$sourceRoot/etc"
'';
meta = recutils.meta // {
description = "A major mode for editing rec files";
};
}

View File

@ -4,9 +4,9 @@
, curl, writeShellScript, common-updater-scripts }:
let
url = "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/1.6.2-b5029032/Hubstaff-1.6.2-b5029032.sh";
version = "1.6.2-b5029032";
sha256 = "1q3gimg6bcpdnm1fkn1vq3b6shwgi6y84bixisyfcva5px7dmi4s";
url = "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/1.6.2-328c666b/Hubstaff-1.6.2-328c666b.sh";
version = "1.6.2-328c666b";
sha256 = "0fmlblw19qk9s9xsl0dl705cnns825wrlc7navii4bvbsn6ycl5v";
rpath = lib.makeLibraryPath
[ libX11 zlib libSM libICE libXext freetype libXrender fontconfig libXft

View File

@ -121,4 +121,16 @@ in buildFHSUserEnv {
ln -sf ${lutris-unwrapped}/share/applications $out/share
ln -sf ${lutris-unwrapped}/share/icons $out/share
'';
meta = {
inherit (lutris-unwrapped.meta)
homepage
description
platforms
license
maintainers
broken;
mainProgram = "lutris";
};
}

View File

@ -2,47 +2,51 @@
, stdenv
, fetchFromGitHub
, gtk4
, gtksourceview
, hicolor-icon-theme
, json-glib
, libadwaita
, libgee
, meson
, ninja
, nix-update-script
, pantheon
, pkg-config
, python3
, vala
, wrapGAppsHook
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "notejot";
version = "3.1.5";
version = "3.2.0";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
hash = "sha256-wsHQvN+sqAMs1QldiRoc9JlF4d54JFqNkqC+lyuHC7M=";
hash = "sha256-WyW1tGhO3+OykNa8BRavi93cBMOSBJw0M+0bwQHJOjU=";
};
patches = [
# build: use gtk4-update-icon-cache
# https://github.com/lainsce/notejot/pull/307
./use-gtk4-update-icon-cache.patch
];
nativeBuildInputs = [
meson
ninja
vala
pkg-config
python3
wrapGAppsHook
vala
wrapGAppsHook4
];
buildInputs = [
gtk4
gtksourceview
hicolor-icon-theme
json-glib
libadwaita
libgee
pantheon.elementary-icon-theme
pantheon.granite
];
postPatch = ''
@ -50,6 +54,10 @@ stdenv.mkDerivation rec {
patchShebangs build-aux/post_install.py
'';
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {
homepage = "https://github.com/lainsce/notejot";
description = "Stupidly-simple sticky notes applet";
@ -57,8 +65,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ AndersonTorres ] ++ teams.pantheon.members;
platforms = platforms.linux;
};
passthru.updateScript = nix-update-script {
attrPath = pname;
};
}

View File

@ -0,0 +1,20 @@
diff --git a/build-aux/post_install.py b/build-aux/post_install.py
index 1278304..fface6d 100644
--- a/build-aux/post_install.py
+++ b/build-aux/post_install.py
@@ -2,11 +2,13 @@
import os
import subprocess
-schemadir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'glib-2.0', 'schemas')
+install_prefix = os.environ['MESON_INSTALL_PREFIX']
+icondir = os.path.join(install_prefix, 'share', 'icons', 'hicolor')
+schemadir = os.path.join(install_prefix, 'share', 'glib-2.0', 'schemas')
if not os.environ.get('DESTDIR'):
print('Compiling gsettings schemas…')
subprocess.call(['glib-compile-schemas', schemadir], shell=False)
print('Rebuilding desktop icons cache...')
- subprocess.call(['gtk-update-icon-cache', '/usr/share/icons/hicolor/'], shell=False)
+ subprocess.call(['gtk4-update-icon-cache', '-qtf', icondir], shell=False)

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "ttyper";
version = "0.2.5";
version = "0.3.0";
src = fetchFromGitHub {
owner = "max-niederman";
repo = pname;
rev = "v${version}";
sha256 = "1fsb77ky92fyv3ll6zrbxbd69gm85xnc6bivj7sc3sv5cxhgr7a5";
sha256 = "sha256-9vcoK2mFEivTSZE3KoQRHUr3AfQ/aN5eWP//Jagw3gU=";
};
cargoSha256 = "1sqdql0kfr1vsww6hkrp7yjlzx0mnhfma51z699hkx9c492sf1wk";
cargoSha256 = "sha256-VzO32b5oAoXR/Ei9up00XRM63I5kuG68TeX4KBCXIdo=";
meta = with lib; {
description = "Terminal-based typing test";

View File

@ -6,7 +6,7 @@
# Native build inputs:
, ninja, pkg-config
, python2, python3, perl
, python3, perl
, gnutar, which
, llvmPackages
# postPatch:
@ -34,6 +34,7 @@
, libva
, libdrm, wayland, libxkbcommon # Ozone
, curl
, epoxy
# postPatch:
, glibc # gconv + locale
@ -56,6 +57,10 @@ let
python3WithPackages = python3.withPackages(ps: with ps; [
ply jinja2 setuptools
]);
clangFormatPython3 = fetchurl {
url = "https://chromium.googlesource.com/chromium/tools/build/+/e77882e0dde52c2ccf33c5570929b75b4a2a2522/recipes/recipe_modules/chromium/resources/clang-format?format=TEXT";
sha256 = "0ic3hn65dimgfhakli1cyf9j3cxcqsf1qib706ihfhmlzxf7256l";
};
# The additional attributes for creating derivations based on the chromium
# source tree.
@ -122,7 +127,7 @@ let
nativeBuildInputs = [
ninja pkg-config
python2 python3WithPackages perl
python3WithPackages perl
gnutar which
llvmPackages.bintools
];
@ -147,6 +152,8 @@ let
libva
libdrm wayland mesa.drivers libxkbcommon
curl
] ++ optionals (chromiumVersionAtLeast "96") [
epoxy
] ++ optionals gnomeSupport [ gnome2.GConf libgcrypt ]
++ optional gnomeKeyringSupport libgnome-keyring3
++ optionals cupsSupport [ libgcrypt cups ]
@ -209,6 +216,9 @@ let
# Allow to put extensions into the system-path.
sed -i -e 's,/usr,/run/current-system/sw,' chrome/common/chrome_paths.cc
# We need the fix for https://bugs.chromium.org/p/chromium/issues/detail?id=1254408:
base64 --decode ${clangFormatPython3} > buildtools/linux64/clang-format
patchShebangs .
# Link to our own Node.js and Java (required during the build):
mkdir -p third_party/node/linux/node-linux-x64/bin

View File

@ -31,9 +31,9 @@
}
},
"dev": {
"version": "96.0.4662.6",
"sha256": "14vr0nlp195h0hwfsd43fifl9r3qr875fw2da3gi9l5yi0pxns2q",
"sha256bin64": "1lq114rsgxqrdh18f2x3i0iwdn5ijxw3jb6nrxjxx0c3bvlzhsw8",
"version": "96.0.4664.9",
"sha256": "0hlniaglnd19cb3k2wi9mmf56ws8i89lm5y2dbjpr7vqnmj6qc39",
"sha256bin64": "1crl8gbhjyaa0yhkvm4va0g9dyljra8n5zg9bd1znmjlk0c124x3",
"deps": {
"gn": {
"version": "2021-09-24",

View File

@ -2,10 +2,12 @@
{
helm-diff = callPackage ./helm-diff.nix {};
helm-diff = callPackage ./helm-diff.nix { };
helm-s3 = callPackage ./helm-s3.nix {};
helm-git = callPackage ./helm-git.nix { };
helm-secrets = callPackage ./helm-secrets.nix {};
helm-s3 = callPackage ./helm-s3.nix { };
helm-secrets = callPackage ./helm-secrets.nix { };
}

View File

@ -0,0 +1,46 @@
{ lib
, stdenv
, fetchFromGitHub
, coreutils
, findutils
, git
, gnugrep
, gnused
, makeWrapper
}:
stdenv.mkDerivation rec {
pname = "helm-git";
version = "0.10.0";
src = fetchFromGitHub {
owner = "aslafy-z";
repo = pname;
rev = "v${version}";
sha256 = "0hvycqibmlw2zw3nm8rn73v5x1zcgm2jrfdlljbvc1n4n5vnzdrg";
};
nativeBuildInputs = [ makeWrapper ];
# NOTE: helm-git is comprised of shell scripts.
dontBuild = true;
installPhase = ''
install -dm755 $out/helm-git
install -m644 -Dt $out/helm-git plugin.yaml
cp helm-git helm-git-plugin.sh $out/helm-git/
patchShebangs $out/helm-git/helm-git{,-plugin.sh}
wrapProgram $out/helm-git/helm-git \
--prefix PATH : ${lib.makeBinPath [ coreutils findutils git gnugrep gnused ]}
runHook postInstall
'';
meta = with lib; {
description = "The Helm downloader plugin that provides GIT protocol support";
inherit (src.meta) homepage;
license = licenses.mit;
maintainers = with maintainers; [ flokli ];
};
}

View File

@ -111,7 +111,7 @@ GEM
zeitwerk (2.4.2)
PLATFORMS
x86_64-linux
ruby
DEPENDENCIES
krane

View File

@ -2,14 +2,14 @@
python3Packages.buildPythonApplication rec {
pname = "flexget";
version = "3.1.138";
version = "3.1.139";
# Fetch from GitHub in order to use `requirements.in`
src = fetchFromGitHub {
owner = "flexget";
repo = "flexget";
rev = "v${version}";
sha256 = "0xjcvq7c6rrgqw8cfcfl7af122lm428cqz3v6ssxi595qxq1rg44";
sha256 = "0gnj89q5mv5qiy6zsp85sswmwzm0y73nffjj3vrccx5lmxd955nv";
};
postPatch = ''

View File

@ -1,33 +1,47 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, openssl
, glibcLocales, expect, ncurses, libotr, curl, readline, libuuid
, cmocka, libmicrohttpd, expat, sqlite, libmesode, autoconf-archive
, autoAwaySupport ? true, libXScrnSaver ? null, libX11 ? null
, notifySupport ? true, libnotify ? null, gdk-pixbuf ? null
, traySupport ? true, gtk2 ? null
, pgpSupport ? true, gpgme ? null
, pythonPluginSupport ? true, python ? null
, omemoSupport ? true, libsignal-protocol-c ? null, libgcrypt ? null
{ lib
, stdenv
, fetchFromGitHub
, autoconf-archive
, autoreconfHook
, cmocka
, curl
, expat
, expect
, glib
, glibcLocales
, libmesode
, libmicrohttpd
, libotr
, libuuid
, ncurses
, openssl
, pkg-config
, readline
, sqlite
, autoAwaySupport ? true, libXScrnSaver ? null, libX11
, notifySupport ? true, libnotify, gdk-pixbuf
, omemoSupport ? true, libsignal-protocol-c, libgcrypt
, pgpSupport ? true, gpgme
, pythonPluginSupport ? true, python
, traySupport ? true, gtk
}:
assert autoAwaySupport -> libXScrnSaver != null && libX11 != null;
assert notifySupport -> libnotify != null && gdk-pixbuf != null;
assert traySupport -> gtk2 != null;
assert traySupport -> gtk != null;
assert pgpSupport -> gpgme != null;
assert pythonPluginSupport -> python != null;
assert omemoSupport -> libsignal-protocol-c != null && libgcrypt != null;
with lib;
stdenv.mkDerivation rec {
pname = "profanity";
version = "0.11.0";
version = "0.11.1";
src = fetchFromGitHub {
owner = "profanity-im";
repo = "profanity";
rev = version;
sha256 = "0xmzsh0szm8x3hgw65j0cd2bp8cmrnq5pjz49lqajircyzflsngm";
hash = "sha256-8WGHOy0fSW8o7vMCYZqqpvDsn81JZefM6wGfjQ5iKbU=";
};
patches = [
@ -37,26 +51,42 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [
autoreconfHook autoconf-archive glibcLocales pkg-config
autoconf-archive
autoreconfHook
glibcLocales
pkg-config
];
buildInputs = [
expect readline libuuid glib openssl expat ncurses libotr
curl libmesode cmocka libmicrohttpd sqlite
] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ]
++ optionals notifySupport [ libnotify gdk-pixbuf ]
++ optionals traySupport [ gtk2 ]
++ optionals pgpSupport [ gpgme ]
++ optionals pythonPluginSupport [ python ]
++ optionals omemoSupport [ libsignal-protocol-c libgcrypt ];
cmocka
curl
expat
expect
glib
libmesode
libmicrohttpd
libotr
libuuid
ncurses
openssl
readline
sqlite
] ++ lib.optionals autoAwaySupport [ libXScrnSaver libX11 ]
++ lib.optionals notifySupport [ libnotify gdk-pixbuf ]
++ lib.optionals omemoSupport [ libsignal-protocol-c libgcrypt ]
++ lib.optionals pgpSupport [ gpgme ]
++ lib.optionals pythonPluginSupport [ python ]
++ lib.optionals traySupport [ gtk ];
# Enable feature flags, so that build fail if libs are missing
configureFlags = [ "--enable-c-plugins" "--enable-otr" ]
++ optionals notifySupport [ "--enable-notifications" ]
++ optionals traySupport [ "--enable-icons-and-clipboard" ]
++ optionals pgpSupport [ "--enable-pgp" ]
++ optionals pythonPluginSupport [ "--enable-python-plugins" ]
++ optionals omemoSupport [ "--enable-omemo" ];
configureFlags = [
"--enable-c-plugins"
"--enable-otr"
] ++ lib.optionals notifySupport [ "--enable-notifications" ]
++ lib.optionals traySupport [ "--enable-icons-and-clipboard" ]
++ lib.optionals pgpSupport [ "--enable-pgp" ]
++ lib.optionals pythonPluginSupport [ "--enable-python-plugins" ]
++ lib.optionals omemoSupport [ "--enable-omemo" ];
preAutoreconf = ''
mkdir m4
@ -66,18 +96,15 @@ stdenv.mkDerivation rec {
LC_ALL = "en_US.utf8";
meta = {
meta = with lib; {
homepage = "http://www.profanity.im/";
description = "A console based XMPP client";
longDescription = ''
Profanity is a console based XMPP client written in C using ncurses and
libstrophe, inspired by Irssi.
'';
homepage = "http://www.profanity.im/";
license = licenses.gpl3Plus;
platforms = platforms.unix;
changelog = "https://github.com/profanity-im/profanity/releases/tag/${version}";
downloadPage = "https://github.com/profanity-im/profanity/releases/";
maintainers = [ maintainers.devhell ];
updateWalker = true;
platforms = platforms.unix;
};
}

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "alpine";
version = "2.24";
version = "2.25";
src = fetchurl {
url = "http://alpine.x10host.com/alpine/release/src/${pname}-${version}.tar.xz";
sha256 = "1vxw19nx10y7nx01d9i6gah2f3y5r2idbq56l13bdqi91bx9y6k5";
sha256 = "0xppxhcbafq9qa1rns5zl0n238gai08xhvcf2as0nx7nh84ib2k5";
};
buildInputs = [

View File

@ -1,27 +1,19 @@
{ lib, stdenv, fetchFromGitHub, gettext, makeWrapper, tcl, which, fetchpatch
{ lib, stdenv, fetchFromGitHub, gettext, makeWrapper, tcl, which
, ncurses, perl , cyrus_sasl, gss, gpgme, libkrb5, libidn, libxml2, notmuch, openssl
, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, w3m, mailcap, sqlite, zlib
}:
stdenv.mkDerivation rec {
version = "20210205";
version = "20211015";
pname = "neomutt";
src = fetchFromGitHub {
owner = "neomutt";
repo = "neomutt";
rev = version;
sha256 = "sha256-ADg/+gmndOiuQHsncOzS5K4chthXeUFz6RRJsrZNeZY=";
sha256 = "sha256-ObYeh9Q/WZ1N60pxR2LoDNCU8rP4tQt/oIxnqALqMhs=";
};
patches = [
(fetchpatch {
name = "CVE-2021-32055.patch";
url = "https://github.com/neomutt/neomutt/commit/fa1db5785e5cfd9d3cd27b7571b9fe268d2ec2dc.patch";
sha256 = "0bb7gisjynq3w7hhl6vxa469h609bcz6fkdi8vf740pqrwhk68yn";
})
];
buildInputs = [
cyrus_sasl gss gpgme libkrb5 libidn ncurses
notmuch openssl perl lmdb

View File

@ -2,11 +2,11 @@
mkDerivation rec {
pname = "owncloud-client";
version = "2.9.0.5150";
version = "2.9.1.5500";
src = fetchurl {
url = "https://download.owncloud.com/desktop/ownCloud/stable/${version}/source/ownCloud-${version}.tar.xz";
sha256 = "0nf68x840p30yng4fh1nlyiqg40z0rkcv0lskpz8dd4pj1iw5jjs";
sha256 = "0h4dclxr6kmhmx318wvxz36lhyqw84q0mg4c6di6p230mp8b1l4v";
};
nativeBuildInputs = [ pkg-config cmake extra-cmake-modules ];

View File

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitHub
, nix-update-script
, meson
@ -6,25 +7,24 @@
, vala
, pkg-config
, desktop-file-utils
, pantheon
, python3
, glib
, gtk4
, json-glib
, libadwaita
, libgee
, wrapGAppsHook
, wrapGAppsHook4
}:
stdenv.mkDerivation rec {
pname = "khronos";
version = "3.5.9";
version = "3.6.0";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
sha256 = "sha256-3FatmyANB/tNYSN2hu5IVkyCy0YrC3uA2d/3+5u48w8=";
sha256 = "sha256-AETyVCBUuBzHwDgTkGRIokFYwcmXrb/F85J5GEIu4dE=";
};
nativeBuildInputs = [
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
vala
pkg-config
python3
wrapGAppsHook
wrapGAppsHook4
];
buildInputs = [
@ -43,12 +43,14 @@ stdenv.mkDerivation rec {
json-glib
libadwaita
libgee
pantheon.granite
];
postPatch = ''
chmod +x build-aux/post_install.py
patchShebangs build-aux/post_install.py
# https://github.com/lainsce/khronos/pull/75
substituteInPlace build-aux/post_install.py \
--replace 'gtk-update-icon-cache' 'gtk4-update-icon-cache'
'';
passthru = {

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "git-repo";
version = "2.17.1";
version = "2.17.2";
src = fetchFromGitHub {
owner = "android";
repo = "tools_repo";
rev = "v${version}";
sha256 = "sha256-ZVwMfjlKga47oXf6g/P2IAMu6Fcuj8BbRahniTZXmTg=";
sha256 = "sha256-JfT0jW6aUZAYESQI0tFfnITFv20Jk7DWbvz8Ipt4t1Y=";
};
# Fix 'NameError: name 'ssl' is not defined'

View File

@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
xorg.xlibsWrapper xorg.libXv xorg.libXvMC xorg.libXpm xorg.xcbutilkeysyms
libdc1394 libraw1394 libopus libebml libmatroska libvdpau libsamplerate
fluidsynth wayland wayland-protocols ncurses srt
] ++ optional (!stdenv.hostPlatform.isAarch64) live555
] ++ optional (!stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isAarch32) live555
++ optionals withQt5 [ qtbase qtsvg qtx11extras ]
++ optionals skins2Support (with xorg; [ libXpm freetype libXext libXinerama ])
++ optional jackSupport libjack2
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
LIVE555_PREFIX = if (!stdenv.hostPlatform.isAarch64) then live555 else null;
LIVE555_PREFIX = if (!stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isAarch32) then live555 else null;
# vlc depends on a c11-gcc wrapper script which we don't have so we need to
# set the path to the compiler

View File

@ -2,6 +2,7 @@
, csmSupport ? false, seabios ? null
, secureBoot ? false
, httpSupport ? false
, tpmSupport ? false
}:
assert csmSupport -> seabios != null;
@ -30,9 +31,10 @@ edk2.mkDerivation projectDscPath {
hardeningDisable = [ "format" "stackprotector" "pic" "fortify" ];
buildFlags =
lib.optional secureBoot "-DSECURE_BOOT_ENABLE=TRUE"
lib.optional secureBoot "-D SECURE_BOOT_ENABLE=TRUE"
++ lib.optionals csmSupport [ "-D CSM_ENABLE" "-D FD_SIZE_2MB" ]
++ lib.optionals httpSupport [ "-DNETWORK_HTTP_ENABLE=TRUE" "-DNETWORK_HTTP_BOOT_ENABLE=TRUE" ];
++ lib.optionals httpSupport [ "-D NETWORK_HTTP_ENABLE=TRUE" "-D NETWORK_HTTP_BOOT_ENABLE=TRUE" ]
++ lib.optionals tpmSupport [ "-D TPM_ENABLE" "-D TPM2_ENABLE" "-D TPM2_CONFIG_ENABLE"];
postPatch = lib.optionalString csmSupport ''
cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin

View File

@ -0,0 +1,26 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "docker-compose";
version = "2.0.1";
src = fetchFromGitHub {
owner = "docker";
repo = "compose";
rev = "v${version}";
sha256 = "sha256-6OjA3f6c9s/86UPxy9EqLIc/0ZuW6UhKyQdkM7YoTsU=";
};
vendorSha256 = "sha256-6h36TZmo0RvB3YzZRmsrs2Fbl+8zPTuL9LxWkuNgRqw=";
doCheck = false;
installPhase = ''
install -D $GOPATH/bin/cmd $out/libexec/docker/cli-plugins/docker-compose
'';
meta = with lib; {
description = "Docker CLI plugin to define and run multi-container applications with Docker";
license = licenses.asl20;
maintainers = [ maintainers.babariviere ];
};
}

View File

@ -8,16 +8,16 @@ rec {
, moby-src
, runcRev, runcSha256
, containerdRev, containerdSha256
, tiniRev, tiniSha256, buildxSupport ? true
, tiniRev, tiniSha256, buildxSupport ? true, composeSupport ? true
# package dependencies
, stdenv, fetchFromGitHub, buildGoPackage
, makeWrapper, installShellFiles, pkg-config, glibc
, go-md2man, go, containerd_1_4, runc, docker-proxy, tini, libtool
, sqlite, iproute2, lvm2, systemd, docker-buildx
, sqlite, iproute2, lvm2, systemd, docker-buildx, docker-compose_2
, btrfs-progs, iptables, e2fsprogs, xz, util-linux, xfsprogs, git
, procps, libseccomp
, nixosTests
, clientOnly ? !stdenv.isLinux
, clientOnly ? !stdenv.isLinux, symlinkJoin
}:
let
docker-runc = runc.overrideAttrs (oldAttrs: {
@ -117,6 +117,10 @@ rec {
++ optional (lvm2 == null) "exclude_graphdriver_devicemapper"
++ optional (libseccomp != null) "seccomp";
});
plugins = optionals buildxSupport [ docker-buildx ]
++ optionals composeSupport [ docker-compose_2 ];
pluginsRef = symlinkJoin { name = "docker-plugins"; paths = plugins; };
in
buildGoPackage ((optionalAttrs (!clientOnly) {
@ -141,14 +145,14 @@ rec {
];
buildInputs = optionals (!clientOnly) [
sqlite lvm2 btrfs-progs systemd libseccomp
] ++ optionals (buildxSupport) [ docker-buildx ];
] ++ plugins;
postPatch = ''
patchShebangs man scripts/build/
substituteInPlace ./scripts/build/.variables --replace "set -eu" ""
'' + optionalString buildxSupport ''
'' + optionalString (plugins != []) ''
substituteInPlace ./cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \
${lib.strings.makeSearchPathOutput "bin" "libexec/docker/cli-plugins" [docker-buildx]}
"${pluginsRef}/libexec/docker/cli-plugins"
'';
# Keep eyes on BUILDTIME format - https://github.com/docker/cli/blob/${version}/scripts/build/.variables

View File

@ -1,12 +1,18 @@
{ lib, stdenv, google-fonts }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "inconsolata";
version = "unstable-2021-01-19";
inherit (google-fonts) src version;
src = fetchFromGitHub {
owner = "google";
repo = "fonts";
rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a";
sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs";
};
installPhase = ''
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/static/*.ttf
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/*.ttf
'';
meta = with lib; {

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "qogir-icon-theme";
version = "2021-07-14";
version = "2021-10-14";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "0anma2ss3yqr9njx4ay2nyxjkgnj7ky17c93ipwgrvgsv8jk5nn2";
sha256 = "0qbbg0hcdda7apk892b8nhbrsvji12nv97ss7lv412xwcmxsj9fp";
};
nativeBuildInputs = [ gtk3 jdupes ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "theme-jade1";
version = "1.13";
version = "1.14";
src = fetchurl {
url = "https://github.com/madmaxms/theme-jade-1/releases/download/v${version}/jade-1-theme.tar.xz";
sha256 = "04a9c56w4hm8lwa8hzy5lwj4yli19gzy5wp5iinsm61qas9xgy69";
sha256 = "01p1g0gy6d1c8aa9y7inhn6zhm0qy0fzmwlniiv07h15g32appvd";
};
sourceRoot = ".";

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "marwaita";
version = "11.1";
version = "11.2";
src = fetchFromGitHub {
owner = "darkomarko42";
repo = pname;
rev = version;
sha256 = "0jzjrx21i9bny4117nlwkrvjc4cg2w6r42ra66hxzaazcs9hvny2";
sha256 = "1krfjk76yjyzsxkhymc1dpy3y7ykawdxzwb282wgbb480dpg8s05";
};
buildInputs = [

View File

@ -11,13 +11,13 @@
stdenv.mkDerivation rec {
pname = "whitesur-gtk-theme";
version = "2021-07-27";
version = "2021-09-24";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "17x4lqlv6whx8vg0c1nm89j7671l033apn4alqyhjb9qx5w2fa43";
sha256 = "12dwmgq0kadjfky5bjm62vwgdlw3nmrrhqqs5iw15w0pn3mbmd5c";
};
nativeBuildInputs = [

View File

@ -9,7 +9,7 @@ with lib; mkCoqDerivation {
inherit version;
defaultVersion = with versions; switch [ coq.version mathcomp.version ] [
{ cases = [ (range "8.10" "8.13") "1.12.0" ]; out = "1.12"; }
{ cases = [ (range "8.10" "8.14") "1.12.0" ]; out = "1.12"; }
{ cases = [ (range "8.10" "8.12") "1.11.0" ]; out = "1.11"; }
] null;

View File

@ -8,10 +8,11 @@ with lib; mkCoqDerivation rec {
defaultVersion = with versions;
switch [ coq.coq-version mathcomp-algebra.version ] [
{ cases = [ (isEq "8.13") (isEq "1.12") ]; out = "1.0.0+1.12+8.13"; }
{ cases = [ (range "8.13" "8.14") (isEq "1.12") ]; out = "1.1.0+1.12+8.13"; }
] null;
release."1.0.0+1.12+8.13".sha256 = "1j533vx6lacr89bj1bf15l1a0s7rvrx4l00wyjv99aczkfbz6h6k";
release."1.1.0+1.12+8.13".sha256 = "1plf4v6q5j7wvmd5gsqlpiy0vwlw6hy5daq2x42gqny23w9mi2pr";
propagatedBuildInputs = [ mathcomp-algebra ];

View File

@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
runHook preBuild
patchShebangs --build ./build
substituteInPlace ./build \
--replace "javac" "javac -encoding utf8"
./build
'' + lib.optionalString buildNativeImage ''
native-image --report-unsupported-elements-at-runtime \

View File

@ -16,7 +16,8 @@ let
overrides = packageOverrides;
};
plat = if stdenv.isLinux then "linux"
plat = if (stdenv.isLinux && lib.versionOlder self.luaversion "5.4") then "linux"
else if (stdenv.isLinux && lib.versionAtLeast self.luaversion "5.4") then "linux-readline"
else if stdenv.isDarwin then "macosx"
else if stdenv.hostPlatform.isMinGW then "mingw"
else if stdenv.isFreeBSD then "freebsd"

View File

@ -1,22 +1,27 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "argtable";
version = "3.1.5";
srcVersion = "v${version}.1c1bb23";
version = "3.2.1";
srcVersion = "v${version}.52f24e5";
src = fetchFromGitHub {
owner = "argtable";
repo = "argtable3";
rev = srcVersion;
sha256 = "sha256-sL6mnxsuL1K0DY26jLF/2Czo0RxHYJ3xU3VyavISiMM=";
hash = "sha256-HFsk91uJXQ0wpvAQxP4/yZwRQx9kLH7KgB3Y/+zcZC0=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
];
postPatch = ''
patchShebangs tools/build
'';
@ -37,4 +42,7 @@ stdenv.mkDerivation rec {
platforms = with platforms; all;
};
}
# TODO [ AndersonTorres ]: a NixOS test suite
# TODO: a NixOS test suite
# TODO: multiple outputs
# TODO: documentation
# TODO: build both shared and static libs

View File

@ -0,0 +1,48 @@
{ lib, stdenv
, fetchFromGitHub
, aws-c-cal
, aws-c-common
, aws-c-compression
, aws-c-http
, aws-c-io
, cmake
, s2n-tls
}:
stdenv.mkDerivation rec {
pname = "aws-c-auth";
version = "0.6.4";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-auth";
rev = "v${version}";
sha256 = "120p69lj279yq3d2b81f45kgfrvf32j6m7s03m8hh27w8yd4vbfp";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
aws-c-cal
aws-c-common
aws-c-compression
aws-c-http
aws-c-io
s2n-tls
];
cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DBUILD_SHARED_LIBS=ON"
];
meta = with lib; {
description = "C99 library implementation of AWS client-side authentication";
homepage = "https://github.com/awslabs/aws-c-auth";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}

View File

@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake"
];
meta = with lib; {

View File

@ -7,13 +7,13 @@
stdenv.mkDerivation rec {
pname = "aws-c-common";
version = "0.6.9";
version = "0.6.12";
src = fetchFromGitHub {
owner = "awslabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-bnKIL51AW+0T87BxEazXDZElYqiwOUHQVEDKOCUzsbM=";
sha256 = "sha256-Bbb6YbPMpzVy+Pa9OGe62TXihTbUeKTlPS29sa70aQ8=";
};
nativeBuildInputs = [ cmake ];
@ -23,10 +23,20 @@ stdenv.mkDerivation rec {
"-DCMAKE_SKIP_BUILD_RPATH=OFF" # for tests
];
# aws-c-common misuses cmake modules, so we need
# to manually add a MODULE_PATH to its consumers
setupHook = ./setup-hook.sh;
# Prevent the execution of tests known to be flaky.
preCheck = ''
preCheck = let
ignoreTests = [
"promise_test_multiple_waiters"
] ++ lib.optionals stdenv.hostPlatform.isMusl [
"sba_metrics" # https://github.com/awslabs/aws-c-common/issues/839
];
in ''
cat <<EOW >CTestCustom.cmake
SET(CTEST_CUSTOM_TESTS_IGNORE promise_test_multiple_waiters)
SET(CTEST_CUSTOM_TESTS_IGNORE ${toString ignoreTests})
EOW
'';

View File

@ -0,0 +1,5 @@
addAwsCCommonModuleDir() {
cmakeFlags="-DCMAKE_MODULE_PATH=@out@/lib/cmake ${cmakeFlags:-}"
}
postHooks+=(addAwsCCommonModuleDir)

View File

@ -0,0 +1,38 @@
{ lib, stdenv
, fetchFromGitHub
, aws-c-common
, cmake
}:
stdenv.mkDerivation rec {
pname = "aws-c-compression";
version = "0.2.14";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-compression";
rev = "v${version}";
sha256 = "0fs3zhhzxsb9nfcjpvfbcq79hal7si2ia1c09scab9a8m264f4vd";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
aws-c-common
];
cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DBUILD_SHARED_LIBS=ON"
];
meta = with lib; {
description = "C99 implementation of huffman encoding/decoding";
homepage = "https://github.com/awslabs/aws-c-compression";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}

View File

@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS:BOOL=ON"
"-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake"
];
meta = with lib; {

View File

@ -0,0 +1,46 @@
{ lib, stdenv
, fetchFromGitHub
, aws-c-cal
, aws-c-common
, aws-c-compression
, aws-c-io
, cmake
, s2n-tls
}:
stdenv.mkDerivation rec {
pname = "aws-c-http";
version = "0.6.7";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-http";
rev = "v${version}";
sha256 = "1s06bz6w7355ldyhwjidcpbff7591ch4lwwjcj47a6k2kczdmiz4";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
aws-c-cal
aws-c-common
aws-c-compression
aws-c-io
s2n-tls
];
cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DBUILD_SHARED_LIBS=ON"
];
meta = with lib; {
description = "C99 implementation of the HTTP/1.1 and HTTP/2 specifications";
homepage = "https://github.com/awslabs/aws-c-http";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "aws-c-io";
version = "0.10.5";
version = "0.10.9";
src = fetchFromGitHub {
owner = "awslabs";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+H6dUKgpgXG1fh8r6k7TpVFMBso4G762zRfLAZD+Nss=";
sha256 = "sha256-16MhOQlvFwbiSBNI1NWGjrLh0z/fCnAGmc8JguZQPZM=";
};
nativeBuildInputs = [ cmake ];
@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake"
];
meta = with lib; {

View File

@ -0,0 +1,50 @@
{ lib, stdenv
, fetchFromGitHub
, aws-c-cal
, aws-c-common
, aws-c-compression
, aws-c-http
, aws-c-io
, cmake
, ninja
, s2n-tls
}:
stdenv.mkDerivation rec {
pname = "aws-c-mqtt";
version = "0.7.8";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-mqtt";
rev = "v${version}";
sha256 = "19j6nw2v36c4yff4p0fbf0748s06fd5r9cp2yakry9ybn1ada99c";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
aws-c-cal
aws-c-common
aws-c-compression
aws-c-http
aws-c-io
s2n-tls
];
cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DBUILD_SHARED_LIBS=ON"
];
meta = with lib; {
description = "C99 implementation of the MQTT 3.1.1 specification";
homepage = "https://github.com/awslabs/aws-c-mqtt";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}

View File

@ -0,0 +1,50 @@
{ lib, stdenv
, fetchFromGitHub
, aws-c-auth
, aws-c-cal
, aws-c-common
, aws-c-compression
, aws-c-http
, aws-c-io
, cmake
, s2n-tls
}:
stdenv.mkDerivation rec {
pname = "aws-c-s3";
version = "0.1.27";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-c-s3";
rev = "v${version}";
sha256 = "sha256-GtBUC5cKMN9rd5GQbYoipVvxrUCCNKbb5vhHUGQpeH8=";
};
nativeBuildInputs = [
cmake
];
buildInputs = [
aws-c-auth
aws-c-cal
aws-c-common
aws-c-compression
aws-c-http
aws-c-io
s2n-tls
];
cmakeFlags = [
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DBUILD_SHARED_LIBS=ON"
];
meta = with lib; {
description = "C99 library implementation for communicating with the S3 service";
homepage = "https://github.com/awslabs/aws-c-s3";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}

View File

@ -17,7 +17,6 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_MODULE_PATH=${aws-c-common}/lib/cmake"
];
meta = with lib; {

View File

@ -0,0 +1,63 @@
{ lib, stdenv
, fetchFromGitHub
, aws-c-auth
, aws-c-cal
, aws-c-common
, aws-c-compression
, aws-c-event-stream
, aws-c-http
, aws-c-io
, aws-c-mqtt
, aws-c-s3
, aws-checksums
, cmake
, s2n-tls
}:
stdenv.mkDerivation rec {
pname = "aws-crt-cpp";
version = "0.17.0";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-crt-cpp";
rev = "v${version}";
sha256 = "0ijvyg3hrh1d0npca62syz8qy6nkqh90fq54cqyln0p333z16q52";
};
postPatch = ''
substituteInPlace CMakeLists.txt --replace '-Werror' ""
'';
nativeBuildInputs = [
cmake
];
propagatedBuildInputs = [
aws-c-auth
aws-c-cal
aws-c-common
aws-c-compression
aws-c-event-stream
aws-c-http
aws-c-io
aws-c-mqtt
aws-c-s3
aws-checksums
s2n-tls
];
cmakeFlags = [
"-DBUILD_DEPS=OFF"
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DBUILD_SHARED_LIBS=ON"
];
meta = with lib; {
description = "C++ wrapper around the aws-c-* libraries";
homepage = "https://github.com/awslabs/aws-crt-cpp";
license = licenses.asl20;
platforms = platforms.unix;
maintainers = with maintainers; [ r-burns ];
};
}

View File

@ -1,4 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake, curl, openssl, s2n-tls, zlib
, aws-crt-cpp
, aws-c-cal, aws-c-common, aws-c-event-stream, aws-c-io, aws-checksums
, CoreAudio, AudioToolbox
, # Allow building a limited set of APIs, e.g. ["s3" "ec2"].
@ -17,15 +18,23 @@ in
stdenv.mkDerivation rec {
pname = "aws-sdk-cpp";
version = "1.8.130";
version = "1.9.121";
src = fetchFromGitHub {
owner = "awslabs";
repo = "aws-sdk-cpp";
rev = version;
sha256 = "sha256-5T4l0KYB0utFTdEOtYT9trQ/JehQbXxk/IhI6YavErs=";
sha256 = "sha256-VQpWauk0tdJ1QU0HmtdTwQdKbiAuTTXXsUo2cqpqmdU=";
};
postPatch = ''
# Includes aws-c-auth private headers, so only works with submodule build
rm aws-cpp-sdk-core-tests/aws/auth/AWSAuthSignerTest.cpp
'' + lib.optionalString stdenv.hostPlatform.isMusl ''
# TestRandomURLMultiThreaded fails
rm aws-cpp-sdk-core-tests/http/HttpClientTest.cpp
'';
# FIXME: might be nice to put different APIs in different outputs
# (e.g. libaws-cpp-sdk-s3.so in output "s3").
outputs = [ "out" "dev" ];
@ -33,6 +42,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake curl ];
buildInputs = [
aws-crt-cpp
curl openssl zlib
] ++ lib.optionals (stdenv.isDarwin &&
((builtins.elem "text-to-speech" apis) ||

View File

@ -5,27 +5,29 @@
stdenv.mkDerivation rec {
pname = "cimg";
version = "2.9.8";
version = "2.9.9";
src = fetchFromGitHub {
owner = "dtschump";
repo = "CImg";
rev = "v.${version}";
sha256 = "sha256-nEICs1oAIXu6/5O4R3mbwig1OY+HDIWWeQjrcYnCwT0=";
hash = "sha256-DWyqVN7v+j2XCArv4jmrD45XKWMNhd2DddJHH3gQWQY=";
};
outputs = [ "out" "doc" ];
installPhase = ''
runHook preInstall
install -dm 755 $out/include/CImg/plugins $doc/share/doc/cimg/examples
install -m 644 CImg.h $out/include/
cp -dr --no-preserve=ownership examples/* $doc/share/doc/cimg/examples/
cp -dr --no-preserve=ownership plugins/* $out/include/CImg/plugins/
cp README.txt $doc/share/doc/cimg/
runHook postInstall
'';
outputs = [ "out" "doc" ];
meta = with lib; {
homepage = "http://cimg.eu/";
description = "A small, open source, C++ toolkit for image processing";

View File

@ -13,6 +13,7 @@
, gflags
, protobuf
, config
, ocl-icd
, enableJPEG ? true
, libjpeg
@ -313,6 +314,8 @@ stdenv.mkDerivation {
] ++ lib.optionals stdenv.isDarwin [
"-DWITH_OPENCL=OFF"
"-DWITH_LAPACK=OFF"
] ++ lib.optionals (!stdenv.isDarwin) [
"-DOPENCL_LIBRARY=${ocl-icd}/lib/libOpenCL.so"
] ++ lib.optionals enablePython [
"-DOPENCV_SKIP_PYTHON_LOADER=ON"
];

View File

@ -75,6 +75,7 @@ let
aarch64-darwin = "./Configure darwin64-arm64-cc";
x86_64-linux = "./Configure linux-x86_64";
x86_64-solaris = "./Configure solaris64-x86_64-gcc";
riscv64-linux = "./Configure linux64-riscv64";
}.${stdenv.hostPlatform.system} or (
if stdenv.hostPlatform == stdenv.buildPlatform
then "./config"

View File

@ -1,4 +1,9 @@
{ lib, stdenv, fetchFromGitHub, cmake, openssl }:
{ lib, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, openssl
}:
stdenv.mkDerivation rec {
pname = "s2n-tls";
@ -11,6 +16,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-6XqBpNURU8fzGkTt4jsijgMiOkzMebmLmPAq8yQsTg4=";
};
patches = [
# Fix FindLibCrypto paths (https://github.com/aws/s2n-tls/pull/3067)
(fetchpatch {
url = "https://github.com/aws/s2n-tls/commit/bda649524402be4018c44bff07f6c64502a351ec.patch";
sha256 = "02jmxsrd506vhjzlrgh1p2z1f1sn4v8klks25zisiykyqkyaczkv";
})
];
nativeBuildInputs = [ cmake ];
outputs = [ "out" "dev"];
@ -26,8 +39,11 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).
postInstall = ''
substituteInPlace $out/lib/s2n/cmake/shared/s2n-targets.cmake \
--replace 'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/include"' 'INTERFACE_INCLUDE_DIRECTORIES ""'
# Glob for 'shared' or 'static' subdir
for f in $out/lib/s2n/cmake/*/s2n-targets.cmake; do
substituteInPlace "$f" \
--replace 'INTERFACE_INCLUDE_DIRECTORIES "''${_IMPORT_PREFIX}/include"' 'INTERFACE_INCLUDE_DIRECTORIES ""'
done
'';
meta = with lib; {

View File

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-r/qA3ux4kh+GM15vw/GLgK7+z0JPaldV6fL6DrBxDt8=";
};
dontAddWafCrossFlags = true;
nativeBuildInputs = [ pkg-config python3 wafHook ];
meta = with lib; {

View File

@ -13,9 +13,14 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
preConfigure = ''
export PKGCONFIG="$PKG_CONFIG"
'';
nativeBuildInputs = [ pkg-config python3 wafHook ];
buildInputs = [ pcre ];
propagatedBuildInputs = [ serd ];
dontAddWafCrossFlags = true;
meta = with lib; {
homepage = "http://drobilla.net/software/sord";

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, gettext
, meson
, ninja
@ -44,6 +45,13 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit asciidoc;
})
] ++ lib.optionals (stdenv.hostPlatform.isi686) [
# Upstream: https://gitlab.gnome.org/GNOME/tracker/-/issues/332
(fetchpatch {
name = "i686-test.patch";
url = "https://gitlab.gnome.org/GNOME/tracker/-/commit/af707181a2c492a794daec7ce3f3062d67ffd9dc.patch";
sha256 = "sha256-KOdkTy79w3oiQILrPG00UVrv+VBjAk4Y868I8jtifqk=";
})
];
nativeBuildInputs = [

View File

@ -0,0 +1,29 @@
{ lib
, fetchurl
, buildDunePackage
, gg
}:
buildDunePackage rec {
pname = "color";
version = "0.2.0";
useDune2 = true;
minimalOCamlVersion = "4.05";
src = fetchurl {
url = "https://github.com/anuragsoni/color/releases/download/${version}/color-${version}.tbz";
sha256 = "0wg3a36i1a7fnz5pf57qzbdghwr6dzp7nnxyrz9m9765lxsn65ph";
};
propagatedBuildInputs = [
gg
];
meta = with lib; {
description = "Converts between different color formats";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
homepage = "https://github.com/anuragsoni/color";
};
}

View File

@ -0,0 +1,73 @@
{ lib
, aiohttp
, aresponses
, buildPythonPackage
, fetchFromGitHub
, freezegun
, poetry-core
, pyjwt
, pytest-aiohttp
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pytz
, titlecase
, types-pytz
}:
buildPythonPackage rec {
pname = "aioridwell";
version = "0.2.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
sha256 = "0kzxh1igncql1rwh12n42qahlc94z0fsd344d1vgni50jg7i34v7";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
pyjwt
pytz
titlecase
];
checkInputs = [
aresponses
freezegun
pytest-aiohttp
pytest-asyncio
pytestCheckHook
types-pytz
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'titlecase = "^2.3"' 'titlecase = "*"' \
--replace 'pytz = "^2021.3"' 'pytz = "*"'
'';
disabledTestPaths = [
# Ignore the examples directory as the files are prefixed with test_
"examples/"
];
pythonImportsCheck = [
"aioridwell"
];
meta = with lib; {
description = "Python library for interacting with Ridwell waste recycling";
homepage = "https://github.com/bachya/aioridwell";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "aiosignal";
version = "1.1.2";
version = "1.2.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "aio-libs";
repo = pname;
rev = "v${version}";
sha256 = "1gyvisccx25py85wwwlljai5qa20jvwyvacgrgkk1h18dkc262fw";
sha256 = "1pamfc2l95s1q86jvmbp17chjy129gk01kwy8xm88d2ijy8s1caq";
};
propagatedBuildInputs = [

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "annexremote";
version = "1.4.5";
version = "1.6.0";
# use fetchFromGitHub instead of fetchPypi because the test suite of
# the package is not included into the PyPI tarball
@ -17,7 +17,7 @@ buildPythonPackage rec {
rev = "v${version}";
owner = "Lykos153";
repo = "AnnexRemote";
sha256 = "0r5chdk2aiqcz7z8r8m1j657cz79f6bbv96xdmhj4m5fiqn672if";
sha256 = "08myswj1vqkl4s1glykq6xn76a070nv5mxj0z8ibl6axz89bvypi";
};
propagatedBuildInputs = [ future ];

View File

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "awkward";
version = "1.5.0";
version = "1.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "3cb1b0e28f420232d894d89665d5c0c8241b99e56d806171f4faf5cdfec08ae1";
sha256 = "c0357c62223fefcfc7a7565389dbd4db900623bf10eccf2bc8e87586ec59b38d";
};
nativeBuildInputs = [ cmake ];

View File

@ -17,12 +17,12 @@
buildPythonPackage rec {
pname = "azure-identity";
version = "1.6.1";
version = "1.7.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "69035c81f280fac5fa9c55f87be3a359b264853727486e3568818bb43988080e";
sha256 = "3faaecb645e3b2300648a4a452458ec0e31e13d9dc928e710992e43ef4694205";
};
propagatedBuildInputs = [

View File

@ -6,13 +6,13 @@
}:
buildPythonPackage rec {
version = "23.0.0";
version = "23.1.0";
pname = "azure-mgmt-compute";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "1eb26b965ba4049ddcf10d4f25818725fc03c491c3be76537d0d74ceb1146b04";
sha256 = "49dbb0f51006d557cbd0b22999cb9ecf3eabc2be46d96efcc6d651c6b33754b3";
};
propagatedBuildInputs = [

View File

@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "azure-mgmt-datafactory";
version = "1.1.0";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "433ad8e83bd8df4abc5af47a0e3a7a4515f79931db4036f2bccd65b5a9e88bfb";
sha256 = "df14272a1835f743d1889f901e972ed6ec9ea9d6f8966ba2865bf10306a621cc";
};
propagatedBuildInputs = [

View File

@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "braceexpand";
version = "0.1.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit version pname;
sha256 = "01gpcnksnqv6np28i4x8s3wkngawzgs99zvjfia57spa42ykkrg6";
};
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "braceexpand" ];
meta = with lib; {
description = "Bash-style brace expansion for Python";
homepage = "https://github.com/trendels/braceexpand";
changelog = "https://github.com/trendels/braceexpand/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ newam ];
};
}

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "django-storages";
version = "1.12";
version = "1.12.1";
src = fetchPypi {
inherit pname version;
sha256 = "b3fdb4337b1e54b8a23fe41c62d91648e26249f9fc00e882d1d09e16207aa204";
sha256 = "cb079981e2e4fe16d7f41000913225140dc334a84f5b7c5e4fcc6b7e6a028222";
};
propagatedBuildInputs = [ django ];

View File

@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "django-modelcluster";
version = "5.1";
version = "5.2";
src = fetchPypi {
inherit pname version;
sha256 = "783d177f7bf5c8f30fe365c347b9a032920de371fe1c63d955d7b283684d4c08";
sha256 = "e541a46a0a899ef4778a4708be22e71cac3efacc09a6ff44bc065c5c9194c054";
};
disabled = pythonOlder "3.5";

View File

@ -13,13 +13,13 @@
buildPythonPackage rec {
pname = "env-canada";
version = "0.5.13";
version = "0.5.14";
src = fetchFromGitHub {
owner = "michaeldavie";
repo = "env_canada";
rev = "v${version}";
sha256 = "sha256-Z/5YRvHcZgRuSQnaMbNIT93uSYvRzMWpdMy0M7tD2QI=";
sha256 = "06v9ifpgdfx5v8k8jwqd4y985p27s1wxl7908v3aqxv7203acn7w";
};
propagatedBuildInputs = [

View File

@ -43,6 +43,9 @@ buildPythonPackage rec {
importlib-metadata
];
# Tests fail on Python 3.7 due to importlib using a deprecated interface
doCheck = !(pythonOlder "3.8");
checkInputs = [
mock
pytestCheckHook

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "git-filter-repo";
version = "2.33.0";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "1nxfd5yv8ri7w5pzxclxs0yd317nsdcwvw87ancmdkh69xvx1f2f";
};
nativeBuildInputs = [
setuptools-scm
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"git_filter_repo"
];
meta = with lib; {
description = "Quickly rewrite git repository history";
homepage = "https://github.com/newren/git-filter-repo";
license = with licenses; [ mit /* or */ gpl2Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -12,11 +12,11 @@
buildPythonPackage rec {
pname = "google-cloud-iam-logging";
version = "0.1.3";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "5d1847f44a23a2fba815cbfbe7391a0364fd6a5c088fcd5f5a09d454aad8cc7c";
sha256 = "3d4fb605d2611586a66d16d02803fcb306331f21351b16497ee8c40753be3a27";
};
propagatedBuildInputs = [

View File

@ -4,7 +4,7 @@
}:
buildPythonPackage rec {
version = "2.4.2";
version = "2.5.0";
pname = "gsd";
disabled = isPy27;
@ -12,7 +12,7 @@ buildPythonPackage rec {
owner = "glotzerlab";
repo = pname;
rev = "v${version}";
sha256 = "1yv84girmqm155yjhhkiy1gdflf62110m2kgjiv4vcsjpy2i6has";
sha256 = "0zw3ihbzkldwijz9phwivnzwylj30a2a4lknfbwm6vkx78rdrb1a";
};
nativeBuildInputs = [ cython ];

View File

@ -6,11 +6,11 @@
buildPythonPackage rec {
pname = "hg-evolve";
version = "10.3.3";
version = "10.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "ca3b0ae45a2c3a811c0dc39153b8a1ea8a5c8f786c56370a41dfd83a5bff2502";
sha256 = "64fd249a7fcabea60953fc3e7f08da6a85960aca367c04d078b999b7f6fd0246";
};
checkInputs = [

View File

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "ibm-cloud-sdk-core";
version = "3.11.3";
version = "3.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "c855d0111dd570f36497cdb8c11510ae8d14fb70698f20529e19f88485266233";
sha256 = "ff3e8675a982f7754359ec598329ba5635014e2bfd51573b9413605849ef314a";
};
propagatedBuildInputs = [

View File

@ -5,11 +5,11 @@
buildPythonPackage rec {
pname = "inifile";
version = "0.3";
version = "0.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "0zgd53czc1irwx6b5zip8xlmyfr40hz2pd498d8yv61znj6lm16h";
sha256 = "d9e5eb4708ebf13353c4cfce798ad47890a8bcc5fbae04630223d15d79f55e96";
};
meta = with lib; {

View File

@ -15,12 +15,12 @@
buildPythonPackage rec {
pname = "intensity-normalization";
version = "2.0.3";
version = "2.1.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "d6f2ac360f51f5314e690272cb26c454e6deab69ef48a7c650ea760247d1d4db";
sha256 = "0d6eab99067e935336289c564caab541209ddd5e951a111f604b1ec92c710b84";
};
postPatch = ''

View File

@ -3,13 +3,13 @@
buildPythonPackage rec {
pname = "keepkey";
version = "6.7.0";
version = "7.2.1";
src = fetchFromGitHub {
owner = "keepkey";
repo = "python-keepkey";
rev = "v${version}";
sha256 = "0yi27wzb4q371y4bywi4hz37h4x63wjsyaa2mbx0rgc8xl2wm6yz";
sha256 = "00hqppdj3s9y25x4ad59y8axq94dd4chhw9zixq32sdrd9v8z55a";
};
propagatedBuildInputs = [ protobuf hidapi trezor ];

View File

@ -10,11 +10,11 @@
buildPythonPackage rec {
pname = "lightgbm";
version = "3.2.1";
version = "3.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "bd98e3b501b4c24dc127f4ad93e467f42923fe3eefa99e143b5b93158f024395";
sha256 = "107ae7babbbda2c2f0e07484f0c53cdeb455e9219235f79dc4e1685d7541e505";
};
nativeBuildInputs = [

View File

@ -7,12 +7,12 @@
buildPythonPackage rec {
pname = "limnoria";
version = "2021.07.21";
version = "2021.10.9";
disabled = isPy27; # abandoned upstream
src = fetchPypi {
inherit pname version;
sha256 = "80ca1db9648e7678f81b373dab04d06025ec6532e68a9be773ddbd159de54e4c";
sha256 = "907a4a0765ab29ccd1c2247efa0eda7a9bd82d3be3a2ecfdeb9b9e6fbb9aa56e";
};
postPatch = ''

View File

@ -8,7 +8,7 @@
buildPythonPackage rec {
pname = "miniaudio";
version = "1.44";
version = "1.45";
disabled = pythonOlder "3.6";
@ -16,7 +16,7 @@ buildPythonPackage rec {
owner = "irmen";
repo = "pyminiaudio";
rev = "v${version}";
sha256 = "1na3vx10lc41gkk14h6s3fm4bnrd2bwf4qbf1l6bfvhs92b9k111";
sha256 = "1yx4n4zax103fmjzdiqzw37zibsh68b2p2l5qvgcnx2zrrjd31yl";
};
propagatedBuildInputs = [

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "mockupdb";
version = "1.8.0";
version = "1.8.1";
src = fetchPypi {
inherit pname version;
sha256 = "130z5g96r52h362qc5jbf1g3gw3irb2wr946xlhgcv9ww9z64cl8";
sha256 = "d36d0e5b6445ff9141e34d012fa2b5dfe589847aa1e3ecb8d774074962af944e";
};
propagatedBuildInputs = [ pymongo ];

View File

@ -8,12 +8,12 @@
buildPythonPackage rec {
pname = "mypy-boto3-s3";
version = "1.18.60";
version = "1.18.62";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "4881fdbb41a74a15076c12285abd925a40e29d9f1b06d92b4d7cb12e8d208ae0";
sha256 = "a12c44b1a1a9653d6f9148f174a9b7b71785481374ef43d962bd580967b6bca8";
};
propagatedBuildInputs = [

View File

@ -6,13 +6,13 @@
}:
buildPythonPackage rec {
version = "3.6.4";
version = "3.6.5";
pname = "nltk";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "dd7e8012af25737e6aa7bc26568a319508dca789f13e62afa09798dccc7798b5";
sha256 = "834d1a8e38496369390be699be9bca4f2a0f2175b50327272b2ec7a98ffda2a0";
};
propagatedBuildInputs = [

View File

@ -8,13 +8,13 @@
buildPythonPackage rec {
pname = "nunavut";
version = "1.5.0";
version = "1.5.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "d0a7cfbb34dd93aff299a5a357f6f259a0a407c0e9136bab8e495a36e3f0846d";
sha256 = "2c57a9ffe6d462b0ad1ea49ac3ce9ebb3e8d43b2adf653dbe47eaf1b13be3c3b";
};
propagatedBuildInputs = [

View File

@ -0,0 +1,30 @@
{ lib, buildPythonPackage, fetchFromGitHub, six, timecop }:
buildPythonPackage rec {
pname = "onetimepass";
version = "1.0.1";
src = fetchFromGitHub {
owner = "tadeck";
repo = pname;
rev = "v${version}";
sha256 = "0wmv62l3r8r4428gdzyj80lhgadfqvj220khz1wnm9alyzg60wkh";
};
propagatedBuildInputs = [
six
];
checkInputs = [
timecop
];
pythonImportsCheck = [ "onetimepass" ];
meta = with lib; {
description = "One-time password library for HMAC-based (HOTP) and time-based (TOTP) passwords";
homepage = "https://github.com/tadeck/onetimepass";
license = licenses.mit;
maintainers = with maintainers; [ zakame ];
};
}

View File

@ -7,11 +7,11 @@
buildPythonPackage rec {
pname = "progressbar2";
version = "3.54.0";
version = "3.55.0";
src = fetchPypi {
inherit pname version;
sha256 = "d878893cda2f477c63b5bd0f7f5301f03dd0a81c02554a1f2c5562036369376a";
sha256 = "86835d1f1a9317ab41aeb1da5e4184975e2306586839d66daf63067c102f8f04";
};
propagatedBuildInputs = [ python-utils ];

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pulsectl";
version = "21.9.1";
version = "21.10.4";
src = fetchPypi {
inherit pname version;
sha256 = "8eef4dbfc97d984e63fd609a3f690d005173ec5342be88d10f67dd507affdf32";
sha256 = "c9593a54d01dc1ab47ef20464aa7d00433690c86ae840c58f458fe6dedd6b41a";
};
patches = [

View File

@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pymetar";
version = "1.3";
version = "1.4";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-zhuXOZIIzh5p0CDOsiUNTqeXDoHFcf1BPg868fc7CIg=";
sha256 = "48dbe6c4929961021cb61e49bb9e0605b54c4b61b9fb9ade51076705a08ecd54";
};
checkPhase = ''

View File

@ -11,12 +11,12 @@
buildPythonPackage rec {
pname = "pynndescent";
version = "0.5.4";
version = "0.5.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "221124cbad8e3cf3ed421a4089d80ac5a29d3215e76cb49effc1df887533d2a8";
sha256 = "7a7df8412b19cfb3596060faf5a8c5d0bf5b3bd504f8efd900fc4e3918c6f882";
};
propagatedBuildInputs = [

View File

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "pynput";
version = "1.7.3";
version = "1.7.4";
src = fetchPypi {
inherit pname version;
sha256 = "4e50b1a0ab86847e87e58f6d1993688b9a44f9f4c88d4712315ea8eb552ef828";
sha256 = "16fecc4d1e53a28fb7c669c79e189c3f2cde14a08d6b457c3da07075c82f3b4c";
};
nativeBuildInputs = [ sphinx ];

View File

@ -8,13 +8,13 @@
}:
buildPythonPackage rec {
version = "1.4";
version = "1.5";
pname = "python-rapidjson";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
sha256 = "018c20d3983cccfdc9cfed64407d4ba861ef3d64fe324a486f7130431afdefa7";
sha256 = "04323e63cf57f7ed927fd9bcb1861ef5ecb0d4d7213f2755969d4a1ac3c2de6f";
};
LC_ALL="en_US.utf-8";

Some files were not shown because too many files have changed in this diff Show More