Merge pull request #112855 from SuperSandro2000/fix-collection10

master
Sandro 2021-02-12 21:16:00 +01:00 committed by GitHub
commit ecf06378f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
31 changed files with 157 additions and 210 deletions

View File

@ -40,5 +40,6 @@ mkDerivation rec {
license = licenses.gpl2Only;
platforms = platforms.all;
maintainers = with maintainers; [ OPNA2608 ];
broken = stdenv.isDarwin;
};
}

View File

@ -1,7 +1,6 @@
{ lib, stdenv, fetchFromGitHub, cmake, ncurses, libpulseaudio, pkg-config }:
stdenv.mkDerivation rec {
pname = "ncpamixer";
version = "1.3.3.1";
@ -12,15 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "1v3bz0vpgh18257hdnz3yvbnl51779g1h5b265zgc21ks7m1jw5z";
};
buildInputs = [ ncurses libpulseaudio ];
nativeBuildInputs = [ cmake pkg-config ];
configurePhase = ''
make PREFIX=$out build/Makefile
'';
buildInputs = [ ncurses libpulseaudio ];
buildPhase = ''
make build
configurePhase = ''
make PREFIX=$out USE_WIDE=1 RELEASE=1 build/Makefile
'';
meta = with lib; {
@ -28,6 +24,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/fulhax/ncpamixer";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ StijnDW ];
maintainers = with maintainers; [ StijnDW SuperSandro2000 ];
};
}

View File

@ -1,12 +1,8 @@
{ lib, fetchFromGitHub, python3Packages, file, less, highlight
, imagePreviewSupport ? true, w3m ? null}:
with lib;
assert imagePreviewSupport -> w3m != null;
, imagePreviewSupport ? true, w3m }:
python3Packages.buildPythonApplication rec {
name = "ranger-${version}";
pname = "ranger";
version = "1.9.3";
src = fetchFromGitHub {
@ -18,14 +14,10 @@ python3Packages.buildPythonApplication rec {
LC_ALL = "en_US.UTF-8";
checkInputs = with python3Packages; [ pytest ];
checkInputs = with python3Packages; [ pytestCheckHook ];
propagatedBuildInputs = [ file ]
++ lib.optionals (imagePreviewSupport) [ python3Packages.pillow ];
checkPhase = ''
py.test tests
'';
preConfigure = ''
${lib.optionalString (highlight != null) ''
sed -i -e 's|^\s*highlight\b|${highlight}/bin/highlight|' \
@ -45,7 +37,7 @@ python3Packages.buildPythonApplication rec {
# give file previews out of the box
substituteInPlace ranger/config/rc.conf \
--replace "#set preview_script ~/.config/ranger/scope.sh" "set preview_script $out/share/doc/ranger/config/scope.sh"
'' + optionalString imagePreviewSupport ''
'' + lib.optionalString imagePreviewSupport ''
substituteInPlace ranger/ext/img_display.py \
--replace /usr/lib/w3m ${w3m}/libexec/w3m
@ -57,8 +49,8 @@ python3Packages.buildPythonApplication rec {
meta = with lib; {
description = "File manager with minimalistic curses interface";
homepage = "http://ranger.github.io/";
license = licenses.gpl3;
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = [ maintainers.toonn maintainers.magnetophon ];
maintainers = with maintainers; [ toonn magnetophon ];
};
}

View File

@ -22,7 +22,7 @@ python3Packages.buildPythonApplication rec {
meta = with lib; {
description = "Command-line tool to delete merged Git branches";
homepage = "https://pypi.org/project/git-delete-merged-branches/";
license = licenses.gpl3;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -1,11 +1,13 @@
{ lib, stdenv, fetchzip, unixtools, which }:
{ lib, stdenv, fetchFromGitHub, unixtools, which }:
stdenv.mkDerivation rec {
pname = "git-extras";
version = "6.1.0";
src = fetchzip {
url = "https://github.com/tj/git-extras/archive/${version}.tar.gz";
src = fetchFromGitHub {
owner = "tj";
repo = "git-extras";
rev = version;
sha256 = "12ff9rhgqd71xm72r385hx0h8g75hz0ag0adzqcwfa54k0lhrrrz";
};
@ -29,6 +31,6 @@ stdenv.mkDerivation rec {
description = "GIT utilities -- repo summary, repl, changelog population, author commit percentages and more";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.spwhitt maintainers.cko ];
maintainers = with maintainers; [ spwhitt cko ];
};
}

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
# those files are inherently impure, we'll handle the corresponding dependencies.
postPatch = ''
rm -f contrib/config.make-*
rm contrib/config.make-*
'';
enableParallelBuilding = true;
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
homepage = "https://jonas.github.io/tig/";
description = "Text-mode interface for git";
maintainers = with maintainers; [ bjornfor domenkozar qknight globin ];
license = licenses.gpl2;
license = licenses.gpl2Plus;
platforms = platforms.unix;
};
}

View File

@ -47,9 +47,8 @@ stdenv.mkDerivation rec {
gtkModule = "/lib/gtk-2.0/";
};
meta = {
meta = with lib; {
description = "An implementation of the XDG Sound Theme and Name Specifications";
longDescription = ''
libcanberra is an implementation of the XDG Sound Theme and Name
Specifications, for generating event sounds on free desktops
@ -57,12 +56,12 @@ stdenv.mkDerivation rec {
PulseAudio, OSS, GStreamer, null) and is designed to be
portable.
'';
homepage = "http://0pointer.de/lennart/projects/libcanberra/";
license = lib.licenses.lgpl2Plus;
license = licenses.lgpl2Plus;
maintainers = [ ];
platforms = lib.platforms.unix;
platforms = platforms.unix;
# canberra-gtk-module.c:28:10: fatal error: 'gdk/gdkx.h' file not found
# #include <gdk/gdkx.h>
broken = stdenv.isDarwin;
};
}

View File

@ -26,6 +26,9 @@ buildPythonPackage rec {
export SETUPTOOLS_SCM_PRETEND_VERSION="${realVersion}"
'';
# no tests
doCheck = false;
meta = with lib; {
description = "Board and connector definitions for nMigen";
homepage = "https://github.com/nmigen/nmigen-boards";

View File

@ -35,6 +35,9 @@ buildPythonPackage {
--replace "ctypes.util.find_library('exempi')" "'${exempi}/lib/libexempi${stdenv.hostPlatform.extensions.sharedLibrary}'"
'';
# hangs on darwin + sandbox
doCheck = !stdenv.isDarwin;
meta = with lib; {
homepage = "https://github.com/python-xmp-toolkit/python-xmp-toolkit";
description = "Python XMP Toolkit for working with metadata";

View File

@ -15,10 +15,12 @@ buildPythonPackage rec {
propagatedBuildInputs = [ six ];
# no tests
doCheck = false;
meta = with lib; {
description = "Python implementation of the Transmission bittorent client RPC protocol";
homepage = "https://pypi.python.org/pypi/transmissionrpc/";
license = licenses.mit;
};
}

View File

@ -3,16 +3,11 @@
, buildPythonPackage
, fetchPypi
, substituteAll
, pkgs
, argcomplete
, pyyaml
, xmltodict
# Test inputs
, coverage
, flake8
, jq
, pytest
, toml
, pytestCheckHook
}:
buildPythonPackage rec {
@ -27,12 +22,13 @@ buildPythonPackage rec {
patches = [
(substituteAll {
src = ./jq-path.patch;
jq = "${lib.getBin pkgs.jq}/bin/jq";
jq = "${lib.getBin jq}/bin/jq";
})
];
postPatch = ''
substituteInPlace test/test.py --replace "expect_exit_codes={0} if sys.stdin.isatty() else {2}" "expect_exit_codes={0}"
substituteInPlace test/test.py \
--replace "expect_exit_codes={0} if sys.stdin.isatty() else {2}" "expect_exit_codes={0}"
'';
propagatedBuildInputs = [
@ -41,16 +37,11 @@ buildPythonPackage rec {
argcomplete
];
doCheck = true;
checkInputs = [
pytest
coverage
flake8
toml
pytestCheckHook
];
checkPhase = "pytest ./test/test.py";
pytestFlagsArray = [ "test/test.py" ];
pythonImportsCheck = [ "yq" ];
@ -59,7 +50,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Command-line YAML processor - jq wrapper for YAML documents";
homepage = "https://github.com/kislyuk/yq";
license = [ licenses.asl20 ];
maintainers = [ maintainers.womfoo ];
license = licenses.asl20;
maintainers = with maintainers; [ womfoo SuperSandro2000 ];
};
}

View File

@ -1,20 +1,25 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, fetchpatch }:
buildGoPackage rec {
buildGoModule rec {
pname = "gron";
version = "0.6.1";
owner = "tomnomnom";
repo = "gron";
goPackagePath = "github.com/${owner}/${repo}";
src = fetchFromGitHub {
inherit owner repo;
owner = "tomnomnom";
repo = "gron";
rev = "v${version}";
sha256 = "0qmzawkhg0qn9kxxrssbdjni2khvamhrcklv3yxc0ljmh77mh61m";
};
goDeps = ./deps.nix;
patches = [
(fetchpatch {
name = "fix-inconsistent-vendoring.patch";
url = "https://github.com/tomnomnom/gron/pull/85/commits/d549a6cb68ed0e0ec7cc81d8275353acfe218725.patch";
sha256 = "1461v4f7w6q75l3988br0g1ynfhzsh34z38pd2w8fp57vrgkcfi5";
})
];
vendorSha256 = "0va88c3rjlc2nbpqx4ila36rwrx57wcdhig4jp9q58vv4zqc2yxy";
meta = with lib; {
description = "Make JSON greppable!";
@ -26,7 +31,7 @@ buildGoPackage rec {
'';
homepage = "https://github.com/tomnomnom/gron";
license = licenses.mit;
maintainers = [ maintainers.fgaz ];
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ fgaz SuperSandro2000 ];
platforms = platforms.unix;
};
}

View File

@ -1,57 +0,0 @@
[
rec {
owner = "fatih";
repo = "color";
goPackagePath = "github.com/${owner}/${repo}";
fetch = {
type = "git";
url = "https://github.com/${owner}/${repo}";
rev = "v1.7.0";
sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
};
}
rec {
owner = "nwidger";
repo = "jsoncolor";
goPackagePath = "github.com/${owner}/${repo}";
fetch = {
type = "git";
url = "https://github.com/${owner}/${repo}";
rev = "75a6de4340e59be95f0884b9cebdda246e0fdf40";
sha256 = "0aiv42xijrqgrxfx6pfyrndpwqv8i1qwsk190jdczyjxlnki2nki";
};
}
rec {
owner = "pkg";
repo = "errors";
goPackagePath = "github.com/${owner}/${repo}";
fetch = {
type = "git";
url = "https://github.com/${owner}/${repo}";
rev = "v0.8.0";
sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
};
}
rec {
owner = "mattn";
repo = "go-colorable";
goPackagePath = "github.com/${owner}/${repo}";
fetch = {
type = "git";
url = "https://github.com/${owner}/${repo}";
rev = "v0.0.9";
sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
};
}
rec {
owner = "mattn";
repo = "go-isatty";
goPackagePath = "github.com/${owner}/${repo}";
fetch = {
type = "git";
url = "https://github.com/${owner}/${repo}";
rev = "v0.0.4";
sha256 = "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w";
};
}
]

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
rustPlatform.buildRustPackage rec {
pname = "tokei";
@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-iUDc54E8AiLMJw9h99kg/3VmaSi8GqfQyrPwa9nJ994=";
buildInputs = lib.optionals stdenv.isDarwin [
libiconv darwin.apple_sdk.frameworks.Security
libiconv Security
];
# enable all output formats

View File

@ -1,21 +1,22 @@
{ lib, buildGoPackage, fetchgit }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "pup";
version = "0.4.0";
rev = "v${version}";
version = "unstable-2019-09-19";
goPackagePath = "github.com/ericchiang/pup";
src = fetchgit {
inherit rev;
url = "https://${goPackagePath}";
sha256 = "0mnhw0yph5fvcnrcmj1kfbyw1a4lcg3k9f6y28kf44ihlq8h1dfz";
src = fetchFromGitHub {
owner = "ericchiang";
repo = "pup";
rev = "681d7bb639334bf485476f5872c5bdab10931f9a";
sha256 = "1hx1k0qlc1bq6gg5d4yprn4d7kvqzagg6mi5mvb39zdq6c4y17vr";
};
vendorSha256 = null;
meta = with lib; {
description = "Streaming HTML processor/selector";
description = "Parsing HTML at the command line";
homepage = "https://github.com/ericchiang/pup";
license = licenses.mit;
maintainers = with maintainers; [ yegortimoshenko ];
maintainers = with maintainers; [ yegortimoshenko SuperSandro2000 ];
};
}

View File

@ -13,7 +13,7 @@ buildGoModule rec {
vendorSha256 = "1arllkiz1hk12hq5b2zpg3f8i9lxl66mil5sdv8gnhflmb37vbv3";
buildFlagsArray = [ "-ldflags=-X main.GitSha=${src.rev}" ];
buildFlagsArray = [ "-ldflags=-s -w -X main.GitSha=${src.rev}" ];
doCheck = false;

View File

@ -13,7 +13,7 @@ buildGoModule rec {
vendorSha256 = "0icxy6wbqjqawr6i5skwp1z37fq303p8f95crd8lwn6pjjiqzk4i";
buildFlagsArray = [ "-ldflags=" "-s -w -X=main.Version=${version}" ];
buildFlagsArray = [ "-ldflags=-s -w -X=main.Version=${version}" ];
meta = with lib; {
homepage = "https://github.com/muesli/duf/";

View File

@ -8,11 +8,11 @@ rustPlatform.buildRustPackage rec {
owner = "bootandy";
repo = "dust";
rev = "v${version}";
sha256 = "sha256-JwGa1icwV1yqxy90Psd9bzM7VzM7HPA6kONkI3Y745Q=";
sha256 = "1knl7kwngmq598bnlvlq9x8sqp914sv1abfm55kw9f7mja2d6pw0";
# Remove unicode file names which leads to different checksums on HFS+
# vs. other filesystems because of unicode normalisation.
extraPostFetch = ''
rm -rf $out/src/test_dir3/
rm -r $out/tests/test_dir_unicode/
'';
};
@ -24,6 +24,6 @@ rustPlatform.buildRustPackage rec {
description = "du + rust = dust. Like du but more intuitive";
homepage = "https://github.com/bootandy/dust";
license = licenses.asl20;
maintainers = [ maintainers.infinisil ];
maintainers = with maintainers; [ infinisil SuperSandro2000 ];
};
}

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform, cmake, perl, pkg-config, zlib
, darwin, libiconv, installShellFiles
, Security, libiconv, installShellFiles
}:
with rustPlatform;
@ -28,9 +28,7 @@ buildRustPackage rec {
nativeBuildInputs = [ cmake pkg-config perl installShellFiles ];
buildInputs = [ zlib ]
++ lib.optionals stdenv.isDarwin [
libiconv darwin.apple_sdk.frameworks.Security ]
;
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
outputs = [ "out" "man" ];

View File

@ -1,8 +1,8 @@
{ lib, stdenv, fetchurl, tcl, makeWrapper, autoreconfHook }:
stdenv.mkDerivation rec {
version = "5.45.4";
pname = "expect";
version = "5.45.4";
src = fetchurl {
url = "mirror://sourceforge/expect/Expect/${version}/expect${version}.tar.gz";
@ -36,7 +36,8 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A tool for automating interactive applications";
homepage = "http://expect.sourceforge.net/";
license = "Expect";
license = licenses.publicDomain;
platforms = platforms.unix;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -2,7 +2,7 @@
, fetchFromGitHub
, fetchpatch
, rustPlatform
, darwin
, Security
, libiconv
}:
@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1viph7ki6f2akc5mpbgycacndmxnv088ybfji2bfdbi5jnpyavvs";
};
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
doInstallCheck = true;
installCheckPhase = ''

View File

@ -14,8 +14,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-TqWe4eARQmmWcwnvb6BIZrzGeKMpiIObPv0cW1JvWj4=";
buildInputs = with stdenv;
lib.optionals isDarwin [ CoreFoundation libiconv libresolv Security ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation libiconv libresolv Security ];
meta = with lib; {
description = "Git repository summary on your terminal";

View File

@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "Upgrade all the things";
homepage = "https://github.com/r-darwish/topgrade";
license = licenses.gpl3;
maintainers = with maintainers; [ Br1ght0ne hugoreeves ];
license = licenses.gpl3Only;
maintainers = with maintainers; [ Br1ght0ne hugoreeves SuperSandro2000 ];
};
}

View File

@ -4,7 +4,6 @@
, rustPlatform
, withFzf ? true
, fzf
# checkInputs
, fish
, powershell
@ -13,12 +12,10 @@
, xonsh
, zsh
}:
let
version = "0.5.0";
in
rustPlatform.buildRustPackage {
rustPlatform.buildRustPackage rec {
pname = "zoxide";
inherit version;
version = "0.5.0";
src = fetchFromGitHub {
owner = "ajeetdsouza";
@ -55,6 +52,6 @@ rustPlatform.buildRustPackage {
description = "A fast cd command that learns your habits";
homepage = "https://github.com/ajeetdsouza/zoxide";
license = with licenses; [ mit ];
maintainers = with maintainers; [ ysndr cole-h ];
maintainers = with maintainers; [ ysndr cole-h SuperSandro2000 ];
};
}

View File

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, fetchpatch, zlib, protobuf, ncurses, pkg-config
, makeWrapper, perlPackages, openssl, autoreconfHook, openssh, bash-completion
, libutempter ? null, withUtempter ? stdenv.isLinux }:
, withUtempter ? stdenv.isLinux, libutempter }:
stdenv.mkDerivation rec {
pname = "mosh";
@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
CXXFLAGS = lib.optionalString stdenv.cc.isClang "-std=c++11";
meta = {
meta = with lib; {
homepage = "https://mosh.org/";
description = "Mobile shell (ssh replacement)";
longDescription = ''
@ -56,8 +56,8 @@ stdenv.mkDerivation rec {
Mosh is a replacement for SSH. It's more robust and responsive,
especially over Wi-Fi, cellular, and long-distance links.
'';
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [viric];
platforms = lib.platforms.unix;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ viric ];
platforms = platforms.unix;
};
}

View File

@ -1,17 +1,15 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkg-config
, libcap, ncurses
, withGtk ? false, gtk3 ? null }:
assert withGtk -> gtk3 != null;
, withGtk ? false, gtk3 }:
stdenv.mkDerivation rec {
pname = "mtr${lib.optionalString withGtk "-gui"}";
version = "0.94";
src = fetchFromGitHub {
owner = "traviscross";
repo = "mtr";
rev = "v${version}";
owner = "traviscross";
repo = "mtr";
rev = "v${version}";
sha256 = "0wnz87cr2lcl74bj8qxq9xgai40az3pk9k0z893scyc8svd61xz6";
};
@ -38,9 +36,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "A network diagnostics tool";
homepage = "https://www.bitwizard.nl/mtr/";
license = licenses.gpl2;
homepage = "https://www.bitwizard.nl/mtr/";
license = licenses.gpl2;
maintainers = with maintainers; [ koral orivej raskin globin ];
platforms = platforms.unix;
platforms = platforms.unix;
};
}

View File

@ -1,26 +1,36 @@
{ lib, stdenv, fetchurl, perl /*, xmlto */}:
{ lib, stdenv, fetchFromGitHub, docbook_xml_dtd_412, docbook_xsl, perl, w3m, xmlto }:
stdenv.mkDerivation rec {
name = "colordiff-1.0.19";
pname = "colordiff";
version = "1.0.19";
src = fetchurl {
urls = [
"https://www.colordiff.org/${name}.tar.gz"
"http://www.colordiff.org/archive/${name}.tar.gz"
];
sha256 = "069vzzgs7b44bmfh3ks2psrdb26s1w19gp9w4xxbgi7nhx6w3s26";
src = fetchFromGitHub {
owner = "daveewart";
repo = "colordiff";
rev = "v${version}";
sha256 = "1v7s1yn0qvn08iwm5js8mxn442392qyr7s9ij506byfd497ag7qk";
};
buildInputs = [ perl /* xmlto */ ];
nativeBuildInputs = [ docbook_xml_dtd_412 docbook_xsl perl w3m xmlto ];
dontBuild = 1; # do not build doc yet.
buildInputs = [ perl ];
installPhase = ''make INSTALL_DIR=/bin MAN_DIR=/share/man/man1 DESTDIR="$out" install'';
postPatch = ''
substituteInPlace Makefile \
--replace 'TMPDIR=colordiff-''${VERSION}' ""
'';
installFlags = [
"INSTALL_DIR=/bin"
"MAN_DIR=/share/man/man1"
"DESTDIR=${placeholder "out"}"
];
meta = with lib; {
description = "Wrapper for 'diff' that produces the same output but with pretty 'syntax' highlighting";
homepage = "https://www.colordiff.org/";
license = licenses.gpl3;
platforms = platforms.linux ++ platforms.darwin;
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -1,14 +1,11 @@
{ lib, stdenv, fetchurl, boost }:
let
name = "source-highlight";
stdenv.mkDerivation rec {
pname = "source-highlight";
version = "3.1.9";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://gnu/src-highlite/${name}-${version}.tar.gz";
url = "mirror://gnu/src-highlite/${pname}-${version}.tar.gz";
sha256 = "148w47k3zswbxvhg83z38ifi85f9dqcpg7icvvw1cm6bg21x4zrs";
};
@ -26,15 +23,15 @@ stdenv.mkDerivation {
enableParallelBuilding = false;
meta = {
meta = with lib; {
description = "Source code renderer with syntax highlighting";
longDescription = ''
GNU Source-highlight, given a source file, produces a document
with syntax highlighting.
'';
homepage = "https://www.gnu.org/software/src-highlite/";
license = lib.licenses.gpl3Plus;
platforms = with lib.platforms; linux ++ darwin;
longDescription =
''
GNU Source-highlight, given a source file, produces a document
with syntax highlighting.
'';
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}

View File

@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl, texinfo, which }:
stdenv.mkDerivation rec {
name = "wdiff-1.2.2";
pname = "wdiff";
version = "1.2.2";
src = fetchurl {
url = "mirror://gnu/wdiff/${name}.tar.gz";
url = "mirror://gnu/wdiff/${pname}-${version}.tar.gz";
sha256 = "0sxgg0ms5lhi4aqqvz1rj4s77yi9wymfm3l3gbjfd1qchy66kzrl";
};
@ -12,11 +13,11 @@ stdenv.mkDerivation rec {
checkInputs = [ which ];
meta = {
meta = with lib; {
homepage = "https://www.gnu.org/software/wdiff/";
description = "Comparing files on a word by word basis";
license = lib.licenses.gpl3Plus;
maintainers = [ lib.maintainers.eelco ];
platforms = lib.platforms.unix;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ eelco SuperSandro2000 ];
platforms = platforms.unix;
};
}

View File

@ -1333,7 +1333,9 @@ in
gremlin-console = callPackage ../applications/misc/gremlin-console { };
grex = callPackage ../tools/misc/grex { };
grex = callPackage ../tools/misc/grex {
inherit (darwin.apple_sdk.frameworks) Security;
};
gcsfuse = callPackage ../tools/filesystems/gcsfuse { };
@ -3992,7 +3994,9 @@ in
eva = callPackage ../tools/misc/eva { };
exa = callPackage ../tools/misc/exa { };
exa = callPackage ../tools/misc/exa {
inherit (darwin.apple_sdk.frameworks) Security;
};
exempi = callPackage ../development/libraries/exempi {
stdenv = if stdenv.isi686 then gcc6Stdenv else stdenv;
@ -8379,7 +8383,9 @@ in
toilet = callPackage ../tools/misc/toilet { };
tokei = callPackage ../development/tools/misc/tokei { };
tokei = callPackage ../development/tools/misc/tokei {
inherit (darwin.apple_sdk.frameworks) Security;
};
toml2nix = (callPackage ../tools/toml2nix { }).toml2nix { };

View File

@ -8489,7 +8489,9 @@ in {
yowsup = callPackage ../development/python-modules/yowsup { };
yq = callPackage ../development/python-modules/yq { };
yq = callPackage ../development/python-modules/yq {
inherit (pkgs) jq;
};
yt = callPackage ../development/python-modules/yt { };