mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge master into staging-next
This commit is contained in:
commit
b7f20dcd02
270 changed files with 1545 additions and 952 deletions
|
@ -970,6 +970,12 @@
|
|||
email = "sivaraman.balaji@gmail.com";
|
||||
name = "Balaji Sivaraman";
|
||||
};
|
||||
baloo = {
|
||||
email = "nixpkgs@superbaloo.net";
|
||||
github = "baloo";
|
||||
githubId = 59060;
|
||||
name = "Arthur Gautier";
|
||||
};
|
||||
balsoft = {
|
||||
email = "balsoft75@gmail.com";
|
||||
github = "balsoft";
|
||||
|
@ -2031,6 +2037,12 @@
|
|||
githubId = 23366017;
|
||||
name = "Dan Haraj";
|
||||
};
|
||||
danielbarter = {
|
||||
email = "danielbarter@gmail.com";
|
||||
github = "danielbarter";
|
||||
githubId = 8081722;
|
||||
name = "Daniel Barter";
|
||||
};
|
||||
danieldk = {
|
||||
email = "me@danieldk.eu";
|
||||
github = "danieldk";
|
||||
|
@ -5604,6 +5616,12 @@
|
|||
fingerprint = "B573 5118 0375 A872 FBBF 7770 B629 036B E399 EEE9";
|
||||
}];
|
||||
};
|
||||
mausch = {
|
||||
email = "mauricioscheffer@gmail.com";
|
||||
github = "mausch";
|
||||
githubId = 95194;
|
||||
name = "Mauricio Scheffer";
|
||||
};
|
||||
matejc = {
|
||||
email = "cotman.matej@gmail.com";
|
||||
github = "matejc";
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, pkgconfig
|
||||
, pkg-config
|
||||
, autoreconfHook
|
||||
, db48
|
||||
, sqlite
|
||||
, boost
|
||||
, zeromq
|
||||
, hexdump
|
||||
|
@ -16,11 +17,12 @@
|
|||
, qrencode
|
||||
, libevent
|
||||
, withGui
|
||||
, withWallet ? true
|
||||
}:
|
||||
|
||||
with lib;
|
||||
let
|
||||
version = "0.20.1";
|
||||
version = "0.21.0";
|
||||
majorMinorVersion = versions.majorMinor version;
|
||||
desktop = fetchurl {
|
||||
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://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
|
||||
];
|
||||
sha256 = "4bbd62fd6acfa5e9864ebf37a24a04bc2dcfe3e3222f056056288d854c53b978";
|
||||
sha256 = "1a91202c62ee49fb64d57a52b8d6d01cd392fffcbef257b573800f9289655f37";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
[ pkgconfig autoreconfHook ]
|
||||
[ pkg-config autoreconfHook ]
|
||||
++ optional stdenv.isDarwin hexdump
|
||||
++ optional withGui wrapQtAppsHook;
|
||||
buildInputs = [ db48 boost zlib zeromq miniupnpc libevent ]
|
||||
buildInputs = [ boost zlib zeromq miniupnpc libevent ]
|
||||
++ optionals stdenv.isLinux [ util-linux ]
|
||||
++ optionals withWallet [ db48 sqlite ]
|
||||
++ optionals withGui [ qtbase qttools qrencode ];
|
||||
|
||||
postInstall = optional withGui ''
|
||||
|
@ -58,8 +61,9 @@ stdenv.mkDerivation rec {
|
|||
] ++ optionals (!doCheck) [
|
||||
"--disable-tests"
|
||||
"--disable-gui-tests"
|
||||
]
|
||||
++ optionals withGui [
|
||||
] ++ optionals (!withWallet) [
|
||||
"--disable-wallet"
|
||||
] ++ optionals withGui [
|
||||
"--with-gui=qt5"
|
||||
"--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
|
||||
];
|
||||
|
@ -87,7 +91,7 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://bitcoin.org/";
|
||||
downloadPage = "https://bitcoincore.org/bin/bitcoin-core-${version}/";
|
||||
changelog = "https://bitcoincore.org/en/releases/${version}/";
|
||||
maintainers = with maintainers; [ roconnor ];
|
||||
maintainers = with maintainers; [ prusnak roconnor ];
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
mkDerivation rec {
|
||||
pname = "albert";
|
||||
version = "0.16.1";
|
||||
version = "0.17.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "albertlauncher";
|
||||
repo = "albert";
|
||||
rev = "v${version}";
|
||||
sha256 = "04sr35fqz66i24lv7r2p9qfqxs55i8xpj7aam0v9yakcr33lf55a";
|
||||
sha256 = "0lpp8rqx5b6rwdpcdldfdlw5327harr378wnfbc6rp3ajmlb4p7w";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
|
|
|
@ -30,12 +30,12 @@ let
|
|||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "obsidian";
|
||||
version = "0.10.6";
|
||||
version = "0.10.7";
|
||||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://github.com/obsidianmd/obsidian-releases/releases/download/v${version}/obsidian-${version}.asar.gz";
|
||||
sha256 = "KfGVc3nXu5ilYKQPLc5qaksTwsdhSVtty9CfjSoiCU8=";
|
||||
sha256 = "clRasHVk9tZYJd0wP0q5TKnjhJwlx5g62XbkjBmCTJI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper graphicsmagick ];
|
||||
|
|
|
@ -5,11 +5,11 @@ let
|
|||
in
|
||||
buildPythonApplication rec {
|
||||
pname = "fava";
|
||||
version = "1.17";
|
||||
version = "1.18";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "efad3a4b5697b9d7ee29eff5dc0c8367fc1df37b1abacc8d0b2071602e94a6cd";
|
||||
sha256 = "21336b695708497e6f00cab77135b174c51feb2713b657e0e208282960885bf5";
|
||||
};
|
||||
|
||||
checkInputs = [ python3.pkgs.pytest ];
|
||||
|
|
|
@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Molecule editor and visualizer";
|
||||
maintainers = [ ];
|
||||
platforms = lib.platforms.mesaPlatforms;
|
||||
maintainers = with maintainers; [ danielbarter ];
|
||||
platforms = platforms.mesaPlatforms;
|
||||
};
|
||||
}
|
||||
|
|
42
pkgs/applications/science/electronics/qucs-s/default.nix
Normal file
42
pkgs/applications/science/electronics/qucs-s/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
version = "0.10.1";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "esc";
|
||||
owner = "git-big-picture";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0b0zdq7d7k7f6p3wwc799347fraphbr20rxd1ysnc4xi1cj4wpmi";
|
||||
sha256 = "14yf71iwgk78nw8w0bpijsnnl4vg3bvxsw3vvypxmbrc1nh0bdha";
|
||||
};
|
||||
|
||||
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 = ''
|
||||
wrapProgram $out/bin/git-big-picture \
|
||||
|
@ -22,8 +26,8 @@ python2Packages.buildPythonApplication rec {
|
|||
|
||||
meta = {
|
||||
description = "Tool for visualization of Git repositories";
|
||||
homepage = "https://github.com/esc/git-big-picture";
|
||||
license = lib.licenses.gpl3;
|
||||
homepage = "https://github.com/git-big-picture/git-big-picture";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.nthorne ];
|
||||
};
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
, cephSupport ? false, ceph
|
||||
, openGLSupport ? sdlSupport, mesa, epoxy, libdrm
|
||||
, virglSupport ? openGLSupport, virglrenderer
|
||||
, libiscsiSupport ? true, libiscsi
|
||||
, smbdSupport ? false, samba
|
||||
, tpmSupport ? true
|
||||
, hostCpuOnly ? false
|
||||
|
@ -72,6 +73,7 @@ stdenv.mkDerivation rec {
|
|||
++ optionals cephSupport [ ceph ]
|
||||
++ optionals openGLSupport [ mesa epoxy libdrm ]
|
||||
++ optionals virglSupport [ virglrenderer ]
|
||||
++ optionals libiscsiSupport [ libiscsi ]
|
||||
++ optionals smbdSupport [ samba ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -148,6 +150,7 @@ stdenv.mkDerivation rec {
|
|||
++ optional openGLSupport "--enable-opengl"
|
||||
++ optional virglSupport "--enable-virglrenderer"
|
||||
++ optional tpmSupport "--enable-tpm"
|
||||
++ optional libiscsiSupport "--enable-libiscsi"
|
||||
++ optional smbdSupport "--smbd=${samba}/bin/smbd";
|
||||
|
||||
doCheck = false; # tries to access /dev
|
||||
|
|
31
pkgs/desktops/gnome-3/extensions/noannoyance/default.nix
Normal file
31
pkgs/desktops/gnome-3/extensions/noannoyance/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
|
||||
runtimePath = stdenv.lib.makeBinPath [
|
||||
runtimePath = lib.makeBinPath [
|
||||
arduino-cli
|
||||
python3 # required by the esp8266 core
|
||||
];
|
||||
|
|
|
@ -21,7 +21,7 @@ let
|
|||
|
||||
buildFlagsArray = [
|
||||
"-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; {
|
||||
inherit (src.meta) homepage;
|
||||
|
|
|
@ -47,7 +47,7 @@ let
|
|||
;
|
||||
# abiVersion 6 is default, but we need 5 for `avrdude_bin` executable
|
||||
ncurses5 = ncurses.override { abiVersion = "5"; };
|
||||
teensy_libpath = stdenv.lib.makeLibraryPath [
|
||||
teensy_libpath = lib.makeLibraryPath [
|
||||
atk
|
||||
cairo
|
||||
expat
|
||||
|
@ -76,7 +76,7 @@ let
|
|||
else throw "${stdenv.hostPlatform.system} is not supported in teensy";
|
||||
|
||||
flavor = (if withTeensyduino then "teensyduino" else "arduino")
|
||||
+ stdenv.lib.optionalString (!withGui) "-core";
|
||||
+ lib.optionalString (!withGui) "-core";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.8.13";
|
||||
|
@ -125,7 +125,7 @@ stdenv.mkDerivation rec {
|
|||
zlib
|
||||
ncurses5
|
||||
readline
|
||||
] ++ stdenv.lib.optionals withTeensyduino [ upx ];
|
||||
] ++ lib.optionals withTeensyduino [ upx ];
|
||||
downloadSrcList = builtins.attrValues externalDownloads;
|
||||
downloadDstList = builtins.attrNames externalDownloads;
|
||||
|
||||
|
@ -165,7 +165,7 @@ stdenv.mkDerivation rec {
|
|||
cp -r ./build/linux/work/* "$out/share/arduino/"
|
||||
echo -n ${version} > $out/share/arduino/lib/version.txt
|
||||
|
||||
${stdenv.lib.optionalString withGui ''
|
||||
${lib.optionalString withGui ''
|
||||
mkdir -p $out/bin
|
||||
substituteInPlace $out/share/arduino/arduino \
|
||||
--replace "JAVA=java" "JAVA=$javaPath/java" \
|
||||
|
@ -180,7 +180,7 @@ stdenv.mkDerivation rec {
|
|||
--replace '<ICON_NAME>' "$out/share/arduino/icons/128x128/apps/arduino.png"
|
||||
''}
|
||||
|
||||
${stdenv.lib.optionalString withTeensyduino ''
|
||||
${lib.optionalString withTeensyduino ''
|
||||
# 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/pde.jar $out/share/arduino/lib/pde.jar.bak
|
||||
|
@ -235,7 +235,7 @@ stdenv.mkDerivation rec {
|
|||
mkdir $out/lib/
|
||||
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
|
||||
patchelf --debug \
|
||||
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, python3Packages, installShellFiles }:
|
||||
{ stdenv, lib, fetchFromGitHub, python3Packages, installShellFiles }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.6.0";
|
||||
|
@ -22,12 +22,11 @@ stdenv.mkDerivation rec {
|
|||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Makefile for Arduino sketches";
|
||||
homepage = "https://github.com/sudar/Arduino-Makefile";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
maintainers = [ stdenv.lib.maintainers.eyjhb ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = licenses.lgpl21;
|
||||
maintainers = [ maintainers.eyjhb ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, python2Packages, picocom
|
||||
{ stdenv, lib, fetchurl, python2Packages, picocom
|
||||
, avrdude, arduino-core }:
|
||||
|
||||
python2Packages.buildPythonApplication rec {
|
||||
|
@ -36,11 +36,11 @@ python2Packages.buildPythonApplication rec {
|
|||
--replace "'-C', self.e['avrdude.conf']," ""
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Command line toolkit for working with Arduino hardware";
|
||||
homepage = "http://inotool.org/";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [ antono ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ antono ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, chez }:
|
||||
{ stdenv, lib, fetchFromGitHub, chez }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chez-matchable";
|
||||
|
@ -23,11 +23,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "This is a Library for ChezScheme providing the protable hygenic pattern matcher by Alex Shinn";
|
||||
homepage = "https://github.com/fedeinthemix/chez-matchable/";
|
||||
maintainers = [ stdenv.lib.maintainers.jitwit ];
|
||||
license = stdenv.lib.licenses.publicDomain;
|
||||
maintainers = [ maintainers.jitwit ];
|
||||
license = licenses.publicDomain;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchgit, chez, chez-srfi }:
|
||||
{ stdenv, lib, fetchgit, chez, chez-srfi }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "chez-mit";
|
||||
|
@ -22,11 +22,11 @@ stdenv.mkDerivation {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "This is a MIT/GNU Scheme compatibility library for Chez Scheme";
|
||||
homepage = "https://github.com/fedeinthemix/chez-mit/";
|
||||
maintainers = [ stdenv.lib.maintainers.jitwit ];
|
||||
license = stdenv.lib.licenses.free;
|
||||
maintainers = [ maintainers.jitwit ];
|
||||
license = licenses.free;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchgit, chez, chez-srfi, chez-mit }:
|
||||
{ stdenv, lib, fetchgit, chez, chez-srfi, chez-mit }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "chez-scmutils";
|
||||
|
@ -22,11 +22,11 @@ stdenv.mkDerivation {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "This is a port of the ‘MIT Scmutils’ library to Chez Scheme";
|
||||
homepage = "https://github.com/fedeinthemix/chez-scmutils/";
|
||||
maintainers = [ stdenv.lib.maintainers.jitwit ];
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ maintainers.jitwit ];
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchgit, chez }:
|
||||
{ stdenv, lib, fetchgit, chez }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "chez-srfi";
|
||||
|
@ -22,11 +22,11 @@ stdenv.mkDerivation {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "This package provides a collection of SRFI libraries for Chez Scheme";
|
||||
homepage = "https://github.com/fedeinthemix/chez-srfi/";
|
||||
maintainers = [ stdenv.lib.maintainers.jitwit ];
|
||||
license = stdenv.lib.licenses.free;
|
||||
maintainers = [ maintainers.jitwit ];
|
||||
license = licenses.free;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
|
||||
stdenv.mkDerivation {
|
||||
pname = "yosys-bluespec";
|
||||
version = "2021.01.14";
|
||||
version = "2021.01.17";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "thoughtpolice";
|
||||
repo = "yosys-bluespec";
|
||||
rev = "7a0c609e9b601560067c34b8ce41e89ea4a397d4";
|
||||
sha256 = "0xj9j5dwvq0dwqzfjd4ikmxkd28amj6d9m6ava7pwcrpjhyjnd0c";
|
||||
rev = "3cfa22c2810b840f406610efe3d7657477c1b0ed";
|
||||
sha256 = "1r48128yisw5lpziaj3hq88acghwi94pvm4735xajx8dl79jkcng";
|
||||
};
|
||||
|
||||
buildInputs = [ yosys readline zlib bluespec ];
|
||||
|
|
|
@ -83,7 +83,7 @@ let
|
|||
GO111MODULE = "off";
|
||||
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 ''
|
||||
runHook preConfigure
|
||||
|
|
|
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
texinfo guile gwrap pkgconfig gconf glib gnome_vfs gtk2
|
||||
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.
|
||||
doCheck = false;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, pkgconfig
|
||||
, gperf, guile, guile-lib, libffi }:
|
||||
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "guile-reader";
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Build a version of idris with a set of packages visible
|
||||
# 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
|
||||
stdenv.lib.appendToName "with-packages" (symlinkJoin {
|
||||
lib.appendToName "with-packages" (symlinkJoin {
|
||||
|
||||
inherit (idris) name;
|
||||
|
||||
|
|
23
pkgs/development/libraries/libiscsi/default.nix
Normal file
23
pkgs/development/libraries/libiscsi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -1,11 +1,10 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, automake
|
||||
, autoconf
|
||||
, autoreconfHook
|
||||
, libtool
|
||||
, openssl
|
||||
, expat
|
||||
, pkg-config
|
||||
, check
|
||||
}:
|
||||
|
||||
|
@ -17,16 +16,14 @@ stdenv.mkDerivation rec {
|
|||
owner = "strophe";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-6byg7hE0DN/cbf9NHpK/2DhXZyuelYAp+SA7vVUgo4U=";
|
||||
sha256 = "11d341avsfr0z4lq15cy5dkmff6qpy91wkgzdpfdy31l27pa1g79";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ automake autoconf pkg-config libtool check ];
|
||||
buildInputs = [ openssl expat ];
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ openssl expat libtool check ];
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
||||
preConfigure = "mkdir m4 && sh bootstrap.sh";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -37,8 +34,10 @@ stdenv.mkDerivation rec {
|
|||
runs well on both Linux, Unix, and Windows based platforms.
|
||||
'';
|
||||
homepage = "https://strophe.im/libstrophe/";
|
||||
license = with licenses; [ gpl3 mit ];
|
||||
license = with licenses; [ gpl3Only mit ];
|
||||
platforms = platforms.unix;
|
||||
broken = stdenv.isDarwin;
|
||||
maintainers = with maintainers; [ devhell flosse ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
31
pkgs/development/libraries/openbabel/2.nix
Normal file
31
pkgs/development/libraries/openbabel/2.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
pname = "openbabel";
|
||||
version = "2.4.1";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/openbabel/openbabel/archive/openbabel-${stdenv.lib.replaceStrings ["."] ["-"] version}.tar.gz";
|
||||
sha256 = "0xm7y859ivq2cp0q08mwshfxm0jq31xkyr4x8s0j6l7khf57yk2r";
|
||||
sha256 = "c97023ac6300d26176c97d4ef39957f06e68848d64f1a04b0b284ccff2744f02";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# ARM / AArch64 fixes.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/openbabel/openbabel/commit/ee11c98a655296550710db1207b294f00e168216.patch";
|
||||
sha256 = "0wjqjrkr4pfirzzicdvlyr591vppydk572ix28jd2sagnfnf566g";
|
||||
})
|
||||
|
||||
buildInputs = [ zlib libxml2 eigen python cairo pcre swig rapidjson ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
|
||||
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";
|
||||
homepage = "http://openbabel.org";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ ];
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = platforms.all;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ danielbarter ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, buildPerlPackage, shortenPerlShebang, LWP, LWPProtocolHttps, DataDump, JSON }:
|
||||
{ stdenv, lib, fetchFromGitHub, buildPerlPackage, shortenPerlShebang, LWP, LWPProtocolHttps, DataDump, JSON }:
|
||||
|
||||
buildPerlPackage rec {
|
||||
pname = "WWW-YoutubeViewer";
|
||||
|
@ -11,21 +11,21 @@ buildPerlPackage rec {
|
|||
sha256 = "16p0sa91h0zpqdpqmy348g6b9qj5f6qrbzrljn157vk00cg6mx18";
|
||||
};
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
propagatedBuildInputs = [
|
||||
LWP
|
||||
LWPProtocolHttps
|
||||
DataDump
|
||||
JSON
|
||||
];
|
||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang $out/bin/youtube-viewer
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A lightweight application for searching and streaming videos from YouTube";
|
||||
homepage = "https://github.com/trizen/youtube-viewer";
|
||||
maintainers = with stdenv.lib.maintainers; [ woffs ];
|
||||
license = with stdenv.lib.licenses; [ artistic2 ];
|
||||
maintainers = with maintainers; [ woffs ];
|
||||
license = with licenses; [ artistic2 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{buildPerlPackage, stdenv, fetchurl, DBDmysql}:
|
||||
{buildPerlPackage, lib, stdenv, fetchurl, DBDmysql}:
|
||||
|
||||
buildPerlPackage {
|
||||
pname = "maatkit";
|
||||
|
@ -27,7 +27,7 @@ buildPerlPackage {
|
|||
done
|
||||
'' ;
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Database toolkit";
|
||||
longDescription = ''
|
||||
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
|
||||
growing variety of other databases and technologies.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = licenses.gpl2Plus;
|
||||
homepage = "http://www.maatkit.org/";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ buildPerlPackage rec {
|
|||
# stray test failure
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ shortenPerlShebang ];
|
||||
nativeBuildInputs = lib.optionals stdenv.isDarwin [ shortenPerlShebang ];
|
||||
buildInputs = [ ArchiveZip ArchiveCpio file ];
|
||||
|
||||
perlPostHook = ''
|
||||
|
@ -26,7 +26,7 @@ buildPerlPackage rec {
|
|||
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
|
||||
'';
|
||||
|
||||
|
|
33
pkgs/development/python-modules/adext/default.nix
Normal file
33
pkgs/development/python-modules/adext/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
26
pkgs/development/python-modules/agent-py/default.nix
Normal file
26
pkgs/development/python-modules/agent-py/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,5 @@
|
|||
{ buildPythonPackage
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
|
@ -8,18 +9,17 @@
|
|||
, pytestCheckHook
|
||||
, requests
|
||||
, responses
|
||||
, lib, stdenv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-digitalocean";
|
||||
version = "1.15.0";
|
||||
version = "1.16.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "koalalorenzo";
|
||||
repo = "python-digitalocean";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1pz15mh72i992p63grwzqn2bbp6sm37zcp4f0fy1z7rsargwsbcz";
|
||||
sha256 = "16fxlfpisj4rcj9dvlifs6bpx42a0sn9b07bnyzwrbhi6nfvkd2g";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -33,7 +33,7 @@ buildPythonPackage rec {
|
|||
pytest
|
||||
pytestCheckHook
|
||||
responses
|
||||
] ++ stdenv.lib.optionals (!isPy3k) [
|
||||
] ++ lib.optionals (!isPy3k) [
|
||||
mock
|
||||
];
|
||||
|
||||
|
@ -41,13 +41,12 @@ buildPythonPackage rec {
|
|||
cd digitalocean
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "digitalocean" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "digitalocean.com API to manage Droplets and Images";
|
||||
homepage = "https://pypi.python.org/pypi/python-digitalocean";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [
|
||||
kiwi
|
||||
teh
|
||||
];
|
||||
description = "Python API to manage Digital Ocean Droplets and Images";
|
||||
homepage = "https://github.com/koalalorenzo/python-digitalocean";
|
||||
license = with licenses; [ lgpl3Only ];
|
||||
maintainers = with maintainers; [ kiwi teh ];
|
||||
};
|
||||
}
|
||||
|
|
26
pkgs/development/python-modules/dotty-dict/default.nix
Normal file
26
pkgs/development/python-modules/dotty-dict/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -1,8 +1,7 @@
|
|||
{ lib , buildPythonPackage, fetchFromGitHub, isPy27
|
||||
, falcon
|
||||
, pytestrunner
|
||||
, requests
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, marshmallow
|
||||
, mock
|
||||
, numpy
|
||||
|
@ -20,19 +19,33 @@ buildPythonPackage rec {
|
|||
sha256 = "05rsv16g7ph100p8kl4l2jba0y4wcpp3xblc02mfp67zp1279vaq";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
propagatedBuildInputs = [ falcon requests ];
|
||||
|
||||
checkInputs = [ mock marshmallow pytest numpy ];
|
||||
checkPhase = ''
|
||||
mv hug hug.hidden
|
||||
# some tests attempt network access
|
||||
PATH=$out/bin:$PATH pytest -k "not (test_request or test_datagram_request)"
|
||||
checkInputs = [ mock marshmallow pytestCheckHook numpy ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace '"pytest-runner"' ""
|
||||
'';
|
||||
|
||||
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; {
|
||||
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;
|
||||
};
|
||||
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
34
pkgs/development/python-modules/pyblackbird/default.nix
Normal file
34
pkgs/development/python-modules/pyblackbird/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -11,14 +11,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pypck";
|
||||
version = "0.7.8";
|
||||
version = "0.7.9";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alengwenus";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "06yqyqpzpypid27z31prvsp7nzpjqzn7gjlfqwjhhxl8fdgh8hkr";
|
||||
sha256 = "0clpi6bplzw7qg2m0hgwqr71zwxrh901gwprhd1yjykn30njp5bw";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
|
37
pkgs/development/python-modules/roombapy/default.nix
Normal file
37
pkgs/development/python-modules/roombapy/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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:
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
buildInputs = buildInputs ++ [R gettext] ++
|
||||
stdenv.lib.optionals requireX [util-linux xvfb_run] ++
|
||||
stdenv.lib.optionals stdenv.isDarwin [Cocoa Foundation gfortran];
|
||||
lib.optionals requireX [util-linux xvfb_run] ++
|
||||
lib.optionals stdenv.isDarwin [Cocoa Foundation gfortran];
|
||||
|
||||
NIX_CFLAGS_COMPILE =
|
||||
stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
||||
lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
|
|
@ -265,7 +265,7 @@ in
|
|||
|
||||
hitimes = attrs: {
|
||||
buildInputs =
|
||||
stdenv.lib.optionals stdenv.isDarwin
|
||||
lib.optionals stdenv.isDarwin
|
||||
[ darwin.apple_sdk.frameworks.CoreServices ];
|
||||
};
|
||||
|
||||
|
@ -515,7 +515,7 @@ in
|
|||
--replace "gobject-2.0" "${glib.out}/lib/libgobject-2.0${stdenv.hostPlatform.extensions.sharedLibrary}"
|
||||
|
||||
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: {
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.cctools ];
|
||||
dontBuild = false;
|
||||
postPatch = ''
|
||||
sed -i ext/extconf.rb -e "4a \
|
||||
|
|
|
@ -7,16 +7,18 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-deny";
|
||||
version = "0.7.0";
|
||||
version = "0.8.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "EmbarkStudios";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0mfccjcll7dxrhdi2bhfbggmkqdp8cmq5vf8vbb05qzpvlswvkf7";
|
||||
sha256 = "01czsnhlvs78fpx1kpi75386657jmlrqpsj4474nxmgcs75igncx";
|
||||
};
|
||||
|
||||
cargoSha256 = "1gp5m432273mr0zwq1kdswdjgp0kajr0imymqyc4yj9i931by1xv";
|
||||
cargoSha256 = "1d5vh6cifkvqxmbgc2z9259q8879fjw016z959hfivv38rragqbr";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ perl pkgconfig ];
|
||||
|
||||
|
|
34
pkgs/development/tools/rust/cargo-readme/default.nix
Normal file
34
pkgs/development/tools/rust/cargo-readme/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -65,12 +65,12 @@ let
|
|||
|
||||
ale = buildVimPluginFrom2Nix {
|
||||
pname = "ale";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dense-analysis";
|
||||
repo = "ale";
|
||||
rev = "97ce2423b04745d5c7588385ddbd75be9ef846d4";
|
||||
sha256 = "1q55kd8xqxl43rvj08awyq32a0mrv4svm2932s6q73zb8022db4a";
|
||||
rev = "9387ccfbc57f34f9fdc6af85cd0dbddf5ee8c5ae";
|
||||
sha256 = "1p8fxlnwfiaigfrcw8sk832p4msqcl4n45k5qshy625cz9jkysn0";
|
||||
};
|
||||
meta.homepage = "https://github.com/dense-analysis/ale/";
|
||||
};
|
||||
|
@ -89,12 +89,12 @@ let
|
|||
|
||||
aniseed = buildVimPluginFrom2Nix {
|
||||
pname = "aniseed";
|
||||
version = "2020-12-21";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Olical";
|
||||
repo = "aniseed";
|
||||
rev = "50adbc5ed5bb97b73b0b0c3241d9e62621ca59f9";
|
||||
sha256 = "1wy5jd86273q7sxa50kv88flqdgmg9z2m4b6phpw3xnl5d1sj9f7";
|
||||
rev = "9d3a5e926a5708039abcaf552c8ab3d133c37f80";
|
||||
sha256 = "0waa122pk1mcbbhj7zrsb9ch0xmg0x3mpm627k7knpi4q8krgrzy";
|
||||
};
|
||||
meta.homepage = "https://github.com/Olical/aniseed/";
|
||||
};
|
||||
|
@ -245,12 +245,12 @@ let
|
|||
|
||||
barbar-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "barbar-nvim";
|
||||
version = "2021-01-05";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "romgrk";
|
||||
repo = "barbar.nvim";
|
||||
rev = "e0b4935d5956025ab595195d935a5bac00f1a973";
|
||||
sha256 = "0h723j5zhj8mzwghykd84rxdr0l4ngvyy692d6sl2zz940mvwlkw";
|
||||
rev = "80860e972cdf78e0e0b8dc7f16e07142966f73cf";
|
||||
sha256 = "009gnamainla5z2q98p6mi4gifmlbx5im7d2gx2d0da62cbdrcsl";
|
||||
};
|
||||
meta.homepage = "https://github.com/romgrk/barbar.nvim/";
|
||||
};
|
||||
|
@ -449,24 +449,24 @@ let
|
|||
|
||||
coc-denite = buildVimPluginFrom2Nix {
|
||||
pname = "coc-denite";
|
||||
version = "2020-11-26";
|
||||
version = "2021-01-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neoclide";
|
||||
repo = "coc-denite";
|
||||
rev = "ea22e4462f9ac77f9c0cf3b1413bcd4d3b86a135";
|
||||
sha256 = "15rx4ws7hvssi7z1fkh7mzadc9xifi4hzb9g91lbinds12v19gg9";
|
||||
rev = "819b0e334431a9e914d69f3fedf68122799fcab9";
|
||||
sha256 = "02zy4ip7m1jivqzs67c8bzc8lis8wxkm38nvk6nngz2790xpfywc";
|
||||
};
|
||||
meta.homepage = "https://github.com/neoclide/coc-denite/";
|
||||
};
|
||||
|
||||
coc-explorer = buildVimPluginFrom2Nix {
|
||||
pname = "coc-explorer";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "weirongxu";
|
||||
repo = "coc-explorer";
|
||||
rev = "e0a4cfa0fb856b31a6d16828ce3629b2901496f0";
|
||||
sha256 = "0vadrkk92vrw48h7clbasqacyfcjn63ziq33740mciwa7a3h5bfg";
|
||||
rev = "2dc88ca328de4e00b37586aaf532b2cd90b5c3a0";
|
||||
sha256 = "0zjryprw2qdshshw7f8dkk7jf515sq11gc1w0lvssimkqdi47zaj";
|
||||
};
|
||||
meta.homepage = "https://github.com/weirongxu/coc-explorer/";
|
||||
};
|
||||
|
@ -485,12 +485,12 @@ let
|
|||
|
||||
coc-lua = buildVimPluginFrom2Nix {
|
||||
pname = "coc-lua";
|
||||
version = "2021-01-08";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "josa42";
|
||||
repo = "coc-lua";
|
||||
rev = "ad83de5ef16299e026b7fce6a024c82b2b7110f5";
|
||||
sha256 = "0b56af3z04vvlkr67yg3bfj71qycyhrv895p1sbfamj483hs7ds6";
|
||||
rev = "07a533b2b1202beda8e07e4d605584a8b7525e3d";
|
||||
sha256 = "1r8yijfm9m0g4r2d1q3ja05vjy7li578ix2c2wbq8iy3i10g8lkl";
|
||||
};
|
||||
meta.homepage = "https://github.com/josa42/coc-lua/";
|
||||
};
|
||||
|
@ -521,12 +521,12 @@ let
|
|||
|
||||
coc-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "coc-nvim";
|
||||
version = "2021-01-12";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neoclide";
|
||||
repo = "coc.nvim";
|
||||
rev = "891c73f0deb3777870aed67c6ea6e5e184bafe27";
|
||||
sha256 = "11wlsicv74vsxyr5l7q8r02h1wmf6zq3igxrp1anndv3j8mjbi09";
|
||||
rev = "a150d49a46ea85b4c78813e6ba0fcf9a2b0d86ea";
|
||||
sha256 = "067fhgvfnrvzw67hyag0fxv61m1fbl8160klgy5l0kjy7nx6hwiw";
|
||||
};
|
||||
meta.homepage = "https://github.com/neoclide/coc.nvim/";
|
||||
};
|
||||
|
@ -606,12 +606,12 @@ let
|
|||
|
||||
completion-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "completion-nvim";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-lua";
|
||||
repo = "completion-nvim";
|
||||
rev = "d8eb3ba816d6bae9b741c23dee4d496e545a4ef8";
|
||||
sha256 = "1nndg6lbsgfp65vpqw5bpjj2qa944c2x5s38jfrf2lp68hk39z23";
|
||||
rev = "fc9b2fd2d47bea6a8954de1b1b19f2330545b354";
|
||||
sha256 = "0dip8z6cfhjbz5lvf6f75382lg7d819djrpygbc12lf1s4i66i3z";
|
||||
};
|
||||
meta.homepage = "https://github.com/nvim-lua/completion-nvim/";
|
||||
};
|
||||
|
@ -654,12 +654,12 @@ let
|
|||
|
||||
conjure = buildVimPluginFrom2Nix {
|
||||
pname = "conjure";
|
||||
version = "2021-01-03";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Olical";
|
||||
repo = "conjure";
|
||||
rev = "e966ef58720fa0a2739aa33e9307809925b36597";
|
||||
sha256 = "1baf3r6fmdwn1pbn5sfrrmzi4dxp9a298bajr4sqds05avk4z2dc";
|
||||
rev = "94a55a46ecbbd169436f4f937060c8d449a74c51";
|
||||
sha256 = "074ksnsisv1yvf3fcvgz9bl8s15q5z8h2hvfmymhf53rxbfh7dfk";
|
||||
};
|
||||
meta.homepage = "https://github.com/Olical/conjure/";
|
||||
};
|
||||
|
@ -690,12 +690,12 @@ let
|
|||
|
||||
Coqtail = buildVimPluginFrom2Nix {
|
||||
pname = "Coqtail";
|
||||
version = "2021-01-03";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "whonore";
|
||||
repo = "Coqtail";
|
||||
rev = "8c3cced82a5ea8051fbbe2ade25fac557ca976f0";
|
||||
sha256 = "1ayzpwc9bi6x5l5yhmhlfqifizpya9z57f0qdm64diwqvr8lvyb2";
|
||||
rev = "50c34a24bb6638fdf8f604f75cd036ec5252864d";
|
||||
sha256 = "1b5cs4yznz8vcmba6vk67kpd6071cz1m5jbfjpvyinvld5ipnapn";
|
||||
};
|
||||
meta.homepage = "https://github.com/whonore/Coqtail/";
|
||||
};
|
||||
|
@ -882,24 +882,24 @@ let
|
|||
|
||||
denite-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "denite-nvim";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shougo";
|
||||
repo = "denite.nvim";
|
||||
rev = "d01c56ff3eab215c1485bd04d132b709f922de3e";
|
||||
sha256 = "0b2hmdkbi9d1273f8pylb87hxq2mws4s8g06rmy61ycbq60ldg4k";
|
||||
rev = "b7c43e846b404d6068e4905cc1fc22c73e6d333a";
|
||||
sha256 = "00nyw1fnjjkr7zqns05sp00qvbsyyc8a6avr9s0j76hhamrfwkhg";
|
||||
};
|
||||
meta.homepage = "https://github.com/Shougo/denite.nvim/";
|
||||
};
|
||||
|
||||
deol-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "deol-nvim";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shougo";
|
||||
repo = "deol.nvim";
|
||||
rev = "e470e3df3e94181c6e8a20e62df564beb8d7df36";
|
||||
sha256 = "17l0ykpib84lgq30dkfdk7s6gxb2dc20wg22z0pvf3slnyfdf8ra";
|
||||
rev = "f1bf4b1dc68d441936019f97a2f306327c52f5c4";
|
||||
sha256 = "0gd23blp723gybzp0g466kkf3rf9d0bd2zs76hadmw7w7992im2z";
|
||||
};
|
||||
meta.homepage = "https://github.com/Shougo/deol.nvim/";
|
||||
};
|
||||
|
@ -1076,12 +1076,12 @@ let
|
|||
|
||||
deoplete-tabnine = buildVimPluginFrom2Nix {
|
||||
pname = "deoplete-tabnine";
|
||||
version = "2020-11-30";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tbodt";
|
||||
repo = "deoplete-tabnine";
|
||||
rev = "a9bc7ffddbcae9c90be2c56f06842890e07126ce";
|
||||
sha256 = "1ar0ccr09m76arjcz4n5q7l9k8l1klc4sdxl5g0v87jjmiiazzvg";
|
||||
rev = "80a329eca215f48de8a4e575af55607700ddc93e";
|
||||
sha256 = "1i23ajbkx3yrll4mnqzf17g66c9x5g6ih3hk3acjq7h3m6ifgfyi";
|
||||
};
|
||||
meta.homepage = "https://github.com/tbodt/deoplete-tabnine/";
|
||||
};
|
||||
|
@ -1124,12 +1124,12 @@ let
|
|||
|
||||
deoplete-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "deoplete-nvim";
|
||||
version = "2021-01-12";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shougo";
|
||||
repo = "deoplete.nvim";
|
||||
rev = "4c5acd271591c4b5e5420ce05c2b20eb7beb08e3";
|
||||
sha256 = "1vy3n81y7f535adyplmy3pvvsgjdzrxcfqlzrwz62r4bspqqf42r";
|
||||
rev = "5fb8291d5f5238bdd52025e02470c7602d66f7c4";
|
||||
sha256 = "08fidhbqxhzxabww0zb5lxfignl3qmjn8ffl1g81acl2v62bz3hn";
|
||||
};
|
||||
meta.homepage = "https://github.com/Shougo/deoplete.nvim/";
|
||||
};
|
||||
|
@ -1328,21 +1328,9 @@ let
|
|||
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 {
|
||||
pname = "fennel.vim";
|
||||
version = "2021-01-08";
|
||||
pname = "fennel-vim";
|
||||
version = "2020-11-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "bakpakin";
|
||||
repo = "fennel.vim";
|
||||
|
@ -1352,6 +1340,18 @@ let
|
|||
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 {
|
||||
pname = "ferret";
|
||||
version = "2020-12-08";
|
||||
|
@ -1463,12 +1463,12 @@ let
|
|||
|
||||
fzf-vim = buildVimPluginFrom2Nix {
|
||||
pname = "fzf-vim";
|
||||
version = "2021-01-07";
|
||||
version = "2021-01-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "junegunn";
|
||||
repo = "fzf.vim";
|
||||
rev = "d43df0ea2f099836c2e3499756101e87bcbd3e25";
|
||||
sha256 = "1hclx6c476i523qa5r27r2jbdfdrlbgan1j7aczzwgj3lahbdlvx";
|
||||
rev = "1fcdee55cc5975d67248b2f8ea5fbac9aa628b7c";
|
||||
sha256 = "0pnpjm17dn28gidjc43dkh5rn5s5rni5l8zjhy72hnix8ws3m1k0";
|
||||
};
|
||||
meta.homepage = "https://github.com/junegunn/fzf.vim/";
|
||||
};
|
||||
|
@ -1797,6 +1797,18 @@ let
|
|||
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 {
|
||||
pname = "indentLine";
|
||||
version = "2020-11-27";
|
||||
|
@ -2076,12 +2088,12 @@ let
|
|||
|
||||
lh-brackets = buildVimPluginFrom2Nix {
|
||||
pname = "lh-brackets";
|
||||
version = "2021-01-06";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "LucHermitte";
|
||||
repo = "lh-brackets";
|
||||
rev = "547fc9ab14ecf6ecc0d81e8bbb1cc1fec314b6aa";
|
||||
sha256 = "0344ap5fkp1d0g91rv9pn0p28xqz8as48d3m6kxc99w229sj6p2q";
|
||||
rev = "7e0e38857de5558de04c251cf6ddc350724562d9";
|
||||
sha256 = "105dgm80946jvx9qxs10vscgrplwpg89nwd6cmpm47wzj8999r8b";
|
||||
};
|
||||
meta.homepage = "https://github.com/LucHermitte/lh-brackets/";
|
||||
};
|
||||
|
@ -2100,12 +2112,12 @@ let
|
|||
|
||||
lightline-ale = buildVimPluginFrom2Nix {
|
||||
pname = "lightline-ale";
|
||||
version = "2020-04-30";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "maximbaz";
|
||||
repo = "lightline-ale";
|
||||
rev = "23352556fdaa067209fa22df424f1b88ab370f6a";
|
||||
sha256 = "1cz1pcz6qxddpalymj2p19clnwsj568zlvbyg7mai0vxx6cv7a9w";
|
||||
rev = "fa5e6bf8bca114c508b1247a94ef95c89c390a57";
|
||||
sha256 = "00a8lpj57mbjqky4anjk5jjm2kz9y2iim2dvv1slvm6wyvd4hkwq";
|
||||
};
|
||||
meta.homepage = "https://github.com/maximbaz/lightline-ale/";
|
||||
};
|
||||
|
@ -2172,12 +2184,12 @@ let
|
|||
|
||||
lualine-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "lualine-nvim";
|
||||
version = "2021-01-11";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hoob3rt";
|
||||
repo = "lualine.nvim";
|
||||
rev = "823665c511d5727107a57e4f31205f92bb2c573e";
|
||||
sha256 = "1krfj35zmbf9gznsh4npwhjmy132svbrivsy007vpz798lir7i06";
|
||||
rev = "10a6087a74b235a7e3a77310a21a563afad3a148";
|
||||
sha256 = "06p776nkm2r1i6hslbcaqqg4adqlmv3car6gi8yd4yv8vwlffraw";
|
||||
};
|
||||
meta.homepage = "https://github.com/hoob3rt/lualine.nvim/";
|
||||
};
|
||||
|
@ -2532,12 +2544,12 @@ let
|
|||
|
||||
neoformat = buildVimPluginFrom2Nix {
|
||||
pname = "neoformat";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sbdchd";
|
||||
repo = "neoformat";
|
||||
rev = "18aee89508fb7eea2bbff824dd1c33bdf7158d75";
|
||||
sha256 = "1bq2m85kdlgak1df5gpslylq0x7fxf694gb2y18s33jxmpvnahxz";
|
||||
rev = "306b74eab85bc84bb790118bfb6a4b01e352f4f0";
|
||||
sha256 = "0nkhj5yamws84w0gwnydgysqbscigfm2yjb9p8yvbfx23y6idijk";
|
||||
};
|
||||
meta.homepage = "https://github.com/sbdchd/neoformat/";
|
||||
};
|
||||
|
@ -2580,12 +2592,12 @@ let
|
|||
|
||||
neosnippet-snippets = buildVimPluginFrom2Nix {
|
||||
pname = "neosnippet-snippets";
|
||||
version = "2020-12-23";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Shougo";
|
||||
repo = "neosnippet-snippets";
|
||||
rev = "901b9ba8f2eea6222649282a58d7b86b8719334f";
|
||||
sha256 = "0k08057fbs4pmx9w6mwnjvms6sn694h6n255ff6n40sf4yy8w4mh";
|
||||
rev = "ba35daa1d248b47b3a5202e5d32e3af5affdcd4b";
|
||||
sha256 = "14aq1m9qbmkyzp36qlpgqm8rdpc0338z68hxshwk55i01wdysqfd";
|
||||
};
|
||||
meta.homepage = "https://github.com/Shougo/neosnippet-snippets/";
|
||||
};
|
||||
|
@ -2796,12 +2808,12 @@ let
|
|||
|
||||
nvim-dap = buildVimPluginFrom2Nix {
|
||||
pname = "nvim-dap";
|
||||
version = "2021-01-10";
|
||||
version = "2021-01-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "mfussenegger";
|
||||
repo = "nvim-dap";
|
||||
rev = "e971d2af33189bff941c9632aca51211dfca0869";
|
||||
sha256 = "09h2kacqbqazllajacpfnlysvwb1ikg5gmymci3hp39g488i3kx6";
|
||||
rev = "570b84cdd58ff8ae00974d827ab259b226809ab2";
|
||||
sha256 = "040y3a1bzpf69ra6a9f0jzdfw9yf694x9zxmby8ba7xil3q69pzr";
|
||||
};
|
||||
meta.homepage = "https://github.com/mfussenegger/nvim-dap/";
|
||||
};
|
||||
|
@ -2856,12 +2868,12 @@ let
|
|||
|
||||
nvim-lspconfig = buildVimPluginFrom2Nix {
|
||||
pname = "nvim-lspconfig";
|
||||
version = "2021-01-12";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neovim";
|
||||
repo = "nvim-lspconfig";
|
||||
rev = "844d6f9d7af961eb27f876dc0cae9fe0fab5a769";
|
||||
sha256 = "151s2n50zmvfgbb30h63cgzbbxi8vb5fagiyl4gr6vpfn6p64s4g";
|
||||
rev = "87900ffcccd47bb6a09483ccf0d6840dc1d0d0d6";
|
||||
sha256 = "18qj8ql48fnncghm0p6wnbjggmkvs9gdf6lgffhdqinlrnrja9ry";
|
||||
};
|
||||
meta.homepage = "https://github.com/neovim/nvim-lspconfig/";
|
||||
};
|
||||
|
@ -2904,24 +2916,24 @@ let
|
|||
|
||||
nvim-tree-lua = buildVimPluginFrom2Nix {
|
||||
pname = "nvim-tree-lua";
|
||||
version = "2021-01-10";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "kyazdani42";
|
||||
repo = "nvim-tree.lua";
|
||||
rev = "361e20ecfa21c6bbc31436cf701ceb87e8e7bde7";
|
||||
sha256 = "01yd5i56k8c7kii3gnxh3654d5a8kdmad974yicxj0jzgvawncn4";
|
||||
rev = "787cef2a1d4ccdd1058cd1486dfea509fab1d291";
|
||||
sha256 = "1n1cvrfz2vfx5rjslx4brv3rfqjmxymy9yxyvzhi5p3vwn0phr6f";
|
||||
};
|
||||
meta.homepage = "https://github.com/kyazdani42/nvim-tree.lua/";
|
||||
};
|
||||
|
||||
nvim-treesitter = buildVimPluginFrom2Nix {
|
||||
pname = "nvim-treesitter";
|
||||
version = "2021-01-12";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-treesitter";
|
||||
repo = "nvim-treesitter";
|
||||
rev = "39968ca258c89b796fc9ce5f3643ca8781150dd8";
|
||||
sha256 = "0lcm37xrysypflyrblmbgn6sv8106mrjv9qg1rf4mn1sbdc7z4bp";
|
||||
rev = "1c3fb201c65b42a3752b299d31b1fcf40e3c38e4";
|
||||
sha256 = "1q3i1jfmrc7spayyhz85w9gfv69shlz59cbf9zrp1fvnlhys4ds9";
|
||||
};
|
||||
meta.homepage = "https://github.com/nvim-treesitter/nvim-treesitter/";
|
||||
};
|
||||
|
@ -2964,12 +2976,12 @@ let
|
|||
|
||||
nvim-ts-rainbow = buildVimPluginFrom2Nix {
|
||||
pname = "nvim-ts-rainbow";
|
||||
version = "2021-01-05";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "p00f";
|
||||
repo = "nvim-ts-rainbow";
|
||||
rev = "68eee9b031432de6a1964315235d3cf265243a77";
|
||||
sha256 = "0zjhyd02sj17i0yrmffzzja2s0y9fa37v1nvqa17kap9vmcgyh7h";
|
||||
rev = "6fc6c5691bfc5f1d742c3674400ff7074bf4d6f4";
|
||||
sha256 = "02g977djjmpjag72h38i98kiwqw5qbcqa1kp8g0iayyy8agvkr81";
|
||||
};
|
||||
meta.homepage = "https://github.com/p00f/nvim-ts-rainbow/";
|
||||
};
|
||||
|
@ -3036,12 +3048,12 @@ let
|
|||
|
||||
onehalf = buildVimPluginFrom2Nix {
|
||||
pname = "onehalf";
|
||||
version = "2020-10-14";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sonph";
|
||||
repo = "onehalf";
|
||||
rev = "89923117bc49dd1e0c6b7fdd34bc6dc4d425fe1f";
|
||||
sha256 = "0d3d9sp88b41j8yhkn99b0g1y3jbcm3hhf8dw6kq50scrb84g5y3";
|
||||
rev = "ba6c71ee99dce0b505c430f2c2706dc5f97ad3a0";
|
||||
sha256 = "10pbhaim4rcg0ljprfvqfw6k73jpp46yzhs8i9yn00bpi70frr89";
|
||||
};
|
||||
meta.homepage = "https://github.com/sonph/onehalf/";
|
||||
};
|
||||
|
@ -3806,12 +3818,12 @@ let
|
|||
|
||||
tagbar = buildVimPluginFrom2Nix {
|
||||
pname = "tagbar";
|
||||
version = "2021-01-12";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "preservim";
|
||||
repo = "tagbar";
|
||||
rev = "c7e7d5e565eca1c8a39a567a7a26cdc2512c1c7e";
|
||||
sha256 = "0sqsh8vca1yvj253as4ky0l925czf8584k7zcbcimkjb35cp4d64";
|
||||
rev = "59eef1364d8ebb16ceb8dba4274f3926f3c3b7f0";
|
||||
sha256 = "004ss6v677qlizmav2cbmcswc39880c0hazcdrkrzxfdfzrb8byp";
|
||||
};
|
||||
meta.homepage = "https://github.com/preservim/tagbar/";
|
||||
};
|
||||
|
@ -3854,12 +3866,12 @@ let
|
|||
|
||||
telescope-nvim = buildVimPluginFrom2Nix {
|
||||
pname = "telescope-nvim";
|
||||
version = "2021-01-12";
|
||||
version = "2021-01-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-telescope";
|
||||
repo = "telescope.nvim";
|
||||
rev = "57012550977679925176819345adc4d0dce85a00";
|
||||
sha256 = "002c120ppz8g6xiqckq61nbr7zcfdh5n75hhzbcn0xqlagmi9p6y";
|
||||
rev = "c2039ca78d261392b0ab7bef85b3c5f1c8f507b9";
|
||||
sha256 = "0ca93m1nl14js4wgbqhgc786mr9is0zkiwkzp4fv5ny03nhd025w";
|
||||
};
|
||||
meta.homepage = "https://github.com/nvim-telescope/telescope.nvim/";
|
||||
};
|
||||
|
@ -3951,12 +3963,12 @@ let
|
|||
|
||||
traces-vim = buildVimPluginFrom2Nix {
|
||||
pname = "traces-vim";
|
||||
version = "2020-10-13";
|
||||
version = "2021-01-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "markonm";
|
||||
repo = "traces.vim";
|
||||
rev = "1fb8738cf1e4db06423396dd3576592a94255935";
|
||||
sha256 = "0jl7m04rly8y1kslmcmi9f83a87qb3fbk6isqqqd5xgrxxmcj753";
|
||||
rev = "2b54b52badf9e052cbb78f5c21d9dc994110ff52";
|
||||
sha256 = "0p5xkyyrdr3gph4q4p0n517g6rv1vzqfjqzzmrjclf4zpqqiarc5";
|
||||
};
|
||||
meta.homepage = "https://github.com/markonm/traces.vim/";
|
||||
};
|
||||
|
@ -4083,12 +4095,12 @@ let
|
|||
|
||||
verilog_systemverilog-vim = buildVimPluginFrom2Nix {
|
||||
pname = "verilog_systemverilog-vim";
|
||||
version = "2020-06-12";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vhda";
|
||||
repo = "verilog_systemverilog.vim";
|
||||
rev = "c37bcf010fcb73599d690d8da6ac966dac02a07e";
|
||||
sha256 = "1f4kicgr7wv0dprvr91wi4lmk0d9bb9f4wcng4rfkq1cdwfkqdw4";
|
||||
rev = "0b88f2ccf81983944bf00d15ec810dd807053d19";
|
||||
sha256 = "0zaxz1j2v8nvhd9x6bx3sj95i7h7c7029hmccls777ikyp6ynf0r";
|
||||
};
|
||||
meta.homepage = "https://github.com/vhda/verilog_systemverilog.vim/";
|
||||
};
|
||||
|
@ -4347,12 +4359,12 @@ let
|
|||
|
||||
vim-airline = buildVimPluginFrom2Nix {
|
||||
pname = "vim-airline";
|
||||
version = "2021-01-10";
|
||||
version = "2021-01-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "vim-airline";
|
||||
repo = "vim-airline";
|
||||
rev = "0ca9576331ba845e7bf29f5e092f5da04f4f3580";
|
||||
sha256 = "11ai8j7l1v6pviijvrayaw4wcs5720a0qpk35x99ir3dq7pflm54";
|
||||
rev = "c7a633ce8f4547e680377efe8ea70493fcce1349";
|
||||
sha256 = "10n70bk6nsc5sgd95d80jna4v77dlla6x0886kb5lwzmiflfq31x";
|
||||
};
|
||||
meta.homepage = "https://github.com/vim-airline/vim-airline/";
|
||||
};
|
||||
|
@ -4587,12 +4599,12 @@ let
|
|||
|
||||
vim-clap = buildVimPluginFrom2Nix {
|
||||
pname = "vim-clap";
|
||||
version = "2021-01-12";
|
||||
version = "2021-01-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "liuchengxu";
|
||||
repo = "vim-clap";
|
||||
rev = "07cac9de58ad1f1ce287e47ac41e7eb7bb4db6a3";
|
||||
sha256 = "186d3mncgw6g4hrl6qv6wxnpy5mk5xkjpr0b03ql6z52iybcmxff";
|
||||
rev = "a9d1ccd9a3e9807d600abccab706634594ed0d2e";
|
||||
sha256 = "0smmgbsrqm757hgijq76y4yra0b68qhnxnyswfs37vrarcrqkfq3";
|
||||
};
|
||||
meta.homepage = "https://github.com/liuchengxu/vim-clap/";
|
||||
};
|
||||
|
@ -5175,12 +5187,12 @@ let
|
|||
|
||||
vim-floaterm = buildVimPluginFrom2Nix {
|
||||
pname = "vim-floaterm";
|
||||
version = "2021-01-12";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "voldikss";
|
||||
repo = "vim-floaterm";
|
||||
rev = "37c999def265ebf5463a925decc6604481f3c598";
|
||||
sha256 = "1ix3q36hhb5k7y1c4r5qzmr8gyxk6amb3zk88bs85j36kn56mz4j";
|
||||
rev = "355f1788b4a0878be6f99f4d41bf09d79fa4e80a";
|
||||
sha256 = "0j89h2vyggpgx2vhfd0a3x6nk5yaf898g9ipw5ags66sp13c4fqc";
|
||||
};
|
||||
meta.homepage = "https://github.com/voldikss/vim-floaterm/";
|
||||
};
|
||||
|
@ -5596,12 +5608,12 @@ let
|
|||
|
||||
vim-illuminate = buildVimPluginFrom2Nix {
|
||||
pname = "vim-illuminate";
|
||||
version = "2021-01-11";
|
||||
version = "2021-01-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "RRethy";
|
||||
repo = "vim-illuminate";
|
||||
rev = "19bfdcaafcc15b2d891c6c523c4ce80dfbba965a";
|
||||
sha256 = "0c586j1icllyl0y54dayn4204w0rvfvv9srz51rk6k1n7rghr72n";
|
||||
rev = "85103ff4ab0c5c8017af106ba1af9949aa28793e";
|
||||
sha256 = "1aixb0rbjdmask0miry1b9xi0f8bcg8z6w58bphxa7f9ndfgbppw";
|
||||
};
|
||||
meta.homepage = "https://github.com/RRethy/vim-illuminate/";
|
||||
};
|
||||
|
@ -5969,24 +5981,24 @@ let
|
|||
|
||||
vim-lsc = buildVimPluginFrom2Nix {
|
||||
pname = "vim-lsc";
|
||||
version = "2021-01-05";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "natebosch";
|
||||
repo = "vim-lsc";
|
||||
rev = "9f914a4859d911d8a152ff828ad093198fee8763";
|
||||
sha256 = "0xvzwnfmgix6cz3xzzl9v9aslassnp6jkjpv5q2qngfrf33z8j9j";
|
||||
rev = "104813da45c5bb620b9c6ce48cb918872f968dab";
|
||||
sha256 = "1x06zb9xa9v9ycg3vq1il45ylm7p2d3vflv347hpssmwcjzd6xyv";
|
||||
};
|
||||
meta.homepage = "https://github.com/natebosch/vim-lsc/";
|
||||
};
|
||||
|
||||
vim-lsp = buildVimPluginFrom2Nix {
|
||||
pname = "vim-lsp";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "prabirshrestha";
|
||||
repo = "vim-lsp";
|
||||
rev = "3bca7e8c8a794fde38075e7df9d14c286d055a84";
|
||||
sha256 = "1x9rb34a9542rn2dx2kaz4iq83swpq56144h81pr8l080r6vi2l6";
|
||||
rev = "90d61f11149ffb380eabcb66f66a160f4fc31a5d";
|
||||
sha256 = "1gr9y12fjw89ym6kdzjki12j21bhwy4ch4gpsy4gzb04xhjqllgf";
|
||||
};
|
||||
meta.homepage = "https://github.com/prabirshrestha/vim-lsp/";
|
||||
};
|
||||
|
@ -6390,12 +6402,12 @@ let
|
|||
|
||||
vim-oscyank = buildVimPluginFrom2Nix {
|
||||
pname = "vim-oscyank";
|
||||
version = "2021-01-11";
|
||||
version = "2021-01-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ojroques";
|
||||
repo = "vim-oscyank";
|
||||
rev = "ffac2ecab211469a1f9a4d17d42bc543214112f5";
|
||||
sha256 = "08vkalypqcrj4p2znx2gih7b1i87pk2ygybvl8a7hby13gwrm8v1";
|
||||
rev = "a70de0f7830ff7238d122908583faf50d73a9f26";
|
||||
sha256 = "0q00wqv4kbnwmnkawp4hm7mvk8p82mr4v5kf0m791gm7yy8gvb7x";
|
||||
};
|
||||
meta.homepage = "https://github.com/ojroques/vim-oscyank/";
|
||||
};
|
||||
|
@ -6582,12 +6594,12 @@ let
|
|||
|
||||
vim-polyglot = buildVimPluginFrom2Nix {
|
||||
pname = "vim-polyglot";
|
||||
version = "2021-01-03";
|
||||
version = "2021-01-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "sheerun";
|
||||
repo = "vim-polyglot";
|
||||
rev = "7bde552a463999897320a1899a6ca4f8806041ea";
|
||||
sha256 = "1rc9dfpl7x2fmqcm954x1syfcl392vsrcgid2pm6p91j3drm78nq";
|
||||
rev = "4c10562d2cc9b084518284c49a158558da5180a7";
|
||||
sha256 = "0avrjy1mxzkpsrbblzqx81ml08gm7n4bd4ihxm4qbvcdbg8n5chx";
|
||||
};
|
||||
meta.homepage = "https://github.com/sheerun/vim-polyglot/";
|
||||
};
|
||||
|
@ -6690,12 +6702,12 @@ let
|
|||
|
||||
vim-puppet = buildVimPluginFrom2Nix {
|
||||
pname = "vim-puppet";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rodjek";
|
||||
repo = "vim-puppet";
|
||||
rev = "cee73ec40ee21083c3fc1e1fede2c288fa46c2c3";
|
||||
sha256 = "0mbsslhwjnjg8l39pbqj4zlirqvysj21xq01fb6dnld7rl7qrxyg";
|
||||
rev = "a3af44488b00481f2a79dc7e4bb49e2767a4e6a4";
|
||||
sha256 = "07bspasgd38kj91x3c6nf7wwhbg1sqw8kwvn7c4z11q32ry4hmgk";
|
||||
};
|
||||
meta.homepage = "https://github.com/rodjek/vim-puppet/";
|
||||
};
|
||||
|
@ -6834,12 +6846,12 @@ let
|
|||
|
||||
vim-rsi = buildVimPluginFrom2Nix {
|
||||
pname = "vim-rsi";
|
||||
version = "2019-11-15";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tpope";
|
||||
repo = "vim-rsi";
|
||||
rev = "ad8ba6beae8e82339479104b914214a868c9f1fe";
|
||||
sha256 = "1ycjwnbs6rks78yxh0k0ywpvic0663mv7kydy3kjpa4f5bnkgbvc";
|
||||
rev = "e181883a0932d9315cceb96b5fffb5e2ec67068e";
|
||||
sha256 = "1pfg3y1hf840pr7f6vcwldbraj2w4c2pnf7ampbgyric0q3f4708";
|
||||
};
|
||||
meta.homepage = "https://github.com/tpope/vim-rsi/";
|
||||
};
|
||||
|
@ -7086,12 +7098,12 @@ let
|
|||
|
||||
vim-snippets = buildVimPluginFrom2Nix {
|
||||
pname = "vim-snippets";
|
||||
version = "2021-01-11";
|
||||
version = "2021-01-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "honza";
|
||||
repo = "vim-snippets";
|
||||
rev = "29d37483c4a8dad8baf0684f73541f6364dd3734";
|
||||
sha256 = "0dav4125sjrbj5mg0d76ivsadz9mh8skzaixzifxs2cq2zl3n0s1";
|
||||
rev = "673390c68328d8d067439127f15923a8ebc9efd8";
|
||||
sha256 = "1mvsm0q6nzsp31ndh5yrr3bbgysn4fmcfzlg0rjbh18y159fcfqv";
|
||||
};
|
||||
meta.homepage = "https://github.com/honza/vim-snippets/";
|
||||
};
|
||||
|
@ -7230,12 +7242,12 @@ let
|
|||
|
||||
vim-SyntaxRange = buildVimPluginFrom2Nix {
|
||||
pname = "vim-SyntaxRange";
|
||||
version = "2020-08-18";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "inkarkat";
|
||||
repo = "vim-SyntaxRange";
|
||||
rev = "602316468bc044e047db88f50157b61fa00b65cb";
|
||||
sha256 = "0zrrvd9xrivx61fiz799mdbwdzl7damdgm6i9h0sl1v95hclhi3i";
|
||||
rev = "3a7fd9ff50fabafe61df12522ed2f275c8e2f45e";
|
||||
sha256 = "1b5xyacbn87z8wkacjpnjk82xmxzivlb111427kwb5kxxdh4w7gq";
|
||||
};
|
||||
meta.homepage = "https://github.com/inkarkat/vim-SyntaxRange/";
|
||||
};
|
||||
|
@ -7591,12 +7603,12 @@ let
|
|||
|
||||
vim-vsnip = buildVimPluginFrom2Nix {
|
||||
pname = "vim-vsnip";
|
||||
version = "2021-01-07";
|
||||
version = "2021-01-15";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hrsh7th";
|
||||
repo = "vim-vsnip";
|
||||
rev = "5917d944b259baab85c9c249a8be33a82cd033d3";
|
||||
sha256 = "0gj5qjrb31j93vv8wpqlhdpsgrnkwaxvhvslkjj9m3fnx34gqvdv";
|
||||
rev = "7d96014c899e92476a4d74dca010713d17507a2d";
|
||||
sha256 = "1fb7xcpjysix846vrz02mcx8bm2swzckxa54i0sf462ynckcvg4f";
|
||||
};
|
||||
meta.homepage = "https://github.com/hrsh7th/vim-vsnip/";
|
||||
};
|
||||
|
@ -7699,12 +7711,12 @@ let
|
|||
|
||||
vim-yaml = buildVimPluginFrom2Nix {
|
||||
pname = "vim-yaml";
|
||||
version = "2020-01-30";
|
||||
version = "2021-01-14";
|
||||
src = fetchFromGitHub {
|
||||
owner = "stephpy";
|
||||
repo = "vim-yaml";
|
||||
rev = "8fc9136a9c3f64b3e65bb6170391f9daf2c23056";
|
||||
sha256 = "08bg7mxvgrl070m0kk4rmain7h3rv712jj6lk9l808cfjzaw9343";
|
||||
rev = "dce19542d5ec1663183b0f6844ec663b5d1f3d24";
|
||||
sha256 = "18xpdl86zsnmrc1w8wccx9acwjvgij2wpsg7f6dpnxx70c07g3ig";
|
||||
};
|
||||
meta.homepage = "https://github.com/stephpy/vim-yaml/";
|
||||
};
|
||||
|
@ -7868,12 +7880,12 @@ let
|
|||
|
||||
vimtex = buildVimPluginFrom2Nix {
|
||||
pname = "vimtex";
|
||||
version = "2021-01-13";
|
||||
version = "2021-01-16";
|
||||
src = fetchFromGitHub {
|
||||
owner = "lervag";
|
||||
repo = "vimtex";
|
||||
rev = "aebcaddf2ede37e04812a2804b0d951dacdfa150";
|
||||
sha256 = "0cf94yv9zmksnvsv4d8xyqk48d4v3k7zs1cb01g7l4m34cx0gv99";
|
||||
rev = "7c7d6020f848864e091ac437e55f72139f9a59b4";
|
||||
sha256 = "10fl44xpjfsrfqr3sz2mbxhigmkz5ivky96smxp4yp9av0zvvcm4";
|
||||
};
|
||||
meta.homepage = "https://github.com/lervag/vimtex/";
|
||||
};
|
||||
|
@ -7916,12 +7928,12 @@ let
|
|||
|
||||
vista-vim = buildVimPluginFrom2Nix {
|
||||
pname = "vista-vim";
|
||||
version = "2021-01-01";
|
||||
version = "2021-01-17";
|
||||
src = fetchFromGitHub {
|
||||
owner = "liuchengxu";
|
||||
repo = "vista.vim";
|
||||
rev = "691fbce5fa1473c64035fba6e3c7b3876a99cb58";
|
||||
sha256 = "0xx06s8syqs3a5b5711zgbjbzqz17pk66vzcazhq08bqgys21alr";
|
||||
rev = "a648aab8b35401bea2b9192efe171b3787264abd";
|
||||
sha256 = "15ib66lsx2wpbykv5pmr4ly2gkksml2dp6nmb2iv7zy70655whsf";
|
||||
};
|
||||
meta.homepage = "https://github.com/liuchengxu/vista.vim/";
|
||||
};
|
||||
|
|
|
@ -654,7 +654,7 @@ self: super: {
|
|||
libiconv
|
||||
];
|
||||
|
||||
cargoSha256 = "1738hvqzwr4h1bigsqffc6alkzvir8s6f7mr0xyp21qbf5qkxmq2";
|
||||
cargoSha256 = "6tgSdIC9ThKvyiX1Unihwozhez6+HsQiqebugzNrKVc=";
|
||||
};
|
||||
in ''
|
||||
ln -s ${maple-bin}/bin/maple $target/bin/maple
|
||||
|
|
|
@ -286,6 +286,7 @@ LucHermitte/lh-brackets
|
|||
LucHermitte/lh-vim-lib
|
||||
ludovicchabant/vim-gutentags
|
||||
ludovicchabant/vim-lawrencium
|
||||
lukas-reineke/indent-blankline.nvim
|
||||
lukaszkorecki/workflowish
|
||||
lumiliet/vim-twig
|
||||
luochen1990/rainbow
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "DarwinTools-1";
|
||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
maintainers = [ stdenv.lib.maintainers.matthewbauer ];
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = [ lib.maintainers.matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -176,7 +176,7 @@ let
|
|||
setupHook = ./framework-setup-hook.sh;
|
||||
|
||||
# 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
|
||||
"/System/Library/Frameworks/CoreFoundation.framework"
|
||||
"/System/Library/Frameworks/${name}.framework"
|
||||
|
@ -249,42 +249,42 @@ in rec {
|
|||
};
|
||||
|
||||
overrides = super: {
|
||||
AppKit = stdenv.lib.overrideDerivation super.AppKit (drv: {
|
||||
AppKit = lib.overrideDerivation super.AppKit (drv: {
|
||||
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
|
||||
"/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" ];
|
||||
});
|
||||
|
||||
CoreFoundation = stdenv.lib.overrideDerivation super.CoreFoundation (drv: {
|
||||
CoreFoundation = lib.overrideDerivation super.CoreFoundation (drv: {
|
||||
setupHook = ./cf-setup-hook.sh;
|
||||
});
|
||||
|
||||
CoreMedia = stdenv.lib.overrideDerivation super.CoreMedia (drv: {
|
||||
CoreMedia = lib.overrideDerivation super.CoreMedia (drv: {
|
||||
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
|
||||
"/System/Library/Frameworks/CoreImage.framework"
|
||||
];
|
||||
});
|
||||
|
||||
CoreMIDI = stdenv.lib.overrideDerivation super.CoreMIDI (drv: {
|
||||
CoreMIDI = lib.overrideDerivation super.CoreMIDI (drv: {
|
||||
__propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [
|
||||
"/System/Library/PrivateFrameworks/"
|
||||
];
|
||||
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" ];
|
||||
});
|
||||
|
||||
Security = stdenv.lib.overrideDerivation super.Security (drv: {
|
||||
Security = lib.overrideDerivation super.Security (drv: {
|
||||
setupHook = ./security-setup-hook.sh;
|
||||
});
|
||||
|
||||
QuartzCore = stdenv.lib.overrideDerivation super.QuartzCore (drv: {
|
||||
QuartzCore = lib.overrideDerivation super.QuartzCore (drv: {
|
||||
installPhase = drv.installPhase + ''
|
||||
f="$out/Library/Frameworks/QuartzCore.framework/Headers/CoreImage.h"
|
||||
substituteInPlace "$f" \
|
||||
|
@ -292,14 +292,14 @@ in rec {
|
|||
'';
|
||||
});
|
||||
|
||||
MetalKit = stdenv.lib.overrideDerivation super.MetalKit (drv: {
|
||||
MetalKit = lib.overrideDerivation super.MetalKit (drv: {
|
||||
installPhase = drv.installPhase + ''
|
||||
mkdir -p $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 = [
|
||||
"Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore.tbd"
|
||||
"Versions/A/Frameworks/WebKitLegacy.framework/Versions/A/WebKitLegacy.tbd"
|
||||
|
@ -307,7 +307,7 @@ in rec {
|
|||
});
|
||||
} // 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 (pkgs.darwin) libobjc;
|
||||
});
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ stdenv, libyaml }:
|
||||
{ lib, stdenv, libyaml }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "print-reexports";
|
||||
src = stdenv.lib.sourceFilesBySuffices ./. [".c"];
|
||||
src = lib.sourceFilesBySuffices ./. [".c"];
|
||||
|
||||
buildInputs = [ libyaml ];
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Someday it'll make sense to split these out into their own packages, but today is not that day.
|
||||
appleDerivation {
|
||||
srcs = stdenv.lib.attrValues IOKitSrcs;
|
||||
srcs = lib.attrValues IOKitSrcs;
|
||||
sourceRoot = ".";
|
||||
|
||||
phases = [ "unpackPhase" "installPhase" ];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, fetchzip, bsdmake, perl, flex, yacc
|
||||
{ lib, stdenv, appleDerivation, fetchzip, bsdmake, perl, flex, yacc
|
||||
}:
|
||||
|
||||
# this derivation sucks
|
||||
|
@ -85,7 +85,7 @@ in appleDerivation {
|
|||
setOutputFlags = false;
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ gridaphobe ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ gridaphobe ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, xcbuild, ncurses, libutil }:
|
||||
{ lib, stdenv, appleDerivation, xcbuild, ncurses, libutil }:
|
||||
|
||||
appleDerivation {
|
||||
# We can't just run the root build, because https://github.com/facebook/xcbuild/issues/264
|
||||
|
@ -45,7 +45,7 @@ appleDerivation {
|
|||
buildInputs = [ ncurses libutil ];
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, xcbuildHook }:
|
||||
{ lib, stdenv, appleDerivation, xcbuildHook }:
|
||||
|
||||
appleDerivation {
|
||||
nativeBuildInputs = [ xcbuildHook ];
|
||||
|
@ -26,7 +26,7 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, yacc, flex }:
|
||||
{ lib, stdenv, appleDerivation, yacc, flex }:
|
||||
|
||||
appleDerivation {
|
||||
nativeBuildInputs = [ yacc flex ];
|
||||
|
@ -44,6 +44,6 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, makeWrapper }:
|
||||
{ lib, stdenv, appleDerivation, makeWrapper }:
|
||||
|
||||
appleDerivation {
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -44,6 +44,6 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, fetchzip, pkgs }:
|
||||
{ lib, stdenv, fetchurl, fetchzip, pkgs }:
|
||||
|
||||
let
|
||||
# This attrset can in theory be computed automatically, but for that to work nicely we need
|
||||
|
@ -152,7 +152,7 @@ let
|
|||
name = "${name}-${version}";
|
||||
enableParallelBuilding = true;
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
} // (if attrs ? srcs then {} else {
|
||||
src = fetchApple version sha256 name;
|
||||
|
@ -160,7 +160,7 @@ let
|
|||
|
||||
applePackage = namePath: version: sha256:
|
||||
let
|
||||
name = builtins.elemAt (stdenv.lib.splitString "/" namePath) 0;
|
||||
name = builtins.elemAt (lib.splitString "/" namePath) 0;
|
||||
appleDerivation = appleDerivation_ name version sha256;
|
||||
callPackage = pkgs.newScope (packages // pkgs.darwin // { inherit appleDerivation name version; });
|
||||
in callPackage (./. + "/${namePath}");
|
||||
|
@ -187,7 +187,7 @@ let
|
|||
# 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. It’s 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" {};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, xcbuildHook, llvmPackages }:
|
||||
{ lib, stdenv, appleDerivation, xcbuildHook, llvmPackages }:
|
||||
|
||||
appleDerivation {
|
||||
nativeBuildInputs = [ xcbuildHook ];
|
||||
|
@ -30,7 +30,7 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, xcbuildHook
|
||||
{ lib, stdenv, appleDerivation, xcbuildHook
|
||||
, Libc, xnu, libutil }:
|
||||
|
||||
appleDerivation {
|
||||
|
@ -32,7 +32,7 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, xcbuildHook, zlib, bzip2, lzma, ncurses, libutil }:
|
||||
{ lib, stdenv, appleDerivation, xcbuildHook, zlib, bzip2, lzma, ncurses, libutil }:
|
||||
|
||||
appleDerivation {
|
||||
nativeBuildInputs = [ xcbuildHook ];
|
||||
|
@ -32,7 +32,7 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, libdispatch, xnu }:
|
||||
{ lib, stdenv, appleDerivation, libdispatch, xnu }:
|
||||
|
||||
appleDerivation {
|
||||
propagatedBuildInputs = [ libdispatch xnu ];
|
||||
|
@ -16,6 +16,6 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, xcbuildHook
|
||||
{ lib, stdenv, appleDerivation, xcbuildHook
|
||||
, openssl_1_0_2, Librpcsvc, xnu, libpcap, developer_cmds }:
|
||||
|
||||
appleDerivation {
|
||||
|
@ -44,7 +44,7 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, xcbuildHook }:
|
||||
{ lib, stdenv, appleDerivation, xcbuildHook }:
|
||||
|
||||
appleDerivation {
|
||||
nativeBuildInputs = [ xcbuildHook ];
|
||||
|
@ -44,7 +44,7 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ shlevy matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ shlevy matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, appleDerivation, xcbuildHook, ncurses, bzip2, zlib, lzma }:
|
||||
{ lib, stdenv, appleDerivation, xcbuildHook, ncurses, bzip2, zlib, lzma }:
|
||||
|
||||
appleDerivation {
|
||||
nativeBuildInputs = [ xcbuildHook ];
|
||||
|
@ -21,7 +21,7 @@ appleDerivation {
|
|||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
platforms = lib.platforms.darwin;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
# with the same targetPrefix.
|
||||
|
@ -32,7 +32,7 @@ stdenv.mkDerivation {
|
|||
# - strip: the binutils one seems to break mach-o files
|
||||
# - lipo: gcc build assumes it exists
|
||||
# - 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"
|
||||
done
|
||||
|
||||
|
@ -56,7 +56,7 @@ stdenv.mkDerivation {
|
|||
};
|
||||
|
||||
meta = {
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
priority = 10;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, autoreconfHook
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, autoreconfHook
|
||||
, installShellFiles
|
||||
, libcxxabi, libuuid
|
||||
, libobjc ? null, maloader ? null
|
||||
|
@ -9,7 +9,7 @@ let
|
|||
|
||||
# The targetPrefix prepended to binary names to allow multiple binuntils on the
|
||||
# PATH to both be usable.
|
||||
targetPrefix = stdenv.lib.optionalString
|
||||
targetPrefix = lib.optionalString
|
||||
(stdenv.targetPlatform != stdenv.hostPlatform)
|
||||
"${stdenv.targetPlatform.config}-";
|
||||
in
|
||||
|
@ -32,8 +32,8 @@ stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ autoconf automake libtool autoreconfHook installShellFiles ];
|
||||
buildInputs = [ libuuid ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ libcxxabi libobjc ]
|
||||
++ stdenv.lib.optional enableTapiSupport libtapi;
|
||||
++ lib.optionals stdenv.isDarwin [ libcxxabi libobjc ]
|
||||
++ lib.optional enableTapiSupport libtapi;
|
||||
|
||||
patches = [ ./ld-ignore-rpath-link.patch ./ld-rpath-nonfinal.patch ];
|
||||
|
||||
|
@ -47,14 +47,14 @@ stdenv.mkDerivation {
|
|||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always targetPrefix.
|
||||
configurePlatforms = [ "build" "host" ]
|
||||
++ stdenv.lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target";
|
||||
++ lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target";
|
||||
configureFlags = [ "--disable-clang-as" ]
|
||||
++ stdenv.lib.optionals enableTapiSupport [
|
||||
++ lib.optionals enableTapiSupport [
|
||||
"--enable-tapi-support"
|
||||
"--with-libtapi=${libtapi}"
|
||||
];
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
substituteInPlace cctools/Makefile.am --replace libobjc2 ""
|
||||
'' + ''
|
||||
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
|
||||
homepage = "http://www.opensource.apple.com/source/cctools/";
|
||||
description = "MacOS Compiler Tools (cross-platform port)";
|
||||
license = stdenv.lib.licenses.apsl20;
|
||||
maintainers = with stdenv.lib.maintainers; [ matthewbauer ];
|
||||
license = lib.licenses.apsl20;
|
||||
maintainers = with lib.maintainers; [ matthewbauer ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, xcbuildHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, xcbuildHook }:
|
||||
|
||||
stdenv.mkDerivation
|
||||
{ name = "insert_dylib-2016.08.28";
|
||||
|
@ -14,5 +14,5 @@ stdenv.mkDerivation
|
|||
mkdir -p $out/bin
|
||||
install -m755 Products/Release/insert_dylib $out/bin
|
||||
'';
|
||||
meta.platforms = stdenv.lib.platforms.darwin;
|
||||
meta.platforms = lib.platforms.darwin;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
version = "1.0";
|
||||
|
@ -21,8 +21,8 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
homepage = "https://github.com/jlhonora/lsusb";
|
||||
description = "lsusb command for Mac OS X";
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.varunpatro ];
|
||||
platforms = lib.platforms.darwin;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.varunpatro ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchgit, opencflite, clang, libcxx }:
|
||||
{ lib, stdenv, fetchgit, opencflite, clang, libcxx }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "maloader-0git";
|
||||
|
@ -31,8 +31,8 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
description = "Mach-O loader for Linux";
|
||||
homepage = "https://github.com/shinh/maloader";
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.bsd2;
|
||||
platforms = lib.platforms.linux;
|
||||
broken = true; # 2018-09-08, no succesful build since 2017-08-21
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, icu, libuuid, tzdata }:
|
||||
{ lib, stdenv, fetchurl, icu, libuuid, tzdata }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "opencflite";
|
||||
|
@ -16,6 +16,6 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Cross platform port of the macOS CoreFoundation";
|
||||
homepage = "https://sourceforge.net/projects/opencflite/";
|
||||
license = stdenv.lib.licenses.apsl20;
|
||||
license = lib.licenses.apsl20;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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}
|
||||
echo >&2 "Faking call to ${name} with arguments:"
|
||||
echo >&2 "$@"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, fetchurl, ninja, python3, curl, libxml2, objc4, ICU }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchurl, ninja, python3, curl, libxml2, objc4, ICU }:
|
||||
|
||||
let
|
||||
# 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
|
||||
# please remove this when updating the default llvm versions to 8 or
|
||||
# later.
|
||||
buildPhase = stdenv.lib.optionalString true ''
|
||||
buildPhase = lib.optionalString true ''
|
||||
for i in {1..512}; do
|
||||
if ninja -j $NIX_BUILD_CORES; then
|
||||
break
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, perl, AppKit, Cocoa, ScriptingBridge }:
|
||||
{ lib, stdenv, fetchFromGitHub, perl, AppKit, Cocoa, ScriptingBridge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.2";
|
||||
|
@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://github.com/ali-rantakari/trash";
|
||||
description = "Small command-line program for OS X that moves files or
|
||||
folders to the trash.";
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = lib.platforms.darwin;
|
||||
license = lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, darwin}:
|
||||
{lib, stdenv, 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
|
||||
'';
|
||||
|
||||
meta.platforms = stdenv.lib.platforms.darwin;
|
||||
meta.platforms = lib.platforms.darwin;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.1.0";
|
||||
|
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
homepage = "https://github.com/rauchg/wifi-password";
|
||||
description = "Get the password of the wifi you're on";
|
||||
platforms = stdenv.lib.platforms.darwin;
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.nikitavoloboev ];
|
||||
platforms = lib.platforms.darwin;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.nikitavoloboev ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -37,9 +37,9 @@ rec {
|
|||
bintools = binutils-unwrapped;
|
||||
extraBuildCommands = ''
|
||||
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
|
||||
'' + stdenv.lib.optionalString (sdk.platform == "iPhoneOS") ''
|
||||
'' + lib.optionalString (sdk.platform == "iPhoneOS") ''
|
||||
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
|
||||
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
|
||||
'' + stdenv.lib.optionalString (sdk.platform == "iPhoneSimulator") ''
|
||||
'' + lib.optionalString (sdk.platform == "iPhoneSimulator") ''
|
||||
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
|
||||
'';
|
||||
}) // {
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
battery and thermal information.
|
||||
'';
|
||||
homepage = "https://sourceforge.net/projects/acpiclient/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, fetchpatch}:
|
||||
{lib, stdenv, fetchurl, fetchpatch}:
|
||||
|
||||
let
|
||||
acpitool-patch-051-4 = params: fetchpatch rec {
|
||||
|
@ -44,8 +44,8 @@ in stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A small, convenient command-line ACPI client with a lot of features";
|
||||
homepage = "https://sourceforge.net/projects/acpitool/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.guibert ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.guibert ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, autoreconfHook, fuse }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, autoreconfHook, fuse }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "afuse-0.4.1";
|
||||
|
@ -14,8 +14,8 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
description = "Automounter in userspace";
|
||||
homepage = "https://github.com/pcarrier/afuse";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.marcweber ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, buildPackages, autoreconfHook, fetchurl, fetchpatch }:
|
||||
{ lib, stdenv, buildPackages, autoreconfHook, fetchurl, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "alsa-firmware-1.2.1";
|
||||
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
homepage = "http://www.alsa-project.org/";
|
||||
description = "Soundcard firmwares from the alsa project";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
installFlags = [ "ASOUND_STATE_DIR=$(TMPDIR)/dummy" ];
|
||||
|
||||
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; {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
assert (!libsOnly) -> kernel != null;
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postInstall = ''
|
||||
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
|
||||
|
||||
mkdir -p $out/share/dbus-1/services
|
||||
|
|
|
@ -17,7 +17,7 @@ let
|
|||
apparmor-patchver = "6";
|
||||
apparmor-version = apparmor-series + "." + apparmor-patchver;
|
||||
|
||||
apparmor-meta = component: with stdenv.lib; {
|
||||
apparmor-meta = component: with lib; {
|
||||
homepage = "https://apparmor.net/";
|
||||
description = "A mandatory access control system - ${component}";
|
||||
license = licenses.gpl2;
|
||||
|
@ -39,7 +39,7 @@ let
|
|||
substituteInPlace ./common/Make.rules --replace "/usr/share/man" "share/man"
|
||||
'';
|
||||
|
||||
patches = stdenv.lib.optionals stdenv.hostPlatform.isMusl [
|
||||
patches = lib.optionals stdenv.hostPlatform.isMusl [
|
||||
(fetchpatch {
|
||||
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";
|
||||
|
@ -75,8 +75,8 @@ let
|
|||
];
|
||||
|
||||
buildInputs = []
|
||||
++ stdenv.lib.optional withPerl perl
|
||||
++ stdenv.lib.optional withPython python;
|
||||
++ lib.optional withPerl perl
|
||||
++ lib.optional withPython python;
|
||||
|
||||
# required to build apparmor-parser
|
||||
dontDisableStatic = true;
|
||||
|
@ -84,21 +84,21 @@ let
|
|||
prePatch = prePatchCommon + ''
|
||||
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/src/Makefile.am --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" "${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" "${lib.getDev stdenv.cc.libc}/include/netinet/in.h"
|
||||
'';
|
||||
inherit patches;
|
||||
|
||||
postPatch = "cd ./libraries/libapparmor";
|
||||
# https://gitlab.com/apparmor/apparmor/issues/1
|
||||
configureFlags = [
|
||||
(stdenv.lib.withFeature withPerl "perl")
|
||||
(stdenv.lib.withFeature withPython "python")
|
||||
(lib.withFeature withPerl "perl")
|
||||
(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
|
||||
mv $out/lib/python* $python/lib/
|
||||
'';
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
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
|
||||
# and will not build or run using versions newer
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
stdenv, buildPackages, fetchurl, fetchpatch,
|
||||
lib, stdenv, buildPackages, fetchurl, fetchpatch,
|
||||
runCommand,
|
||||
autoconf, automake, libtool,
|
||||
enablePython ? false, python ? null,
|
||||
|
@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
|
|||
outputs = [ "bin" "dev" "out" "man" ];
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = stdenv.lib.optionals stdenv.hostPlatform.isMusl
|
||||
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isMusl
|
||||
[ autoconf automake libtool ];
|
||||
buildInputs = stdenv.lib.optional enablePython python;
|
||||
buildInputs = lib.optional enablePython python;
|
||||
|
||||
configureFlags = [
|
||||
# z/OS plugin is not useful on Linux,
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||
# TODO: Remove the musl patches when
|
||||
# https://github.com/linux-audit/audit-userspace/pull/25
|
||||
# is available with the next release.
|
||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl [
|
||||
patches = lib.optional stdenv.hostPlatform.isMusl [
|
||||
(
|
||||
let patch = fetchpatch {
|
||||
url = "https://github.com/linux-audit/audit-userspace/commit/d579a08bb1cde71f939c13ac6b2261052ae9f77e.patch";
|
||||
|
@ -59,8 +59,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Audit Library";
|
||||
homepage = "https://people.redhat.com/sgrubb/audit/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 }:
|
||||
|
||||
let
|
||||
|
@ -44,8 +44,8 @@ in stdenv.mkDerivation {
|
|||
meta = {
|
||||
description = "Kernel-based automounter";
|
||||
homepage = "https://www.kernel.org/pub/linux/daemons/autofs/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
executables = [ "automount" ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gpsd, libcap, libnl }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, gpsd, libcap, libnl }:
|
||||
|
||||
let cfg = import ./version.nix; in
|
||||
|
||||
|
@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
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";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ fpletz ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ fpletz ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libnl }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, libnl }:
|
||||
|
||||
let cfg = import ./version.nix; in
|
||||
|
||||
|
@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
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";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ fpletz ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ fpletz ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, kernel }:
|
||||
{ lib, stdenv, fetchurl, kernel }:
|
||||
|
||||
let cfg = import ./version.nix; in
|
||||
|
||||
|
@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
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";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ fpletz ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ fpletz ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ python.pkgs.buildPythonApplication rec {
|
|||
propagatedBuildInputs = [ python.pkgs.netaddr ];
|
||||
nativeBuildInputs = [ makeWrapper cmake flex bison ]
|
||||
# libelf is incompatible with elfutils-libelf
|
||||
++ stdenv.lib.filter (x: x != libelf) kernel.moduleBuildDependencies;
|
||||
++ lib.filter (x: x != libelf) kernel.moduleBuildDependencies;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBCC_KERNEL_MODULES_DIR=${kernel.dev}/lib/modules"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libaio }:
|
||||
{ lib, stdenv, fetchurl, libaio }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "blktrace-1.2.0";
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
|||
|
||||
meta = {
|
||||
description = "Block layer IO tracing mechanism";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
] ++ stdenv.lib.optional (!doCheck) python3;
|
||||
] ++ lib.optional (!doCheck) python3;
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ cmake pkgconfig flex bison ]
|
||||
# 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
|
||||
# also in theory make this an environment variable around bpftrace, but this works
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, autoreconfHook }:
|
||||
{ lib, stdenv, fetchurl, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bridge-utils-1.5";
|
||||
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "https://sourceforge.net/projects/bridge/";
|
||||
homepage = "https://wiki.linuxfoundation.org/networking/bridge";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, kernel }:
|
||||
{ lib, stdenv, fetchurl, kernel }:
|
||||
|
||||
let
|
||||
version = "6.30.223.271";
|
||||
|
@ -7,8 +7,8 @@ let
|
|||
x86_64-linux = "1gj485qqr190idilacpxwgqyw21il03zph2rddizgj7fbd6pfyaz";
|
||||
};
|
||||
|
||||
arch = stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") "_64";
|
||||
tarballVersion = stdenv.lib.replaceStrings ["."] ["_"] version;
|
||||
arch = lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux") "_64";
|
||||
tarballVersion = lib.replaceStrings ["."] ["_"] version;
|
||||
tarball = "hybrid-v35${arch}-nodebug-pcoem-${tarballVersion}.tar.gz";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
@ -62,8 +62,8 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
description = "Kernel module driver for some Broadcom's wireless cards";
|
||||
homepage = "http://www.broadcom.com/support/802.11/linux_sta.php";
|
||||
license = stdenv.lib.licenses.unfreeRedistributable;
|
||||
maintainers = with stdenv.lib.maintainers; [ phreedom ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
maintainers = with lib.maintainers; [ phreedom ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [
|
||||
./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 .";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, bison, flex, libsepol }:
|
||||
{ lib, stdenv, fetchurl, bison, flex, libsepol }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "checkpolicy";
|
||||
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
"LIBSEPOLA=${stdenv.lib.getLib libsepol}/lib/libsepol.a"
|
||||
"LIBSEPOLA=${lib.getLib libsepol}/lib/libsepol.a"
|
||||
];
|
||||
|
||||
meta = removeAttrs libsepol.meta ["outputsToInstall"] // {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue