Merge master into staging-next
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "restic-${version}";
|
||||
version = "0.9.2";
|
||||
version = "0.9.4";
|
||||
|
||||
goPackagePath = "github.com/restic/restic";
|
||||
|
||||
@@ -10,7 +10,7 @@ buildGoPackage rec {
|
||||
owner = "restic";
|
||||
repo = "restic";
|
||||
rev = "v${version}";
|
||||
sha256 = "0kl8yk636i3y7f2kd43pydjh4pv7hhq09p5k54jlysnrbf2kjb4h";
|
||||
sha256 = "15lx01w46bwn3hjwpmm8xy71m7ml9wdwddbbfvmk5in61gv1acr5";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
, libcanberra-gtk3, intltool, dvdauthor, libburn, libisofs
|
||||
, vcdimager, wrapGAppsHook, hicolor-icon-theme }:
|
||||
|
||||
# libdvdcss is "too old" (in fast "too new"), see https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/611590
|
||||
|
||||
let
|
||||
major = "3.12";
|
||||
minor = "2";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, symlinkJoin, brasero-original, cdrtools, makeWrapper }:
|
||||
{ lib, symlinkJoin, brasero-original, cdrtools, libdvdcss, makeWrapper }:
|
||||
|
||||
let
|
||||
binPath = lib.makeBinPath [ cdrtools ];
|
||||
@@ -10,8 +10,9 @@ in symlinkJoin {
|
||||
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/brasero \
|
||||
--prefix PATH ':' ${binPath}
|
||||
--prefix PATH ':' ${binPath} \
|
||||
--prefix LD_PRELOAD : ${lib.makeLibraryPath [ libdvdcss ]}/libdvdcss.so
|
||||
'';
|
||||
|
||||
|
||||
inherit (brasero-original) meta;
|
||||
}
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bcachefs-tools";
|
||||
version = "2019-01-23";
|
||||
version = "2019-02-09";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://evilpiepirate.org/git/bcachefs-tools.git";
|
||||
rev = "35fca2f044d375b1590f499cfd34bef38ca0f8f1";
|
||||
sha256 = "1mmpwksszdi4n7zv3fm7qnmfk94m56d65lfw30553bnfm3yaz3k7";
|
||||
rev = "17c5215c1c542dd7b6b4f891a0da16d8c98e0591";
|
||||
sha256 = "1zm2lnvijfmz483m2nhxz1rhk7ghgh0c450nyiwi6wa7lc1y3339";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -1,27 +1,25 @@
|
||||
{ pkgs, lib, autoreconfHook, pkgconfig, fuse3 }:
|
||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig, fuse3 }:
|
||||
|
||||
let
|
||||
version = "0.2";
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
name = "fuse-overlayfs-${version}";
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fuse-overlayfs-${version}";
|
||||
version = "0.3";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = "fuse-overlayfs";
|
||||
rev = "1e2b65baa2f75eea0e4bab90b5ac81dd8471256c";
|
||||
sha256 = "0a9ix8rqjs5r28jsriyiv4yq7iilmv69x05kf23s1ihzrvrfkl08";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "containers";
|
||||
repo = "fuse-overlayfs";
|
||||
rev = "v${version}";
|
||||
sha256 = "1cch2j397hydrhh62faqa663vas75qbmylqd06fk6nafasa3ri0l";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ fuse3 ];
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ fuse3 ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/containers/fuse-overlayfs;
|
||||
description = "FUSE implementation for overlayfs";
|
||||
longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers.";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.ma9e ];
|
||||
};
|
||||
}
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/containers/fuse-overlayfs;
|
||||
description = "FUSE implementation for overlayfs";
|
||||
longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers.";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.unix;
|
||||
maintainers = [ maintainers.ma9e ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
fontconfig freetype libpng zlib libjpeg openssl
|
||||
libX11 libXext libXrender
|
||||
qt5.qtwebkit qt5.qtsvg
|
||||
qt5.qtwebkit qt5.qtsvg qt5.qtxmlpatterns
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, runCommand, makeWrapper, lndir
|
||||
, dconf, hicolor-icon-theme, ibus, librsvg, plugins
|
||||
, dconf, hicolor-icon-theme, ibus, librsvg, plugins ? []
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
{ stdenv , fetchurl, autoreconfHook }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bbe-${version}";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/bbe-/${version}/bbe-${version}.tar.gz";
|
||||
sha256 = "1nyxdqi4425sffjrylh7gl57lrssyk4018afb7mvrnd6fmbszbms";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
outputs = [ "out" "doc" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A sed-like editor for binary files";
|
||||
homepage = "http://bbe-.sourceforge.net/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.hhm ];
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, python3, alsaSupport, alsaLib ? null, bluez, systemdSupport, systemd ? null }:
|
||||
{ stdenv, fetchurl, pkgconfig, python3, bluez
|
||||
, alsaSupport ? stdenv.isLinux, alsaLib ? null
|
||||
, systemdSupport ? stdenv.isLinux, systemd ? null }:
|
||||
|
||||
assert alsaSupport -> alsaLib != null;
|
||||
assert systemdSupport -> systemd != null;
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
{ stdenv, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "broot-${version}";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Canop";
|
||||
repo = "broot";
|
||||
rev = "v${version}";
|
||||
sha256 = "192qqlqym8lpskh6f7sf5fanybjwhdqs1cgl6mqm35763fa5jrdj";
|
||||
};
|
||||
|
||||
cargoSha256 = "059iylnkjb7lxxs9v2b6h05nidwgcj6kqyhcq58lalkhb63srb1q";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An interactive tree view, a fuzzy search, a balanced BFS descent and customizable commands";
|
||||
homepage = "https://github.com/Canop/broot";
|
||||
maintainers = with maintainers; [ magnetophon ];
|
||||
license = with licenses; [ mit ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
@@ -2,14 +2,14 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "direnv-${version}";
|
||||
version = "2.19.0";
|
||||
version = "2.19.2";
|
||||
goPackagePath = "github.com/direnv/direnv";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "direnv";
|
||||
repo = "direnv";
|
||||
rev = "v${version}";
|
||||
sha256 = "0v5r07b5r0wmmf8wndi0z1fp979pyqg6xpx7w847bkyn4pvgpscm";
|
||||
sha256 = "1iq9wmc63x1c7g1ixdhd6q3w1sx8xl8kf1bprxwq26n9zpd0g13g";
|
||||
};
|
||||
|
||||
postConfigure = ''
|
||||
|
||||
@@ -2,25 +2,26 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "fd-${version}";
|
||||
version = "7.2.0";
|
||||
version = "7.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sharkdp";
|
||||
repo = "fd";
|
||||
rev = "v${version}";
|
||||
sha256 = "1h7ar1m7w3vmakg9rp1nfmz7q5pqwvd8yyxwj335ixb49gph1zi5";
|
||||
sha256 = "0y4657w1pi4x9nmbv551dj00dyiv935m8ph7jlv00chwy3hrb3yi";
|
||||
};
|
||||
|
||||
cargoSha256 = "0y6xp7fdjfmjfqf9avbq9bdvzvwkf3v1dv7a4k03w5279vxafzi4";
|
||||
cargoSha256 = "0dfv6nia3v3f3rwbjh2h3zdqd48vw8gwilhq0z4n6xvjzk7qydj5";
|
||||
|
||||
preFixup = ''
|
||||
mkdir -p "$out/man/man1"
|
||||
cp "$src/doc/fd.1" "$out/man/man1"
|
||||
install -Dm644 "$src/doc/fd.1" "$out/man/man1/fd.1"
|
||||
|
||||
mkdir -p "$out/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
|
||||
cp target/release/build/fd-find-*/out/fd.bash "$out/share/bash-completion/completions/"
|
||||
cp target/release/build/fd-find-*/out/fd.fish "$out/share/fish/vendor_completions.d/"
|
||||
cp target/release/build/fd-find-*/out/_fd "$out/share/zsh/site-functions/"
|
||||
install -Dm644 target/release/build/fd-find-*/out/fd.bash \
|
||||
"$out/share/bash-completion/completions/fd.bash"
|
||||
install -Dm644 target/release/build/fd-find-*/out/fd.fish \
|
||||
"$out/share/fish/vendor_completions.d/fd.fish"
|
||||
install -Dm644 target/release/build/fd-find-*/out/_fd \
|
||||
"$out/share/zsh/site-functions/_fd"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip, file, licenseFile, optgamsFile}:
|
||||
{ stdenv, fetchurl, unzip, file, licenseFile ? null, optgamsFile ? null}:
|
||||
|
||||
assert licenseFile != null;
|
||||
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "slurp-${version}";
|
||||
version = "1.0";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "emersion";
|
||||
repo = "slurp";
|
||||
rev = "v${version}";
|
||||
sha256 = "03igv8r8n772xb0y7whhs1pa298l3d94jbnknaxpwp2n4fi04syb";
|
||||
sha256 = "072lkwhpvr753wfqzmd994bnhbrgfavxcgqcyml7abab28sdhs1y";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Grab images from a Wayland compositor";
|
||||
description = "Select a region in a Wayland compositor";
|
||||
homepage = https://github.com/emersion/slurp;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ stdenv, autoconf, automake, pkgconfig, gettext, libtool, bison
|
||||
, flex, which, subversion, fetchsvn, makeWrapper, libftdi, libusb, readline
|
||||
, python3
|
||||
, svfSupport ? false
|
||||
, bsdlSupport ? false
|
||||
, staplSupport ? false
|
||||
, jedecSupport ? false
|
||||
, svfSupport ? true
|
||||
, bsdlSupport ? true
|
||||
, staplSupport ? true
|
||||
, jedecSupport ? true
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
, pcsclite
|
||||
, pyotherside
|
||||
, pythonPackages
|
||||
, python3
|
||||
, qmake
|
||||
, qtbase
|
||||
, qtgraphicaleffects
|
||||
, qtquickcontrols
|
||||
, qtquickcontrols2
|
||||
, qtdeclarative
|
||||
, qtsvg
|
||||
, yubikey-manager
|
||||
, yubikey-personalization
|
||||
}:
|
||||
|
||||
let
|
||||
qmlPath = qmlLib: "${qmlLib}/${qtbase.qtQmlPrefix}";
|
||||
|
||||
inherit (stdenv) lib;
|
||||
|
||||
qml2ImportPath = lib.concatMapStringsSep ":" qmlPath [
|
||||
qtbase.bin qtdeclarative.bin pyotherside qtquickcontrols qtquickcontrols2.bin qtgraphicaleffects
|
||||
];
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "yubikey-manager-qt";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://developers.yubico.com/yubikey-manager-qt/Releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "8049a233a8cca07543d745a9f619c0fc3afb324f5d0030b93f037b34ac1c5e66";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper python3.pkgs.wrapPython qmake ];
|
||||
|
||||
sourceRoot = ".";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace ykman-gui/deployment.pri --replace '/usr/bin' "$out/bin"
|
||||
'';
|
||||
|
||||
buildInputs = [ pythonPackages.python qtbase qtgraphicaleffects qtquickcontrols qtquickcontrols2 pyotherside ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
pythonPath = [ yubikey-manager ];
|
||||
|
||||
# Need LD_PRELOAD for libykpers as the Nix cpython disables ctypes.cdll.LoadLibrary
|
||||
# support that the yubicommon library uses to load libykpers
|
||||
postInstall = ''
|
||||
buildPythonPath "$pythonPath"
|
||||
|
||||
wrapProgram $out/bin/ykman-gui \
|
||||
--prefix PYTHONPATH : "$program_PYTHONPATH" \
|
||||
--set QML2_IMPORT_PATH "${qml2ImportPath}" \
|
||||
--set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms \
|
||||
--prefix QT_PLUGIN_PATH : "${qtsvg.bin}/${qtbase.qtPluginPrefix}"
|
||||
|
||||
mkdir -p $out/share/applications
|
||||
cp resources/ykman-gui.desktop $out/share/applications/ykman-gui.desktop
|
||||
mkdir -p $out/share/ykman-gui/icons
|
||||
cp resources/icons/*.{icns,ico,png,xpm} $out/share/ykman-gui/icons
|
||||
substituteInPlace $out/share/applications/ykman-gui.desktop \
|
||||
--replace 'Exec=ykman-gui' "Exec=$out/bin/ykman-gui" \
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
inherit version;
|
||||
description = "Cross-platform application for configuring any YubiKey over all USB interfaces.";
|
||||
homepage = https://developers.yubico.com/yubikey-manager-qt/;
|
||||
license = licenses.bsd2;
|
||||
maintainers = [ maintainers.cbley ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
python2Packages.buildPythonApplication rec {
|
||||
pname = "getmail";
|
||||
version = "5.8";
|
||||
version = "5.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://pyropus.ca/software/getmail/old-versions/${pname}-${version}.tar.gz";
|
||||
sha256 = "0vl4cc733pd9d21y4pr4jc1ly657d0akxj1bdh1xfjggx33l3541";
|
||||
sha256 = "0qc4gp66mhaxyjj7pfz9v69kxnw76my4zw07hvc4f3kj3balkygx";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ stdenv, lib, fetchurl, pkgconfig, removeReferencesTo
|
||||
, libevent, readline, net_snmp }:
|
||||
, libevent, readline, net_snmp, openssl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "lldpd-${version}";
|
||||
@@ -18,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig removeReferencesTo ];
|
||||
buildInputs = [ libevent readline net_snmp ];
|
||||
buildInputs = [ libevent readline net_snmp openssl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
let
|
||||
pname = "NetworkManager-openvpn";
|
||||
version = "1.8.8";
|
||||
version = "1.8.10";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "${pname}${if withGnome then "-gnome" else ""}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "19qdl7x5x7f9mj8vm25mck6gg8ljbixi0dw2rqngwl2nzpcxwg52";
|
||||
sha256 = "1vri49yff4lj13dnzkpq9nx3a4z1bmbrv807r151plj8m1mwhg5g";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "slirp4netns-${version}";
|
||||
version = "0.3.0-alpha.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rootless-containers";
|
||||
repo = "slirp4netns";
|
||||
rev = "v${version}";
|
||||
sha256 = "163nwdwi1qigma1c5svm8llgd8pn4sbkchw67ry3v0gfxa9mxibk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/rootless-containers/slirp4netns;
|
||||
description = "User-mode networking for unprivileged network namespaces";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ orivej ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, tlsSupport ? false, openssl ? null}:
|
||||
{stdenv, fetchurl, tlsSupport ? true, openssl ? null}:
|
||||
|
||||
assert tlsSupport -> openssl != null;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
preConfigure = if enableEjabberdDump then "export PATH=$PATH:${ejabberd}/sbin" else "";
|
||||
|
||||
|
||||
configureFlags = [
|
||||
(if enableApacheWebApplication then "--with-apache" else "--without-apache")
|
||||
(if enableAxis2WebService then "--with-axis2" else "--without-axis2")
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation {
|
||||
(if enableMongoDatabase then "--with-mongodb" else "--without-mongodb")
|
||||
"--with-job-template=${jobTemplate}"
|
||||
];
|
||||
|
||||
|
||||
buildInputs = [ getopt ]
|
||||
++ stdenv.lib.optional enableEjabberdDump ejabberd
|
||||
++ stdenv.lib.optional enableMySQLDatabase mysql.out
|
||||
|
||||
@@ -13,7 +13,7 @@ let
|
||||
|
||||
sh = busybox-sandbox-shell;
|
||||
|
||||
common = { name, suffix ? "", src, fromGit ? false }:
|
||||
common = { name, suffix ? "", src, includesPerl ? false, fromGit ? false }:
|
||||
let nix = stdenv.mkDerivation rec {
|
||||
inherit name src;
|
||||
version = lib.getVersion name;
|
||||
@@ -113,7 +113,7 @@ let
|
||||
passthru = {
|
||||
inherit fromGit;
|
||||
|
||||
perl-bindings = stdenv.mkDerivation {
|
||||
perl-bindings = if includesPerl then nix else stdenv.mkDerivation {
|
||||
name = "nix-perl-${version}";
|
||||
|
||||
inherit src;
|
||||
@@ -150,6 +150,9 @@ in rec {
|
||||
url = "http://nixos.org/releases/nix/${name}/${name}.tar.xz";
|
||||
sha256 = "0ca5782fc37d62238d13a620a7b4bff6a200bab1bd63003709249a776162357c";
|
||||
};
|
||||
|
||||
# Nix1 has the perl bindings by default, so no need to build the manually.
|
||||
includesPerl = true;
|
||||
};
|
||||
|
||||
nixStable = common rec {
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, libsodium }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mkp224o-${version}";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cathugger";
|
||||
repo = "mkp224o";
|
||||
rev = "v${version}";
|
||||
sha256 = "1m7r0jfm6na6rk75v1kals3bx2cs6jsfxdgpxdljn39j3qr4mxvd";
|
||||
};
|
||||
|
||||
buildCommand =
|
||||
let
|
||||
# compile few variants with different implementation of crypto
|
||||
# the fastest depends on a particular cpu
|
||||
variants = [
|
||||
{ suffix = "ref10"; configureFlags = ["--enable-ref10"]; }
|
||||
{ suffix = "donna"; configureFlags = ["--enable-donna"]; }
|
||||
] ++ lib.optionals (stdenv.isi686 || stdenv.isx86_64) [
|
||||
{ suffix = "donna-sse2"; configureFlags = ["--enable-donna-sse2"]; }
|
||||
] ++ lib.optionals stdenv.isx86_64 [
|
||||
{ suffix = "amd64-51-30k"; configureFlags = ["--enable-amd64-51-30k"]; }
|
||||
{ suffix = "amd64-64-20k"; configureFlags = ["--enable-amd64-64-24k"]; }
|
||||
];
|
||||
in
|
||||
lib.concatMapStrings ({suffix, configureFlags}: ''
|
||||
install -D ${
|
||||
stdenv.mkDerivation {
|
||||
name = "mkp224o-${suffix}-${version}";
|
||||
inherit version src configureFlags;
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ libsodium ];
|
||||
installPhase = "install -D mkp224o $out";
|
||||
}
|
||||
} $out/bin/mkp224o-${suffix}
|
||||
'') variants;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Vanity address generator for tor onion v3 (ed25519) hidden services";
|
||||
homepage = http://cathug2kyi4ilneggumrenayhuhsvrgn6qv2y47bgeet42iivkpynqad.onion/;
|
||||
license = licenses.cc0;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ volth ];
|
||||
};
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vault-${version}";
|
||||
version = "1.0.2";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hashicorp";
|
||||
repo = "vault";
|
||||
rev = "v${version}";
|
||||
sha256 = "1nrqwgxfs6n2bjhjndqvwzn9c62pb5ky9biyh47i0wvbxhdh0hfj";
|
||||
sha256 = "1c5v1m8b6nm28mjwpsgc73n8q475pkzpdvyx46rf3xyrh01rfrnz";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ go gox removeReferencesTo ];
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
, beecrypt, augeas, libxml2, sleuthkit, yara, lldpd, google-gflags
|
||||
, thrift, boost, rocksdb_lite, glog, gbenchmark, snappy
|
||||
, openssl, file, doxygen
|
||||
, gtest, sqlite, fpm, zstd, rdkafka, rapidjson, fetchgit
|
||||
, gtest, sqlite, fpm, zstd, rdkafka, rapidjson, fetchgit, fetchurl
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -61,6 +61,16 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1ny3srcsxd6kj59zq1cman5myj8kzw010wbyc6mrpk4kp823r5nx";
|
||||
};
|
||||
});
|
||||
|
||||
# dpkg 1.19.2 dropped api in `<dpkg/dpkg-db.h>` which breaks compilation.
|
||||
dpkg' = dpkg.overrideAttrs (old: rec {
|
||||
name = "dpkg-${version}";
|
||||
version = "1.19.0.5";
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz";
|
||||
sha256 = "1dc5kp3fqy1k66fly6jfxkkg7w6d0jy8szddpfyc2xvzga94d041";
|
||||
};
|
||||
});
|
||||
in [
|
||||
udev audit
|
||||
|
||||
@@ -69,7 +79,7 @@ stdenv.mkDerivation rec {
|
||||
customMemoryManagement = false;
|
||||
})
|
||||
|
||||
lvm2' libgcrypt libarchive libgpgerror libuuid iptables dpkg
|
||||
lvm2' libgcrypt libarchive libgpgerror libuuid iptables dpkg'
|
||||
lzma bzip2 rpm beecrypt augeas libxml2 sleuthkit
|
||||
yara lldpd gflags' thrift boost
|
||||
glog gbenchmark snappy openssl
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchurl, gtk2, libdv, libjpeg, libpng, libX11, pkgconfig, SDL, SDL_gfx
|
||||
, withMinimal ? false
|
||||
, withMinimal ? true
|
||||
}:
|
||||
|
||||
# TODO:
|
||||
|
||||
Reference in New Issue
Block a user