lol

Merge pull request #112855 from SuperSandro2000/fix-collection10

authored by

Sandro and committed by
GitHub
ecf06378 29ec4bb3

+157 -210
+1
pkgs/applications/audio/bambootracker/default.nix
··· 40 40 license = licenses.gpl2Only; 41 41 platforms = platforms.all; 42 42 maintainers = with maintainers; [ OPNA2608 ]; 43 + broken = stdenv.isDarwin; 43 44 }; 44 45 }
+4 -8
pkgs/applications/audio/ncpamixer/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 - 5 4 pname = "ncpamixer"; 6 5 version = "1.3.3.1"; 7 6 ··· 12 11 sha256 = "1v3bz0vpgh18257hdnz3yvbnl51779g1h5b265zgc21ks7m1jw5z"; 13 12 }; 14 13 15 - buildInputs = [ ncurses libpulseaudio ]; 16 14 nativeBuildInputs = [ cmake pkg-config ]; 17 15 18 - configurePhase = '' 19 - make PREFIX=$out build/Makefile 20 - ''; 16 + buildInputs = [ ncurses libpulseaudio ]; 21 17 22 - buildPhase = '' 23 - make build 18 + configurePhase = '' 19 + make PREFIX=$out USE_WIDE=1 RELEASE=1 build/Makefile 24 20 ''; 25 21 26 22 meta = with lib; { ··· 28 24 homepage = "https://github.com/fulhax/ncpamixer"; 29 25 license = licenses.mit; 30 26 platforms = platforms.linux; 31 - maintainers = with maintainers; [ StijnDW ]; 27 + maintainers = with maintainers; [ StijnDW SuperSandro2000 ]; 32 28 }; 33 29 }
+6 -14
pkgs/applications/misc/ranger/default.nix
··· 1 1 { 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 }: 7 3 8 4 python3Packages.buildPythonApplication rec { 9 - name = "ranger-${version}"; 5 + pname = "ranger"; 10 6 version = "1.9.3"; 11 7 12 8 src = fetchFromGitHub { ··· 18 14 19 15 LC_ALL = "en_US.UTF-8"; 20 16 21 - checkInputs = with python3Packages; [ pytest ]; 17 + checkInputs = with python3Packages; [ pytestCheckHook ]; 22 18 propagatedBuildInputs = [ file ] 23 19 ++ lib.optionals (imagePreviewSupport) [ python3Packages.pillow ]; 24 20 25 - checkPhase = '' 26 - py.test tests 27 - ''; 28 - 29 21 preConfigure = '' 30 22 ${lib.optionalString (highlight != null) '' 31 23 sed -i -e 's|^\s*highlight\b|${highlight}/bin/highlight|' \ ··· 45 37 # give file previews out of the box 46 38 substituteInPlace ranger/config/rc.conf \ 47 39 --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 '' 49 41 substituteInPlace ranger/ext/img_display.py \ 50 42 --replace /usr/lib/w3m ${w3m}/libexec/w3m 51 43 ··· 57 49 meta = with lib; { 58 50 description = "File manager with minimalistic curses interface"; 59 51 homepage = "http://ranger.github.io/"; 60 - license = licenses.gpl3; 52 + license = licenses.gpl3Only; 61 53 platforms = platforms.unix; 62 - maintainers = [ maintainers.toonn maintainers.magnetophon ]; 54 + maintainers = with maintainers; [ toonn magnetophon ]; 63 55 }; 64 56 }
+1 -1
pkgs/applications/version-management/git-and-tools/git-delete-merged-branches/default.nix
··· 22 22 meta = with lib; { 23 23 description = "Command-line tool to delete merged Git branches"; 24 24 homepage = "https://pypi.org/project/git-delete-merged-branches/"; 25 - license = licenses.gpl3; 25 + license = licenses.gpl3Plus; 26 26 maintainers = with maintainers; [ SuperSandro2000 ]; 27 27 }; 28 28 }
+6 -4
pkgs/applications/version-management/git-and-tools/git-extras/default.nix
··· 1 - { lib, stdenv, fetchzip, unixtools, which }: 1 + { lib, stdenv, fetchFromGitHub, unixtools, which }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "git-extras"; 5 5 version = "6.1.0"; 6 6 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; 9 11 sha256 = "12ff9rhgqd71xm72r385hx0h8g75hz0ag0adzqcwfa54k0lhrrrz"; 10 12 }; 11 13 ··· 29 31 description = "GIT utilities -- repo summary, repl, changelog population, author commit percentages and more"; 30 32 license = licenses.mit; 31 33 platforms = platforms.all; 32 - maintainers = [ maintainers.spwhitt maintainers.cko ]; 34 + maintainers = with maintainers; [ spwhitt cko ]; 33 35 }; 34 36 }
+2 -2
pkgs/applications/version-management/git-and-tools/tig/default.nix
··· 22 22 23 23 # those files are inherently impure, we'll handle the corresponding dependencies. 24 24 postPatch = '' 25 - rm -f contrib/config.make-* 25 + rm contrib/config.make-* 26 26 ''; 27 27 28 28 enableParallelBuilding = true; ··· 50 50 homepage = "https://jonas.github.io/tig/"; 51 51 description = "Text-mode interface for git"; 52 52 maintainers = with maintainers; [ bjornfor domenkozar qknight globin ]; 53 - license = licenses.gpl2; 53 + license = licenses.gpl2Plus; 54 54 platforms = platforms.unix; 55 55 }; 56 56 }
+6 -7
pkgs/development/libraries/libcanberra/default.nix
··· 47 47 gtkModule = "/lib/gtk-2.0/"; 48 48 }; 49 49 50 - meta = { 50 + meta = with lib; { 51 51 description = "An implementation of the XDG Sound Theme and Name Specifications"; 52 - 53 52 longDescription = '' 54 53 libcanberra is an implementation of the XDG Sound Theme and Name 55 54 Specifications, for generating event sounds on free desktops ··· 57 56 PulseAudio, OSS, GStreamer, null) and is designed to be 58 57 portable. 59 58 ''; 60 - 61 59 homepage = "http://0pointer.de/lennart/projects/libcanberra/"; 62 - 63 - license = lib.licenses.lgpl2Plus; 64 - 60 + license = licenses.lgpl2Plus; 65 61 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; 67 66 }; 68 67 }
+3
pkgs/development/python-modules/nmigen-boards/default.nix
··· 26 26 export SETUPTOOLS_SCM_PRETEND_VERSION="${realVersion}" 27 27 ''; 28 28 29 + # no tests 30 + doCheck = false; 31 + 29 32 meta = with lib; { 30 33 description = "Board and connector definitions for nMigen"; 31 34 homepage = "https://github.com/nmigen/nmigen-boards";
+3
pkgs/development/python-modules/python-xmp-toolkit/default.nix
··· 35 35 --replace "ctypes.util.find_library('exempi')" "'${exempi}/lib/libexempi${stdenv.hostPlatform.extensions.sharedLibrary}'" 36 36 ''; 37 37 38 + # hangs on darwin + sandbox 39 + doCheck = !stdenv.isDarwin; 40 + 38 41 meta = with lib; { 39 42 homepage = "https://github.com/python-xmp-toolkit/python-xmp-toolkit"; 40 43 description = "Python XMP Toolkit for working with metadata";
+3 -1
pkgs/development/python-modules/transmissionrpc/default.nix
··· 15 15 16 16 propagatedBuildInputs = [ six ]; 17 17 18 + # no tests 19 + doCheck = false; 20 + 18 21 meta = with lib; { 19 22 description = "Python implementation of the Transmission bittorent client RPC protocol"; 20 23 homepage = "https://pypi.python.org/pypi/transmissionrpc/"; 21 24 license = licenses.mit; 22 25 }; 23 - 24 26 }
+8 -17
pkgs/development/python-modules/yq/default.nix
··· 3 3 , buildPythonPackage 4 4 , fetchPypi 5 5 , substituteAll 6 - , pkgs 7 6 , argcomplete 8 7 , pyyaml 9 8 , xmltodict 10 - # Test inputs 11 - , coverage 12 - , flake8 13 9 , jq 14 - , pytest 15 - , toml 10 + , pytestCheckHook 16 11 }: 17 12 18 13 buildPythonPackage rec { ··· 27 22 patches = [ 28 23 (substituteAll { 29 24 src = ./jq-path.patch; 30 - jq = "${lib.getBin pkgs.jq}/bin/jq"; 25 + jq = "${lib.getBin jq}/bin/jq"; 31 26 }) 32 27 ]; 33 28 34 29 postPatch = '' 35 - substituteInPlace test/test.py --replace "expect_exit_codes={0} if sys.stdin.isatty() else {2}" "expect_exit_codes={0}" 30 + substituteInPlace test/test.py \ 31 + --replace "expect_exit_codes={0} if sys.stdin.isatty() else {2}" "expect_exit_codes={0}" 36 32 ''; 37 33 38 34 propagatedBuildInputs = [ ··· 41 37 argcomplete 42 38 ]; 43 39 44 - doCheck = true; 45 - 46 40 checkInputs = [ 47 - pytest 48 - coverage 49 - flake8 50 - toml 41 + pytestCheckHook 51 42 ]; 52 43 53 - checkPhase = "pytest ./test/test.py"; 44 + pytestFlagsArray = [ "test/test.py" ]; 54 45 55 46 pythonImportsCheck = [ "yq" ]; 56 47 ··· 59 50 meta = with lib; { 60 51 description = "Command-line YAML processor - jq wrapper for YAML documents"; 61 52 homepage = "https://github.com/kislyuk/yq"; 62 - license = [ licenses.asl20 ]; 63 - maintainers = [ maintainers.womfoo ]; 53 + license = licenses.asl20; 54 + maintainers = with maintainers; [ womfoo SuperSandro2000 ]; 64 55 }; 65 56 }
+15 -10
pkgs/development/tools/gron/default.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub }: 1 + { lib, buildGoModule, fetchFromGitHub, fetchpatch }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "gron"; 5 5 version = "0.6.1"; 6 6 7 - owner = "tomnomnom"; 8 - repo = "gron"; 9 - goPackagePath = "github.com/${owner}/${repo}"; 10 - 11 7 src = fetchFromGitHub { 12 - inherit owner repo; 8 + owner = "tomnomnom"; 9 + repo = "gron"; 13 10 rev = "v${version}"; 14 11 sha256 = "0qmzawkhg0qn9kxxrssbdjni2khvamhrcklv3yxc0ljmh77mh61m"; 15 12 }; 16 13 17 - goDeps = ./deps.nix; 14 + patches = [ 15 + (fetchpatch { 16 + name = "fix-inconsistent-vendoring.patch"; 17 + url = "https://github.com/tomnomnom/gron/pull/85/commits/d549a6cb68ed0e0ec7cc81d8275353acfe218725.patch"; 18 + sha256 = "1461v4f7w6q75l3988br0g1ynfhzsh34z38pd2w8fp57vrgkcfi5"; 19 + }) 20 + ]; 21 + 22 + vendorSha256 = "0va88c3rjlc2nbpqx4ila36rwrx57wcdhig4jp9q58vv4zqc2yxy"; 18 23 19 24 meta = with lib; { 20 25 description = "Make JSON greppable!"; ··· 26 31 ''; 27 32 homepage = "https://github.com/tomnomnom/gron"; 28 33 license = licenses.mit; 29 - maintainers = [ maintainers.fgaz ]; 30 - platforms = with platforms; linux ++ darwin; 34 + maintainers = with maintainers; [ fgaz SuperSandro2000 ]; 35 + platforms = platforms.unix; 31 36 }; 32 37 }
-57
pkgs/development/tools/gron/deps.nix
··· 1 - [ 2 - rec { 3 - owner = "fatih"; 4 - repo = "color"; 5 - goPackagePath = "github.com/${owner}/${repo}"; 6 - fetch = { 7 - type = "git"; 8 - url = "https://github.com/${owner}/${repo}"; 9 - rev = "v1.7.0"; 10 - sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv"; 11 - }; 12 - } 13 - rec { 14 - owner = "nwidger"; 15 - repo = "jsoncolor"; 16 - goPackagePath = "github.com/${owner}/${repo}"; 17 - fetch = { 18 - type = "git"; 19 - url = "https://github.com/${owner}/${repo}"; 20 - rev = "75a6de4340e59be95f0884b9cebdda246e0fdf40"; 21 - sha256 = "0aiv42xijrqgrxfx6pfyrndpwqv8i1qwsk190jdczyjxlnki2nki"; 22 - }; 23 - } 24 - rec { 25 - owner = "pkg"; 26 - repo = "errors"; 27 - goPackagePath = "github.com/${owner}/${repo}"; 28 - fetch = { 29 - type = "git"; 30 - url = "https://github.com/${owner}/${repo}"; 31 - rev = "v0.8.0"; 32 - sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5"; 33 - }; 34 - } 35 - rec { 36 - owner = "mattn"; 37 - repo = "go-colorable"; 38 - goPackagePath = "github.com/${owner}/${repo}"; 39 - fetch = { 40 - type = "git"; 41 - url = "https://github.com/${owner}/${repo}"; 42 - rev = "v0.0.9"; 43 - sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx"; 44 - }; 45 - } 46 - rec { 47 - owner = "mattn"; 48 - repo = "go-isatty"; 49 - goPackagePath = "github.com/${owner}/${repo}"; 50 - fetch = { 51 - type = "git"; 52 - url = "https://github.com/${owner}/${repo}"; 53 - rev = "v0.0.4"; 54 - sha256 = "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w"; 55 - }; 56 - } 57 - ]
+2 -2
pkgs/development/tools/misc/tokei/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "tokei"; ··· 14 14 cargoSha256 = "sha256-iUDc54E8AiLMJw9h99kg/3VmaSi8GqfQyrPwa9nJ994="; 15 15 16 16 buildInputs = lib.optionals stdenv.isDarwin [ 17 - libiconv darwin.apple_sdk.frameworks.Security 17 + libiconv Security 18 18 ]; 19 19 20 20 # enable all output formats
+13 -12
pkgs/development/tools/pup/default.nix
··· 1 - { lib, buildGoPackage, fetchgit }: 1 + { lib, buildGoModule, fetchFromGitHub }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "pup"; 5 - version = "0.4.0"; 6 - rev = "v${version}"; 5 + version = "unstable-2019-09-19"; 7 6 8 - goPackagePath = "github.com/ericchiang/pup"; 7 + src = fetchFromGitHub { 8 + owner = "ericchiang"; 9 + repo = "pup"; 10 + rev = "681d7bb639334bf485476f5872c5bdab10931f9a"; 11 + sha256 = "1hx1k0qlc1bq6gg5d4yprn4d7kvqzagg6mi5mvb39zdq6c4y17vr"; 12 + }; 9 13 10 - src = fetchgit { 11 - inherit rev; 12 - url = "https://${goPackagePath}"; 13 - sha256 = "0mnhw0yph5fvcnrcmj1kfbyw1a4lcg3k9f6y28kf44ihlq8h1dfz"; 14 - }; 14 + vendorSha256 = null; 15 15 16 16 meta = with lib; { 17 - description = "Streaming HTML processor/selector"; 17 + description = "Parsing HTML at the command line"; 18 + homepage = "https://github.com/ericchiang/pup"; 18 19 license = licenses.mit; 19 - maintainers = with maintainers; [ yegortimoshenko ]; 20 + maintainers = with maintainers; [ yegortimoshenko SuperSandro2000 ]; 20 21 }; 21 22 }
+1 -1
pkgs/tools/misc/cod/default.nix
··· 13 13 14 14 vendorSha256 = "1arllkiz1hk12hq5b2zpg3f8i9lxl66mil5sdv8gnhflmb37vbv3"; 15 15 16 - buildFlagsArray = [ "-ldflags=-X main.GitSha=${src.rev}" ]; 16 + buildFlagsArray = [ "-ldflags=-s -w -X main.GitSha=${src.rev}" ]; 17 17 18 18 doCheck = false; 19 19
+1 -1
pkgs/tools/misc/duf/default.nix
··· 13 13 14 14 vendorSha256 = "0icxy6wbqjqawr6i5skwp1z37fq303p8f95crd8lwn6pjjiqzk4i"; 15 15 16 - buildFlagsArray = [ "-ldflags=" "-s -w -X=main.Version=${version}" ]; 16 + buildFlagsArray = [ "-ldflags=-s -w -X=main.Version=${version}" ]; 17 17 18 18 meta = with lib; { 19 19 homepage = "https://github.com/muesli/duf/";
+3 -3
pkgs/tools/misc/dust/default.nix
··· 8 8 owner = "bootandy"; 9 9 repo = "dust"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-JwGa1icwV1yqxy90Psd9bzM7VzM7HPA6kONkI3Y745Q="; 11 + sha256 = "1knl7kwngmq598bnlvlq9x8sqp914sv1abfm55kw9f7mja2d6pw0"; 12 12 # Remove unicode file names which leads to different checksums on HFS+ 13 13 # vs. other filesystems because of unicode normalisation. 14 14 extraPostFetch = '' 15 - rm -rf $out/src/test_dir3/ 15 + rm -r $out/tests/test_dir_unicode/ 16 16 ''; 17 17 }; 18 18 ··· 24 24 description = "du + rust = dust. Like du but more intuitive"; 25 25 homepage = "https://github.com/bootandy/dust"; 26 26 license = licenses.asl20; 27 - maintainers = [ maintainers.infinisil ]; 27 + maintainers = with maintainers; [ infinisil SuperSandro2000 ]; 28 28 }; 29 29 }
+2 -4
pkgs/tools/misc/exa/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform, cmake, perl, pkg-config, zlib 2 - , darwin, libiconv, installShellFiles 2 + , Security, libiconv, installShellFiles 3 3 }: 4 4 5 5 with rustPlatform; ··· 28 28 29 29 nativeBuildInputs = [ cmake pkg-config perl installShellFiles ]; 30 30 buildInputs = [ zlib ] 31 - ++ lib.optionals stdenv.isDarwin [ 32 - libiconv darwin.apple_sdk.frameworks.Security ] 33 - ; 31 + ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; 34 32 35 33 outputs = [ "out" "man" ]; 36 34
+3 -2
pkgs/tools/misc/expect/default.nix
··· 1 1 { lib, stdenv, fetchurl, tcl, makeWrapper, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "5.45.4"; 5 4 pname = "expect"; 5 + version = "5.45.4"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://sourceforge/expect/Expect/${version}/expect${version}.tar.gz"; ··· 36 36 meta = with lib; { 37 37 description = "A tool for automating interactive applications"; 38 38 homepage = "http://expect.sourceforge.net/"; 39 - license = "Expect"; 39 + license = licenses.publicDomain; 40 40 platforms = platforms.unix; 41 + maintainers = with maintainers; [ SuperSandro2000 ]; 41 42 }; 42 43 }
+2 -2
pkgs/tools/misc/grex/default.nix
··· 2 2 , fetchFromGitHub 3 3 , fetchpatch 4 4 , rustPlatform 5 - , darwin 5 + , Security 6 6 , libiconv 7 7 }: 8 8 ··· 19 19 sha256 = "1viph7ki6f2akc5mpbgycacndmxnv088ybfji2bfdbi5jnpyavvs"; 20 20 }; 21 21 22 - buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; 22 + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 23 23 24 24 doInstallCheck = true; 25 25 installCheckPhase = ''
+1 -2
pkgs/tools/misc/onefetch/default.nix
··· 14 14 15 15 cargoSha256 = "sha256-TqWe4eARQmmWcwnvb6BIZrzGeKMpiIObPv0cW1JvWj4="; 16 16 17 - buildInputs = with stdenv; 18 - lib.optionals isDarwin [ CoreFoundation libiconv libresolv Security ]; 17 + buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation libiconv libresolv Security ]; 19 18 20 19 meta = with lib; { 21 20 description = "Git repository summary on your terminal";
+2 -2
pkgs/tools/misc/topgrade/default.nix
··· 24 24 meta = with lib; { 25 25 description = "Upgrade all the things"; 26 26 homepage = "https://github.com/r-darwish/topgrade"; 27 - license = licenses.gpl3; 28 - maintainers = with maintainers; [ Br1ght0ne hugoreeves ]; 27 + license = licenses.gpl3Only; 28 + maintainers = with maintainers; [ Br1ght0ne hugoreeves SuperSandro2000 ]; 29 29 }; 30 30 }
+4 -7
pkgs/tools/misc/zoxide/default.nix
··· 4 4 , rustPlatform 5 5 , withFzf ? true 6 6 , fzf 7 - 8 7 # checkInputs 9 8 , fish 10 9 , powershell ··· 13 12 , xonsh 14 13 , zsh 15 14 }: 16 - let 17 - version = "0.5.0"; 18 - in 19 - rustPlatform.buildRustPackage { 15 + 16 + rustPlatform.buildRustPackage rec { 20 17 pname = "zoxide"; 21 - inherit version; 18 + version = "0.5.0"; 22 19 23 20 src = fetchFromGitHub { 24 21 owner = "ajeetdsouza"; ··· 55 52 description = "A fast cd command that learns your habits"; 56 53 homepage = "https://github.com/ajeetdsouza/zoxide"; 57 54 license = with licenses; [ mit ]; 58 - maintainers = with maintainers; [ ysndr cole-h ]; 55 + maintainers = with maintainers; [ ysndr cole-h SuperSandro2000 ]; 59 56 }; 60 57 }
+5 -5
pkgs/tools/networking/mosh/default.nix
··· 1 1 { lib, stdenv, fetchurl, fetchpatch, zlib, protobuf, ncurses, pkg-config 2 2 , makeWrapper, perlPackages, openssl, autoreconfHook, openssh, bash-completion 3 - , libutempter ? null, withUtempter ? stdenv.isLinux }: 3 + , withUtempter ? stdenv.isLinux, libutempter }: 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "mosh"; ··· 45 45 46 46 CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11"; 47 47 48 - meta = { 48 + meta = with lib; { 49 49 homepage = "https://mosh.org/"; 50 50 description = "Mobile shell (ssh replacement)"; 51 51 longDescription = '' ··· 56 56 Mosh is a replacement for SSH. It's more robust and responsive, 57 57 especially over Wi-Fi, cellular, and long-distance links. 58 58 ''; 59 - license = lib.licenses.gpl3Plus; 60 - maintainers = with lib.maintainers; [viric]; 61 - platforms = lib.platforms.unix; 59 + license = licenses.gpl3Plus; 60 + maintainers = with maintainers; [ viric ]; 61 + platforms = platforms.unix; 62 62 }; 63 63 }
+7 -9
pkgs/tools/networking/mtr/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config 2 2 , libcap, ncurses 3 - , withGtk ? false, gtk3 ? null }: 4 - 5 - assert withGtk -> gtk3 != null; 3 + , withGtk ? false, gtk3 }: 6 4 7 5 stdenv.mkDerivation rec { 8 6 pname = "mtr${lib.optionalString withGtk "-gui"}"; 9 7 version = "0.94"; 10 8 11 9 src = fetchFromGitHub { 12 - owner = "traviscross"; 13 - repo = "mtr"; 14 - rev = "v${version}"; 10 + owner = "traviscross"; 11 + repo = "mtr"; 12 + rev = "v${version}"; 15 13 sha256 = "0wnz87cr2lcl74bj8qxq9xgai40az3pk9k0z893scyc8svd61xz6"; 16 14 }; 17 15 ··· 38 36 39 37 meta = with lib; { 40 38 description = "A network diagnostics tool"; 41 - homepage = "https://www.bitwizard.nl/mtr/"; 42 - license = licenses.gpl2; 39 + homepage = "https://www.bitwizard.nl/mtr/"; 40 + license = licenses.gpl2; 43 41 maintainers = with maintainers; [ koral orivej raskin globin ]; 44 - platforms = platforms.unix; 42 + platforms = platforms.unix; 45 43 }; 46 44 }
+23 -13
pkgs/tools/text/colordiff/default.nix
··· 1 - { lib, stdenv, fetchurl, perl /*, xmlto */}: 1 + { lib, stdenv, fetchFromGitHub, docbook_xml_dtd_412, docbook_xsl, perl, w3m, xmlto }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "colordiff-1.0.19"; 4 + pname = "colordiff"; 5 + version = "1.0.19"; 5 6 6 - src = fetchurl { 7 - urls = [ 8 - "https://www.colordiff.org/${name}.tar.gz" 9 - "http://www.colordiff.org/archive/${name}.tar.gz" 10 - ]; 11 - sha256 = "069vzzgs7b44bmfh3ks2psrdb26s1w19gp9w4xxbgi7nhx6w3s26"; 7 + src = fetchFromGitHub { 8 + owner = "daveewart"; 9 + repo = "colordiff"; 10 + rev = "v${version}"; 11 + sha256 = "1v7s1yn0qvn08iwm5js8mxn442392qyr7s9ij506byfd497ag7qk"; 12 12 }; 13 13 14 - buildInputs = [ perl /* xmlto */ ]; 14 + nativeBuildInputs = [ docbook_xml_dtd_412 docbook_xsl perl w3m xmlto ]; 15 15 16 - dontBuild = 1; # do not build doc yet. 16 + buildInputs = [ perl ]; 17 17 18 - installPhase = ''make INSTALL_DIR=/bin MAN_DIR=/share/man/man1 DESTDIR="$out" install''; 18 + postPatch = '' 19 + substituteInPlace Makefile \ 20 + --replace 'TMPDIR=colordiff-''${VERSION}' "" 21 + ''; 22 + 23 + installFlags = [ 24 + "INSTALL_DIR=/bin" 25 + "MAN_DIR=/share/man/man1" 26 + "DESTDIR=${placeholder "out"}" 27 + ]; 19 28 20 29 meta = with lib; { 21 30 description = "Wrapper for 'diff' that produces the same output but with pretty 'syntax' highlighting"; 22 31 homepage = "https://www.colordiff.org/"; 23 - license = licenses.gpl3; 24 - platforms = platforms.linux ++ platforms.darwin; 32 + license = licenses.gpl2Plus; 33 + platforms = platforms.unix; 34 + maintainers = with maintainers; [ SuperSandro2000 ]; 25 35 }; 26 36 }
+11 -14
pkgs/tools/text/source-highlight/default.nix
··· 1 1 { lib, stdenv, fetchurl, boost }: 2 2 3 - let 4 - name = "source-highlight"; 3 + stdenv.mkDerivation rec { 4 + pname = "source-highlight"; 5 5 version = "3.1.9"; 6 - in 7 - stdenv.mkDerivation { 8 - name = "${name}-${version}"; 9 6 10 7 src = fetchurl { 11 - url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz"; 8 + url = "mirror://gnu/src-highlite/${pname}-${version}.tar.gz"; 12 9 sha256 = "148w47k3zswbxvhg83z38ifi85f9dqcpg7icvvw1cm6bg21x4zrs"; 13 10 }; 14 11 ··· 26 23 27 24 enableParallelBuilding = false; 28 25 29 - meta = { 26 + meta = with lib; { 30 27 description = "Source code renderer with syntax highlighting"; 28 + longDescription = '' 29 + GNU Source-highlight, given a source file, produces a document 30 + with syntax highlighting. 31 + ''; 31 32 homepage = "https://www.gnu.org/software/src-highlite/"; 32 - license = lib.licenses.gpl3Plus; 33 - platforms = with lib.platforms; linux ++ darwin; 34 - longDescription = 35 - '' 36 - GNU Source-highlight, given a source file, produces a document 37 - with syntax highlighting. 38 - ''; 33 + license = licenses.gpl3Plus; 34 + platforms = platforms.unix; 35 + maintainers = with maintainers; [ SuperSandro2000 ]; 39 36 }; 40 37 }
+7 -6
pkgs/tools/text/wdiff/default.nix
··· 1 1 { lib, stdenv, fetchurl, texinfo, which }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "wdiff-1.2.2"; 4 + pname = "wdiff"; 5 + version = "1.2.2"; 5 6 6 7 src = fetchurl { 7 - url = "mirror://gnu/wdiff/${name}.tar.gz"; 8 + url = "mirror://gnu/wdiff/${pname}-${version}.tar.gz"; 8 9 sha256 = "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl"; 9 10 }; 10 11 ··· 12 13 13 14 checkInputs = [ which ]; 14 15 15 - meta = { 16 + meta = with lib; { 16 17 homepage = "https://www.gnu.org/software/wdiff/"; 17 18 description = "Comparing files on a word by word basis"; 18 - license = lib.licenses.gpl3Plus; 19 - maintainers = [ lib.maintainers.eelco ]; 20 - platforms = lib.platforms.unix; 19 + license = licenses.gpl3Plus; 20 + maintainers = with maintainers; [ eelco SuperSandro2000 ]; 21 + platforms = platforms.unix; 21 22 }; 22 23 }
+9 -3
pkgs/top-level/all-packages.nix
··· 1333 1333 1334 1334 gremlin-console = callPackage ../applications/misc/gremlin-console { }; 1335 1335 1336 - grex = callPackage ../tools/misc/grex { }; 1336 + grex = callPackage ../tools/misc/grex { 1337 + inherit (darwin.apple_sdk.frameworks) Security; 1338 + }; 1337 1339 1338 1340 gcsfuse = callPackage ../tools/filesystems/gcsfuse { }; 1339 1341 ··· 3992 3994 3993 3995 eva = callPackage ../tools/misc/eva { }; 3994 3996 3995 - exa = callPackage ../tools/misc/exa { }; 3997 + exa = callPackage ../tools/misc/exa { 3998 + inherit (darwin.apple_sdk.frameworks) Security; 3999 + }; 3996 4000 3997 4001 exempi = callPackage ../development/libraries/exempi { 3998 4002 stdenv = if stdenv.isi686 then gcc6Stdenv else stdenv; ··· 8379 8383 8380 8384 toilet = callPackage ../tools/misc/toilet { }; 8381 8385 8382 - tokei = callPackage ../development/tools/misc/tokei { }; 8386 + tokei = callPackage ../development/tools/misc/tokei { 8387 + inherit (darwin.apple_sdk.frameworks) Security; 8388 + }; 8383 8389 8384 8390 toml2nix = (callPackage ../tools/toml2nix { }).toml2nix { }; 8385 8391
+3 -1
pkgs/top-level/python-packages.nix
··· 8489 8489 8490 8490 yowsup = callPackage ../development/python-modules/yowsup { }; 8491 8491 8492 - yq = callPackage ../development/python-modules/yq { }; 8492 + yq = callPackage ../development/python-modules/yq { 8493 + inherit (pkgs) jq; 8494 + }; 8493 8495 8494 8496 yt = callPackage ../development/python-modules/yt { }; 8495 8497