Skip to content

Commit

Permalink
Merge staging-next into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Mar 16, 2021
2 parents 1f13d0d + 974e83d commit 8c2cc57
Show file tree
Hide file tree
Showing 50 changed files with 317 additions and 132 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/audio/qmmp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
# handle that.

mkDerivation rec {
name = "qmmp-1.4.2";
name = "qmmp-1.4.4";

src = fetchurl {
url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2";
sha256 = "1kvzw0n90crg3dgy8834qrjv0zb3ia5cny7virax9ax73y653jfa";
sha256 = "sha256-sZRZVhCf2ceETuV4AULA0kVkuIMn3C+aYdKThqvPnVQ=";
};

nativeBuildInputs = [ cmake pkg-config ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/editors/typora/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ let
in
stdenv.mkDerivation rec {
pname = "typora";
version = "0.9.95";
version = "0.9.98";

src = fetchurl {
url = "https://www.typora.io/linux/typora_${version}_amd64.deb";
sha256 = "0kgzk7z707vlbjrvykrnw2h6wscmc3h5hxycyz1z1j2cz26fns4p";
sha256 = "sha256-JiqjxT8ZGttrcJrcQmBoGPnRuuYWZ9u2083RxZoLMus=";
};

nativeBuildInputs = [
Expand Down
8 changes: 4 additions & 4 deletions pkgs/applications/misc/josm/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{ lib, stdenv, fetchurl, fetchsvn, makeWrapper, unzip, jre, libXxf86vm }:
let
pname = "josm";
version = "17428";
version = "17560";
srcs = {
jar = fetchurl {
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
sha256 = "0fhnq0836jp72br808hhw1ki70zc9wqcwfhnizb8pzjvs4wgx36w";
sha256 = "1ffrbg2d4s2dmc9zy9b4fbsqnp9g0pvp6vnrq7gbsmxh0y23sw56";
};
macosx = fetchurl {
url = "https://josm.openstreetmap.de/download/macosx/josm-macosx-${version}.zip";
sha256 = "126yy6y7mkpqzkrkqkzzn3mwnl1yjkmd5k895k7mmk2inmcsvqgm";
sha256 = "17qrilj20bvzd8ydfjjirpqjrsbqbkxyj4q35q87z9j3pgnd1h71";
};
pkg = fetchsvn {
url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";
rev = version;
sha256 = "198kq490y5wzxz0a5prb9anykq6dzg0imxfkchsas233inbzggql";
sha256 = "0wmncbi5g3ijn19qvmvwszb2m79wnv4jpdmpjd7332d3qi5rfmwn";
};
};
in
Expand Down
11 changes: 5 additions & 6 deletions pkgs/applications/misc/nnn/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ assert withNerdIcons -> withIcons == false;

stdenv.mkDerivation rec {
pname = "nnn";
version = "3.5";
version = "3.6";

src = fetchFromGitHub {
owner = "jarun";
repo = pname;
rev = "v${version}";
sha256 = "1fa7cmwrzn6kx87kms8i98p9azdlwyh2gnif29l340syl9hkr5qy";
sha256 = "1hwv7ncp8pmzdir30877ni4qlmczmb3yjdkbfd1pssr08y1srsc7";
};

configFile = lib.optionalString (conf != null) (builtins.toFile "nnn.h" conf);
Expand All @@ -22,10 +22,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ readline ncurses ];

makeFlags = [
"DESTDIR=${placeholder "out"}"
"PREFIX="
] ++ lib.optional withIcons [ "O_ICONS=1" ]
makeFlags = [ "PREFIX=$(out)" ]
++ lib.optional withIcons [ "O_ICONS=1" ]
++ lib.optional withNerdIcons [ "O_NERD=1" ];

# shell completions
Expand All @@ -38,6 +36,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Small ncurses-based file browser forked from noice";
homepage = "https://github.com/jarun/nnn";
changelog = "https://github.com/jarun/nnn/blob/v${version}/CHANGELOG";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ jfrankenau Br1ght0ne ];
Expand Down
48 changes: 48 additions & 0 deletions pkgs/applications/misc/pdfslicer/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, gettext
, intltool
, pkg-config
, wrapGAppsHook
, gtkmm3
, libuuid
, poppler
, qpdf
}:

stdenv.mkDerivation rec {
pname = "pdfslicer";
version = "1.8.8";

src = fetchFromGitHub {
owner = "junrrein";
repo = "pdfslicer";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "0sja0ddd9c8wjjpzk2ag8q1lxpj09adgmhd7wnsylincqnj2jyls";
};

nativeBuildInputs = [
cmake
gettext
intltool
pkg-config
wrapGAppsHook
];

buildInputs = [
gtkmm3
libuuid
poppler
qpdf
];

meta = with lib; {
description = "A simple application to extract, merge, rotate and reorder pages of PDF documents";
homepage = "https://junrrein.github.io/pdfslicer/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}
27 changes: 27 additions & 0 deletions pkgs/applications/networking/cluster/kubectl-doctor/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
pname = "kubectl-doctor";
version = "0.3.0";

src = fetchFromGitHub {
owner = "emirozer";
repo = pname;
rev = version;
sha256 = "0x784jbcwd34vzdnhg2yldh5ivkxvs2qlbsvaammbxkn04ch1ijz";
};

vendorSha256 = "04xq5kp1m7c98gb4fd0dni258vpfnhv535gl2qllfcp2mvk3mn55";

postInstall = ''
mv $out/bin/{cmd,kubectl-doctor}
'';

meta = with lib; {
description = "kubectl cluster triage plugin for k8s";
homepage = "https://github.com/emirozer/kubectl-doctor";
changelog = "https://github.com/emirozer/kubectl-doctor/releases/tag/v${version}";
license = licenses.asl20;
maintainers = [ maintainers.zimbatm ];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/networking/flexget/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

python3Packages.buildPythonApplication rec {
pname = "FlexGet";
version = "3.1.103";
version = "3.1.106";

src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "da635a01ae7d15ba31b41081ab3e0214b8c5ab5e4662c381246495d7d1eba9be";
sha256 = "f0ff300a1762d701b77eb16142dcc13d9d099bbed695f1e950392c1d1bb988eb";
};

postPatch = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/maestral-qt/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@

python3.pkgs.buildPythonApplication rec {
pname = "maestral-qt";
version = "1.4.2";
version = "1.4.3";
disabled = python3.pkgs.pythonOlder "3.6";

src = fetchFromGitHub {
owner = "SamSchott";
repo = "maestral-qt";
rev = "v${version}";
sha256 = "sha256-cPH0wD7RL3OifDTD48x58I4qeaLALOMFnfWXjE2/lUQ=";
sha256 = "sha256-+eBwBZx+kp2ACbFjtYK6ux9lcPmEQsunvxAAZ2HgAYw=";
};

propagatedBuildInputs = with python3.pkgs; [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/radio/xlog/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ lib, stdenv, fetchurl, glib, gtk2, pkg-config, hamlib }:
stdenv.mkDerivation rec {
pname = "xlog";
version = "2.0.19";
version = "2.0.20";

src = fetchurl {
url = "https://download.savannah.gnu.org/releases/xlog/${pname}-${version}.tar.gz";
sha256 = "0y38gkcm4mgv6wn31pjq6d5bm22m63rpwa55qjmrlywrmw76rppy";
sha256 = "sha256-pSGmKLHGc+Eb9OG27k1rYOMn/2BiRejrBajARjEgsUA=";
};

# glib-2.62 deprecations
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/tinyobjloader/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
description = "Tiny but powerful single file wavefront obj loader";
license = licenses.mit;
maintainers = [ maintainers.ivar ];
platforms = platforms.linux;
platforms = platforms.all;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/tllist/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ stdenv.mkDerivation rec {

license = licenses.mit;
maintainers = with maintainers; [ fionera AndersonTorres ];
platforms = with platforms; linux;
platforms = platforms.all;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/utf8cpp/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ stdenv.mkDerivation rec {
description = "UTF-8 with C++ in a Portable Way";
license = licenses.free;
maintainers = with maintainers; [ jobojeha ];
platforms = platforms.linux;
platforms = platforms.all;
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/vcg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
homepage = "http://vcg.isti.cnr.it/vcglib/install.html";
description = "C++ library for manipulation, processing and displaying with OpenGL of triangle and tetrahedral meshes";
license = licenses.gpl3;
platforms = platforms.linux;
platforms = platforms.all;
maintainers = with maintainers; [ abbradar ];
};
}
7 changes: 4 additions & 3 deletions pkgs/development/ocaml-modules/carton/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@
, ke, duff, decompress, cstruct, optint, bigstringaf, stdlib-shims
, bigarray-compat, checkseum, logs, psq, fmt
, result, rresult, fpath, base64, bos, digestif, mmap, alcotest
, crowbar, alcotest-lwt, lwt, findlib, mirage-flow, cmdliner
, crowbar, alcotest-lwt, lwt, findlib, mirage-flow, cmdliner, hxd
}:

buildDunePackage rec {
pname = "carton";
version = "0.2.0";
version = "0.4.0";

useDune2 = true;
minimumOCamlVersion = "4.08";

src = fetchurl {
url = "https://github.com/mirage/ocaml-git/releases/download/${pname}-v${version}/${pname}-${pname}-v${version}.tbz";
sha256 = "0gfns4a9p9540kijccsg52yzyn3jfvi737mb0g71yazyc89dqwhn";
sha256 = "777f9692b83cd63570c17527a32c5045818ab9242d923cbbde72fc23d0da0140";
};

# remove changelogs for mimic and the git* packages
Expand All @@ -30,6 +30,7 @@ buildDunePackage rec {
rresult
fpath
bos
hxd
];
propagatedBuildInputs = [
ke
Expand Down
28 changes: 28 additions & 0 deletions pkgs/development/ocaml-modules/decompress/1.2.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ lib, fetchurl, buildDunePackage
, checkseum, bigarray-compat, optint
}:

buildDunePackage rec {
version = "1.2.0";
pname = "decompress";

minimumOCamlVersion = "4.07";

useDune2 = true;

src = fetchurl {
url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-v${version}.tbz";
sha256 = "1c3sq9a6kpzl0pj3gmg7w18ssjjl70yv0r3l7qjprcncjx23v62i";
};

propagatedBuildInputs = [ optint bigarray-compat checkseum ];
# required hxd version is not available in nixpkgs
doCheck = false;

meta = {
description = "Pure OCaml implementation of Zlib";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
homepage = "https://github.com/mirage/decompress";
};
}
11 changes: 6 additions & 5 deletions pkgs/development/ocaml-modules/decompress/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{ lib, fetchurl, buildDunePackage
, checkseum, bigarray-compat, optint
, bigstringaf, alcotest, hxd, camlzip, base64
, checkseum, bigarray-compat, optint, cmdliner
, bigstringaf, alcotest, camlzip, base64, ctypes, fmt
}:

buildDunePackage rec {
version = "1.2.0";
version = "1.3.0";
pname = "decompress";

minimumOCamlVersion = "4.07";
Expand All @@ -13,11 +13,12 @@ buildDunePackage rec {

src = fetchurl {
url = "https://github.com/mirage/decompress/releases/download/v${version}/decompress-v${version}.tbz";
sha256 = "1c3sq9a6kpzl0pj3gmg7w18ssjjl70yv0r3l7qjprcncjx23v62i";
sha256 = "de149896939be13fedec46a4581121d5ab74850a2241d08e6aa8ae4bb18c52c4";
};

buildInputs = [ cmdliner ];
propagatedBuildInputs = [ optint bigarray-compat checkseum ];
checkInputs = [ alcotest bigstringaf hxd camlzip base64 ];
checkInputs = [ alcotest bigstringaf ctypes fmt camlzip base64 ];
doCheck = true;

meta = {
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/ocaml-modules/duff/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ lib, fetchurl, buildDunePackage
{ lib, fetchurl, buildDunePackage, fetchpatch
, stdlib-shims, bigarray-compat, fmt
, alcotest, hxd, crowbar, bigstringaf
}:

buildDunePackage rec {
pname = "duff";
version = "0.3";
version = "0.4";

useDune2 = true;

src = fetchurl {
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-v${version}.tbz";
sha256 = "1lb67yxk93ifj94p1i3swjbnj5xy8j6xzs72bwvq6cffx5xykznm";
sha256 = "4795e8344a2c2562e0ef6c44ab742334b5cd807637354715889741b20a461da4";
};

propagatedBuildInputs = [ stdlib-shims bigarray-compat fmt ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/ocaml-modules/git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

buildDunePackage rec {
pname = "git";
version = "3.3.0";
version = "3.3.2";

minimumOCamlVersion = "4.08";
useDune2 = true;

src = fetchurl {
url = "https://github.com/mirage/ocaml-git/releases/download/${version}/git-${version}.tbz";
sha256 = "090b67e8f8a02fb52b4d0c7aa445b5ff7353fdb2da00fb37b908f089c6776cd0";
sha256 = "01xcjggsb13n6018lp6ic0f6pglfl39qcg126h1k3da19hvpzhrv";
};

buildInputs = [
Expand Down
10 changes: 1 addition & 9 deletions pkgs/development/ocaml-modules/git/unix.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ buildDunePackage, fetchpatch, git
{ buildDunePackage, git
, mmap, rresult, result, bigstringaf
, fmt, bos, fpath, uri, digestif, logs, lwt, git-cohttp-unix
, mirage-clock, mirage-clock-unix, astring, awa, cmdliner
Expand All @@ -15,14 +15,6 @@ buildDunePackage {

useDune2 = true;

patches = [
# https://github.com/mirage/ocaml-git/pull/472
(fetchpatch {
url = "https://github.com/sternenseemann/ocaml-git/commit/54998331eb9d5c61afe8901fabe0c74c2877f096.patch";
sha256 = "12kd45mlfaj4hxh33k9920a22mq1q2sdrin2j41w1angvg00d3my";
})
];

buildInputs = [
awa awa-mirage cmdliner git-cohttp-unix
mirage-clock mirage-clock-unix tcpip
Expand Down
Loading

0 comments on commit 8c2cc57

Please sign in to comment.