Merge staging-next into staging

This commit is contained in:
zowoq 2021-01-18 13:03:13 +10:00
commit d93966200c
270 changed files with 1545 additions and 952 deletions

View file

@ -970,6 +970,12 @@
email = "sivaraman.balaji@gmail.com"; email = "sivaraman.balaji@gmail.com";
name = "Balaji Sivaraman"; name = "Balaji Sivaraman";
}; };
baloo = {
email = "nixpkgs@superbaloo.net";
github = "baloo";
githubId = 59060;
name = "Arthur Gautier";
};
balsoft = { balsoft = {
email = "balsoft75@gmail.com"; email = "balsoft75@gmail.com";
github = "balsoft"; github = "balsoft";
@ -2031,6 +2037,12 @@
githubId = 23366017; githubId = 23366017;
name = "Dan Haraj"; name = "Dan Haraj";
}; };
danielbarter = {
email = "danielbarter@gmail.com";
github = "danielbarter";
githubId = 8081722;
name = "Daniel Barter";
};
danieldk = { danieldk = {
email = "me@danieldk.eu"; email = "me@danieldk.eu";
github = "danieldk"; github = "danieldk";
@ -5614,6 +5626,12 @@
fingerprint = "B573 5118 0375 A872 FBBF 7770 B629 036B E399 EEE9"; fingerprint = "B573 5118 0375 A872 FBBF 7770 B629 036B E399 EEE9";
}]; }];
}; };
mausch = {
email = "mauricioscheffer@gmail.com";
github = "mausch";
githubId = 95194;
name = "Mauricio Scheffer";
};
matejc = { matejc = {
email = "cotman.matej@gmail.com"; email = "cotman.matej@gmail.com";
github = "matejc"; github = "matejc";

View file

@ -1,8 +1,9 @@
{ lib, stdenv { lib, stdenv
, fetchurl , fetchurl
, pkgconfig , pkg-config
, autoreconfHook , autoreconfHook
, db48 , db48
, sqlite
, boost , boost
, zeromq , zeromq
, hexdump , hexdump
@ -16,11 +17,12 @@
, qrencode , qrencode
, libevent , libevent
, withGui , withGui
, withWallet ? true
}: }:
with lib; with lib;
let let
version = "0.20.1"; version = "0.21.0";
majorMinorVersion = versions.majorMinor version; majorMinorVersion = versions.majorMinor version;
desktop = fetchurl { desktop = fetchurl {
url = "https://raw.githubusercontent.com/bitcoin-core/packaging/${majorMinorVersion}/debian/bitcoin-qt.desktop"; url = "https://raw.githubusercontent.com/bitcoin-core/packaging/${majorMinorVersion}/debian/bitcoin-qt.desktop";
@ -36,15 +38,16 @@ stdenv.mkDerivation rec {
"https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
"https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz" "https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
]; ];
sha256 = "4bbd62fd6acfa5e9864ebf37a24a04bc2dcfe3e3222f056056288d854c53b978"; sha256 = "1a91202c62ee49fb64d57a52b8d6d01cd392fffcbef257b573800f9289655f37";
}; };
nativeBuildInputs = nativeBuildInputs =
[ pkgconfig autoreconfHook ] [ pkg-config autoreconfHook ]
++ optional stdenv.isDarwin hexdump ++ optional stdenv.isDarwin hexdump
++ optional withGui wrapQtAppsHook; ++ optional withGui wrapQtAppsHook;
buildInputs = [ db48 boost zlib zeromq miniupnpc libevent ] buildInputs = [ boost zlib zeromq miniupnpc libevent ]
++ optionals stdenv.isLinux [ util-linux ] ++ optionals stdenv.isLinux [ util-linux ]
++ optionals withWallet [ db48 sqlite ]
++ optionals withGui [ qtbase qttools qrencode ]; ++ optionals withGui [ qtbase qttools qrencode ];
postInstall = optional withGui '' postInstall = optional withGui ''
@ -58,8 +61,9 @@ stdenv.mkDerivation rec {
] ++ optionals (!doCheck) [ ] ++ optionals (!doCheck) [
"--disable-tests" "--disable-tests"
"--disable-gui-tests" "--disable-gui-tests"
] ] ++ optionals (!withWallet) [
++ optionals withGui [ "--disable-wallet"
] ++ optionals withGui [
"--with-gui=qt5" "--with-gui=qt5"
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
]; ];
@ -87,7 +91,7 @@ stdenv.mkDerivation rec {
homepage = "https://bitcoin.org/"; homepage = "https://bitcoin.org/";
downloadPage = "https://bitcoincore.org/bin/bitcoin-core-${version}/"; downloadPage = "https://bitcoincore.org/bin/bitcoin-core-${version}/";
changelog = "https://bitcoincore.org/en/releases/${version}/"; changelog = "https://bitcoincore.org/en/releases/${version}/";
maintainers = with maintainers; [ roconnor ]; maintainers = with maintainers; [ prusnak roconnor ];
license = licenses.mit; license = licenses.mit;
platforms = platforms.unix; platforms = platforms.unix;
}; };

View file

@ -4,13 +4,13 @@
mkDerivation rec { mkDerivation rec {
pname = "albert"; pname = "albert";
version = "0.16.1"; version = "0.17.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "albertlauncher"; owner = "albertlauncher";
repo = "albert"; repo = "albert";
rev = "v${version}"; rev = "v${version}";
sha256 = "04sr35fqz66i24lv7r2p9qfqxs55i8xpj7aam0v9yakcr33lf55a"; sha256 = "0lpp8rqx5b6rwdpcdldfdlw5327harr378wnfbc6rp3ajmlb4p7w";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -30,12 +30,12 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
pname = "obsidian"; pname = "obsidian";
version = "0.10.6"; version = "0.10.7";
src = fetchurl { src = fetchurl {
url = url =
"https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.asar.gz"; "https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.asar.gz";
sha256 = "KfGVc3nXu5ilYKQPLc5qaksTwsdhSVtty9CfjSoiCU8="; sha256 = "clRasHVk9tZYJd0wP0q5TKnjhJwlx5g62XbkjBmCTJI=";
}; };
nativeBuildInputs = [ makeWrapper graphicsmagick ]; nativeBuildInputs = [ makeWrapper graphicsmagick ];

View file

@ -5,11 +5,11 @@ let
in in
buildPythonApplication rec { buildPythonApplication rec {
pname = "fava"; pname = "fava";
version = "1.17"; version = "1.18";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "efad3a4b5697b9d7ee29eff5dc0c8367fc1df37b1abacc8d0b2071602e94a6cd"; sha256 = "21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5";
}; };
checkInputs = [ python3.pkgs.pytest ]; checkInputs = [ python3.pkgs.pytest ];

View file

@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
}) })
]; ];
meta = { meta = with lib; {
description = "Molecule editor and visualizer"; description = "Molecule editor and visualizer";
maintainers = [ ]; maintainers = with maintainers; [ danielbarter ];
platforms = lib.platforms.mesaPlatforms; platforms = platforms.mesaPlatforms;
}; };
} }

View file

@ -0,0 +1,42 @@
{ stdenv, lib, fetchFromGitHub, flex, bison, qt4, libX11, cmake, gperf, adms,
ngspice, wrapGAppsHook,
kernels ? [ ngspice ] }:
stdenv.mkDerivation rec {
pname = "qucs-s";
version = "0.0.22";
src = fetchFromGitHub {
owner = "ra3xdh";
repo = "qucs_s";
rev = version;
sha256 = "0rrq2ddridc09m6fixdmbngn42xmv8cmdf6r8zzn2s98fqib5qd6";
};
nativeBuildInputs = [ wrapGAppsHook cmake ];
buildInputs = [ flex bison qt4 libX11 gperf adms ] ++ kernels;
preConfigure = ''
# Make custom kernels avaible from qucs-s
gappsWrapperArgs+=(--prefix PATH ":" ${lib.makeBinPath kernels})
'';
QTDIR=qt4;
doInstallCheck = true;
installCheck = ''
$out/bin/qucs-s --version
'';
meta = with lib; {
description = "Spin-off of Qucs that allows custom simulation kernels";
longDescription = ''
Spin-off of Qucs that allows custom simulation kernels.
Default version is installed with ngspice.
'';
homepage = "https://ra3xdh.github.io/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ mazurel ];
platforms = with platforms; linux;
};
}

View file

@ -0,0 +1,28 @@
{ lib, stdenv, fetchFromGitHub, boost165 }:
stdenv.mkDerivation rec {
pname = "starspace";
version = "unstable-2021-01-17";
src = fetchFromGitHub {
owner = "facebookresearch";
repo = pname;
rev = "8aee0a950aa607c023e5c91cff518bec335b5df5";
sha256 = "0sc7a37z1skb9377a1qs8ggwrkz0nmpybx7sms38xj05b702kbvj";
};
buildInputs = [ boost165 ];
installPhase = ''
mkdir -p $out/bin
mv starspace $out/bin
'';
meta = with lib; {
description = "General-purpose neural model for efficient learning of entity embeddings";
homepage = https://ai.facebook.com/tools/starspace/;
license = licenses.mit;
platforms = platforms.unix;
maintainers = [ maintainers.mausch ];
};
}

View file

@ -1,19 +1,23 @@
{ fetchFromGitHub, python2Packages, lib, stdenv, git, graphviz }: { fetchFromGitHub, python3Packages, lib, stdenv, git, graphviz }:
python2Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "git-big-picture"; pname = "git-big-picture";
version = "0.10.1"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "esc"; owner = "git-big-picture";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0b0zdq7d7k7f6p3wwc799347fraphbr20rxd1ysnc4xi1cj4wpmi"; sha256 = "14yf71iwgk78nw8w0bpijsnnl4vg3bvxsw3vvypxmbrc1nh0bdha";
}; };
buildInputs = [ git graphviz ]; buildInputs = [ git graphviz ];
checkInputs = [ git ]; # NOTE: Tests are disabled due to unpackaged test dependency "Scruf".
# When bumping to 1.1.0, please re-enable and use:
#checkInputs = [ cram git pytest ];
#checkPhase = "pytest test.py";
doCheck = false;
postFixup = '' postFixup = ''
wrapProgram $out/bin/git-big-picture \ wrapProgram $out/bin/git-big-picture \
@ -22,8 +26,8 @@ python2Packages.buildPythonApplication rec {
meta = { meta = {
description = "Tool for visualization of Git repositories"; description = "Tool for visualization of Git repositories";
homepage = "https://github.com/esc/git-big-picture"; homepage = "https://github.com/git-big-picture/git-big-picture";
license = lib.licenses.gpl3; license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.nthorne ]; maintainers = [ lib.maintainers.nthorne ];
}; };

View file

@ -19,6 +19,7 @@
, cephSupport ? false, ceph , cephSupport ? false, ceph
, openGLSupport ? sdlSupport, mesa, epoxy, libdrm , openGLSupport ? sdlSupport, mesa, epoxy, libdrm
, virglSupport ? openGLSupport, virglrenderer , virglSupport ? openGLSupport, virglrenderer
, libiscsiSupport ? true, libiscsi
, smbdSupport ? false, samba , smbdSupport ? false, samba
, tpmSupport ? true , tpmSupport ? true
, hostCpuOnly ? false , hostCpuOnly ? false
@ -72,6 +73,7 @@ stdenv.mkDerivation rec {
++ optionals cephSupport [ ceph ] ++ optionals cephSupport [ ceph ]
++ optionals openGLSupport [ mesa epoxy libdrm ] ++ optionals openGLSupport [ mesa epoxy libdrm ]
++ optionals virglSupport [ virglrenderer ] ++ optionals virglSupport [ virglrenderer ]
++ optionals libiscsiSupport [ libiscsi ]
++ optionals smbdSupport [ samba ]; ++ optionals smbdSupport [ samba ];
enableParallelBuilding = true; enableParallelBuilding = true;
@ -148,6 +150,7 @@ stdenv.mkDerivation rec {
++ optional openGLSupport "--enable-opengl" ++ optional openGLSupport "--enable-opengl"
++ optional virglSupport "--enable-virglrenderer" ++ optional virglSupport "--enable-virglrenderer"
++ optional tpmSupport "--enable-tpm" ++ optional tpmSupport "--enable-tpm"
++ optional libiscsiSupport "--enable-libiscsi"
++ optional smbdSupport "--smbd=${samba}/bin/smbd"; ++ optional smbdSupport "--smbd=${samba}/bin/smbd";
doCheck = false; # tries to access /dev doCheck = false; # tries to access /dev

View file

@ -0,0 +1,31 @@
{ stdenv
, lib
, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "noannoyance";
version = "unstable-2021-01-17";
src = fetchFromGitHub {
owner = "BjoernDaase";
repo = "noannoyance";
rev = "f6e76916336aee2f7c4141796f3c40c870d2b347";
sha256 = "1iy3nif8rjjcwf83fg9ds93fi7vmhliynmlwqnx036s3msmxvgs3";
};
uuid = "noannoyance@daase.net";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/gnome-shell/extensions/${uuid}
cp metadata.json extension.js $out/share/gnome-shell/extensions/${uuid}
'';
meta = with lib; {
description = "Removes the 'Window is ready' notification and puts the window into focus";
homepage = "https://github.com/BjoernDaase/noannoyance";
license = licenses.gpl2Only;
maintainers = with maintainers; [ tu-maurice ];
};
}

View file

@ -2,7 +2,7 @@
let let
runtimePath = stdenv.lib.makeBinPath [ runtimePath = lib.makeBinPath [
arduino-cli arduino-cli
python3 # required by the esp8266 core python3 # required by the esp8266 core
]; ];

View file

@ -21,7 +21,7 @@ let
buildFlagsArray = [ buildFlagsArray = [
"-ldflags=-s -w -X github.com/arduino/arduino-cli/version.versionString=${version} -X github.com/arduino/arduino-cli/version.commit=unknown" "-ldflags=-s -w -X github.com/arduino/arduino-cli/version.versionString=${version} -X github.com/arduino/arduino-cli/version.commit=unknown"
] ++ stdenv.lib.optionals stdenv.isLinux [ "-extldflags '-static'" ]; ] ++ lib.optionals stdenv.isLinux [ "-extldflags '-static'" ];
meta = with lib; { meta = with lib; {
inherit (src.meta) homepage; inherit (src.meta) homepage;

View file

@ -47,7 +47,7 @@ let
; ;
# abiVersion 6 is default, but we need 5 for `avrdude_bin` executable # abiVersion 6 is default, but we need 5 for `avrdude_bin` executable
ncurses5 = ncurses.override { abiVersion = "5"; }; ncurses5 = ncurses.override { abiVersion = "5"; };
teensy_libpath = stdenv.lib.makeLibraryPath [ teensy_libpath = lib.makeLibraryPath [
atk atk
cairo cairo
expat expat
@ -76,7 +76,7 @@ let
else throw "${stdenv.hostPlatform.system} is not supported in teensy"; else throw "${stdenv.hostPlatform.system} is not supported in teensy";
flavor = (if withTeensyduino then "teensyduino" else "arduino") flavor = (if withTeensyduino then "teensyduino" else "arduino")
+ stdenv.lib.optionalString (!withGui) "-core"; + lib.optionalString (!withGui) "-core";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.8.13"; version = "1.8.13";
@ -125,7 +125,7 @@ stdenv.mkDerivation rec {
zlib zlib
ncurses5 ncurses5
readline readline
] ++ stdenv.lib.optionals withTeensyduino [ upx ]; ] ++ lib.optionals withTeensyduino [ upx ];
downloadSrcList = builtins.attrValues externalDownloads; downloadSrcList = builtins.attrValues externalDownloads;
downloadDstList = builtins.attrNames externalDownloads; downloadDstList = builtins.attrNames externalDownloads;
@ -165,7 +165,7 @@ stdenv.mkDerivation rec {
cp -r ./build/linux/work/* "$out/share/arduino/" cp -r ./build/linux/work/* "$out/share/arduino/"
echo -n ${version} > $out/share/arduino/lib/version.txt echo -n ${version} > $out/share/arduino/lib/version.txt
${stdenv.lib.optionalString withGui '' ${lib.optionalString withGui ''
mkdir -p $out/bin mkdir -p $out/bin
substituteInPlace $out/share/arduino/arduino \ substituteInPlace $out/share/arduino/arduino \
--replace "JAVA=java" "JAVA=$javaPath/java" \ --replace "JAVA=java" "JAVA=$javaPath/java" \
@ -180,7 +180,7 @@ stdenv.mkDerivation rec {
--replace '<ICON_NAME>' "$out/share/arduino/icons/128x128/apps/arduino.png" --replace '<ICON_NAME>' "$out/share/arduino/icons/128x128/apps/arduino.png"
''} ''}
${stdenv.lib.optionalString withTeensyduino '' ${lib.optionalString withTeensyduino ''
# Back up the original jars # Back up the original jars
mv $out/share/arduino/lib/arduino-core.jar $out/share/arduino/lib/arduino-core.jar.bak mv $out/share/arduino/lib/arduino-core.jar $out/share/arduino/lib/arduino-core.jar.bak
mv $out/share/arduino/lib/pde.jar $out/share/arduino/lib/pde.jar.bak mv $out/share/arduino/lib/pde.jar $out/share/arduino/lib/pde.jar.bak
@ -235,7 +235,7 @@ stdenv.mkDerivation rec {
mkdir $out/lib/ mkdir $out/lib/
ln -s ${lib.makeLibraryPath [ ncurses5 ]}/libtinfo.so.5 $out/lib/libtinfo.so.5 ln -s ${lib.makeLibraryPath [ ncurses5 ]}/libtinfo.so.5 $out/lib/libtinfo.so.5
${stdenv.lib.optionalString withTeensyduino '' ${lib.optionalString withTeensyduino ''
# Patch the Teensy loader binary # Patch the Teensy loader binary
patchelf --debug \ patchelf --debug \
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3Packages, installShellFiles }: { stdenv, lib, fetchFromGitHub, python3Packages, installShellFiles }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.6.0"; version = "1.6.0";
@ -22,12 +22,11 @@ stdenv.mkDerivation rec {
wrapPythonPrograms wrapPythonPrograms
''; '';
meta = { meta = with lib; {
description = "Makefile for Arduino sketches"; description = "Makefile for Arduino sketches";
homepage = "https://github.com/sudar/Arduino-Makefile"; homepage = "https://github.com/sudar/Arduino-Makefile";
license = stdenv.lib.licenses.lgpl21; license = licenses.lgpl21;
maintainers = [ stdenv.lib.maintainers.eyjhb ]; maintainers = [ maintainers.eyjhb ];
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2Packages, picocom { stdenv, lib, fetchurl, python2Packages, picocom
, avrdude, arduino-core }: , avrdude, arduino-core }:
python2Packages.buildPythonApplication rec { python2Packages.buildPythonApplication rec {
@ -36,11 +36,11 @@ python2Packages.buildPythonApplication rec {
--replace "'-C', self.e['avrdude.conf']," "" --replace "'-C', self.e['avrdude.conf']," ""
''; '';
meta = { meta = with lib; {
description = "Command line toolkit for working with Arduino hardware"; description = "Command line toolkit for working with Arduino hardware";
homepage = "http://inotool.org/"; homepage = "http://inotool.org/";
license = stdenv.lib.licenses.mit; license = licenses.mit;
maintainers = with stdenv.lib.maintainers; [ antono ]; maintainers = with maintainers; [ antono ];
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, chez }: { stdenv, lib, fetchFromGitHub, chez }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "chez-matchable"; pname = "chez-matchable";
@ -23,11 +23,11 @@ stdenv.mkDerivation rec {
doCheck = false; doCheck = false;
meta = { meta = with lib; {
description = "This is a Library for ChezScheme providing the protable hygenic pattern matcher by Alex Shinn"; description = "This is a Library for ChezScheme providing the protable hygenic pattern matcher by Alex Shinn";
homepage = "https://github.com/fedeinthemix/chez-matchable/"; homepage = "https://github.com/fedeinthemix/chez-matchable/";
maintainers = [ stdenv.lib.maintainers.jitwit ]; maintainers = [ maintainers.jitwit ];
license = stdenv.lib.licenses.publicDomain; license = licenses.publicDomain;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, chez, chez-srfi }: { stdenv, lib, fetchgit, chez, chez-srfi }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "chez-mit"; pname = "chez-mit";
@ -22,11 +22,11 @@ stdenv.mkDerivation {
doCheck = false; doCheck = false;
meta = { meta = with lib; {
description = "This is a MIT/GNU Scheme compatibility library for Chez Scheme"; description = "This is a MIT/GNU Scheme compatibility library for Chez Scheme";
homepage = "https://github.com/fedeinthemix/chez-mit/"; homepage = "https://github.com/fedeinthemix/chez-mit/";
maintainers = [ stdenv.lib.maintainers.jitwit ]; maintainers = [ maintainers.jitwit ];
license = stdenv.lib.licenses.free; license = licenses.free;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, chez, chez-srfi, chez-mit }: { stdenv, lib, fetchgit, chez, chez-srfi, chez-mit }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "chez-scmutils"; pname = "chez-scmutils";
@ -22,11 +22,11 @@ stdenv.mkDerivation {
doCheck = false; doCheck = false;
meta = { meta = with lib; {
description = "This is a port of the MIT Scmutils library to Chez Scheme"; description = "This is a port of the MIT Scmutils library to Chez Scheme";
homepage = "https://github.com/fedeinthemix/chez-scmutils/"; homepage = "https://github.com/fedeinthemix/chez-scmutils/";
maintainers = [ stdenv.lib.maintainers.jitwit ]; maintainers = [ maintainers.jitwit ];
license = stdenv.lib.licenses.gpl3; license = licenses.gpl3;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, chez }: { stdenv, lib, fetchgit, chez }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "chez-srfi"; pname = "chez-srfi";
@ -22,11 +22,11 @@ stdenv.mkDerivation {
doCheck = false; doCheck = false;
meta = { meta = with lib; {
description = "This package provides a collection of SRFI libraries for Chez Scheme"; description = "This package provides a collection of SRFI libraries for Chez Scheme";
homepage = "https://github.com/fedeinthemix/chez-srfi/"; homepage = "https://github.com/fedeinthemix/chez-srfi/";
maintainers = [ stdenv.lib.maintainers.jitwit ]; maintainers = [ maintainers.jitwit ];
license = stdenv.lib.licenses.free; license = licenses.free;
}; };
} }

View file

@ -4,13 +4,13 @@
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "yosys-bluespec"; pname = "yosys-bluespec";
version = "2021.01.14"; version = "2021.01.17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "thoughtpolice"; owner = "thoughtpolice";
repo = "yosys-bluespec"; repo = "yosys-bluespec";
rev = "7a0c609e9b601560067c34b8ce41e89ea4a397d4"; rev = "3cfa22c2810b840f406610efe3d7657477c1b0ed";
sha256 = "0xj9j5dwvq0dwqzfjd4ikmxkd28amj6d9m6ava7pwcrpjhyjnd0c"; sha256 = "1r48128yisw5lpziaj3hq88acghwi94pvm4735xajx8dl79jkcng";
}; };
buildInputs = [ yosys readline zlib bluespec ]; buildInputs = [ yosys readline zlib bluespec ];

View file

@ -83,7 +83,7 @@ let
GO111MODULE = "off"; GO111MODULE = "off";
GOFLAGS = lib.optionals (!allowGoReference) [ "-trimpath" ]; GOFLAGS = lib.optionals (!allowGoReference) [ "-trimpath" ];
GOARM = toString (stdenv.lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]); GOARM = toString (lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]);
configurePhase = args.configurePhase or '' configurePhase = args.configurePhase or ''
runHook preConfigure runHook preConfigure

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
texinfo guile gwrap pkgconfig gconf glib gnome_vfs gtk2 texinfo guile gwrap pkgconfig gconf glib gnome_vfs gtk2
libglade libgnome libgnomecanvas libgnomeui pango guile-cairo libglade libgnome libgnomecanvas libgnomeui pango guile-cairo
] ++ stdenv.lib.optional doCheck guile-lib; ] ++ lib.optional doCheck guile-lib;
# The test suite tries to open an X display, which fails. # The test suite tries to open an X display, which fails.
doCheck = false; doCheck = false;

View file

@ -1,7 +1,6 @@
{ lib, stdenv, fetchurl, fetchpatch, pkgconfig { lib, stdenv, fetchurl, fetchpatch, pkgconfig
, gperf, guile, guile-lib, libffi }: , gperf, guile, guile-lib, libffi }:
with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "guile-reader"; pname = "guile-reader";

View file

@ -1,10 +1,10 @@
# Build a version of idris with a set of packages visible # Build a version of idris with a set of packages visible
# packages: The packages visible to idris # packages: The packages visible to idris
{ stdenv, idris, symlinkJoin, makeWrapper }: packages: { stdenv, lib, idris, symlinkJoin, makeWrapper }: packages:
let paths = stdenv.lib.closePropagation packages; let paths = lib.closePropagation packages;
in in
stdenv.lib.appendToName "with-packages" (symlinkJoin { lib.appendToName "with-packages" (symlinkJoin {
inherit (idris) name; inherit (idris) name;

View file

@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libiscsi";
version = "1.19.0";
src = fetchFromGitHub {
owner = "sahlberg";
repo = "libiscsi";
rev = version;
sha256 = "0ajrkkg5awmi8m4b3mha7h07ylg18k252qprvk1sgq0qbyd66zy7";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
description = "iscsi client library and utilities";
homepage = "https://github.com/sahlberg/libiscsi";
license = licenses.lgpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ misuzu ];
};
}

View file

@ -1,11 +1,10 @@
{ stdenv { stdenv
, fetchFromGitHub , fetchFromGitHub
, pkg-config , autoreconfHook
, automake
, autoconf
, libtool , libtool
, openssl , openssl
, expat , expat
, pkg-config
, check , check
}: }:
@ -17,16 +16,14 @@ stdenv.mkDerivation rec {
owner = "strophe"; owner = "strophe";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-6byg7hE0DN/cbf9NHpK/2DhXZyuelYAp+SA7vVUgo4U="; sha256 = "11d341avsfr0z4lq15cy5dkmff6qpy91wkgzdpfdy31l27pa1g79";
}; };
nativeBuildInputs = [ automake autoconf pkg-config libtool check ]; nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ openssl expat ]; buildInputs = [ openssl expat libtool check ];
dontDisableStatic = true; dontDisableStatic = true;
preConfigure = "mkdir m4 && sh bootstrap.sh";
doCheck = true; doCheck = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -37,8 +34,10 @@ stdenv.mkDerivation rec {
runs well on both Linux, Unix, and Windows based platforms. runs well on both Linux, Unix, and Windows based platforms.
''; '';
homepage = "https://strophe.im/libstrophe/"; homepage = "https://strophe.im/libstrophe/";
license = with licenses; [ gpl3 mit ]; license = with licenses; [ gpl3Only mit ];
platforms = platforms.unix; platforms = platforms.unix;
broken = stdenv.isDarwin;
maintainers = with maintainers; [ devhell flosse ]; maintainers = with maintainers; [ devhell flosse ];
}; };
} }

View file

@ -0,0 +1,31 @@
{stdenv, lib, fetchurl, fetchpatch, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkg-config }:
stdenv.mkDerivation rec {
pname = "openbabel";
version = "2.4.1";
src = fetchurl {
url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz";
sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r";
};
patches = [
# ARM / AArch64 fixes.
(fetchpatch {
url = "https://github.com/openbabel/openbabel/commit/ee11c98a655296550710db1207b294f00e168216.patch";
sha256 = "0wjqjrkr4pfirzzicdvlyr591vppydk572ix28jd2sagnfnf566g";
})
];
buildInputs = [ zlib libxml2 eigen python cairo pcre ];
nativeBuildInputs = [ cmake pkg-config ];
meta = with lib; {
description = "A toolbox designed to speak the many languages of chemical data";
homepage = "http://openbabel.org";
platforms = platforms.all;
maintainers = with maintainers; [ danielbarter ];
license = licenses.gpl2Plus;
};
}

View file

@ -1,34 +1,45 @@
{stdenv, fetchurl, fetchpatch, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkgconfig }: {stdenv, lib, fetchurl, cmake, zlib, libxml2, eigen, python, cairo, pcre, pkg-config, swig, rapidjson }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "openbabel"; pname = "openbabel";
version = "2.4.1"; version = "3.1.1";
src = fetchurl { src = fetchurl {
url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz"; url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz";
sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r"; sha256 = "c97023ac6300d26176c97d4ef39957f06e68848d64f1a04b0b284ccff2744f02";
}; };
patches = [
# ARM / AArch64 fixes. buildInputs = [ zlib libxml2 eigen python cairo pcre swig rapidjson ];
(fetchpatch {
url = "https://github.com/openbabel/openbabel/commit/ee11c98a655296550710db1207b294f00e168216.patch"; nativeBuildInputs = [ cmake pkg-config ];
sha256 = "0wjqjrkr4pfirzzicdvlyr591vppydk572ix28jd2sagnfnf566g";
}) pythonMajorMinor = "${python.sourceVersion.major}.${python.sourceVersion.minor}";
cmakeFlags = [
"-DRUN_SWIG=ON"
"-DPYTHON_BINDINGS=ON"
]; ];
# TODO : perl & python bindings;
# TODO : wxGTK: I have no time to compile
# TODO : separate lib and apps
buildInputs = [ zlib libxml2 eigen python cairo pcre ];
nativeBuildInputs = [ cmake pkgconfig ]; postFixup = ''
cat <<EOF > $out/lib/python$pythonMajorMinor/site-packages/setup.py
from distutils.core import setup
meta = { setup(
name = 'pyopenbabel',
version = '${version}',
packages = ['openbabel'],
package_data = {'openbabel' : ['_openbabel.so']}
)
EOF
'';
meta = with lib; {
description = "A toolbox designed to speak the many languages of chemical data"; description = "A toolbox designed to speak the many languages of chemical data";
homepage = "http://openbabel.org"; homepage = "http://openbabel.org";
platforms = stdenv.lib.platforms.all; platforms = platforms.all;
maintainers = [ ]; license = licenses.gpl2Plus;
license = stdenv.lib.licenses.gpl2Plus; maintainers = with maintainers; [ danielbarter ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildPerlPackage, shortenPerlShebang, LWP, LWPProtocolHttps, DataDump, JSON }: { stdenv, lib, fetchFromGitHub, buildPerlPackage, shortenPerlShebang, LWP, LWPProtocolHttps, DataDump, JSON }:
buildPerlPackage rec { buildPerlPackage rec {
pname = "WWW-YoutubeViewer"; pname = "WWW-YoutubeViewer";
@ -11,21 +11,21 @@ buildPerlPackage rec {
sha256 = "16p0sa91h0zpqdpqmy348g6b9qj5f6qrbzrljn157vk00cg6mx18"; sha256 = "16p0sa91h0zpqdpqmy348g6b9qj5f6qrbzrljn157vk00cg6mx18";
}; };
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang; nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
propagatedBuildInputs = [ propagatedBuildInputs = [
LWP LWP
LWPProtocolHttps LWPProtocolHttps
DataDump DataDump
JSON JSON
]; ];
postInstall = stdenv.lib.optionalString stdenv.isDarwin '' postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/youtube-viewer shortenPerlShebang $out/bin/youtube-viewer
''; '';
meta = { meta = with lib; {
description = "A lightweight application for searching and streaming videos from YouTube"; description = "A lightweight application for searching and streaming videos from YouTube";
homepage = "https://github.com/trizen/youtube-viewer"; homepage = "https://github.com/trizen/youtube-viewer";
maintainers = with stdenv.lib.maintainers; [ woffs ]; maintainers = with maintainers; [ woffs ];
license = with stdenv.lib.licenses; [ artistic2 ]; license = with licenses; [ artistic2 ];
}; };
} }

View file

@ -1,4 +1,4 @@
{buildPerlPackage, stdenv, fetchurl, DBDmysql}: {buildPerlPackage, lib, stdenv, fetchurl, DBDmysql}:
buildPerlPackage { buildPerlPackage {
pname = "maatkit"; pname = "maatkit";
@ -27,7 +27,7 @@ buildPerlPackage {
done done
'' ; '' ;
meta = { meta = with lib; {
description = "Database toolkit"; description = "Database toolkit";
longDescription = '' longDescription = ''
You can use Maatkit to prove replication is working correctly, fix You can use Maatkit to prove replication is working correctly, fix
@ -37,7 +37,7 @@ buildPerlPackage {
In addition to MySQL, there is support for PostgreSQL, Memcached, and a In addition to MySQL, there is support for PostgreSQL, Memcached, and a
growing variety of other databases and technologies. growing variety of other databases and technologies.
''; '';
license = stdenv.lib.licenses.gpl2Plus; license = licenses.gpl2Plus;
homepage = "http://www.maatkit.org/"; homepage = "http://www.maatkit.org/";
}; };
} }

View file

@ -17,7 +17,7 @@ buildPerlPackage rec {
# stray test failure # stray test failure
doCheck = false; doCheck = false;
nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ shortenPerlShebang ]; nativeBuildInputs = lib.optionals stdenv.isDarwin [ shortenPerlShebang ];
buildInputs = [ ArchiveZip ArchiveCpio file ]; buildInputs = [ ArchiveZip ArchiveCpio file ];
perlPostHook = '' perlPostHook = ''
@ -26,7 +26,7 @@ buildPerlPackage rec {
rm $out/share/man/man1/dh_strip_nondeterminism.1.gz rm $out/share/man/man1/dh_strip_nondeterminism.1.gz
''; '';
postInstall = stdenv.lib.optionalString stdenv.isDarwin '' postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/strip-nondeterminism shortenPerlShebang $out/bin/strip-nondeterminism
''; '';

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchPypi
, alarmdecoder
}:
buildPythonPackage rec {
pname = "adext";
version = "0.3";
src = fetchPypi {
inherit pname version;
sha256 = "184qxw6i5ixnhgkjnby4zwn4jg90mxb8xy9vbg80x5w331p4z50f";
};
postPatch = ''
substituteInPlace setup.py \
--replace "alarmdecoder==1.13.2" "alarmdecoder>=1.13.2"
'';
propagatedBuildInputs = [ alarmdecoder ];
# Tests are not published yet
doCheck = false;
pythonImportsCheck = [ "adext" ];
meta = with lib; {
description = "Python extension for AlarmDecoder";
homepage = "https://github.com/ajschmidt8/adext";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,26 @@
{ aiohttp, buildPythonPackage, fetchPypi, isPy3k, lib, python, requests }:
buildPythonPackage rec {
pname = "agent-py";
version = "0.0.23";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1hx88m8b8kfb2gm6hii5ldjv7hlvqf99cz0w2vj0d0grrxcbn5cz";
};
propagatedBuildInputs = [ requests aiohttp ];
checkPhase = ''
${python.interpreter} tests/test_agent.py
'';
meta = with lib; {
description = "A python wrapper around the Agent REST API.";
homepage = "https://github.com/ispysoftware/agent-py";
license = licenses.asl20;
maintainers = with maintainers; [ jamiemagee ];
};
}

View file

@ -1,4 +1,5 @@
{ buildPythonPackage { lib
, buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchPypi , fetchPypi
, isPy3k , isPy3k
@ -8,18 +9,17 @@
, pytestCheckHook , pytestCheckHook
, requests , requests
, responses , responses
, lib, stdenv
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-digitalocean"; pname = "python-digitalocean";
version = "1.15.0"; version = "1.16.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "koalalorenzo"; owner = "koalalorenzo";
repo = "python-digitalocean"; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1pz15mh72i992p63grwzqn2bbp6sm37zcp4f0fy1z7rsargwsbcz"; sha256 = "16fxlfpisj4rcj9dvlifs6bpx42a0sn9b07bnyzwrbhi6nfvkd2g";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -33,7 +33,7 @@ buildPythonPackage rec {
pytest pytest
pytestCheckHook pytestCheckHook
responses responses
] ++ stdenv.lib.optionals (!isPy3k) [ ] ++ lib.optionals (!isPy3k) [
mock mock
]; ];
@ -41,13 +41,12 @@ buildPythonPackage rec {
cd digitalocean cd digitalocean
''; '';
pythonImportsCheck = [ "digitalocean" ];
meta = with lib; { meta = with lib; {
description = "digitalocean.com API to manage Droplets and Images"; description = "Python API to manage Digital Ocean Droplets and Images";
homepage = "https://pypi.python.org/pypi/python-digitalocean"; homepage = "https://github.com/koalalorenzo/python-digitalocean";
license = licenses.lgpl3; license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ maintainers = with maintainers; [ kiwi teh ];
kiwi
teh
];
}; };
} }

View file

@ -0,0 +1,26 @@
{ lib
, fetchPypi
, buildPythonPackage
, setuptools_scm
}:
buildPythonPackage rec {
pname = "dotty_dict";
version = "1.3.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-6wA1o2KezYQ5emjx9C8elKvRw0V3oZzT6srTMe58uvA=";
};
nativeBuildInputs = [ setuptools_scm ];
doCheck = false;
meta = with lib; {
description = "Dictionary wrapper for quick access to deeply nested keys";
homepage = "https://dotty-dict.readthedocs.io";
license = licenses.mit;
maintainers = with maintainers; [ AndersonTorres ];
};
}

View file

@ -1,8 +1,7 @@
{ lib , buildPythonPackage, fetchFromGitHub, isPy27 { lib , buildPythonPackage, fetchFromGitHub, isPy27
, falcon , falcon
, pytestrunner
, requests , requests
, pytest , pytestCheckHook
, marshmallow , marshmallow
, mock , mock
, numpy , numpy
@ -20,19 +19,33 @@ buildPythonPackage rec {
sha256 = "05rsv16g7ph100p8kl4l2jba0y4wcpp3xblc02mfp67zp1279vaq"; sha256 = "05rsv16g7ph100p8kl4l2jba0y4wcpp3xblc02mfp67zp1279vaq";
}; };
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ falcon requests ]; propagatedBuildInputs = [ falcon requests ];
checkInputs = [ mock marshmallow pytest numpy ]; checkInputs = [ mock marshmallow pytestCheckHook numpy ];
checkPhase = ''
mv hug hug.hidden postPatch = ''
# some tests attempt network access substituteInPlace setup.py --replace '"pytest-runner"' ""
PATH=$out/bin:$PATH pytest -k "not (test_request or test_datagram_request)"
''; '';
preCheck = ''
# some tests need the `hug` CLI on the PATH
export PATH=$out/bin:$PATH
'';
disabledTests = [
# some tests attempt network access
"test_datagram_request"
"test_request"
# these tests use an unstable test dependency (https://github.com/hugapi/hug/issues/859)
"test_marshmallow_custom_context"
"test_marshmallow_schema"
"test_transform"
"test_validate_route_args_negative_case"
];
meta = with lib; { meta = with lib; {
description = "A Python framework that makes developing APIs as simple as possible, but no simpler"; description = "A Python framework that makes developing APIs as simple as possible, but no simpler";
homepage = "https://github.com/timothycrosley/hug"; homepage = "https://github.com/hugapi/hug";
license = licenses.mit; license = licenses.mit;
}; };

View file

@ -0,0 +1,27 @@
{ stdenv, lib, openbabel, python, buildPythonPackage }:
buildPythonPackage rec {
pname = "openbabel";
version = "3.1.1";
src = "${openbabel}/lib/python${python.sourceVersion.major}.${python.sourceVersion.minor}/site-packages";
nativeBuildInputs = [ openbabel ];
# these env variables are used by the bindings to find libraries
# they need to be included explicitly in your nix-shell for
# some functionality to work (inparticular, pybel).
# see https://openbabel.org/docs/dev/Installation/install.html
BABEL_LIBDIR = "${openbabel}/lib/openbabel/3.1.0";
LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:${openbabel}/lib";
doCheck = false;
pythonImportsCheck = [ "openbabel" ];
meta = with lib; {
homepage = "http://openbabel.org/wiki/Main_Page";
description = "Python bindings for openbabel";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ danielbarter ];
};
}

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pyserial
, pyserial-asyncio
}:
buildPythonPackage rec {
pname = "pyblackbird";
version = "0.5";
src = fetchFromGitHub {
owner = "koolsb";
repo = pname;
rev = version;
sha256 = "0m1yd1cb3z8011x7nicxpf091bdcwghcphn0l21c65f71rabzg6s";
};
propagatedBuildInputs = [
pyserial
pyserial-asyncio
];
# Test setup try to create a serial port
doCheck = false;
pythonImportsCheck = [ "pyblackbird" ];
meta = with lib; {
description = "Python implementation for Monoprice Blackbird units";
homepage = "https://github.com/koolsb/pyblackbird";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -11,14 +11,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pypck"; pname = "pypck";
version = "0.7.8"; version = "0.7.9";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "alengwenus"; owner = "alengwenus";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "06yqyqpzpypid27z31prvsp7nzpjqzn7gjlfqwjhhxl8fdgh8hkr"; sha256 = "0clpi6bplzw7qg2m0hgwqr71zwxrh901gwprhd1yjykn30njp5bw";
}; };
checkInputs = [ checkInputs = [

View file

@ -0,0 +1,37 @@
{ buildPythonPackage
, fetchFromGitHub
, hbmqtt
, lib
, paho-mqtt
, poetry
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "roombapy";
version = "1.6.2-1";
src = fetchFromGitHub {
owner = "pschmitt";
repo = "roombapy";
rev = version;
sha256 = "14k7bys479xwpa4alpdwphzmxm3x8kc48nfqnshn1wj94vyxc425";
};
format = "pyproject";
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = [ paho-mqtt ];
checkInputs = [ hbmqtt pytest-asyncio pytestCheckHook ];
pytestFlagsArray = [ "tests/" "--ignore=tests/test_discovery.py" ];
pythonImportsCheck = [ "roombapy" ];
meta = with lib; {
homepage = "https://github.com/pschmitt/roombapy";
description = "Python program and library to control Wi-Fi enabled iRobot Roombas";
maintainers = with maintainers; [ justinas ];
license = licenses.mit;
};
}

View file

@ -1,14 +1,14 @@
{ stdenv, R, libcxx, xvfb_run, util-linux, Cocoa, Foundation, gettext, gfortran }: { stdenv, lib, R, libcxx, xvfb_run, util-linux, Cocoa, Foundation, gettext, gfortran }:
{ name, buildInputs ? [], requireX ? false, ... } @ attrs: { name, buildInputs ? [], requireX ? false, ... } @ attrs:
stdenv.mkDerivation ({ stdenv.mkDerivation ({
buildInputs = buildInputs ++ [R gettext] ++ buildInputs = buildInputs ++ [R gettext] ++
stdenv.lib.optionals requireX [util-linux xvfb_run] ++ lib.optionals requireX [util-linux xvfb_run] ++
stdenv.lib.optionals stdenv.isDarwin [Cocoa Foundation gfortran]; lib.optionals stdenv.isDarwin [Cocoa Foundation gfortran];
NIX_CFLAGS_COMPILE = NIX_CFLAGS_COMPILE =
stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
configurePhase = '' configurePhase = ''
runHook preConfigure runHook preConfigure

View file

@ -265,7 +265,7 @@ in
hitimes = attrs: { hitimes = attrs: {
buildInputs = buildInputs =
stdenv.lib.optionals stdenv.isDarwin lib.optionals stdenv.isDarwin
[ darwin.apple_sdk.frameworks.CoreServices ]; [ darwin.apple_sdk.frameworks.CoreServices ];
}; };
@ -515,7 +515,7 @@ in
--replace "gobject-2.0" "${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}" --replace "gobject-2.0" "${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}"
substituteInPlace lib/vips.rb \ substituteInPlace lib/vips.rb \
--replace "vips_libname = 'vips'" "vips_libname = '${stdenv.lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}'" --replace "vips_libname = 'vips'" "vips_libname = '${lib.getLib vips}/lib/libvips${stdenv.hostPlatform.extensions.sharedLibrary}'"
''; '';
}; };
@ -632,7 +632,7 @@ in
}; };
zookeeper = attrs: { zookeeper = attrs: {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools ]; buildInputs = lib.optionals stdenv.isDarwin [ darwin.cctools ];
dontBuild = false; dontBuild = false;
postPatch = '' postPatch = ''
sed -i ext/extconf.rb -e "4a \ sed -i ext/extconf.rb -e "4a \

View file

@ -7,16 +7,18 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "cargo-deny"; pname = "cargo-deny";
version = "0.7.0"; version = "0.8.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "EmbarkStudios"; owner = "EmbarkStudios";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0mfccjcll7dxrhdi2bhfbggmkqdp8cmq5vf8vbb05qzpvlswvkf7"; sha256 = "01czsnhlvs78fpx1kpi75386657jmlrqpsj4474nxmgcs75igncx";
}; };
cargoSha256 = "1gp5m432273mr0zwq1kdswdjgp0kajr0imymqyc4yj9i931by1xv"; cargoSha256 = "1d5vh6cifkvqxmbgc2z9259q8879fjw016z959hfivv38rragqbr";
doCheck = false;
nativeBuildInputs = [ perl pkgconfig ]; nativeBuildInputs = [ perl pkgconfig ];

View file

@ -0,0 +1,34 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, fetchpatch }:
rustPlatform.buildRustPackage rec {
pname = "cargo-readme";
version = "3.2.0";
src = fetchFromGitHub {
owner = "livioribeiro";
repo = pname;
# Git tag is missing, see upstream issue:
# https://github.com/livioribeiro/cargo-readme/issues/61
rev = "cf66017c0120ae198210ebaf58a0be6a78372974";
sha256 = "sha256-/ufHHM13L83M3UYi6mjdhIjgXx7bZgzvR/X02Zsx7Fw=";
};
cargoSha256 = "sha256-QVRl6xCvztWi5zAs3PXYR4saTqO5nTBPIjdlMiMXFTM=";
patches = [
(fetchpatch {
# Fixup warning thrown at build when running test-suite
# unused return, see upstream PR:
# https://github.com/livioribeiro/cargo-readme/pull/62
url = "https://github.com/livioribeiro/cargo-readme/commit/060f2daaa2b2cf981bf490dc36bcc6527545ea03.patch";
sha256 = "sha256-wlAIgTI9OqtA/Jnswoqp7iOj+1zjrUZA7JpHUiF/n+s=";
})
];
meta = with lib; {
description = "Generate README.md from docstrings";
homepage = "https://github.com/livioribeiro/cargo-readme";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ baloo ];
};
}

View file

@ -65,12 +65,12 @@ let
ale = buildVimPluginFrom2Nix { ale = buildVimPluginFrom2Nix {
pname = "ale"; pname = "ale";
version = "2021-01-13"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dense-analysis"; owner = "dense-analysis";
repo = "ale"; repo = "ale";
rev = "97ce2423b04745d5c7588385ddbd75be9ef846d4"; rev = "9387ccfbc57f34f9fdc6af85cd0dbddf5ee8c5ae";
sha256 = "1q55kd8xqxl43rvj08awyq32a0mrv4svm2932s6q73zb8022db4a"; sha256 = "1p8fxlnwfiaigfrcw8sk832p4msqcl4n45k5qshy625cz9jkysn0";
}; };
meta.homepage = "https://github.com/dense-analysis/ale/"; meta.homepage = "https://github.com/dense-analysis/ale/";
}; };
@ -89,12 +89,12 @@ let
aniseed = buildVimPluginFrom2Nix { aniseed = buildVimPluginFrom2Nix {
pname = "aniseed"; pname = "aniseed";
version = "2020-12-21"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Olical"; owner = "Olical";
repo = "aniseed"; repo = "aniseed";
rev = "50adbc5ed5bb97b73b0b0c3241d9e62621ca59f9"; rev = "9d3a5e926a5708039abcaf552c8ab3d133c37f80";
sha256 = "1wy5jd86273q7sxa50kv88flqdgmg9z2m4b6phpw3xnl5d1sj9f7"; sha256 = "0waa122pk1mcbbhj7zrsb9ch0xmg0x3mpm627k7knpi4q8krgrzy";
}; };
meta.homepage = "https://github.com/Olical/aniseed/"; meta.homepage = "https://github.com/Olical/aniseed/";
}; };
@ -245,12 +245,12 @@ let
barbar-nvim = buildVimPluginFrom2Nix { barbar-nvim = buildVimPluginFrom2Nix {
pname = "barbar-nvim"; pname = "barbar-nvim";
version = "2021-01-05"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "romgrk"; owner = "romgrk";
repo = "barbar.nvim"; repo = "barbar.nvim";
rev = "e0b4935d5956025ab595195d935a5bac00f1a973"; rev = "80860e972cdf78e0e0b8dc7f16e07142966f73cf";
sha256 = "0h723j5zhj8mzwghykd84rxdr0l4ngvyy692d6sl2zz940mvwlkw"; sha256 = "009gnamainla5z2q98p6mi4gifmlbx5im7d2gx2d0da62cbdrcsl";
}; };
meta.homepage = "https://github.com/romgrk/barbar.nvim/"; meta.homepage = "https://github.com/romgrk/barbar.nvim/";
}; };
@ -449,24 +449,24 @@ let
coc-denite = buildVimPluginFrom2Nix { coc-denite = buildVimPluginFrom2Nix {
pname = "coc-denite"; pname = "coc-denite";
version = "2020-11-26"; version = "2021-01-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neoclide"; owner = "neoclide";
repo = "coc-denite"; repo = "coc-denite";
rev = "ea22e4462f9ac77f9c0cf3b1413bcd4d3b86a135"; rev = "819b0e334431a9e914d69f3fedf68122799fcab9";
sha256 = "15rx4ws7hvssi7z1fkh7mzadc9xifi4hzb9g91lbinds12v19gg9"; sha256 = "02zy4ip7m1jivqzs67c8bzc8lis8wxkm38nvk6nngz2790xpfywc";
}; };
meta.homepage = "https://github.com/neoclide/coc-denite/"; meta.homepage = "https://github.com/neoclide/coc-denite/";
}; };
coc-explorer = buildVimPluginFrom2Nix { coc-explorer = buildVimPluginFrom2Nix {
pname = "coc-explorer"; pname = "coc-explorer";
version = "2021-01-13"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "weirongxu"; owner = "weirongxu";
repo = "coc-explorer"; repo = "coc-explorer";
rev = "e0a4cfa0fb856b31a6d16828ce3629b2901496f0"; rev = "2dc88ca328de4e00b37586aaf532b2cd90b5c3a0";
sha256 = "0vadrkk92vrw48h7clbasqacyfcjn63ziq33740mciwa7a3h5bfg"; sha256 = "0zjryprw2qdshshw7f8dkk7jf515sq11gc1w0lvssimkqdi47zaj";
}; };
meta.homepage = "https://github.com/weirongxu/coc-explorer/"; meta.homepage = "https://github.com/weirongxu/coc-explorer/";
}; };
@ -485,12 +485,12 @@ let
coc-lua = buildVimPluginFrom2Nix { coc-lua = buildVimPluginFrom2Nix {
pname = "coc-lua"; pname = "coc-lua";
version = "2021-01-08"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "josa42"; owner = "josa42";
repo = "coc-lua"; repo = "coc-lua";
rev = "ad83de5ef16299e026b7fce6a024c82b2b7110f5"; rev = "07a533b2b1202beda8e07e4d605584a8b7525e3d";
sha256 = "0b56af3z04vvlkr67yg3bfj71qycyhrv895p1sbfamj483hs7ds6"; sha256 = "1r8yijfm9m0g4r2d1q3ja05vjy7li578ix2c2wbq8iy3i10g8lkl";
}; };
meta.homepage = "https://github.com/josa42/coc-lua/"; meta.homepage = "https://github.com/josa42/coc-lua/";
}; };
@ -521,12 +521,12 @@ let
coc-nvim = buildVimPluginFrom2Nix { coc-nvim = buildVimPluginFrom2Nix {
pname = "coc-nvim"; pname = "coc-nvim";
version = "2021-01-12"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neoclide"; owner = "neoclide";
repo = "coc.nvim"; repo = "coc.nvim";
rev = "891c73f0deb3777870aed67c6ea6e5e184bafe27"; rev = "a150d49a46ea85b4c78813e6ba0fcf9a2b0d86ea";
sha256 = "11wlsicv74vsxyr5l7q8r02h1wmf6zq3igxrp1anndv3j8mjbi09"; sha256 = "067fhgvfnrvzw67hyag0fxv61m1fbl8160klgy5l0kjy7nx6hwiw";
}; };
meta.homepage = "https://github.com/neoclide/coc.nvim/"; meta.homepage = "https://github.com/neoclide/coc.nvim/";
}; };
@ -606,12 +606,12 @@ let
completion-nvim = buildVimPluginFrom2Nix { completion-nvim = buildVimPluginFrom2Nix {
pname = "completion-nvim"; pname = "completion-nvim";
version = "2021-01-13"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-lua"; owner = "nvim-lua";
repo = "completion-nvim"; repo = "completion-nvim";
rev = "d8eb3ba816d6bae9b741c23dee4d496e545a4ef8"; rev = "fc9b2fd2d47bea6a8954de1b1b19f2330545b354";
sha256 = "1nndg6lbsgfp65vpqw5bpjj2qa944c2x5s38jfrf2lp68hk39z23"; sha256 = "0dip8z6cfhjbz5lvf6f75382lg7d819djrpygbc12lf1s4i66i3z";
}; };
meta.homepage = "https://github.com/nvim-lua/completion-nvim/"; meta.homepage = "https://github.com/nvim-lua/completion-nvim/";
}; };
@ -654,12 +654,12 @@ let
conjure = buildVimPluginFrom2Nix { conjure = buildVimPluginFrom2Nix {
pname = "conjure"; pname = "conjure";
version = "2021-01-03"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Olical"; owner = "Olical";
repo = "conjure"; repo = "conjure";
rev = "e966ef58720fa0a2739aa33e9307809925b36597"; rev = "94a55a46ecbbd169436f4f937060c8d449a74c51";
sha256 = "1baf3r6fmdwn1pbn5sfrrmzi4dxp9a298bajr4sqds05avk4z2dc"; sha256 = "074ksnsisv1yvf3fcvgz9bl8s15q5z8h2hvfmymhf53rxbfh7dfk";
}; };
meta.homepage = "https://github.com/Olical/conjure/"; meta.homepage = "https://github.com/Olical/conjure/";
}; };
@ -690,12 +690,12 @@ let
Coqtail = buildVimPluginFrom2Nix { Coqtail = buildVimPluginFrom2Nix {
pname = "Coqtail"; pname = "Coqtail";
version = "2021-01-03"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "whonore"; owner = "whonore";
repo = "Coqtail"; repo = "Coqtail";
rev = "8c3cced82a5ea8051fbbe2ade25fac557ca976f0"; rev = "50c34a24bb6638fdf8f604f75cd036ec5252864d";
sha256 = "1ayzpwc9bi6x5l5yhmhlfqifizpya9z57f0qdm64diwqvr8lvyb2"; sha256 = "1b5cs4yznz8vcmba6vk67kpd6071cz1m5jbfjpvyinvld5ipnapn";
}; };
meta.homepage = "https://github.com/whonore/Coqtail/"; meta.homepage = "https://github.com/whonore/Coqtail/";
}; };
@ -882,24 +882,24 @@ let
denite-nvim = buildVimPluginFrom2Nix { denite-nvim = buildVimPluginFrom2Nix {
pname = "denite-nvim"; pname = "denite-nvim";
version = "2021-01-13"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shougo"; owner = "Shougo";
repo = "denite.nvim"; repo = "denite.nvim";
rev = "d01c56ff3eab215c1485bd04d132b709f922de3e"; rev = "b7c43e846b404d6068e4905cc1fc22c73e6d333a";
sha256 = "0b2hmdkbi9d1273f8pylb87hxq2mws4s8g06rmy61ycbq60ldg4k"; sha256 = "00nyw1fnjjkr7zqns05sp00qvbsyyc8a6avr9s0j76hhamrfwkhg";
}; };
meta.homepage = "https://github.com/Shougo/denite.nvim/"; meta.homepage = "https://github.com/Shougo/denite.nvim/";
}; };
deol-nvim = buildVimPluginFrom2Nix { deol-nvim = buildVimPluginFrom2Nix {
pname = "deol-nvim"; pname = "deol-nvim";
version = "2021-01-13"; version = "2021-01-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shougo"; owner = "Shougo";
repo = "deol.nvim"; repo = "deol.nvim";
rev = "e470e3df3e94181c6e8a20e62df564beb8d7df36"; rev = "f1bf4b1dc68d441936019f97a2f306327c52f5c4";
sha256 = "17l0ykpib84lgq30dkfdk7s6gxb2dc20wg22z0pvf3slnyfdf8ra"; sha256 = "0gd23blp723gybzp0g466kkf3rf9d0bd2zs76hadmw7w7992im2z";
}; };
meta.homepage = "https://github.com/Shougo/deol.nvim/"; meta.homepage = "https://github.com/Shougo/deol.nvim/";
}; };
@ -1076,12 +1076,12 @@ let
deoplete-tabnine = buildVimPluginFrom2Nix { deoplete-tabnine = buildVimPluginFrom2Nix {
pname = "deoplete-tabnine"; pname = "deoplete-tabnine";
version = "2020-11-30"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tbodt"; owner = "tbodt";
repo = "deoplete-tabnine"; repo = "deoplete-tabnine";
rev = "a9bc7ffddbcae9c90be2c56f06842890e07126ce"; rev = "80a329eca215f48de8a4e575af55607700ddc93e";
sha256 = "1ar0ccr09m76arjcz4n5q7l9k8l1klc4sdxl5g0v87jjmiiazzvg"; sha256 = "1i23ajbkx3yrll4mnqzf17g66c9x5g6ih3hk3acjq7h3m6ifgfyi";
}; };
meta.homepage = "https://github.com/tbodt/deoplete-tabnine/"; meta.homepage = "https://github.com/tbodt/deoplete-tabnine/";
}; };
@ -1124,12 +1124,12 @@ let
deoplete-nvim = buildVimPluginFrom2Nix { deoplete-nvim = buildVimPluginFrom2Nix {
pname = "deoplete-nvim"; pname = "deoplete-nvim";
version = "2021-01-12"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shougo"; owner = "Shougo";
repo = "deoplete.nvim"; repo = "deoplete.nvim";
rev = "4c5acd271591c4b5e5420ce05c2b20eb7beb08e3"; rev = "5fb8291d5f5238bdd52025e02470c7602d66f7c4";
sha256 = "1vy3n81y7f535adyplmy3pvvsgjdzrxcfqlzrwz62r4bspqqf42r"; sha256 = "08fidhbqxhzxabww0zb5lxfignl3qmjn8ffl1g81acl2v62bz3hn";
}; };
meta.homepage = "https://github.com/Shougo/deoplete.nvim/"; meta.homepage = "https://github.com/Shougo/deoplete.nvim/";
}; };
@ -1328,21 +1328,9 @@ let
meta.homepage = "https://github.com/konfekt/fastfold/"; meta.homepage = "https://github.com/konfekt/fastfold/";
}; };
fern-vim = buildVimPluginFrom2Nix {
pname = "fern-vim";
version = "2021-01-13";
src = fetchFromGitHub {
owner = "lambdalisue";
repo = "fern.vim";
rev = "316c8ad965f7d23093bd36a792730f701b80fb2a";
sha256 = "1l04kjrnafj8509nmz349ki6xm5vzry9dqikgw5gsykrwgf8cp3a";
};
meta.homepage = "https://github.com/lambdalisue/fern.vim/";
};
fennel-vim = buildVimPluginFrom2Nix { fennel-vim = buildVimPluginFrom2Nix {
pname = "fennel.vim"; pname = "fennel-vim";
version = "2021-01-08"; version = "2020-11-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bakpakin"; owner = "bakpakin";
repo = "fennel.vim"; repo = "fennel.vim";
@ -1352,6 +1340,18 @@ let
meta.homepage = "https://github.com/bakpakin/fennel.vim/"; meta.homepage = "https://github.com/bakpakin/fennel.vim/";
}; };
fern-vim = buildVimPluginFrom2Nix {
pname = "fern-vim";
version = "2021-01-17";
src = fetchFromGitHub {
owner = "lambdalisue";
repo = "fern.vim";
rev = "f057425350c3a01372f071de0b6f1ac597b962d6";
sha256 = "10wrk0a9ich10bgky912i22ix3xanxk81clda63fg4nw7c4sqqfs";
};
meta.homepage = "https://github.com/lambdalisue/fern.vim/";
};
ferret = buildVimPluginFrom2Nix { ferret = buildVimPluginFrom2Nix {
pname = "ferret"; pname = "ferret";
version = "2020-12-08"; version = "2020-12-08";
@ -1463,12 +1463,12 @@ let
fzf-vim = buildVimPluginFrom2Nix { fzf-vim = buildVimPluginFrom2Nix {
pname = "fzf-vim"; pname = "fzf-vim";
version = "2021-01-07"; version = "2021-01-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "junegunn"; owner = "junegunn";
repo = "fzf.vim"; repo = "fzf.vim";
rev = "d43df0ea2f099836c2e3499756101e87bcbd3e25"; rev = "1fcdee55cc5975d67248b2f8ea5fbac9aa628b7c";
sha256 = "1hclx6c476i523qa5r27r2jbdfdrlbgan1j7aczzwgj3lahbdlvx"; sha256 = "0pnpjm17dn28gidjc43dkh5rn5s5rni5l8zjhy72hnix8ws3m1k0";
}; };
meta.homepage = "https://github.com/junegunn/fzf.vim/"; meta.homepage = "https://github.com/junegunn/fzf.vim/";
}; };
@ -1797,6 +1797,18 @@ let
meta.homepage = "https://github.com/haya14busa/incsearch.vim/"; meta.homepage = "https://github.com/haya14busa/incsearch.vim/";
}; };
indent-blankline-nvim = buildVimPluginFrom2Nix {
pname = "indent-blankline-nvim";
version = "2020-12-18";
src = fetchFromGitHub {
owner = "lukas-reineke";
repo = "indent-blankline.nvim";
rev = "3e4eb10fd57dec3ca11ecb4afa6b3a76558c4182";
sha256 = "1qgnrdflw8c7afh060xk5fl5yw7jbap5fp8a4mbhdhgrfr7gv6ll";
};
meta.homepage = "https://github.com/lukas-reineke/indent-blankline.nvim/";
};
indentLine = buildVimPluginFrom2Nix { indentLine = buildVimPluginFrom2Nix {
pname = "indentLine"; pname = "indentLine";
version = "2020-11-27"; version = "2020-11-27";
@ -2076,12 +2088,12 @@ let
lh-brackets = buildVimPluginFrom2Nix { lh-brackets = buildVimPluginFrom2Nix {
pname = "lh-brackets"; pname = "lh-brackets";
version = "2021-01-06"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "LucHermitte"; owner = "LucHermitte";
repo = "lh-brackets"; repo = "lh-brackets";
rev = "547fc9ab14ecf6ecc0d81e8bbb1cc1fec314b6aa"; rev = "7e0e38857de5558de04c251cf6ddc350724562d9";
sha256 = "0344ap5fkp1d0g91rv9pn0p28xqz8as48d3m6kxc99w229sj6p2q"; sha256 = "105dgm80946jvx9qxs10vscgrplwpg89nwd6cmpm47wzj8999r8b";
}; };
meta.homepage = "https://github.com/LucHermitte/lh-brackets/"; meta.homepage = "https://github.com/LucHermitte/lh-brackets/";
}; };
@ -2100,12 +2112,12 @@ let
lightline-ale = buildVimPluginFrom2Nix { lightline-ale = buildVimPluginFrom2Nix {
pname = "lightline-ale"; pname = "lightline-ale";
version = "2020-04-30"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "maximbaz"; owner = "maximbaz";
repo = "lightline-ale"; repo = "lightline-ale";
rev = "23352556fdaa067209fa22df424f1b88ab370f6a"; rev = "fa5e6bf8bca114c508b1247a94ef95c89c390a57";
sha256 = "1cz1pcz6qxddpalymj2p19clnwsj568zlvbyg7mai0vxx6cv7a9w"; sha256 = "00a8lpj57mbjqky4anjk5jjm2kz9y2iim2dvv1slvm6wyvd4hkwq";
}; };
meta.homepage = "https://github.com/maximbaz/lightline-ale/"; meta.homepage = "https://github.com/maximbaz/lightline-ale/";
}; };
@ -2172,12 +2184,12 @@ let
lualine-nvim = buildVimPluginFrom2Nix { lualine-nvim = buildVimPluginFrom2Nix {
pname = "lualine-nvim"; pname = "lualine-nvim";
version = "2021-01-11"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hoob3rt"; owner = "hoob3rt";
repo = "lualine.nvim"; repo = "lualine.nvim";
rev = "823665c511d5727107a57e4f31205f92bb2c573e"; rev = "10a6087a74b235a7e3a77310a21a563afad3a148";
sha256 = "1krfj35zmbf9gznsh4npwhjmy132svbrivsy007vpz798lir7i06"; sha256 = "06p776nkm2r1i6hslbcaqqg4adqlmv3car6gi8yd4yv8vwlffraw";
}; };
meta.homepage = "https://github.com/hoob3rt/lualine.nvim/"; meta.homepage = "https://github.com/hoob3rt/lualine.nvim/";
}; };
@ -2532,12 +2544,12 @@ let
neoformat = buildVimPluginFrom2Nix { neoformat = buildVimPluginFrom2Nix {
pname = "neoformat"; pname = "neoformat";
version = "2021-01-13"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sbdchd"; owner = "sbdchd";
repo = "neoformat"; repo = "neoformat";
rev = "18aee89508fb7eea2bbff824dd1c33bdf7158d75"; rev = "306b74eab85bc84bb790118bfb6a4b01e352f4f0";
sha256 = "1bq2m85kdlgak1df5gpslylq0x7fxf694gb2y18s33jxmpvnahxz"; sha256 = "0nkhj5yamws84w0gwnydgysqbscigfm2yjb9p8yvbfx23y6idijk";
}; };
meta.homepage = "https://github.com/sbdchd/neoformat/"; meta.homepage = "https://github.com/sbdchd/neoformat/";
}; };
@ -2580,12 +2592,12 @@ let
neosnippet-snippets = buildVimPluginFrom2Nix { neosnippet-snippets = buildVimPluginFrom2Nix {
pname = "neosnippet-snippets"; pname = "neosnippet-snippets";
version = "2020-12-23"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shougo"; owner = "Shougo";
repo = "neosnippet-snippets"; repo = "neosnippet-snippets";
rev = "901b9ba8f2eea6222649282a58d7b86b8719334f"; rev = "ba35daa1d248b47b3a5202e5d32e3af5affdcd4b";
sha256 = "0k08057fbs4pmx9w6mwnjvms6sn694h6n255ff6n40sf4yy8w4mh"; sha256 = "14aq1m9qbmkyzp36qlpgqm8rdpc0338z68hxshwk55i01wdysqfd";
}; };
meta.homepage = "https://github.com/Shougo/neosnippet-snippets/"; meta.homepage = "https://github.com/Shougo/neosnippet-snippets/";
}; };
@ -2796,12 +2808,12 @@ let
nvim-dap = buildVimPluginFrom2Nix { nvim-dap = buildVimPluginFrom2Nix {
pname = "nvim-dap"; pname = "nvim-dap";
version = "2021-01-10"; version = "2021-01-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mfussenegger"; owner = "mfussenegger";
repo = "nvim-dap"; repo = "nvim-dap";
rev = "e971d2af33189bff941c9632aca51211dfca0869"; rev = "570b84cdd58ff8ae00974d827ab259b226809ab2";
sha256 = "09h2kacqbqazllajacpfnlysvwb1ikg5gmymci3hp39g488i3kx6"; sha256 = "040y3a1bzpf69ra6a9f0jzdfw9yf694x9zxmby8ba7xil3q69pzr";
}; };
meta.homepage = "https://github.com/mfussenegger/nvim-dap/"; meta.homepage = "https://github.com/mfussenegger/nvim-dap/";
}; };
@ -2856,12 +2868,12 @@ let
nvim-lspconfig = buildVimPluginFrom2Nix { nvim-lspconfig = buildVimPluginFrom2Nix {
pname = "nvim-lspconfig"; pname = "nvim-lspconfig";
version = "2021-01-12"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "neovim"; owner = "neovim";
repo = "nvim-lspconfig"; repo = "nvim-lspconfig";
rev = "844d6f9d7af961eb27f876dc0cae9fe0fab5a769"; rev = "87900ffcccd47bb6a09483ccf0d6840dc1d0d0d6";
sha256 = "151s2n50zmvfgbb30h63cgzbbxi8vb5fagiyl4gr6vpfn6p64s4g"; sha256 = "18qj8ql48fnncghm0p6wnbjggmkvs9gdf6lgffhdqinlrnrja9ry";
}; };
meta.homepage = "https://github.com/neovim/nvim-lspconfig/"; meta.homepage = "https://github.com/neovim/nvim-lspconfig/";
}; };
@ -2904,24 +2916,24 @@ let
nvim-tree-lua = buildVimPluginFrom2Nix { nvim-tree-lua = buildVimPluginFrom2Nix {
pname = "nvim-tree-lua"; pname = "nvim-tree-lua";
version = "2021-01-10"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kyazdani42"; owner = "kyazdani42";
repo = "nvim-tree.lua"; repo = "nvim-tree.lua";
rev = "361e20ecfa21c6bbc31436cf701ceb87e8e7bde7"; rev = "787cef2a1d4ccdd1058cd1486dfea509fab1d291";
sha256 = "01yd5i56k8c7kii3gnxh3654d5a8kdmad974yicxj0jzgvawncn4"; sha256 = "1n1cvrfz2vfx5rjslx4brv3rfqjmxymy9yxyvzhi5p3vwn0phr6f";
}; };
meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua/"; meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua/";
}; };
nvim-treesitter = buildVimPluginFrom2Nix { nvim-treesitter = buildVimPluginFrom2Nix {
pname = "nvim-treesitter"; pname = "nvim-treesitter";
version = "2021-01-12"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-treesitter"; owner = "nvim-treesitter";
repo = "nvim-treesitter"; repo = "nvim-treesitter";
rev = "39968ca258c89b796fc9ce5f3643ca8781150dd8"; rev = "1c3fb201c65b42a3752b299d31b1fcf40e3c38e4";
sha256 = "0lcm37xrysypflyrblmbgn6sv8106mrjv9qg1rf4mn1sbdc7z4bp"; sha256 = "1q3i1jfmrc7spayyhz85w9gfv69shlz59cbf9zrp1fvnlhys4ds9";
}; };
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/"; meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/";
}; };
@ -2964,12 +2976,12 @@ let
nvim-ts-rainbow = buildVimPluginFrom2Nix { nvim-ts-rainbow = buildVimPluginFrom2Nix {
pname = "nvim-ts-rainbow"; pname = "nvim-ts-rainbow";
version = "2021-01-05"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "p00f"; owner = "p00f";
repo = "nvim-ts-rainbow"; repo = "nvim-ts-rainbow";
rev = "68eee9b031432de6a1964315235d3cf265243a77"; rev = "6fc6c5691bfc5f1d742c3674400ff7074bf4d6f4";
sha256 = "0zjhyd02sj17i0yrmffzzja2s0y9fa37v1nvqa17kap9vmcgyh7h"; sha256 = "02g977djjmpjag72h38i98kiwqw5qbcqa1kp8g0iayyy8agvkr81";
}; };
meta.homepage = "https://github.com/p00f/nvim-ts-rainbow/"; meta.homepage = "https://github.com/p00f/nvim-ts-rainbow/";
}; };
@ -3036,12 +3048,12 @@ let
onehalf = buildVimPluginFrom2Nix { onehalf = buildVimPluginFrom2Nix {
pname = "onehalf"; pname = "onehalf";
version = "2020-10-14"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sonph"; owner = "sonph";
repo = "onehalf"; repo = "onehalf";
rev = "89923117bc49dd1e0c6b7fdd34bc6dc4d425fe1f"; rev = "ba6c71ee99dce0b505c430f2c2706dc5f97ad3a0";
sha256 = "0d3d9sp88b41j8yhkn99b0g1y3jbcm3hhf8dw6kq50scrb84g5y3"; sha256 = "10pbhaim4rcg0ljprfvqfw6k73jpp46yzhs8i9yn00bpi70frr89";
}; };
meta.homepage = "https://github.com/sonph/onehalf/"; meta.homepage = "https://github.com/sonph/onehalf/";
}; };
@ -3806,12 +3818,12 @@ let
tagbar = buildVimPluginFrom2Nix { tagbar = buildVimPluginFrom2Nix {
pname = "tagbar"; pname = "tagbar";
version = "2021-01-12"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "preservim"; owner = "preservim";
repo = "tagbar"; repo = "tagbar";
rev = "c7e7d5e565eca1c8a39a567a7a26cdc2512c1c7e"; rev = "59eef1364d8ebb16ceb8dba4274f3926f3c3b7f0";
sha256 = "0sqsh8vca1yvj253as4ky0l925czf8584k7zcbcimkjb35cp4d64"; sha256 = "004ss6v677qlizmav2cbmcswc39880c0hazcdrkrzxfdfzrb8byp";
}; };
meta.homepage = "https://github.com/preservim/tagbar/"; meta.homepage = "https://github.com/preservim/tagbar/";
}; };
@ -3854,12 +3866,12 @@ let
telescope-nvim = buildVimPluginFrom2Nix { telescope-nvim = buildVimPluginFrom2Nix {
pname = "telescope-nvim"; pname = "telescope-nvim";
version = "2021-01-12"; version = "2021-01-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nvim-telescope"; owner = "nvim-telescope";
repo = "telescope.nvim"; repo = "telescope.nvim";
rev = "57012550977679925176819345adc4d0dce85a00"; rev = "c2039ca78d261392b0ab7bef85b3c5f1c8f507b9";
sha256 = "002c120ppz8g6xiqckq61nbr7zcfdh5n75hhzbcn0xqlagmi9p6y"; sha256 = "0ca93m1nl14js4wgbqhgc786mr9is0zkiwkzp4fv5ny03nhd025w";
}; };
meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/"; meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/";
}; };
@ -3951,12 +3963,12 @@ let
traces-vim = buildVimPluginFrom2Nix { traces-vim = buildVimPluginFrom2Nix {
pname = "traces-vim"; pname = "traces-vim";
version = "2020-10-13"; version = "2021-01-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "markonm"; owner = "markonm";
repo = "traces.vim"; repo = "traces.vim";
rev = "1fb8738cf1e4db06423396dd3576592a94255935"; rev = "2b54b52badf9e052cbb78f5c21d9dc994110ff52";
sha256 = "0jl7m04rly8y1kslmcmi9f83a87qb3fbk6isqqqd5xgrxxmcj753"; sha256 = "0p5xkyyrdr3gph4q4p0n517g6rv1vzqfjqzzmrjclf4zpqqiarc5";
}; };
meta.homepage = "https://github.com/markonm/traces.vim/"; meta.homepage = "https://github.com/markonm/traces.vim/";
}; };
@ -4083,12 +4095,12 @@ let
verilog_systemverilog-vim = buildVimPluginFrom2Nix { verilog_systemverilog-vim = buildVimPluginFrom2Nix {
pname = "verilog_systemverilog-vim"; pname = "verilog_systemverilog-vim";
version = "2020-06-12"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vhda"; owner = "vhda";
repo = "verilog_systemverilog.vim"; repo = "verilog_systemverilog.vim";
rev = "c37bcf010fcb73599d690d8da6ac966dac02a07e"; rev = "0b88f2ccf81983944bf00d15ec810dd807053d19";
sha256 = "1f4kicgr7wv0dprvr91wi4lmk0d9bb9f4wcng4rfkq1cdwfkqdw4"; sha256 = "0zaxz1j2v8nvhd9x6bx3sj95i7h7c7029hmccls777ikyp6ynf0r";
}; };
meta.homepage = "https://github.com/vhda/verilog_systemverilog.vim/"; meta.homepage = "https://github.com/vhda/verilog_systemverilog.vim/";
}; };
@ -4347,12 +4359,12 @@ let
vim-airline = buildVimPluginFrom2Nix { vim-airline = buildVimPluginFrom2Nix {
pname = "vim-airline"; pname = "vim-airline";
version = "2021-01-10"; version = "2021-01-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "vim-airline"; owner = "vim-airline";
repo = "vim-airline"; repo = "vim-airline";
rev = "0ca9576331ba845e7bf29f5e092f5da04f4f3580"; rev = "c7a633ce8f4547e680377efe8ea70493fcce1349";
sha256 = "11ai8j7l1v6pviijvrayaw4wcs5720a0qpk35x99ir3dq7pflm54"; sha256 = "10n70bk6nsc5sgd95d80jna4v77dlla6x0886kb5lwzmiflfq31x";
}; };
meta.homepage = "https://github.com/vim-airline/vim-airline/"; meta.homepage = "https://github.com/vim-airline/vim-airline/";
}; };
@ -4587,12 +4599,12 @@ let
vim-clap = buildVimPluginFrom2Nix { vim-clap = buildVimPluginFrom2Nix {
pname = "vim-clap"; pname = "vim-clap";
version = "2021-01-12"; version = "2021-01-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "liuchengxu"; owner = "liuchengxu";
repo = "vim-clap"; repo = "vim-clap";
rev = "07cac9de58ad1f1ce287e47ac41e7eb7bb4db6a3"; rev = "a9d1ccd9a3e9807d600abccab706634594ed0d2e";
sha256 = "186d3mncgw6g4hrl6qv6wxnpy5mk5xkjpr0b03ql6z52iybcmxff"; sha256 = "0smmgbsrqm757hgijq76y4yra0b68qhnxnyswfs37vrarcrqkfq3";
}; };
meta.homepage = "https://github.com/liuchengxu/vim-clap/"; meta.homepage = "https://github.com/liuchengxu/vim-clap/";
}; };
@ -5175,12 +5187,12 @@ let
vim-floaterm = buildVimPluginFrom2Nix { vim-floaterm = buildVimPluginFrom2Nix {
pname = "vim-floaterm"; pname = "vim-floaterm";
version = "2021-01-12"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "voldikss"; owner = "voldikss";
repo = "vim-floaterm"; repo = "vim-floaterm";
rev = "37c999def265ebf5463a925decc6604481f3c598"; rev = "355f1788b4a0878be6f99f4d41bf09d79fa4e80a";
sha256 = "1ix3q36hhb5k7y1c4r5qzmr8gyxk6amb3zk88bs85j36kn56mz4j"; sha256 = "0j89h2vyggpgx2vhfd0a3x6nk5yaf898g9ipw5ags66sp13c4fqc";
}; };
meta.homepage = "https://github.com/voldikss/vim-floaterm/"; meta.homepage = "https://github.com/voldikss/vim-floaterm/";
}; };
@ -5596,12 +5608,12 @@ let
vim-illuminate = buildVimPluginFrom2Nix { vim-illuminate = buildVimPluginFrom2Nix {
pname = "vim-illuminate"; pname = "vim-illuminate";
version = "2021-01-11"; version = "2021-01-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "RRethy"; owner = "RRethy";
repo = "vim-illuminate"; repo = "vim-illuminate";
rev = "19bfdcaafcc15b2d891c6c523c4ce80dfbba965a"; rev = "85103ff4ab0c5c8017af106ba1af9949aa28793e";
sha256 = "0c586j1icllyl0y54dayn4204w0rvfvv9srz51rk6k1n7rghr72n"; sha256 = "1aixb0rbjdmask0miry1b9xi0f8bcg8z6w58bphxa7f9ndfgbppw";
}; };
meta.homepage = "https://github.com/RRethy/vim-illuminate/"; meta.homepage = "https://github.com/RRethy/vim-illuminate/";
}; };
@ -5969,24 +5981,24 @@ let
vim-lsc = buildVimPluginFrom2Nix { vim-lsc = buildVimPluginFrom2Nix {
pname = "vim-lsc"; pname = "vim-lsc";
version = "2021-01-05"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "natebosch"; owner = "natebosch";
repo = "vim-lsc"; repo = "vim-lsc";
rev = "9f914a4859d911d8a152ff828ad093198fee8763"; rev = "104813da45c5bb620b9c6ce48cb918872f968dab";
sha256 = "0xvzwnfmgix6cz3xzzl9v9aslassnp6jkjpv5q2qngfrf33z8j9j"; sha256 = "1x06zb9xa9v9ycg3vq1il45ylm7p2d3vflv347hpssmwcjzd6xyv";
}; };
meta.homepage = "https://github.com/natebosch/vim-lsc/"; meta.homepage = "https://github.com/natebosch/vim-lsc/";
}; };
vim-lsp = buildVimPluginFrom2Nix { vim-lsp = buildVimPluginFrom2Nix {
pname = "vim-lsp"; pname = "vim-lsp";
version = "2021-01-13"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "prabirshrestha"; owner = "prabirshrestha";
repo = "vim-lsp"; repo = "vim-lsp";
rev = "3bca7e8c8a794fde38075e7df9d14c286d055a84"; rev = "90d61f11149ffb380eabcb66f66a160f4fc31a5d";
sha256 = "1x9rb34a9542rn2dx2kaz4iq83swpq56144h81pr8l080r6vi2l6"; sha256 = "1gr9y12fjw89ym6kdzjki12j21bhwy4ch4gpsy4gzb04xhjqllgf";
}; };
meta.homepage = "https://github.com/prabirshrestha/vim-lsp/"; meta.homepage = "https://github.com/prabirshrestha/vim-lsp/";
}; };
@ -6390,12 +6402,12 @@ let
vim-oscyank = buildVimPluginFrom2Nix { vim-oscyank = buildVimPluginFrom2Nix {
pname = "vim-oscyank"; pname = "vim-oscyank";
version = "2021-01-11"; version = "2021-01-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ojroques"; owner = "ojroques";
repo = "vim-oscyank"; repo = "vim-oscyank";
rev = "ffac2ecab211469a1f9a4d17d42bc543214112f5"; rev = "a70de0f7830ff7238d122908583faf50d73a9f26";
sha256 = "08vkalypqcrj4p2znx2gih7b1i87pk2ygybvl8a7hby13gwrm8v1"; sha256 = "0q00wqv4kbnwmnkawp4hm7mvk8p82mr4v5kf0m791gm7yy8gvb7x";
}; };
meta.homepage = "https://github.com/ojroques/vim-oscyank/"; meta.homepage = "https://github.com/ojroques/vim-oscyank/";
}; };
@ -6582,12 +6594,12 @@ let
vim-polyglot = buildVimPluginFrom2Nix { vim-polyglot = buildVimPluginFrom2Nix {
pname = "vim-polyglot"; pname = "vim-polyglot";
version = "2021-01-03"; version = "2021-01-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sheerun"; owner = "sheerun";
repo = "vim-polyglot"; repo = "vim-polyglot";
rev = "7bde552a463999897320a1899a6ca4f8806041ea"; rev = "4c10562d2cc9b084518284c49a158558da5180a7";
sha256 = "1rc9dfpl7x2fmqcm954x1syfcl392vsrcgid2pm6p91j3drm78nq"; sha256 = "0avrjy1mxzkpsrbblzqx81ml08gm7n4bd4ihxm4qbvcdbg8n5chx";
}; };
meta.homepage = "https://github.com/sheerun/vim-polyglot/"; meta.homepage = "https://github.com/sheerun/vim-polyglot/";
}; };
@ -6690,12 +6702,12 @@ let
vim-puppet = buildVimPluginFrom2Nix { vim-puppet = buildVimPluginFrom2Nix {
pname = "vim-puppet"; pname = "vim-puppet";
version = "2021-01-13"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rodjek"; owner = "rodjek";
repo = "vim-puppet"; repo = "vim-puppet";
rev = "cee73ec40ee21083c3fc1e1fede2c288fa46c2c3"; rev = "a3af44488b00481f2a79dc7e4bb49e2767a4e6a4";
sha256 = "0mbsslhwjnjg8l39pbqj4zlirqvysj21xq01fb6dnld7rl7qrxyg"; sha256 = "07bspasgd38kj91x3c6nf7wwhbg1sqw8kwvn7c4z11q32ry4hmgk";
}; };
meta.homepage = "https://github.com/rodjek/vim-puppet/"; meta.homepage = "https://github.com/rodjek/vim-puppet/";
}; };
@ -6834,12 +6846,12 @@ let
vim-rsi = buildVimPluginFrom2Nix { vim-rsi = buildVimPluginFrom2Nix {
pname = "vim-rsi"; pname = "vim-rsi";
version = "2019-11-15"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tpope"; owner = "tpope";
repo = "vim-rsi"; repo = "vim-rsi";
rev = "ad8ba6beae8e82339479104b914214a868c9f1fe"; rev = "e181883a0932d9315cceb96b5fffb5e2ec67068e";
sha256 = "1ycjwnbs6rks78yxh0k0ywpvic0663mv7kydy3kjpa4f5bnkgbvc"; sha256 = "1pfg3y1hf840pr7f6vcwldbraj2w4c2pnf7ampbgyric0q3f4708";
}; };
meta.homepage = "https://github.com/tpope/vim-rsi/"; meta.homepage = "https://github.com/tpope/vim-rsi/";
}; };
@ -7086,12 +7098,12 @@ let
vim-snippets = buildVimPluginFrom2Nix { vim-snippets = buildVimPluginFrom2Nix {
pname = "vim-snippets"; pname = "vim-snippets";
version = "2021-01-11"; version = "2021-01-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "honza"; owner = "honza";
repo = "vim-snippets"; repo = "vim-snippets";
rev = "29d37483c4a8dad8baf0684f73541f6364dd3734"; rev = "673390c68328d8d067439127f15923a8ebc9efd8";
sha256 = "0dav4125sjrbj5mg0d76ivsadz9mh8skzaixzifxs2cq2zl3n0s1"; sha256 = "1mvsm0q6nzsp31ndh5yrr3bbgysn4fmcfzlg0rjbh18y159fcfqv";
}; };
meta.homepage = "https://github.com/honza/vim-snippets/"; meta.homepage = "https://github.com/honza/vim-snippets/";
}; };
@ -7230,12 +7242,12 @@ let
vim-SyntaxRange = buildVimPluginFrom2Nix { vim-SyntaxRange = buildVimPluginFrom2Nix {
pname = "vim-SyntaxRange"; pname = "vim-SyntaxRange";
version = "2020-08-18"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "inkarkat"; owner = "inkarkat";
repo = "vim-SyntaxRange"; repo = "vim-SyntaxRange";
rev = "602316468bc044e047db88f50157b61fa00b65cb"; rev = "3a7fd9ff50fabafe61df12522ed2f275c8e2f45e";
sha256 = "0zrrvd9xrivx61fiz799mdbwdzl7damdgm6i9h0sl1v95hclhi3i"; sha256 = "1b5xyacbn87z8wkacjpnjk82xmxzivlb111427kwb5kxxdh4w7gq";
}; };
meta.homepage = "https://github.com/inkarkat/vim-SyntaxRange/"; meta.homepage = "https://github.com/inkarkat/vim-SyntaxRange/";
}; };
@ -7591,12 +7603,12 @@ let
vim-vsnip = buildVimPluginFrom2Nix { vim-vsnip = buildVimPluginFrom2Nix {
pname = "vim-vsnip"; pname = "vim-vsnip";
version = "2021-01-07"; version = "2021-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "hrsh7th"; owner = "hrsh7th";
repo = "vim-vsnip"; repo = "vim-vsnip";
rev = "5917d944b259baab85c9c249a8be33a82cd033d3"; rev = "7d96014c899e92476a4d74dca010713d17507a2d";
sha256 = "0gj5qjrb31j93vv8wpqlhdpsgrnkwaxvhvslkjj9m3fnx34gqvdv"; sha256 = "1fb7xcpjysix846vrz02mcx8bm2swzckxa54i0sf462ynckcvg4f";
}; };
meta.homepage = "https://github.com/hrsh7th/vim-vsnip/"; meta.homepage = "https://github.com/hrsh7th/vim-vsnip/";
}; };
@ -7699,12 +7711,12 @@ let
vim-yaml = buildVimPluginFrom2Nix { vim-yaml = buildVimPluginFrom2Nix {
pname = "vim-yaml"; pname = "vim-yaml";
version = "2020-01-30"; version = "2021-01-14";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "stephpy"; owner = "stephpy";
repo = "vim-yaml"; repo = "vim-yaml";
rev = "8fc9136a9c3f64b3e65bb6170391f9daf2c23056"; rev = "dce19542d5ec1663183b0f6844ec663b5d1f3d24";
sha256 = "08bg7mxvgrl070m0kk4rmain7h3rv712jj6lk9l808cfjzaw9343"; sha256 = "18xpdl86zsnmrc1w8wccx9acwjvgij2wpsg7f6dpnxx70c07g3ig";
}; };
meta.homepage = "https://github.com/stephpy/vim-yaml/"; meta.homepage = "https://github.com/stephpy/vim-yaml/";
}; };
@ -7868,12 +7880,12 @@ let
vimtex = buildVimPluginFrom2Nix { vimtex = buildVimPluginFrom2Nix {
pname = "vimtex"; pname = "vimtex";
version = "2021-01-13"; version = "2021-01-16";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "lervag"; owner = "lervag";
repo = "vimtex"; repo = "vimtex";
rev = "aebcaddf2ede37e04812a2804b0d951dacdfa150"; rev = "7c7d6020f848864e091ac437e55f72139f9a59b4";
sha256 = "0cf94yv9zmksnvsv4d8xyqk48d4v3k7zs1cb01g7l4m34cx0gv99"; sha256 = "10fl44xpjfsrfqr3sz2mbxhigmkz5ivky96smxp4yp9av0zvvcm4";
}; };
meta.homepage = "https://github.com/lervag/vimtex/"; meta.homepage = "https://github.com/lervag/vimtex/";
}; };
@ -7916,12 +7928,12 @@ let
vista-vim = buildVimPluginFrom2Nix { vista-vim = buildVimPluginFrom2Nix {
pname = "vista-vim"; pname = "vista-vim";
version = "2021-01-01"; version = "2021-01-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "liuchengxu"; owner = "liuchengxu";
repo = "vista.vim"; repo = "vista.vim";
rev = "691fbce5fa1473c64035fba6e3c7b3876a99cb58"; rev = "a648aab8b35401bea2b9192efe171b3787264abd";
sha256 = "0xx06s8syqs3a5b5711zgbjbzqz17pk66vzcazhq08bqgys21alr"; sha256 = "15ib66lsx2wpbykv5pmr4ly2gkksml2dp6nmb2iv7zy70655whsf";
}; };
meta.homepage = "https://github.com/liuchengxu/vista.vim/"; meta.homepage = "https://github.com/liuchengxu/vista.vim/";
}; };

View file

@ -654,7 +654,7 @@ self: super: {
libiconv libiconv
]; ];
cargoSha256 = "1738hvqzwr4h1bigsqffc6alkzvir8s6f7mr0xyp21qbf5qkxmq2"; cargoSha256 = "6tgSdIC9ThKvyiX1Unihwozhez6+HsQiqebugzNrKVc=";
}; };
in '' in ''
ln -s ${maple-bin}/bin/maple $target/bin/maple ln -s ${maple-bin}/bin/maple $target/bin/maple

View file

@ -286,6 +286,7 @@ LucHermitte/lh-brackets
LucHermitte/lh-vim-lib LucHermitte/lh-vim-lib
ludovicchabant/vim-gutentags ludovicchabant/vim-gutentags
ludovicchabant/vim-lawrencium ludovicchabant/vim-lawrencium
lukas-reineke/indent-blankline.nvim
lukaszkorecki/workflowish lukaszkorecki/workflowish
lumiliet/vim-twig lumiliet/vim-twig
luochen1990/rainbow luochen1990/rainbow

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl }: { lib, stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "DarwinTools-1"; name = "DarwinTools-1";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
''; '';
meta = { meta = {
maintainers = [ stdenv.lib.maintainers.matthewbauer ]; maintainers = [ lib.maintainers.matthewbauer ];
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
}; };
} }

View file

@ -176,7 +176,7 @@ let
setupHook = ./framework-setup-hook.sh; setupHook = ./framework-setup-hook.sh;
# Not going to be more specific than this for now # Not going to be more specific than this for now
__propagatedImpureHostDeps = stdenv.lib.optionals (name != "Kernel") [ __propagatedImpureHostDeps = lib.optionals (name != "Kernel") [
# The setup-hook ensures that everyone uses the impure CoreFoundation who uses these SDK frameworks, so let's expose it # The setup-hook ensures that everyone uses the impure CoreFoundation who uses these SDK frameworks, so let's expose it
"/System/Library/Frameworks/CoreFoundation.framework" "/System/Library/Frameworks/CoreFoundation.framework"
"/System/Library/Frameworks/${name}.framework" "/System/Library/Frameworks/${name}.framework"
@ -249,42 +249,42 @@ in rec {
}; };
overrides = super: { overrides = super: {
AppKit = stdenv.lib.overrideDerivation super.AppKit (drv: { AppKit = lib.overrideDerivation super.AppKit (drv: {
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
"/System/Library/PrivateFrameworks/" "/System/Library/PrivateFrameworks/"
]; ];
}); });
Carbon = stdenv.lib.overrideDerivation super.Carbon (drv: { Carbon = lib.overrideDerivation super.Carbon (drv: {
extraTBDFiles = [ "Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering.tbd" ]; extraTBDFiles = [ "Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering.tbd" ];
}); });
CoreFoundation = stdenv.lib.overrideDerivation super.CoreFoundation (drv: { CoreFoundation = lib.overrideDerivation super.CoreFoundation (drv: {
setupHook = ./cf-setup-hook.sh; setupHook = ./cf-setup-hook.sh;
}); });
CoreMedia = stdenv.lib.overrideDerivation super.CoreMedia (drv: { CoreMedia = lib.overrideDerivation super.CoreMedia (drv: {
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
"/System/Library/Frameworks/CoreImage.framework" "/System/Library/Frameworks/CoreImage.framework"
]; ];
}); });
CoreMIDI = stdenv.lib.overrideDerivation super.CoreMIDI (drv: { CoreMIDI = lib.overrideDerivation super.CoreMIDI (drv: {
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
"/System/Library/PrivateFrameworks/" "/System/Library/PrivateFrameworks/"
]; ];
setupHook = ./private-frameworks-setup-hook.sh; setupHook = ./private-frameworks-setup-hook.sh;
}); });
IMServicePlugIn = stdenv.lib.overrideDerivation super.IMServicePlugIn (drv: { IMServicePlugIn = lib.overrideDerivation super.IMServicePlugIn (drv: {
extraTBDFiles = [ "Versions/A/Frameworks/IMServicePlugInSupport.framework/Versions/A/IMServicePlugInSupport.tbd" ]; extraTBDFiles = [ "Versions/A/Frameworks/IMServicePlugInSupport.framework/Versions/A/IMServicePlugInSupport.tbd" ];
}); });
Security = stdenv.lib.overrideDerivation super.Security (drv: { Security = lib.overrideDerivation super.Security (drv: {
setupHook = ./security-setup-hook.sh; setupHook = ./security-setup-hook.sh;
}); });
QuartzCore = stdenv.lib.overrideDerivation super.QuartzCore (drv: { QuartzCore = lib.overrideDerivation super.QuartzCore (drv: {
installPhase = drv.installPhase + '' installPhase = drv.installPhase + ''
f="$out/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h" f="$out/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h"
substituteInPlace "$f" \ substituteInPlace "$f" \
@ -292,14 +292,14 @@ in rec {
''; '';
}); });
MetalKit = stdenv.lib.overrideDerivation super.MetalKit (drv: { MetalKit = lib.overrideDerivation super.MetalKit (drv: {
installPhase = drv.installPhase + '' installPhase = drv.installPhase + ''
mkdir -p $out/include/simd mkdir -p $out/include/simd
cp ${lib.getDev sdk}/include/simd/*.h $out/include/simd/ cp ${lib.getDev sdk}/include/simd/*.h $out/include/simd/
''; '';
}); });
WebKit = stdenv.lib.overrideDerivation super.WebKit (drv: { WebKit = lib.overrideDerivation super.WebKit (drv: {
extraTBDFiles = [ extraTBDFiles = [
"Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore.tbd" "Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore.tbd"
"Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy.tbd" "Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy.tbd"
@ -307,7 +307,7 @@ in rec {
}); });
} // lib.genAttrs [ "ContactsPersistence" "UIFoundation" "GameCenter" ] (x: tbdOnlyFramework x {}); } // lib.genAttrs [ "ContactsPersistence" "UIFoundation" "GameCenter" ] (x: tbdOnlyFramework x {});
bareFrameworks = stdenv.lib.mapAttrs framework (import ./frameworks.nix { bareFrameworks = lib.mapAttrs framework (import ./frameworks.nix {
inherit frameworks libs; inherit frameworks libs;
inherit (pkgs.darwin) libobjc; inherit (pkgs.darwin) libobjc;
}); });

View file

@ -1,8 +1,8 @@
{ stdenv, libyaml }: { lib, stdenv, libyaml }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "print-reexports"; name = "print-reexports";
src = stdenv.lib.sourceFilesBySuffices ./. [".c"]; src = lib.sourceFilesBySuffices ./. [".c"];
buildInputs = [ libyaml ]; buildInputs = [ libyaml ];

View file

@ -2,7 +2,7 @@
# Someday it'll make sense to split these out into their own packages, but today is not that day. # Someday it'll make sense to split these out into their own packages, but today is not that day.
appleDerivation { appleDerivation {
srcs = stdenv.lib.attrValues IOKitSrcs; srcs = lib.attrValues IOKitSrcs;
sourceRoot = "."; sourceRoot = ".";
phases = [ "unpackPhase" "installPhase" ]; phases = [ "unpackPhase" "installPhase" ];

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, fetchzip, bsdmake, perl, flex, yacc { lib, stdenv, appleDerivation, fetchzip, bsdmake, perl, flex, yacc
}: }:
# this derivation sucks # this derivation sucks
@ -85,7 +85,7 @@ in appleDerivation {
setOutputFlags = false; setOutputFlags = false;
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ gridaphobe ]; maintainers = with lib.maintainers; [ gridaphobe ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, xcbuild, ncurses, libutil }: { lib, stdenv, appleDerivation, xcbuild, ncurses, libutil }:
appleDerivation { appleDerivation {
# We can't just run the root build, because https://github.com/facebook/xcbuild/issues/264 # We can't just run the root build, because https://github.com/facebook/xcbuild/issues/264
@ -45,7 +45,7 @@ appleDerivation {
buildInputs = [ ncurses libutil ]; buildInputs = [ ncurses libutil ];
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, xcbuildHook }: { lib, stdenv, appleDerivation, xcbuildHook }:
appleDerivation { appleDerivation {
nativeBuildInputs = [ xcbuildHook ]; nativeBuildInputs = [ xcbuildHook ];
@ -26,7 +26,7 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, yacc, flex }: { lib, stdenv, appleDerivation, yacc, flex }:
appleDerivation { appleDerivation {
nativeBuildInputs = [ yacc flex ]; nativeBuildInputs = [ yacc flex ];
@ -44,6 +44,6 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, makeWrapper }: { lib, stdenv, appleDerivation, makeWrapper }:
appleDerivation { appleDerivation {
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -44,6 +44,6 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchzip, pkgs }: { lib, stdenv, fetchurl, fetchzip, pkgs }:
let let
# This attrset can in theory be computed automatically, but for that to work nicely we need # This attrset can in theory be computed automatically, but for that to work nicely we need
@ -152,7 +152,7 @@ let
name = "${name}-${version}"; name = "${name}-${version}";
enableParallelBuilding = true; enableParallelBuilding = true;
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
}; };
} // (if attrs ? srcs then {} else { } // (if attrs ? srcs then {} else {
src = fetchApple version sha256 name; src = fetchApple version sha256 name;
@ -160,7 +160,7 @@ let
applePackage = namePath: version: sha256: applePackage = namePath: version: sha256:
let let
name = builtins.elemAt (stdenv.lib.splitString "/" namePath) 0; name = builtins.elemAt (lib.splitString "/" namePath) 0;
appleDerivation = appleDerivation_ name version sha256; appleDerivation = appleDerivation_ name version sha256;
callPackage = pkgs.newScope (packages // pkgs.darwin // { inherit appleDerivation name version; }); callPackage = pkgs.newScope (packages // pkgs.darwin // { inherit appleDerivation name version; });
in callPackage (./. + "/${namePath}"); in callPackage (./. + "/${namePath}");
@ -187,7 +187,7 @@ let
# There should be an IOVideo here, but they haven't released it :( # There should be an IOVideo here, but they haven't released it :(
}; };
IOKitSrcs = stdenv.lib.mapAttrs (name: value: if stdenv.lib.isFunction value then value name else value) IOKitSpecs; IOKitSrcs = lib.mapAttrs (name: value: if lib.isFunction value then value name else value) IOKitSpecs;
# Only used for bootstrapping. Its convenient because it was the last version to come with a real makefile. # Only used for bootstrapping. Its convenient because it was the last version to come with a real makefile.
adv_cmds-boot = applePackage "adv_cmds/boot.nix" "osx-10.5.8" "102ssayxbg9wb35mdmhswbnw0bg7js3pfd8fcbic83c5q3bqa6c6" {}; adv_cmds-boot = applePackage "adv_cmds/boot.nix" "osx-10.5.8" "102ssayxbg9wb35mdmhswbnw0bg7js3pfd8fcbic83c5q3bqa6c6" {};

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, xcbuildHook, llvmPackages }: { lib, stdenv, appleDerivation, xcbuildHook, llvmPackages }:
appleDerivation { appleDerivation {
nativeBuildInputs = [ xcbuildHook ]; nativeBuildInputs = [ xcbuildHook ];
@ -30,7 +30,7 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, xcbuildHook { lib, stdenv, appleDerivation, xcbuildHook
, Libc, xnu, libutil }: , Libc, xnu, libutil }:
appleDerivation { appleDerivation {
@ -32,7 +32,7 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, xcbuildHook, zlib, bzip2, lzma, ncurses, libutil }: { lib, stdenv, appleDerivation, xcbuildHook, zlib, bzip2, lzma, ncurses, libutil }:
appleDerivation { appleDerivation {
nativeBuildInputs = [ xcbuildHook ]; nativeBuildInputs = [ xcbuildHook ];
@ -32,7 +32,7 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, libdispatch, xnu }: { lib, stdenv, appleDerivation, libdispatch, xnu }:
appleDerivation { appleDerivation {
propagatedBuildInputs = [ libdispatch xnu ]; propagatedBuildInputs = [ libdispatch xnu ];
@ -16,6 +16,6 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, xcbuildHook { lib, stdenv, appleDerivation, xcbuildHook
, openssl_1_0_2, Librpcsvc, xnu, libpcap, developer_cmds }: , openssl_1_0_2, Librpcsvc, xnu, libpcap, developer_cmds }:
appleDerivation { appleDerivation {
@ -44,7 +44,7 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, xcbuildHook }: { lib, stdenv, appleDerivation, xcbuildHook }:
appleDerivation { appleDerivation {
nativeBuildInputs = [ xcbuildHook ]; nativeBuildInputs = [ xcbuildHook ];
@ -44,7 +44,7 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -98,7 +98,7 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ shlevy matthewbauer ]; maintainers = with lib.maintainers; [ shlevy matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, appleDerivation, xcbuildHook, ncurses, bzip2, zlib, lzma }: { lib, stdenv, appleDerivation, xcbuildHook, ncurses, bzip2, zlib, lzma }:
appleDerivation { appleDerivation {
nativeBuildInputs = [ xcbuildHook ]; nativeBuildInputs = [ xcbuildHook ];
@ -21,7 +21,7 @@ appleDerivation {
''; '';
meta = { meta = {
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, binutils-unwrapped, cctools, llvm }: { lib, stdenv, binutils-unwrapped, cctools, llvm }:
# Make sure both underlying packages claim to have prepended their binaries # Make sure both underlying packages claim to have prepended their binaries
# with the same targetPrefix. # with the same targetPrefix.
@ -32,7 +32,7 @@ stdenv.mkDerivation {
# - strip: the binutils one seems to break mach-o files # - strip: the binutils one seems to break mach-o files
# - lipo: gcc build assumes it exists # - lipo: gcc build assumes it exists
# - nm: the gnu one doesn't understand many new load commands # - nm: the gnu one doesn't understand many new load commands
for i in ${stdenv.lib.concatStringsSep " " (builtins.map (e: targetPrefix + e) cmds)}; do for i in ${lib.concatStringsSep " " (builtins.map (e: targetPrefix + e) cmds)}; do
ln -sf "${cctools}/bin/$i" "$out/bin/$i" ln -sf "${cctools}/bin/$i" "$out/bin/$i"
done done
@ -56,7 +56,7 @@ stdenv.mkDerivation {
}; };
meta = { meta = {
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
priority = 10; priority = 10;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, autoreconfHook { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, autoreconfHook
, installShellFiles , installShellFiles
, libcxxabi, libuuid , libcxxabi, libuuid
, libobjc ? null, maloader ? null , libobjc ? null, maloader ? null
@ -9,7 +9,7 @@ let
# The targetPrefix prepended to binary names to allow multiple binuntils on the # The targetPrefix prepended to binary names to allow multiple binuntils on the
# PATH to both be usable. # PATH to both be usable.
targetPrefix = stdenv.lib.optionalString targetPrefix = lib.optionalString
(stdenv.targetPlatform != stdenv.hostPlatform) (stdenv.targetPlatform != stdenv.hostPlatform)
"${stdenv.targetPlatform.config}-"; "${stdenv.targetPlatform.config}-";
in in
@ -32,8 +32,8 @@ stdenv.mkDerivation {
nativeBuildInputs = [ autoconf automake libtool autoreconfHook installShellFiles ]; nativeBuildInputs = [ autoconf automake libtool autoreconfHook installShellFiles ];
buildInputs = [ libuuid ] buildInputs = [ libuuid ]
++ stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ] ++ lib.optionals stdenv.isDarwin [ libcxxabi libobjc ]
++ stdenv.lib.optional enableTapiSupport libtapi; ++ lib.optional enableTapiSupport libtapi;
patches = [ ./ld-ignore-rpath-link.patch ./ld-rpath-nonfinal.patch ]; patches = [ ./ld-ignore-rpath-link.patch ./ld-rpath-nonfinal.patch ];
@ -47,14 +47,14 @@ stdenv.mkDerivation {
# TODO(@Ericson2314): Always pass "--target" and always targetPrefix. # TODO(@Ericson2314): Always pass "--target" and always targetPrefix.
configurePlatforms = [ "build" "host" ] configurePlatforms = [ "build" "host" ]
++ stdenv.lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target"; ++ lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target";
configureFlags = [ "--disable-clang-as" ] configureFlags = [ "--disable-clang-as" ]
++ stdenv.lib.optionals enableTapiSupport [ ++ lib.optionals enableTapiSupport [
"--enable-tapi-support" "--enable-tapi-support"
"--with-libtapi=${libtapi}" "--with-libtapi=${libtapi}"
]; ];
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin '' postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace cctools/Makefile.am --replace libobjc2 "" substituteInPlace cctools/Makefile.am --replace libobjc2 ""
'' + '' '' + ''
sed -i -e 's/addStandardLibraryDirectories = true/addStandardLibraryDirectories = false/' cctools/ld64/src/ld/Options.cpp sed -i -e 's/addStandardLibraryDirectories = true/addStandardLibraryDirectories = false/' cctools/ld64/src/ld/Options.cpp
@ -100,7 +100,7 @@ stdenv.mkDerivation {
broken = !stdenv.targetPlatform.isDarwin; # Only supports darwin targets broken = !stdenv.targetPlatform.isDarwin; # Only supports darwin targets
homepage = "http://www.opensource.apple.com/source/cctools/"; homepage = "http://www.opensource.apple.com/source/cctools/";
description = "MacOS Compiler Tools (cross-platform port)"; description = "MacOS Compiler Tools (cross-platform port)";
license = stdenv.lib.licenses.apsl20; license = lib.licenses.apsl20;
maintainers = with stdenv.lib.maintainers; [ matthewbauer ]; maintainers = with lib.maintainers; [ matthewbauer ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, xcbuildHook }: { lib, stdenv, fetchFromGitHub, xcbuildHook }:
stdenv.mkDerivation stdenv.mkDerivation
{ name = "insert_dylib-2016.08.28"; { name = "insert_dylib-2016.08.28";
@ -14,5 +14,5 @@ stdenv.mkDerivation
mkdir -p $out/bin mkdir -p $out/bin
install -m755 Products/Release/insert_dylib $out/bin install -m755 Products/Release/insert_dylib $out/bin
''; '';
meta.platforms = stdenv.lib.platforms.darwin; meta.platforms = lib.platforms.darwin;
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }: { lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation { stdenv.mkDerivation {
version = "1.0"; version = "1.0";
@ -21,8 +21,8 @@ stdenv.mkDerivation {
meta = { meta = {
homepage = "https://github.com/jlhonora/lsusb"; homepage = "https://github.com/jlhonora/lsusb";
description = "lsusb command for Mac OS X"; description = "lsusb command for Mac OS X";
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.varunpatro ]; maintainers = [ lib.maintainers.varunpatro ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchgit, opencflite, clang, libcxx }: { lib, stdenv, fetchgit, opencflite, clang, libcxx }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "maloader-0git"; name = "maloader-0git";
@ -31,8 +31,8 @@ stdenv.mkDerivation {
meta = { meta = {
description = "Mach-O loader for Linux"; description = "Mach-O loader for Linux";
homepage = "https://github.com/shinh/maloader"; homepage = "https://github.com/shinh/maloader";
license = stdenv.lib.licenses.bsd2; license = lib.licenses.bsd2;
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
broken = true; # 2018-09-08, no succesful build since 2017-08-21 broken = true; # 2018-09-08, no succesful build since 2017-08-21
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, icu, libuuid, tzdata }: { lib, stdenv, fetchurl, icu, libuuid, tzdata }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "opencflite"; pname = "opencflite";
@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Cross platform port of the macOS CoreFoundation"; description = "Cross platform port of the macOS CoreFoundation";
homepage = "https://sourceforge.net/projects/opencflite/"; homepage = "https://sourceforge.net/projects/opencflite/";
license = stdenv.lib.licenses.apsl20; license = lib.licenses.apsl20;
}; };
} }

View file

@ -1,6 +1,6 @@
{ stdenv, writeScriptBin, runtimeShell }: { lib, stdenv, writeScriptBin, runtimeShell }:
let fake = name: stdenv.lib.overrideDerivation (writeScriptBin name '' let fake = name: lib.overrideDerivation (writeScriptBin name ''
#!${runtimeShell} #!${runtimeShell}
echo >&2 "Faking call to ${name} with arguments:" echo >&2 "Faking call to ${name} with arguments:"
echo >&2 "$@" echo >&2 "$@"

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchurl, ninja, python3, curl, libxml2, objc4, ICU }: { lib, stdenv, fetchFromGitHub, fetchurl, ninja, python3, curl, libxml2, objc4, ICU }:
let let
# 10.12 adds a new sysdir.h that our version of CF in the main derivation depends on, but # 10.12 adds a new sysdir.h that our version of CF in the main derivation depends on, but
@ -74,7 +74,7 @@ stdenv.mkDerivation {
# Based on testing this issue seems to only occur with clang_7, so # Based on testing this issue seems to only occur with clang_7, so
# please remove this when updating the default llvm versions to 8 or # please remove this when updating the default llvm versions to 8 or
# later. # later.
buildPhase = stdenv.lib.optionalString true '' buildPhase = lib.optionalString true ''
for i in {1..512}; do for i in {1..512}; do
if ninja -j $NIX_BUILD_CORES; then if ninja -j $NIX_BUILD_CORES; then
break break

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, perl, AppKit, Cocoa, ScriptingBridge }: { lib, stdenv, fetchFromGitHub, perl, AppKit, Cocoa, ScriptingBridge }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.9.2"; version = "0.9.2";
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/ali-rantakari/trash"; homepage = "https://github.com/ali-rantakari/trash";
description = "Small command-line program for OS X that moves files or description = "Small command-line program for OS X that moves files or
folders to the trash."; folders to the trash.";
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
}; };
} }

View file

@ -1,4 +1,4 @@
{stdenv, darwin}: {lib, stdenv, darwin}:
/* /*
* This is needed to build GCC on Darwin. * This is needed to build GCC on Darwin.
@ -19,5 +19,5 @@ stdenv.mkDerivation {
ln -sf ${darwin.CF}/Library/Frameworks/CoreFoundation.framework/Headers/* CoreFoundation ln -sf ${darwin.CF}/Library/Frameworks/CoreFoundation.framework/Headers/* CoreFoundation
''; '';
meta.platforms = stdenv.lib.platforms.darwin; meta.platforms = lib.platforms.darwin;
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }: { lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.1.0"; version = "0.1.0";
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = "https://github.com/rauchg/wifi-password"; homepage = "https://github.com/rauchg/wifi-password";
description = "Get the password of the wifi you're on"; description = "Get the password of the wifi you're on";
platforms = stdenv.lib.platforms.darwin; platforms = lib.platforms.darwin;
license = stdenv.lib.licenses.mit; license = lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.nikitavoloboev ]; maintainers = [ lib.maintainers.nikitavoloboev ];
}; };
} }

View file

@ -37,9 +37,9 @@ rec {
bintools = binutils-unwrapped; bintools = binutils-unwrapped;
extraBuildCommands = '' extraBuildCommands = ''
echo "-arch ${iosPlatformArch targetPlatform}" >> $out/nix-support/libc-ldflags echo "-arch ${iosPlatformArch targetPlatform}" >> $out/nix-support/libc-ldflags
'' + stdenv.lib.optionalString (sdk.platform == "iPhoneSimulator") '' '' + lib.optionalString (sdk.platform == "iPhoneSimulator") ''
echo "-platform_version ios-sim ${minSdkVersion} ${sdk.version}" >> $out/nix-support/libc-ldflags echo "-platform_version ios-sim ${minSdkVersion} ${sdk.version}" >> $out/nix-support/libc-ldflags
'' + stdenv.lib.optionalString (sdk.platform == "iPhoneOS") '' '' + lib.optionalString (sdk.platform == "iPhoneOS") ''
echo "-platform_version ios ${minSdkVersion} ${sdk.version}" >> $out/nix-support/libc-ldflags echo "-platform_version ios ${minSdkVersion} ${sdk.version}" >> $out/nix-support/libc-ldflags
''; '';
}; };
@ -54,9 +54,9 @@ rec {
mv cc-cflags.tmp $out/nix-support/cc-cflags mv cc-cflags.tmp $out/nix-support/cc-cflags
echo "-target ${targetPlatform.config} -arch ${iosPlatformArch targetPlatform}" >> $out/nix-support/cc-cflags echo "-target ${targetPlatform.config} -arch ${iosPlatformArch targetPlatform}" >> $out/nix-support/cc-cflags
echo "-isystem ${sdk}/usr/include${lib.optionalString (lib.versionAtLeast "10" sdk.version) " -isystem ${sdk}/usr/include/c++/4.2.1/ -stdlib=libstdc++"}" >> $out/nix-support/cc-cflags echo "-isystem ${sdk}/usr/include${lib.optionalString (lib.versionAtLeast "10" sdk.version) " -isystem ${sdk}/usr/include/c++/4.2.1/ -stdlib=libstdc++"}" >> $out/nix-support/cc-cflags
'' + stdenv.lib.optionalString (sdk.platform == "iPhoneSimulator") '' '' + lib.optionalString (sdk.platform == "iPhoneSimulator") ''
echo "-mios-simulator-version-min=${minSdkVersion}" >> $out/nix-support/cc-cflags echo "-mios-simulator-version-min=${minSdkVersion}" >> $out/nix-support/cc-cflags
'' + stdenv.lib.optionalString (sdk.platform == "iPhoneOS") '' '' + lib.optionalString (sdk.platform == "iPhoneOS") ''
echo "-miphoneos-version-min=${minSdkVersion}" >> $out/nix-support/cc-cflags echo "-miphoneos-version-min=${minSdkVersion}" >> $out/nix-support/cc-cflags
''; '';
}) // { }) // {

View file

@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
battery and thermal information. battery and thermal information.
''; '';
homepage = "https://sourceforge.net/projects/acpiclient/"; homepage = "https://sourceforge.net/projects/acpiclient/";
license = stdenv.lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ ]; maintainers = [ ];
}; };

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, fetchpatch}: {lib, stdenv, fetchurl, fetchpatch}:
let let
acpitool-patch-051-4 = params: fetchpatch rec { acpitool-patch-051-4 = params: fetchpatch rec {
@ -44,8 +44,8 @@ in stdenv.mkDerivation rec {
meta = { meta = {
description = "A small, convenient command-line ACPI client with a lot of features"; description = "A small, convenient command-line ACPI client with a lot of features";
homepage = "https://sourceforge.net/projects/acpitool/"; homepage = "https://sourceforge.net/projects/acpitool/";
license = stdenv.lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.guibert ]; maintainers = [ lib.maintainers.guibert ];
platforms = stdenv.lib.platforms.unix; platforms = lib.platforms.unix;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, fuse }: { lib, stdenv, fetchurl, pkgconfig, autoreconfHook, fuse }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "afuse-0.4.1"; name = "afuse-0.4.1";
@ -14,8 +14,8 @@ stdenv.mkDerivation {
meta = { meta = {
description = "Automounter in userspace"; description = "Automounter in userspace";
homepage = "https://github.com/pcarrier/afuse"; homepage = "https://github.com/pcarrier/afuse";
license = stdenv.lib.licenses.gpl2; license = lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.marcweber ]; maintainers = [ lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, buildPackages, autoreconfHook, fetchurl, fetchpatch }: { lib, stdenv, buildPackages, autoreconfHook, fetchurl, fetchpatch }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "alsa-firmware-1.2.1"; name = "alsa-firmware-1.2.1";
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = "http://www.alsa-project.org/"; homepage = "http://www.alsa-project.org/";
description = "Soundcard firmwares from the alsa project"; description = "Soundcard firmwares from the alsa project";
license = stdenv.lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View file

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ]; installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ];
postFixup = '' postFixup = ''
wrapProgram $out/bin/alsa-info.sh --prefix PATH : "${stdenv.lib.makeBinPath [ which pciutils ]}" wrapProgram $out/bin/alsa-info.sh --prefix PATH : "${lib.makeBinPath [ which pciutils ]}"
''; '';
meta = with lib; { meta = with lib; {

View file

@ -7,7 +7,7 @@
assert (!libsOnly) -> kernel != null; assert (!libsOnly) -> kernel != null;
with stdenv.lib; with lib;
let let

View file

@ -115,7 +115,7 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
wrapProgram $out/bin/anbox \ wrapProgram $out/bin/anbox \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [libGL libglvnd]} \ --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [libGL libglvnd]} \
--prefix PATH : ${git}/bin --prefix PATH : ${git}/bin
mkdir -p $out/share/dbus-1/services mkdir -p $out/share/dbus-1/services

View file

@ -17,7 +17,7 @@ let
apparmor-patchver = "6"; apparmor-patchver = "6";
apparmor-version = apparmor-series + "." + apparmor-patchver; apparmor-version = apparmor-series + "." + apparmor-patchver;
apparmor-meta = component: with stdenv.lib; { apparmor-meta = component: with lib; {
homepage = "https://apparmor.net/"; homepage = "https://apparmor.net/";
description = "A mandatory access control system - ${component}"; description = "A mandatory access control system - ${component}";
license = licenses.gpl2; license = licenses.gpl2;
@ -39,7 +39,7 @@ let
substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man" substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man"
''; '';
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [ patches = lib.optionals stdenv.hostPlatform.isMusl [
(fetchpatch { (fetchpatch {
url = "https://git.alpinelinux.org/aports/plain/testing/apparmor/0003-Added-missing-typedef-definitions-on-parser.patch?id=74b8427cc21f04e32030d047ae92caa618105b53"; url = "https://git.alpinelinux.org/aports/plain/testing/apparmor/0003-Added-missing-typedef-definitions-on-parser.patch?id=74b8427cc21f04e32030d047ae92caa618105b53";
name = "0003-Added-missing-typedef-definitions-on-parser.patch"; name = "0003-Added-missing-typedef-definitions-on-parser.patch";
@ -75,8 +75,8 @@ let
]; ];
buildInputs = [] buildInputs = []
++ stdenv.lib.optional withPerl perl ++ lib.optional withPerl perl
++ stdenv.lib.optional withPython python; ++ lib.optional withPython python;
# required to build apparmor-parser # required to build apparmor-parser
dontDisableStatic = true; dontDisableStatic = true;
@ -84,21 +84,21 @@ let
prePatch = prePatchCommon + '' prePatch = prePatchCommon + ''
substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.am --replace install_vendor install_site substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.am --replace install_vendor install_site
substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.in --replace install_vendor install_site substituteInPlace ./libraries/libapparmor/swig/perl/Makefile.in --replace install_vendor install_site
substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${stdenv.lib.getDev stdenv.cc.libc}/include/netinet/in.h" substituteInPlace ./libraries/libapparmor/src/Makefile.am --replace "/usr/include/netinet/in.h" "${lib.getDev stdenv.cc.libc}/include/netinet/in.h"
substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${stdenv.lib.getDev stdenv.cc.libc}/include/netinet/in.h" substituteInPlace ./libraries/libapparmor/src/Makefile.in --replace "/usr/include/netinet/in.h" "${lib.getDev stdenv.cc.libc}/include/netinet/in.h"
''; '';
inherit patches; inherit patches;
postPatch = "cd ./libraries/libapparmor"; postPatch = "cd ./libraries/libapparmor";
# https://gitlab.com/apparmor/apparmor/issues/1 # https://gitlab.com/apparmor/apparmor/issues/1
configureFlags = [ configureFlags = [
(stdenv.lib.withFeature withPerl "perl") (lib.withFeature withPerl "perl")
(stdenv.lib.withFeature withPython "python") (lib.withFeature withPython "python")
]; ];
outputs = [ "out" ] ++ stdenv.lib.optional withPython "python"; outputs = [ "out" ] ++ lib.optional withPython "python";
postInstall = stdenv.lib.optionalString withPython '' postInstall = lib.optionalString withPython ''
mkdir -p $python/lib mkdir -p $python/lib
mv $out/lib/python* $python/lib/ mv $out/lib/python* $python/lib/
''; '';

View file

@ -9,7 +9,7 @@
assert (!libsOnly) -> kernel != null; assert (!libsOnly) -> kernel != null;
with stdenv.lib; with lib;
# This derivation requires a maximum of gcc49, Linux kernel 4.1 and xorg.xserver 1.17 # This derivation requires a maximum of gcc49, Linux kernel 4.1 and xorg.xserver 1.17
# and will not build or run using versions newer # and will not build or run using versions newer

View file

@ -1,5 +1,5 @@
{ {
stdenv, buildPackages, fetchurl, fetchpatch, lib, stdenv, buildPackages, fetchurl, fetchpatch,
runCommand, runCommand,
autoconf, automake, libtool, autoconf, automake, libtool,
enablePython ? false, python ? null, enablePython ? false, python ? null,
@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "dev" "out" "man" ]; outputs = [ "bin" "dev" "out" "man" ];
depsBuildBuild = [ buildPackages.stdenv.cc ]; depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = stdenv.lib.optionals stdenv.hostPlatform.isMusl nativeBuildInputs = lib.optionals stdenv.hostPlatform.isMusl
[ autoconf automake libtool ]; [ autoconf automake libtool ];
buildInputs = stdenv.lib.optional enablePython python; buildInputs = lib.optional enablePython python;
configureFlags = [ configureFlags = [
# z/OS plugin is not useful on Linux, # z/OS plugin is not useful on Linux,
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
# TODO: Remove the musl patches when # TODO: Remove the musl patches when
# https://github.com/linux-audit/audit-userspace/pull/25 # https://github.com/linux-audit/audit-userspace/pull/25
# is available with the next release. # is available with the next release.
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl [ patches = lib.optional stdenv.hostPlatform.isMusl [
( (
let patch = fetchpatch { let patch = fetchpatch {
url = "https://github.com/linux-audit/audit-userspace/commit/d579a08bb1cde71f939c13ac6b2261052ae9f77e.patch"; url = "https://github.com/linux-audit/audit-userspace/commit/d579a08bb1cde71f939c13ac6b2261052ae9f77e.patch";
@ -59,8 +59,8 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Audit Library"; description = "Audit Library";
homepage = "https://people.redhat.com/sgrubb/audit/"; homepage = "https://people.redhat.com/sgrubb/audit/";
license = stdenv.lib.licenses.gpl2; license = lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ ]; maintainers = with lib.maintainers; [ ];
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, nfs-utils, e2fsprogs { lib, stdenv, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, nfs-utils, e2fsprogs
, libxml2, kerberos, kmod, openldap, sssd, cyrus_sasl, openssl, rpcsvc-proto }: , libxml2, kerberos, kmod, openldap, sssd, cyrus_sasl, openssl, rpcsvc-proto }:
let let
@ -44,8 +44,8 @@ in stdenv.mkDerivation {
meta = { meta = {
description = "Kernel-based automounter"; description = "Kernel-based automounter";
homepage = "https://www.kernel.org/pub/linux/daemons/autofs/"; homepage = "https://www.kernel.org/pub/linux/daemons/autofs/";
license = stdenv.lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
executables = [ "automount" ]; executables = [ "automount" ];
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, gpsd, libcap, libnl }: { lib, stdenv, fetchurl, pkgconfig, gpsd, libcap, libnl }:
let cfg = import ./version.nix; in let cfg = import ./version.nix; in
@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki"; homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki";
description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, information distribution tool"; description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, information distribution tool";
license = stdenv.lib.licenses.gpl2; license = lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ fpletz ]; maintainers = with lib.maintainers; [ fpletz ];
platforms = with stdenv.lib.platforms; linux; platforms = with lib.platforms; linux;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libnl }: { lib, stdenv, fetchurl, pkgconfig, libnl }:
let cfg = import ./version.nix; in let cfg = import ./version.nix; in
@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki"; homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki";
description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, control tool"; description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2, control tool";
license = stdenv.lib.licenses.gpl2; license = lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ fpletz ]; maintainers = with lib.maintainers; [ fpletz ];
platforms = with stdenv.lib.platforms; linux; platforms = with lib.platforms; linux;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, kernel }: { lib, stdenv, fetchurl, kernel }:
let cfg = import ./version.nix; in let cfg = import ./version.nix; in
@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
meta = { meta = {
homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki"; homepage = "https://www.open-mesh.org/projects/batman-adv/wiki/Wiki";
description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2"; description = "B.A.T.M.A.N. routing protocol in a linux kernel module for layer 2";
license = stdenv.lib.licenses.gpl2; license = lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ fpletz ]; maintainers = with lib.maintainers; [ fpletz ];
platforms = with stdenv.lib.platforms; linux; platforms = with lib.platforms; linux;
}; };
} }

View file

@ -31,7 +31,7 @@ python.pkgs.buildPythonApplication rec {
propagatedBuildInputs = [ python.pkgs.netaddr ]; propagatedBuildInputs = [ python.pkgs.netaddr ];
nativeBuildInputs = [ makeWrapper cmake flex bison ] nativeBuildInputs = [ makeWrapper cmake flex bison ]
# libelf is incompatible with elfutils-libelf # libelf is incompatible with elfutils-libelf
++ stdenv.lib.filter (x: x != libelf) kernel.moduleBuildDependencies; ++ lib.filter (x: x != libelf) kernel.moduleBuildDependencies;
cmakeFlags = [ cmakeFlags = [
"-DBCC_KERNEL_MODULES_DIR=${kernel.dev}/lib/modules" "-DBCC_KERNEL_MODULES_DIR=${kernel.dev}/lib/modules"

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libaio }: { lib, stdenv, fetchurl, libaio }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "blktrace-1.2.0"; name = "blktrace-1.2.0";
@ -18,7 +18,7 @@ stdenv.mkDerivation {
meta = { meta = {
description = "Block layer IO tracing mechanism"; description = "Block layer IO tracing mechanism";
license = stdenv.lib.licenses.gpl2; license = lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View file

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
meson meson
ninja ninja
pkgconfig pkgconfig
] ++ stdenv.lib.optional (!doCheck) python3; ] ++ lib.optional (!doCheck) python3;
buildInputs = [ buildInputs = [
glib glib

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig flex bison ] nativeBuildInputs = [ cmake pkgconfig flex bison ]
# libelf is incompatible with elfutils-libelf # libelf is incompatible with elfutils-libelf
++ stdenv.lib.filter (x: x != libelf) kernel.moduleBuildDependencies; ++ lib.filter (x: x != libelf) kernel.moduleBuildDependencies;
# patch the source, *then* substitute on @NIX_KERNEL_SRC@ in the result. we could # patch the source, *then* substitute on @NIX_KERNEL_SRC@ in the result. we could
# also in theory make this an environment variable around bpftrace, but this works # also in theory make this an environment variable around bpftrace, but this works

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoreconfHook }: { lib, stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bridge-utils-1.5"; name = "bridge-utils-1.5";
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "https://sourceforge.net/projects/bridge/"; description = "https://sourceforge.net/projects/bridge/";
homepage = "https://wiki.linuxfoundation.org/networking/bridge"; homepage = "https://wiki.linuxfoundation.org/networking/bridge";
license = stdenv.lib.licenses.gpl2Plus; license = lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, kernel }: { lib, stdenv, fetchurl, kernel }:
let let
version = "6.30.223.271"; version = "6.30.223.271";
@ -7,8 +7,8 @@ let
x86_64-linux = "1gj485qqr190idilacpxwgqyw21il03zph2rddizgj7fbd6pfyaz"; x86_64-linux = "1gj485qqr190idilacpxwgqyw21il03zph2rddizgj7fbd6pfyaz";
}; };
arch = stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") "_64"; arch = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") "_64";
tarballVersion = stdenv.lib.replaceStrings ["."] ["_"] version; tarballVersion = lib.replaceStrings ["."] ["_"] version;
tarball = "hybrid-v35${arch}-nodebug-pcoem-${tarballVersion}.tar.gz"; tarball = "hybrid-v35${arch}-nodebug-pcoem-${tarballVersion}.tar.gz";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
@ -62,8 +62,8 @@ stdenv.mkDerivation {
meta = { meta = {
description = "Kernel module driver for some Broadcom's wireless cards"; description = "Kernel module driver for some Broadcom's wireless cards";
homepage = "http://www.broadcom.com/support/802.11/linux_sta.php"; homepage = "http://www.broadcom.com/support/802.11/linux_sta.php";
license = stdenv.lib.licenses.unfreeRedistributable; license = lib.licenses.unfreeRedistributable;
maintainers = with stdenv.lib.maintainers; [ phreedom ]; maintainers = with lib.maintainers; [ phreedom ];
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View file

@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
patches = [ patches = [
./busybox-in-store.patch ./busybox-in-store.patch
] ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch; ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch;
postPatch = "patchShebangs ."; postPatch = "patchShebangs .";

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, bison, flex, libsepol }: { lib, stdenv, fetchurl, bison, flex, libsepol }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "checkpolicy"; pname = "checkpolicy";
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
makeFlags = [ makeFlags = [
"PREFIX=$(out)" "PREFIX=$(out)"
"LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a" "LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
]; ];
meta = removeAttrs libsepol.meta ["outputsToInstall"] // { meta = removeAttrs libsepol.meta ["outputsToInstall"] // {

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