Skip to content

Commit ecf0637

Browse files
Merge pull request NixOS#112855 from SuperSandro2000/fix-collection10
2 parents 29ec4bb + 024fa9b commit ecf0637

File tree

31 files changed

+157
-210
lines changed

31 files changed

+157
-210
lines changed

pkgs/applications/audio/bambootracker/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ mkDerivation rec {
4040
license = licenses.gpl2Only;
4141
platforms = platforms.all;
4242
maintainers = with maintainers; [ OPNA2608 ];
43+
broken = stdenv.isDarwin;
4344
};
4445
}
Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{ lib, stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkg-config }:
22

33
stdenv.mkDerivation rec {
4-
54
pname = "ncpamixer";
65
version = "1.3.3.1";
76

@@ -12,22 +11,19 @@ stdenv.mkDerivation rec {
1211
sha256 = "1v3bz0vpgh18257hdnz3yvbnl51779g1h5b265zgc21ks7m1jw5z";
1312
};
1413

15-
buildInputs = [ ncurses libpulseaudio ];
1614
nativeBuildInputs = [ cmake pkg-config ];
1715

18-
configurePhase = ''
19-
make PREFIX=$out build/Makefile
20-
'';
16+
buildInputs = [ ncurses libpulseaudio ];
2117

22-
buildPhase = ''
23-
make build
18+
configurePhase = ''
19+
make PREFIX=$out USE_WIDE=1 RELEASE=1 build/Makefile
2420
'';
2521

2622
meta = with lib; {
2723
description = "An ncurses mixer for PulseAudio inspired by pavucontrol";
2824
homepage = "https://github.com/fulhax/ncpamixer";
2925
license = licenses.mit;
3026
platforms = platforms.linux;
31-
maintainers = with maintainers; [ StijnDW ];
27+
maintainers = with maintainers; [ StijnDW SuperSandro2000 ];
3228
};
3329
}

pkgs/applications/misc/ranger/default.nix

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
{ lib, fetchFromGitHub, python3Packages, file, less, highlight
2-
, imagePreviewSupport ? true, w3m ? null}:
3-
4-
with lib;
5-
6-
assert imagePreviewSupport -> w3m != null;
2+
, imagePreviewSupport ? true, w3m }:
73

84
python3Packages.buildPythonApplication rec {
9-
name = "ranger-${version}";
5+
pname = "ranger";
106
version = "1.9.3";
117

128
src = fetchFromGitHub {
@@ -18,14 +14,10 @@ python3Packages.buildPythonApplication rec {
1814

1915
LC_ALL = "en_US.UTF-8";
2016

21-
checkInputs = with python3Packages; [ pytest ];
17+
checkInputs = with python3Packages; [ pytestCheckHook ];
2218
propagatedBuildInputs = [ file ]
2319
++ lib.optionals (imagePreviewSupport) [ python3Packages.pillow ];
2420

25-
checkPhase = ''
26-
py.test tests
27-
'';
28-
2921
preConfigure = ''
3022
${lib.optionalString (highlight != null) ''
3123
sed -i -e 's|^\s*highlight\b|${highlight}/bin/highlight|' \
@@ -45,7 +37,7 @@ python3Packages.buildPythonApplication rec {
4537
# give file previews out of the box
4638
substituteInPlace ranger/config/rc.conf \
4739
--replace "#set preview_script ~/.config/ranger/scope.sh" "set preview_script $out/share/doc/ranger/config/scope.sh"
48-
'' + optionalString imagePreviewSupport ''
40+
'' + lib.optionalString imagePreviewSupport ''
4941
substituteInPlace ranger/ext/img_display.py \
5042
--replace /usr/lib/w3m ${w3m}/libexec/w3m
5143
@@ -57,8 +49,8 @@ python3Packages.buildPythonApplication rec {
5749
meta = with lib; {
5850
description = "File manager with minimalistic curses interface";
5951
homepage = "http://ranger.github.io/";
60-
license = licenses.gpl3;
52+
license = licenses.gpl3Only;
6153
platforms = platforms.unix;
62-
maintainers = [ maintainers.toonn maintainers.magnetophon ];
54+
maintainers = with maintainers; [ toonn magnetophon ];
6355
};
6456
}

pkgs/applications/version-management/git-and-tools/git-delete-merged-branches/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
2222
meta = with lib; {
2323
description = "Command-line tool to delete merged Git branches";
2424
homepage = "https://pypi.org/project/git-delete-merged-branches/";
25-
license = licenses.gpl3;
25+
license = licenses.gpl3Plus;
2626
maintainers = with maintainers; [ SuperSandro2000 ];
2727
};
2828
}

pkgs/applications/version-management/git-and-tools/git-extras/default.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
{ lib, stdenv, fetchzip, unixtools, which }:
1+
{ lib, stdenv, fetchFromGitHub, unixtools, which }:
22

33
stdenv.mkDerivation rec {
44
pname = "git-extras";
55
version = "6.1.0";
66

7-
src = fetchzip {
8-
url = "https://github.com/tj/git-extras/archive/${version}.tar.gz";
7+
src = fetchFromGitHub {
8+
owner = "tj";
9+
repo = "git-extras";
10+
rev = version;
911
sha256 = "12ff9rhgqd71xm72r385hx0h8g75hz0ag0adzqcwfa54k0lhrrrz";
1012
};
1113

@@ -29,6 +31,6 @@ stdenv.mkDerivation rec {
2931
description = "GIT utilities -- repo summary, repl, changelog population, author commit percentages and more";
3032
license = licenses.mit;
3133
platforms = platforms.all;
32-
maintainers = [ maintainers.spwhitt maintainers.cko ];
34+
maintainers = with maintainers; [ spwhitt cko ];
3335
};
3436
}

pkgs/applications/version-management/git-and-tools/tig/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
2222

2323
# those files are inherently impure, we'll handle the corresponding dependencies.
2424
postPatch = ''
25-
rm -f contrib/config.make-*
25+
rm contrib/config.make-*
2626
'';
2727

2828
enableParallelBuilding = true;
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
5050
homepage = "https://jonas.github.io/tig/";
5151
description = "Text-mode interface for git";
5252
maintainers = with maintainers; [ bjornfor domenkozar qknight globin ];
53-
license = licenses.gpl2;
53+
license = licenses.gpl2Plus;
5454
platforms = platforms.unix;
5555
};
5656
}

pkgs/development/libraries/libcanberra/default.nix

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,21 @@ stdenv.mkDerivation rec {
4747
gtkModule = "/lib/gtk-2.0/";
4848
};
4949

50-
meta = {
50+
meta = with lib; {
5151
description = "An implementation of the XDG Sound Theme and Name Specifications";
52-
5352
longDescription = ''
5453
libcanberra is an implementation of the XDG Sound Theme and Name
5554
Specifications, for generating event sounds on free desktops
5655
such as GNOME. It comes with several backends (ALSA,
5756
PulseAudio, OSS, GStreamer, null) and is designed to be
5857
portable.
5958
'';
60-
6159
homepage = "http://0pointer.de/lennart/projects/libcanberra/";
62-
63-
license = lib.licenses.lgpl2Plus;
64-
60+
license = licenses.lgpl2Plus;
6561
maintainers = [ ];
66-
platforms = lib.platforms.unix;
62+
platforms = platforms.unix;
63+
# canberra-gtk-module.c:28:10: fatal error: 'gdk/gdkx.h' file not found
64+
# #include <gdk/gdkx.h>
65+
broken = stdenv.isDarwin;
6766
};
6867
}

pkgs/development/python-modules/nmigen-boards/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ buildPythonPackage rec {
2626
export SETUPTOOLS_SCM_PRETEND_VERSION="${realVersion}"
2727
'';
2828

29+
# no tests
30+
doCheck = false;
31+
2932
meta = with lib; {
3033
description = "Board and connector definitions for nMigen";
3134
homepage = "https://github.com/nmigen/nmigen-boards";

pkgs/development/python-modules/python-xmp-toolkit/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ buildPythonPackage {
3535
--replace "ctypes.util.find_library('exempi')" "'${exempi}/lib/libexempi${stdenv.hostPlatform.extensions.sharedLibrary}'"
3636
'';
3737

38+
# hangs on darwin + sandbox
39+
doCheck = !stdenv.isDarwin;
40+
3841
meta = with lib; {
3942
homepage = "https://github.com/python-xmp-toolkit/python-xmp-toolkit";
4043
description = "Python XMP Toolkit for working with metadata";

pkgs/development/python-modules/transmissionrpc/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ buildPythonPackage rec {
1515

1616
propagatedBuildInputs = [ six ];
1717

18+
# no tests
19+
doCheck = false;
20+
1821
meta = with lib; {
1922
description = "Python implementation of the Transmission bittorent client RPC protocol";
2023
homepage = "https://pypi.python.org/pypi/transmissionrpc/";
2124
license = licenses.mit;
2225
};
23-
2426
}

0 commit comments

Comments
 (0)