Merge remote-tracking branch 'origin/master' into haskell-updates.

This commit is contained in:
Peter Simons 2020-08-10 10:45:40 +02:00
commit 5ecee6daed
450 changed files with 4898 additions and 1121 deletions

View File

@ -72,11 +72,18 @@ trim_trailing_whitespace = unset
[pkgs/applications/editors/emacs-modes/recipes-archive-melpa.json] [pkgs/applications/editors/emacs-modes/recipes-archive-melpa.json]
indent_size = unset indent_size = unset
[pkgs/build-support/dotnetenv/Wrapper/**.*] [pkgs/build-support/dotnetenv/Wrapper/**]
end_of_line = unset end_of_line = unset
insert_final_newline = unset insert_final_newline = unset
trim_trailing_whitespace = unset trim_trailing_whitespace = unset
[pkgs/build-support/upstream-updater/**]
trim_trailing_whitespace = unset
[pkgs/development/compilers/elm/registry.dat]
end_of_line = unset
insert_final_newline = unset
[pkgs/development/lisp-modules/quicklisp-to-nix.nix] [pkgs/development/lisp-modules/quicklisp-to-nix.nix]
indent_size = unset indent_size = unset

View File

@ -1,6 +0,0 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

View File

@ -12,6 +12,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: technote-space/get-diff-action@v2.0.3 - uses: technote-space/get-diff-action@v2.0.3
- name: Fetch editorconfig-checker - name: Fetch editorconfig-checker
if: env.GIT_DIFF
env: env:
VERSION: "2.1.0" VERSION: "2.1.0"
OS: "linux" OS: "linux"
@ -22,6 +23,7 @@ jobs:
tar xzf ec-$OS-$ARCH.tar.gz && \ tar xzf ec-$OS-$ARCH.tar.gz && \
mv ./bin/ec-$OS-$ARCH ./bin/editorconfig-checker mv ./bin/ec-$OS-$ARCH ./bin/editorconfig-checker
- name: Checking EditorConfig - name: Checking EditorConfig
if: env.GIT_DIFF
run: | run: |
./bin/editorconfig-checker -disable-indentation \ ./bin/editorconfig-checker -disable-indentation \
${{ env.GIT_DIFF }} ${{ env.GIT_DIFF }}

View File

@ -42,7 +42,7 @@
*/ */
{ {
"0x4A6F" = { "0x4A6F" = {
email = "0x4A6F@shackspace.de"; email = "mail-maintainer@0x4A6F.dev";
name = "Joachim Ernst"; name = "Joachim Ernst";
github = "0x4A6F"; github = "0x4A6F";
githubId = 9675338; githubId = 9675338;
@ -1446,6 +1446,12 @@
fingerprint = "099E 3F97 FA08 3D47 8C75 EBEC E0EB AD78 F019 0BD9"; fingerprint = "099E 3F97 FA08 3D47 8C75 EBEC E0EB AD78 F019 0BD9";
}]; }];
}; };
chiroptical = {
email = "chiroptical@gmail.com";
github = "chiroptical";
githubId = 3086255;
name = "Barry Moore II";
};
chkno = { chkno = {
email = "chuck@intelligence.org"; email = "chuck@intelligence.org";
github = "chkno"; github = "chkno";
@ -2424,6 +2430,12 @@
githubId = 1753498; githubId = 1753498;
name = "Dejan Lukan"; name = "Dejan Lukan";
}; };
elliottvillars = {
email = "elliottvillars@gmail.com";
github = "elliottvillars";
githubId = 48104179;
name = "Elliott Villars";
};
eliasp = { eliasp = {
email = "mail@eliasprobst.eu"; email = "mail@eliasprobst.eu";
github = "eliasp"; github = "eliasp";
@ -3218,6 +3230,12 @@
githubId = 6768842; githubId = 6768842;
name = "Joris Guyonvarch"; name = "Joris Guyonvarch";
}; };
gvolpe = {
email = "volpegabriel@gmail.com";
github = "gvolpe";
githubId = 443978;
name = "Gabriel Volpe";
};
hakuch = { hakuch = {
email = "hakuch@gmail.com"; email = "hakuch@gmail.com";
github = "hakuch"; github = "hakuch";

View File

@ -79,5 +79,4 @@ say,,,,,
std__debug,std._debug,,,, std__debug,std._debug,,,,
std_normalize,std.normalize,,,, std_normalize,std.normalize,,,,
stdlib,,,,,vyp stdlib,,,,,vyp
pulseaudio,,,,,doronbehar
vstruct,,,,, vstruct,,,,,

1 # nix name luarocks name server version luaversion maintainers
79 std__debug std._debug
80 std_normalize std.normalize
81 stdlib vyp
pulseaudio doronbehar
82 vstruct

View File

@ -664,6 +664,11 @@ services.postgresql.dataDir = "/var/db/postgresql";
The default output of <literal>buildGoPackage</literal> is now <literal>$out</literal> instead of <literal>$bin</literal>. The default output of <literal>buildGoPackage</literal> is now <literal>$out</literal> instead of <literal>$bin</literal>.
</para> </para>
</listitem> </listitem>
<listitem>
<para>
<literal>buildGoModule</literal> <literal>doCheck</literal> now defaults to <literal>true</literal>.
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Packages built using <literal>buildRustPackage</literal> now use <literal>release</literal> Packages built using <literal>buildRustPackage</literal> now use <literal>release</literal>

View File

@ -46,7 +46,10 @@ pkgs.stdenv.mkDerivation {
( (
GLOBIGNORE=".:.." GLOBIGNORE=".:.."
shopt -u dotglob shopt -u dotglob
cp -a --reflink=auto ./files/* -t ./rootImage/
for f in ./files/*; do
cp -a --reflink=auto -t ./rootImage/ "$f"
done
) )
# Also include a manifest of the closures in a format suitable for nix-store --load-db # Also include a manifest of the closures in a format suitable for nix-store --load-db

View File

@ -25,4 +25,4 @@ in
services.udev.packages = [ pkgs.libbladeRF ]; services.udev.packages = [ pkgs.libbladeRF ];
users.groups.bladerf = {}; users.groups.bladerf = {};
}; };
} }

View File

@ -63,7 +63,7 @@ Activate the system: look for a directory in nix/store similar to:
Having found it, activate that nixos system *twice*: Having found it, activate that nixos system *twice*:
chroot . /nix/store/SOMETHING-nixos-SOMETHING/activate chroot . /nix/store/SOMETHING-nixos-SOMETHING/activate
chroot . /nix/store/SOMETHING-nixos-SOMETHING/activate chroot . /nix/store/SOMETHING-nixos-SOMETHING/activate
This runs a 'hostname' command. Restore your old hostname with: This runs a 'hostname' command. Restore your old hostname with:
hostname OLDHOSTNAME hostname OLDHOSTNAME

View File

@ -676,6 +676,7 @@
./services/networking/nat.nix ./services/networking/nat.nix
./services/networking/ndppd.nix ./services/networking/ndppd.nix
./services/networking/networkmanager.nix ./services/networking/networkmanager.nix
./services/networking/nextdns.nix
./services/networking/nftables.nix ./services/networking/nftables.nix
./services/networking/ngircd.nix ./services/networking/ngircd.nix
./services/networking/nghttpx/default.nix ./services/networking/nghttpx/default.nix
@ -925,6 +926,7 @@
./services/x11/gdk-pixbuf.nix ./services/x11/gdk-pixbuf.nix
./services/x11/imwheel.nix ./services/x11/imwheel.nix
./services/x11/redshift.nix ./services/x11/redshift.nix
./services/x11/urserver.nix
./services/x11/urxvtd.nix ./services/x11/urxvtd.nix
./services/x11/window-managers/awesome.nix ./services/x11/window-managers/awesome.nix
./services/x11/window-managers/default.nix ./services/x11/window-managers/default.nix

View File

@ -80,4 +80,4 @@ in {
]; ];
}) })
]; ];
} }

View File

@ -53,4 +53,4 @@ with lib;
}; };
}; };
}; };
} }

View File

@ -133,16 +133,6 @@ in {
} }
]; ];
systemd.tmpfiles.rules = [
"d /var/cache/netdata 0755 ${cfg.user} ${cfg.group} -"
"Z /var/cache/netdata - ${cfg.user} ${cfg.group} -"
"d /var/log/netdata 0755 ${cfg.user} ${cfg.group} -"
"Z /var/log/netdata - ${cfg.user} ${cfg.group} -"
"d /var/lib/netdata 0755 ${cfg.user} ${cfg.group} -"
"Z /var/lib/netdata - ${cfg.user} ${cfg.group} -"
"d /etc/netdata 0755 ${cfg.user} ${cfg.group} -"
"Z /etc/netdata - ${cfg.user} ${cfg.group} -"
];
systemd.services.netdata = { systemd.services.netdata = {
description = "Real time performance monitoring"; description = "Real time performance monitoring";
after = [ "network.target" ]; after = [ "network.target" ];
@ -158,11 +148,40 @@ in {
# User and group # User and group
User = cfg.user; User = cfg.user;
Group = cfg.group; Group = cfg.group;
# Runtime directory and mode
RuntimeDirectory = "netdata";
RuntimeDirectoryMode = "0755";
# Performance # Performance
LimitNOFILE = "30000"; LimitNOFILE = "30000";
# Runtime directory and mode
RuntimeDirectory = "netdata";
RuntimeDirectoryMode = "0750";
# State directory and mode
StateDirectory = "netdata";
StateDirectoryMode = "0750";
# Cache directory and mode
CacheDirectory = "netdata";
CacheDirectoryMode = "0750";
# Logs directory and mode
LogsDirectory = "netdata";
LogsDirectoryMode = "0750";
# Configuration directory and mode
ConfigurationDirectory = "netdata";
ConfigurationDirectoryMode = "0755";
# Capabilities
CapabilityBoundingSet = [
"CAP_DAC_OVERRIDE" # is required for freeipmi and slabinfo plugins
"CAP_DAC_READ_SEARCH" # is required for apps plugin
"CAP_FOWNER" # is required for freeipmi plugin
"CAP_SETPCAP" # is required for apps, perf and slabinfo plugins
"CAP_SYS_ADMIN" # is required for perf plugin
"CAP_SYS_PTRACE" # is required for apps plugin
"CAP_SYS_RESOURCE" # is required for ebpf plugin
"CAP_NET_RAW" # is required for fping app
];
# Sandboxing
ProtectSystem = "full";
ProtectHome = "read-only";
PrivateTmp = true;
ProtectControlGroups = true;
PrivateMounts = true;
}; };
}; };

View File

@ -96,6 +96,8 @@ in {
default = [ default = [
"/ip4/0.0.0.0/tcp/4001" "/ip4/0.0.0.0/tcp/4001"
"/ip6/::/tcp/4001" "/ip6/::/tcp/4001"
"/ip4/0.0.0.0/udp/4001/quic"
"/ip6/::/udp/4001/quic"
]; ];
description = "Where IPFS listens for incoming p2p connections"; description = "Where IPFS listens for incoming p2p connections";
}; };

View File

@ -81,6 +81,7 @@ in {
NotifyAccess = "main"; NotifyAccess = "main";
ExecStart = "${getBin cfg.package}/bin/corerad -c=${cfg.configFile}"; ExecStart = "${getBin cfg.package}/bin/corerad -c=${cfg.configFile}";
Restart = "on-failure"; Restart = "on-failure";
RestartKillSignal = "SIGHUP";
}; };
}; };
}; };

View File

@ -0,0 +1,44 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.nextdns;
in {
options = {
services.nextdns = {
enable = mkOption {
type = types.bool;
default = false;
description = "Whether to enable the NextDNS DNS/53 to DoH Proxy service.";
};
arguments = mkOption {
type = types.listOf types.str;
default = [];
example = [ "-config" "10.0.3.0/24=abcdef" ];
description = "Additional arguments to be passed to nextdns run.";
};
};
};
# https://github.com/nextdns/nextdns/blob/628ea509eaaccd27adb66337db03e5b56f6f38a8/host/service/systemd/service.go
config = mkIf cfg.enable {
systemd.services.nextdns = {
description = "NextDNS DNS/53 to DoH Proxy";
environment = {
SERVICE_RUN_MODE = "1";
};
serviceConfig = {
StartLimitInterval = 5;
StartLimitBurst = 10;
ExecStart = "${pkgs.nextdns}/bin/nextdns run ${escapeShellArgs config.services.nextdns.arguments}";
RestartSec = 120;
LimitMEMLOCK = "infinity";
};
after = [ "network.target" ];
before = [ "nss-lookup.target" ];
wants = [ "nss-lookup.target" ];
wantedBy = [ "multi-user.target" ];
};
};
}

View File

@ -28,11 +28,11 @@ stop()
if test "\$1" = start if test "\$1" = start
then then
trap stop 15 trap stop 15
start start
elif test "\$1" = stop elif test "\$1" = stop
then then
stop stop
elif test "\$1" = init elif test "\$1" = init
then then
echo "Are you sure you want to create a new server instance (old server instance will be lost!)?" echo "Are you sure you want to create a new server instance (old server instance will be lost!)?"
@ -42,21 +42,21 @@ then
then then
exit 1 exit 1
fi fi
rm -rf $serverDir rm -rf $serverDir
mkdir -p $serverDir mkdir -p $serverDir
cd $serverDir cd $serverDir
cp -av $jboss/server/default . cp -av $jboss/server/default .
sed -i -e "s|deploy/|$deployDir|" default/conf/jboss-service.xml sed -i -e "s|deploy/|$deployDir|" default/conf/jboss-service.xml
if ! test "$useJK" = "" if ! test "$useJK" = ""
then then
sed -i -e 's|<attribute name="UseJK">false</attribute>|<attribute name="UseJK">true</attribute>|' default/deploy/jboss-web.deployer/META-INF/jboss-service.xml sed -i -e 's|<attribute name="UseJK">false</attribute>|<attribute name="UseJK">true</attribute>|' default/deploy/jboss-web.deployer/META-INF/jboss-service.xml
sed -i -e 's|<Engine name="jboss.web" defaultHost="localhost">|<Engine name="jboss.web" defaultHost="localhost" jvmRoute="node1">|' default/deploy/jboss-web.deployer/server.xml sed -i -e 's|<Engine name="jboss.web" defaultHost="localhost">|<Engine name="jboss.web" defaultHost="localhost" jvmRoute="node1">|' default/deploy/jboss-web.deployer/server.xml
fi fi
# Make files accessible for the server user # Make files accessible for the server user
chown -R $user $serverDir chown -R $user $serverDir
for i in \`find $serverDir -type d\` for i in \`find $serverDir -type d\`
do do

View File

@ -0,0 +1,38 @@
# urserver service
{ config, lib, pkgs, ... }:
let
cfg = config.services.urserver;
in {
options.services.urserver.enable = lib.mkEnableOption "urserver";
config = lib.mkIf cfg.enable {
networking.firewall = {
allowedTCPPorts = [ 9510 9512 ];
allowedUDPPorts = [ 9511 9512 ];
};
systemd.user.services.urserver = {
description = ''
Server for Unified Remote: The one-and-only remote for your computer.
'';
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
after = [ "network.target" ];
serviceConfig = {
Type = "forking";
ExecStart = ''
${pkgs.urserver}/bin/urserver --daemon
'';
ExecStop = ''
${pkgs.procps}/bin/pkill urserver
'';
RestartSec = 3;
Restart = "on-failure";
};
};
};
}

View File

@ -34,4 +34,4 @@ with lib;
}; };
} }

View File

@ -63,7 +63,7 @@ addEntry() {
copyToKernelsDir $kernel; kernel=$result copyToKernelsDir $kernel; kernel=$result
copyToKernelsDir $initrd; initrd=$result copyToKernelsDir $initrd; initrd=$result
fi fi
mkdir -p $outdir mkdir -p $outdir
ln -sf $(readlink -f $path) $outdir/system ln -sf $(readlink -f $path) $outdir/system
ln -sf $(readlink -f $path/init) $outdir/init ln -sf $(readlink -f $path/init) $outdir/init

View File

@ -53,7 +53,7 @@ addEntry() {
echo "exec $stage2" echo "exec $stage2"
)" )"
[ "$path" != "$defaultConfig" ] || { [ "$path" != "$defaultConfig" ] || {
echo "$content" > $tmp echo "$content" > $tmp
echo "# older configurations: $targetOther" >> $tmp echo "# older configurations: $targetOther" >> $tmp
chmod +x $tmp chmod +x $tmp

View File

@ -36,4 +36,4 @@ with lib;
}; };
} }

View File

@ -23,7 +23,7 @@ for ((i = 0; i < ${#targets_[@]}; i++)); do
done done
else else
mkdir -p $out/etc/$(dirname $target) mkdir -p $out/etc/$(dirname $target)
if ! [ -e $out/etc/$target ]; then if ! [ -e $out/etc/$target ]; then
ln -s $source $out/etc/$target ln -s $source $out/etc/$target
@ -34,13 +34,12 @@ for ((i = 0; i < ${#targets_[@]}; i++)); do
exit 1 exit 1
fi fi
fi fi
if test "${modes_[$i]}" != symlink; then if test "${modes_[$i]}" != symlink; then
echo "${modes_[$i]}" > $out/etc/$target.mode echo "${modes_[$i]}" > $out/etc/$target.mode
echo "${users_[$i]}" > $out/etc/$target.uid echo "${users_[$i]}" > $out/etc/$target.uid
echo "${groups_[$i]}" > $out/etc/$target.gid echo "${groups_[$i]}" > $out/etc/$target.gid
fi fi
fi fi
done done

View File

@ -408,6 +408,9 @@ in
(this derives it from the machine-id that systemd generates) or (this derives it from the machine-id that systemd generates) or
<literal>head -c4 /dev/urandom | od -A none -t x4</literal> <literal>head -c4 /dev/urandom | od -A none -t x4</literal>
The primary use case is to ensure when using ZFS that a pool isn't imported
accidentally on a wrong machine.
''; '';
}; };

View File

@ -306,6 +306,7 @@ in
sanoid = handleTest ./sanoid.nix {}; sanoid = handleTest ./sanoid.nix {};
sddm = handleTest ./sddm.nix {}; sddm = handleTest ./sddm.nix {};
service-runner = handleTest ./service-runner.nix {}; service-runner = handleTest ./service-runner.nix {};
shattered-pixel-dungeon = handleTest ./shattered-pixel-dungeon.nix {};
shiori = handleTest ./shiori.nix {}; shiori = handleTest ./shiori.nix {};
signal-desktop = handleTest ./signal-desktop.nix {}; signal-desktop = handleTest ./signal-desktop.nix {};
simple = handleTest ./simple.nix {}; simple = handleTest ./simple.nix {};

View File

@ -0,0 +1,29 @@
import ./make-test-python.nix ({ pkgs, ... }: {
name = "shattered-pixel-dungeon";
meta = with pkgs.lib.maintainers; {
maintainers = [ fgaz ];
};
machine = { config, pkgs, ... }: {
imports = [
./common/x11.nix
];
services.xserver.enable = true;
environment.systemPackages = [ pkgs.shattered-pixel-dungeon ];
};
enableOCR = true;
testScript =
''
machine.wait_for_x()
machine.execute("shattered-pixel-dungeon &")
machine.wait_for_window(r"Shattered Pixel Dungeon")
machine.sleep(5)
if "Enter" not in machine.get_screen_text():
raise Exception("Program did not start successfully")
machine.screenshot("screen")
'';
})

View File

@ -1,21 +1,28 @@
{ stdenv, fetchzip, wxGTK31, pkgconfig, file, gettext, { stdenv, fetchzip, wxGTK30, pkgconfig, file, gettext,
libvorbis, libmad, libjack2, lv2, lilv, serd, sord, sratom, suil, alsaLib, libsndfile, soxr, flac, lame, libvorbis, libmad, libjack2, lv2, lilv, serd, sord, sratom, suil, alsaLib, libsndfile, soxr, flac, lame,
expat, libid3tag, ffmpeg_3, soundtouch, /*, portaudio - given up fighting their portaudio.patch */ expat, libid3tag, ffmpeg_3, soundtouch, /*, portaudio - given up fighting their portaudio.patch */
pcre, vamp-plugin-sdk, portmidi, twolame, git, autoconf, automake, libtool
cmake, libtool
}: }:
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.4.2"; version = "2.4.1";
pname = "audacity"; pname = "audacity";
src = fetchzip { src = fetchzip {
url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz"; url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz";
sha256 = "0lklcvqkxrr2gkb9gh3422iadzl2rv9v0a8s76rwq43lj2im7546"; sha256 = "1xk0piv72d2xd3p7igr916fhcbrm76fhjr418k1rlqdzzg1hfljn";
}; };
preConfigure = /* we prefer system-wide libs */ ''
autoreconf -vi # use system libraries
# we will get a (possibly harmless) warning during configure without this
substituteInPlace configure \
--replace /usr/bin/file ${file}/bin/file
'';
configureFlags = [ configureFlags = [
"--with-libsamplerate" "--with-libsamplerate"
]; ];
@ -36,12 +43,11 @@ stdenv.mkDerivation rec {
"-lswscale" "-lswscale"
]; ];
nativeBuildInputs = [ pkgconfig cmake libtool git ]; nativeBuildInputs = [ pkgconfig autoconf automake libtool ];
buildInputs = [ buildInputs = [
file gettext wxGTK31 expat alsaLib file gettext wxGTK30 expat alsaLib
libsndfile soxr libid3tag libjack2 lv2 lilv serd sord sratom suil wxGTK31.gtk libsndfile soxr libid3tag libjack2 lv2 lilv serd sord sratom suil wxGTK30.gtk
ffmpeg_3 libmad lame libvorbis flac soundtouch ffmpeg_3 libmad lame libvorbis flac soundtouch
pcre vamp-plugin-sdk portmidi twolame
]; #ToDo: detach sbsms ]; #ToDo: detach sbsms
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gtk3, libjack2, lilv, lv2, pkgconfig, python { stdenv, fetchurl, gtk2, libjack2, lilv, lv2, pkgconfig, python
, serd, sord , sratom, suil, wafHook }: , serd, sord , sratom, suil, wafHook }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig wafHook ]; nativeBuildInputs = [ pkgconfig wafHook ];
buildInputs = [ buildInputs = [
gtk3 libjack2 lilv lv2 python serd sord sratom suil gtk2 libjack2 lilv lv2 python serd sord sratom suil
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -0,0 +1,23 @@
{ stdenv, fetchurl, cmake, pkgconfig, qttools, alsaLib, drumstick, qtbase, qtsvg }:
stdenv.mkDerivation rec {
pname = "kmetronome";
version = "1.0.1";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
sha256 = "0bzm6vzlm32kjrgn1nvp096b2d41ybys2sk145nhy992wg56v32s";
};
nativeBuildInputs = [ cmake pkgconfig qttools ];
buildInputs = [ alsaLib drumstick qtbase qtsvg ];
meta = with stdenv.lib; {
homepage = "https://kmetronome.sourceforge.io/";
description = "ALSA MIDI metronome with Qt interface";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
}

View File

@ -15,6 +15,8 @@ buildGoModule rec {
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
subPackages = [ "." ]; subPackages = [ "." ];
buildInputs = [ rnnoise-plugin ]; buildInputs = [ rnnoise-plugin ];

View File

@ -1,26 +1,23 @@
{ stdenv, fetchurl, cmake, pkgconfig { stdenv, fetchurl, cmake, pkgconfig, alsaLib, libjack2, qt4 }:
, qt4, libjack2
}:
let stdenv.mkDerivation rec {
version = "0.5.1";
in stdenv.mkDerivation rec {
pname = "vmpk"; pname = "vmpk";
inherit version; version = "0.5.1";
meta = with stdenv.lib; {
description = "Virtual MIDI Piano Keyboard";
homepage = "http://vmpk.sourceforge.net/";
license = licenses.gpl3Plus;
platforms = platforms.linux;
};
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/vmpk/${version}/${pname}-${version}.tar.bz2"; url = "mirror://sourceforge/${pname}/${version}/${pname}-${version}.tar.bz2";
sha256 = "11fqnxgs9hr9255d93n7lazxzjwn8jpmn23nywdksh0pb1ffvfrc"; sha256 = "11fqnxgs9hr9255d93n7lazxzjwn8jpmn23nywdksh0pb1ffvfrc";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [ qt4 libjack2 ]; buildInputs = [ alsaLib libjack2 qt4 ];
meta = with stdenv.lib; {
description = "Virtual MIDI Piano Keyboard";
homepage = "http://vmpk.sourceforge.net/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
} }

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "03aw6mcvp1vr01ppxy673jf5hdryd5032cxndlkaiwg005mxp1dy"; vendorSha256 = "03aw6mcvp1vr01ppxy673jf5hdryd5032cxndlkaiwg005mxp1dy";
doCheck = false;
subPackages = [ "." "cmd/dcrctl" "cmd/promptsecret" ]; subPackages = [ "." "cmd/dcrctl" "cmd/promptsecret" ];
meta = { meta = {

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0qrrr92cad399xwr64qa9h41wqqaj0dy5mw248g5v53zars541w7"; vendorSha256 = "0qrrr92cad399xwr64qa9h41wqqaj0dy5mw248g5v53zars541w7";
doCheck = false;
subPackages = [ "." ]; subPackages = [ "." ];
meta = { meta = {

View File

@ -14,6 +14,8 @@ buildGoModule rec {
runVend = true; runVend = true;
vendorSha256 = "1744df059bjksvih4653nnvb4kb1xvzdhypd0nnz36m1wrihqssv"; vendorSha256 = "1744df059bjksvih4653nnvb4kb1xvzdhypd0nnz36m1wrihqssv";
doCheck = false;
subPackages = [ subPackages = [
"cmd/abidump" "cmd/abidump"
"cmd/abigen" "cmd/abigen"

View File

@ -2,12 +2,12 @@
let let
pname = "ledger-live-desktop"; pname = "ledger-live-desktop";
version = "2.8.0"; version = "2.9.0";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage"; url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage";
sha256 = "1nj7fjbf99zpmq82kci6wp9nzml8ij1bz96zc77gwzsi0dacjrv5"; sha256 = "1ajpmsq4h37w3jzcxijg3myp3mvgbrjis6jrz1cl79m78ripb6cy";
}; };
appimageContents = appimageTools.extractType2 { appimageContents = appimageTools.extractType2 {

View File

@ -15,6 +15,8 @@ buildGoModule rec {
vendorSha256 = "0a4bk2qry0isnrvl0adwikqn6imxwzlaq5j3nglb5rmwwq2cdz0r"; vendorSha256 = "0a4bk2qry0isnrvl0adwikqn6imxwzlaq5j3nglb5rmwwq2cdz0r";
doCheck = false;
subPackages = ["cmd/lncli" "cmd/lnd"]; subPackages = ["cmd/lncli" "cmd/lnd"];
preBuild = let preBuild = let

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1c16s5xiqr36azh2w90wg14jlw67ca2flbgjijpz7qd0ypxyfqlk"; vendorSha256 = "1c16s5xiqr36azh2w90wg14jlw67ca2flbgjijpz7qd0ypxyfqlk";
doCheck = false;
buildFlagsArray = [ "-ldflags=" "-X=main.Version=${version}" ]; buildFlagsArray = [ "-ldflags=" "-X=main.Version=${version}" ];
meta = with lib; { meta = with lib; {

View File

@ -0,0 +1,6 @@
source 'https://rubygems.org'
gem 'sensu'
gem 'iruby'
gem 'cztop'
gem 'ffi-rzmq'
gem 'rbczmq'

View File

@ -0,0 +1,119 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
amq-protocol (2.0.1)
amqp (1.6.0)
amq-protocol (>= 2.0.1)
eventmachine
bond (0.5.1)
childprocess (0.5.8)
ffi (~> 1.0, >= 1.0.11)
cookiejar (0.3.3)
czmq-ffi-gen (0.15.0)
ffi (~> 1.9.10)
cztop (0.13.1)
czmq-ffi-gen (~> 0.15.0)
data_uri (0.1.0)
em-http-request (1.1.5)
addressable (>= 2.3.4)
cookiejar (!= 0.3.1)
em-socksify (>= 0.3)
eventmachine (>= 1.0.3)
http_parser.rb (>= 0.6.0)
em-http-server (0.1.8)
eventmachine
em-socksify (0.3.2)
eventmachine (>= 1.0.0.beta.4)
em-worker (0.0.2)
eventmachine
eventmachine (1.2.7)
ffi (1.9.21)
ffi-rzmq (2.0.7)
ffi-rzmq-core (>= 1.0.7)
ffi-rzmq-core (1.0.7)
ffi
http_parser.rb (0.6.0)
iruby (0.3)
bond (~> 0.5)
data_uri (~> 0.1)
mimemagic (~> 0.3)
multi_json (~> 1.11)
mimemagic (0.3.3)
multi_json (1.13.1)
oj (2.18.1)
parse-cron (0.1.4)
public_suffix (3.0.3)
rbczmq (1.7.9)
sensu (1.6.2)
em-http-request (= 1.1.5)
em-http-server (= 0.1.8)
eventmachine (= 1.2.7)
parse-cron (= 0.1.4)
sensu-extension (= 1.5.2)
sensu-extensions (= 1.10.0)
sensu-json (= 2.1.1)
sensu-logger (= 1.2.2)
sensu-redis (= 2.4.0)
sensu-settings (= 10.14.0)
sensu-spawn (= 2.5.0)
sensu-transport (= 8.2.0)
sensu-extension (1.5.2)
eventmachine
sensu-extensions (1.10.0)
sensu-extension
sensu-extensions-check-dependencies (= 1.1.0)
sensu-extensions-debug (= 1.0.0)
sensu-extensions-json (= 1.0.0)
sensu-extensions-occurrences (= 1.2.0)
sensu-extensions-only-check-output (= 1.0.0)
sensu-extensions-ruby-hash (= 1.0.0)
sensu-json (>= 1.1.0)
sensu-logger
sensu-settings
sensu-extensions-check-dependencies (1.1.0)
sensu-extension
sensu-extensions-debug (1.0.0)
sensu-extension
sensu-extensions-json (1.0.0)
sensu-extension
sensu-extensions-occurrences (1.2.0)
sensu-extension
sensu-extensions-only-check-output (1.0.0)
sensu-extension
sensu-extensions-ruby-hash (1.0.0)
sensu-extension
sensu-json (2.1.1)
oj (= 2.18.1)
sensu-logger (1.2.2)
eventmachine
sensu-json
sensu-redis (2.4.0)
eventmachine
sensu-settings (10.14.0)
parse-cron
sensu-json (>= 1.1.0)
sensu-spawn (2.5.0)
childprocess (= 0.5.8)
em-worker (= 0.0.2)
eventmachine
ffi (= 1.9.21)
sensu-transport (8.2.0)
amq-protocol (= 2.0.1)
amqp (= 1.6.0)
eventmachine
sensu-redis (>= 1.0.0)
PLATFORMS
ruby
DEPENDENCIES
cztop
ffi-rzmq
iruby
rbczmq
sensu
BUNDLED WITH
1.17.2

View File

@ -0,0 +1,17 @@
{ lib
, bundlerApp
}:
bundlerApp {
pname = "iruby";
gemdir = ./.;
exes = [ "iruby" ];
meta = with lib; {
description = "Ruby kernel for Jupyter";
homepage = "https://github.com/SciRuby/iruby";
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
platforms = platforms.unix;
};
}

View File

@ -0,0 +1,429 @@
{
addressable = {
dependencies = ["public_suffix"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0bcm2hchn897xjhqj9zzsxf3n9xhddymj4lsclz508f4vw3av46l";
type = "gem";
};
version = "2.6.0";
};
amq-protocol = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1rpn9vgh7y037aqhhp04smihzr73vp5i5g6xlqlha10wy3q0wp7x";
type = "gem";
};
version = "2.0.1";
};
amqp = {
dependencies = ["amq-protocol" "eventmachine"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0kbrqnpjgj9v0722p3n5rw589l4g26ry8mcghwc5yr20ggkpdaz9";
type = "gem";
};
version = "1.6.0";
};
bond = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1r19ifc4skyl2gxnifrxa5jvbbay9fb2in79ppgv02b6n4bhsw90";
type = "gem";
};
version = "0.5.1";
};
childprocess = {
dependencies = ["ffi"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1lv7axi1fhascm9njxh3lx1rbrnsm8wgvib0g7j26v4h1fcphqg0";
type = "gem";
};
version = "0.5.8";
};
cookiejar = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0q0kmbks9l3hl0wdq744hzy97ssq9dvlzywyqv9k9y1p3qc9va2a";
type = "gem";
};
version = "0.3.3";
};
czmq-ffi-gen = {
dependencies = ["ffi"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1ngsd1yxiayd50v402vwhmq7ma9ang6pcba5kqiwq7smpdvfmbmp";
type = "gem";
};
version = "0.15.0";
};
cztop = {
dependencies = ["czmq-ffi-gen"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "12xcz7g42dbp2ryhcwdm2ykj7bmwfhjhla296hy18g7a09zlfnz7";
type = "gem";
};
version = "0.13.1";
};
data_uri = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0fzkxgdxrlbfl4537y3n9mjxbm28kir639gcw3x47ffchwsgdcky";
type = "gem";
};
version = "0.1.0";
};
em-http-request = {
dependencies = ["addressable" "cookiejar" "em-socksify" "eventmachine" "http_parser.rb"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "13rxmbi0fv91n4sg300v3i9iiwd0jxv0i6xd0sp81dx3jlx7kasx";
type = "gem";
};
version = "1.1.5";
};
em-http-server = {
dependencies = ["eventmachine"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0y8l4gymy9dzjjchjav90ck6has2i2zdjihlhcyrg3jgq6kjzyq5";
type = "gem";
};
version = "0.1.8";
};
em-socksify = {
dependencies = ["eventmachine"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0rk43ywaanfrd8180d98287xv2pxyl7llj291cwy87g1s735d5nk";
type = "gem";
};
version = "0.3.2";
};
em-worker = {
dependencies = ["eventmachine"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0z4jx9z2q5hxvdvik4yp0ahwfk69qsmdnyp72ln22p3qlkq2z5wk";
type = "gem";
};
version = "0.0.2";
};
eventmachine = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0wh9aqb0skz80fhfn66lbpr4f86ya2z5rx6gm5xlfhd05bj1ch4r";
type = "gem";
};
version = "1.2.7";
};
ffi = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0c2dl10pi6a30kcvx2s6p2v1wb4kbm48iv38kmz2ff600nirhpb8";
type = "gem";
};
version = "1.9.21";
};
ffi-rzmq = {
dependencies = ["ffi-rzmq-core"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "14a5kxfnf8l3ngyk8hgmk30z07aj1324ll8i48z67ps6pz2kpsrg";
type = "gem";
};
version = "2.0.7";
};
ffi-rzmq-core = {
dependencies = ["ffi"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0amkbvljpjfnv0jpdmz71p1i3mqbhyrnhamjn566w0c01xd64hb5";
type = "gem";
};
version = "1.0.7";
};
"http_parser.rb" = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "15nidriy0v5yqfjsgsra51wmknxci2n2grliz78sf9pga3n0l7gi";
type = "gem";
};
version = "0.6.0";
};
iruby = {
dependencies = ["bond" "data_uri" "mimemagic" "multi_json"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1wdf2c0x8y6cya0n3y0p3p7b1sxkb2fdavdn2k58rf4rs37s7rzn";
type = "gem";
};
version = "0.3";
};
mimemagic = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "04cp5sfbh1qx82yqxn0q75c7hlcx8y1dr5g3kyzwm4mx6wi2gifw";
type = "gem";
};
version = "0.3.3";
};
multi_json = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv";
type = "gem";
};
version = "1.13.1";
};
oj = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "147whmq8h2n04chskl3v4a132xhz5i6kk6vhnz83jwng4vihin5f";
type = "gem";
};
version = "2.18.1";
};
parse-cron = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "02fj9i21brm88nb91ikxwxbwv9y7mb7jsz6yydh82rifwq7357hg";
type = "gem";
};
version = "0.1.4";
};
public_suffix = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
type = "gem";
};
version = "3.0.3";
};
rbczmq = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1bqr44m2nb61smza6y5cahp09hk16lsn0z3wpq9g5zpr9nhp50fx";
type = "gem";
};
version = "1.7.9";
};
sensu = {
dependencies = ["em-http-request" "em-http-server" "eventmachine" "parse-cron" "sensu-extension" "sensu-extensions" "sensu-json" "sensu-logger" "sensu-redis" "sensu-settings" "sensu-spawn" "sensu-transport"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1rxv6yj63nkxlzmmqk6qpfpcvrbar9s4sd4kgfb5zsv9bw7236cr";
type = "gem";
};
version = "1.6.2";
};
sensu-extension = {
dependencies = ["eventmachine"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0bpizp4n01rv72cryjjlrbfxxj3csish3mkxjzdy4inpi5j5h1dw";
type = "gem";
};
version = "1.5.2";
};
sensu-extensions = {
dependencies = ["sensu-extension" "sensu-extensions-check-dependencies" "sensu-extensions-debug" "sensu-extensions-json" "sensu-extensions-occurrences" "sensu-extensions-only-check-output" "sensu-extensions-ruby-hash" "sensu-json" "sensu-logger" "sensu-settings"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "04v221qjv8qy3jci40i66p63ig5vrrh0dpgmf1l8229x5m7bxrsg";
type = "gem";
};
version = "1.10.0";
};
sensu-extensions-check-dependencies = {
dependencies = ["sensu-extension"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1hc4kz7k983f6fk27ikg5drvxm4a85qf1k07hqssfyk3k75jyj1r";
type = "gem";
};
version = "1.1.0";
};
sensu-extensions-debug = {
dependencies = ["sensu-extension"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "11abdgn2kkkbvxq4692yg6a27qnxz4349gfiq7d35biy7vrw34lp";
type = "gem";
};
version = "1.0.0";
};
sensu-extensions-json = {
dependencies = ["sensu-extension"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1wnbn9sycdqdh9m0fhszaqkv0jijs3fkdbvcv8kdspx6irbv3m6g";
type = "gem";
};
version = "1.0.0";
};
sensu-extensions-occurrences = {
dependencies = ["sensu-extension"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0lx5wsbblfs0rvkxfg09bsz0g2mwmckrhga7idnarsnm8m565v1v";
type = "gem";
};
version = "1.2.0";
};
sensu-extensions-only-check-output = {
dependencies = ["sensu-extension"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0ds2i8wd4ji9ifig2zzr4jpxinvk5dm7j10pvaqy4snykxa3rqh3";
type = "gem";
};
version = "1.0.0";
};
sensu-extensions-ruby-hash = {
dependencies = ["sensu-extension"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1xyrj3gbmslbivcd5qcmyclgapn7qf7f5jwfvfpw53bxzib0h7s3";
type = "gem";
};
version = "1.0.0";
};
sensu-json = {
dependencies = ["oj"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "08zlxg5j3bhs72cc7wcllp026jbif0xiw6ib1cgawndlpsfl9fgx";
type = "gem";
};
version = "2.1.1";
};
sensu-logger = {
dependencies = ["eventmachine" "sensu-json"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0jpw4kz36ilaknrzb3rbkhpbgv93w2d668z2cv395dq30d4d3iwm";
type = "gem";
};
version = "1.2.2";
};
sensu-redis = {
dependencies = ["eventmachine"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0widfmmj1h9ca2kk14wy1sqmlkq40linp89a73s3ghngnzri0xyk";
type = "gem";
};
version = "2.4.0";
};
sensu-settings = {
dependencies = ["parse-cron" "sensu-json"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "152n4hazv2l4vbzrgd316rpj135jmz042fyh6k2yv2kw0x29pi0f";
type = "gem";
};
version = "10.14.0";
};
sensu-spawn = {
dependencies = ["childprocess" "em-worker" "eventmachine" "ffi"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "17yc8ivjpjbvig9r7yl6991d6ma0kcq75fbpz6i856ljvcr3lmd5";
type = "gem";
};
version = "2.5.0";
};
sensu-transport = {
dependencies = ["amq-protocol" "amqp" "eventmachine" "sensu-redis"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0x6vyfmg1jm1srf7xa5aka73by7qwcmry2rx8kq8phwa4g0v4mzr";
type = "gem";
};
version = "8.2.0";
};
}

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "09alkpfyxapycv6zsaz7prgbr0a1jzd78n7w2mh01mg4hhb2j3k7"; vendorSha256 = "09alkpfyxapycv6zsaz7prgbr0a1jzd78n7w2mh01mg4hhb2j3k7";
doCheck = false;
subPackages = [ "cmd/pdfcpu" ]; subPackages = [ "cmd/pdfcpu" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -11,6 +11,8 @@ in buildGoModule {
vendorSha256 = vendorSha256; vendorSha256 = vendorSha256;
doCheck = false;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "humio"; owner = "humio";
repo = "cli"; repo = "cli";

View File

@ -16,6 +16,8 @@ buildGoModule rec {
vendorSha256 = "1ikrgl03r9zkn86kxkqi2kf540g3qzzz24i5wvh6g3d5q49nygl9"; vendorSha256 = "1ikrgl03r9zkn86kxkqi2kf540g3qzzz24i5wvh6g3d5q49nygl9";
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Easily create & extract archives, and compress & decompress files of various formats"; description = "Easily create & extract archives, and compress & decompress files of various formats";
homepage = "https://github.com/mholt/archiver"; homepage = "https://github.com/mholt/archiver";

View File

@ -23,6 +23,8 @@ buildGoModule rec {
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Create and view interactive cheatsheets on the command-line"; description = "Create and view interactive cheatsheets on the command-line";
maintainers = with maintainers; [ mic92 ]; maintainers = with maintainers; [ mic92 ];

View File

@ -18,6 +18,8 @@ buildGoModule rec {
# and <https://github.com/NixOS/nixpkgs/blob/d4226e3a4b5fcf988027147164e86665d382bbfa/pkgs/development/go-modules/generic/default.nix#L18> # and <https://github.com/NixOS/nixpkgs/blob/d4226e3a4b5fcf988027147164e86665d382bbfa/pkgs/development/go-modules/generic/default.nix#L18>
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
# The ldflags reduce the executable size by stripping some debug stuff. # The ldflags reduce the executable size by stripping some debug stuff.
# The other variables are set so that the output of dstask version shows the # The other variables are set so that the output of dstask version shows the
# git ref and the release version from github. # git ref and the release version from github.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,51 @@
{ stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, gtk3
}:
rustPlatform.buildRustPackage rec {
pname = "effitask";
version = "1.4.0";
src = fetchFromGitHub {
owner = "sanpii";
repo = "${pname}";
rev = "${version}";
sha256 = "09bffxdp43s8b1rpmsgqr2kyz3i4jbd2yrwbxw21fj3sf3mwb9ig";
};
# workaround for missing Cargo.lock file https://github.com/sanpii/effitask/issues/48
cargoPatches = [ ./cargo-lock.patch ];
cargoSha256 = "0dvmp23kny6rlv6c0mfyy3cmz1bi5wcm1mxps4z67lym5kxfd362";
buildInputs = [ openssl gtk3 ];
nativeBuildInputs = [ pkg-config ];
# default installPhase don't install assets
installPhase = ''
runHook preInstall
make install PREFIX="$out"
runHook postInstall
'';
meta = with stdenv.lib; {
description = "Graphical task manager, based on the todo.txt format";
longDescription = ''
To use it as todo.sh add-on, create a symlink like this:
mkdir ~/.todo.actions.d/
ln -s $(which effitask) ~/.todo.actions.d/et
Or use it as standalone program by defining some environment variables
like described in the projects readme.
'';
homepage = "https://github.com/sanpii/effitask";
maintainers = with maintainers; [ davidak ];
license = with licenses; [ mit ];
platforms = platforms.all;
};
}

View File

@ -1,7 +1,12 @@
{ stdenv, fetchurl, fetchFromGitHub, wrapQtAppsHook, python3, python3Packages, zbar, secp256k1 { stdenv
, enableQt ? !stdenv.isDarwin , fetchurl
, fetchFromGitHub
, wrapQtAppsHook
, python3
, python3Packages
, zbar
, secp256k1
, enableQt ? true
# for updater.nix # for updater.nix
, writeScript , writeScript
, common-updater-scripts , common-updater-scripts
@ -15,7 +20,7 @@
}: }:
let let
version = "3.3.8"; version = "4.0.2";
libsecp256k1_name = libsecp256k1_name =
if stdenv.isLinux then "libsecp256k1.so.0" if stdenv.isLinux then "libsecp256k1.so.0"
@ -31,7 +36,7 @@ let
owner = "spesmilo"; owner = "spesmilo";
repo = "electrum"; repo = "electrum";
rev = version; rev = version;
sha256 = "1di8ba77kgapcys0d7h5nx1qqakv3s60c6sp8skw8p69ramsl73c"; sha256 = "1xpkbard994n1gwl95b558x69k1m1m258bc220nxrajg1pywh90f";
extraPostFetch = '' extraPostFetch = ''
mv $out ./all mv $out ./all
@ -46,7 +51,7 @@ python3Packages.buildPythonApplication {
src = fetchurl { src = fetchurl {
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz"; url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
sha256 = "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2"; sha256 = "05ibrr6ysf6fncs1pimhxvyr7d659jwj2r2a9pdd3cmn1dxzy2w1";
}; };
postUnpack = '' postUnpack = ''
@ -57,9 +62,11 @@ python3Packages.buildPythonApplication {
nativeBuildInputs = stdenv.lib.optionals enableQt [ wrapQtAppsHook ]; nativeBuildInputs = stdenv.lib.optionals enableQt [ wrapQtAppsHook ];
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
aiorpcx
aiohttp aiohttp
aiohttp-socks aiohttp-socks
aiorpcx
attrs
bitstring
dnspython dnspython
ecdsa ecdsa
jsonrpclib-pelix jsonrpclib-pelix
@ -78,9 +85,6 @@ python3Packages.buildPythonApplication {
keepkey keepkey
trezor trezor
btchip btchip
# TODO plugins
# amodem
] ++ stdenv.lib.optionals enableQt [ pyqt5 qdarkstyle ]; ] ++ stdenv.lib.optionals enableQt [ pyqt5 qdarkstyle ];
preBuild = '' preBuild = ''
@ -90,7 +94,6 @@ python3Packages.buildPythonApplication {
'' + (if enableQt then '' '' + (if enableQt then ''
substituteInPlace ./electrum/qrscanner.py \ substituteInPlace ./electrum/qrscanner.py \
--replace ${libzbar_name} ${zbar.lib}/lib/libzbar${stdenv.hostPlatform.extensions.sharedLibrary} --replace ${libzbar_name} ${zbar.lib}/lib/libzbar${stdenv.hostPlatform.extensions.sharedLibrary}
sed -i 's/qdarkstyle<2.7/qdarkstyle<3.0/' contrib/requirements/requirements.txt
'' else '' '' else ''
sed -i '/qdarkstyle/d' contrib/requirements/requirements.txt sed -i '/qdarkstyle/d' contrib/requirements/requirements.txt
''); '');

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0b2m9xkac60k5rbxmb03cxf530m23av14pnsjk8067l998sm4vqi"; vendorSha256 = "0b2m9xkac60k5rbxmb03cxf530m23av14pnsjk8067l998sm4vqi";
doCheck = false;
subPackages = [ "./exercism" ]; subPackages = [ "./exercism" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0q4byhvs1c1xm4qjvs2vyf98vdv121qn0z51arcf7k4ayrys5xcx"; vendorSha256 = "0q4byhvs1c1xm4qjvs2vyf98vdv121qn0z51arcf7k4ayrys5xcx";
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Automatic GeoIP database updater"; description = "Automatic GeoIP database updater";
homepage = "https://github.com/maxmind/geoipupdate"; homepage = "https://github.com/maxmind/geoipupdate";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "18jwxnkv94lsxfv57ga519knxm077cc8chp5c992ipk58a04nv18"; vendorSha256 = "18jwxnkv94lsxfv57ga519knxm077cc8chp5c992ipk58a04nv18";
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Simple command line client for Atlassian's Jira service written in Go"; description = "Simple command line client for Atlassian's Jira service written in Go";
homepage = "https://github.com/go-jira/jira"; homepage = "https://github.com/go-jira/jira";

View File

@ -1,7 +1,7 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
backports (3.17.2) backports (3.18.1)
concurrent-ruby (1.1.6) concurrent-ruby (1.1.6)
crass (1.0.6) crass (1.0.6)
execjs (2.7.0) execjs (2.7.0)
@ -9,7 +9,7 @@ GEM
gemojione (4.3.3) gemojione (4.3.3)
json json
github-markup (3.0.4) github-markup (3.0.4)
gollum (5.0.1) gollum (5.1)
gemojione (~> 4.1) gemojione (~> 4.1)
gollum-lib (~> 5.0) gollum-lib (~> 5.0)
kramdown (~> 2.1.0) kramdown (~> 2.1.0)
@ -25,7 +25,7 @@ GEM
therubyrhino (~> 2.1.0) therubyrhino (~> 2.1.0)
uglifier (~> 3.2) uglifier (~> 3.2)
useragent (~> 0.16.2) useragent (~> 0.16.2)
gollum-lib (5.0.4) gollum-lib (5.0.5)
gemojione (~> 4.1) gemojione (~> 4.1)
github-markup (~> 3.0) github-markup (~> 3.0)
gollum-rugged_adapter (~> 1.0) gollum-rugged_adapter (~> 1.0)
@ -37,7 +37,7 @@ GEM
gollum-rugged_adapter (1.0) gollum-rugged_adapter (1.0)
mime-types (>= 1.15) mime-types (>= 1.15)
rugged (~> 0.99) rugged (~> 0.99)
json (2.3.0) json (2.3.1)
kramdown (2.1.0) kramdown (2.1.0)
kramdown-parser-gfm (1.0.1) kramdown-parser-gfm (1.0.1)
kramdown (~> 2.0) kramdown (~> 2.0)
@ -48,11 +48,11 @@ GEM
mime-types-data (~> 3.2015) mime-types-data (~> 3.2015)
mime-types-data (3.2020.0512) mime-types-data (3.2020.0512)
mini_portile2 (2.4.0) mini_portile2 (2.4.0)
multi_json (1.14.1) multi_json (1.15.0)
mustache (0.99.8) mustache (0.99.8)
mustermann (1.1.1) mustermann (1.1.1)
ruby2_keywords (~> 0.0.1) ruby2_keywords (~> 0.0.1)
nokogiri (1.10.9) nokogiri (1.10.10)
mini_portile2 (~> 2.4.0) mini_portile2 (~> 2.4.0)
octicons (8.5.0) octicons (8.5.0)
nokogiri (>= 1.6.3.1) nokogiri (>= 1.6.3.1)
@ -63,7 +63,7 @@ GEM
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
rexml (3.2.4) rexml (3.2.4)
rouge (3.20.0) rouge (3.21.0)
rss (0.2.9) rss (0.2.9)
rexml rexml
ruby2_keywords (0.0.2) ruby2_keywords (0.0.2)

View File

@ -4,10 +4,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0rg58rd3hgk8wz4fbapn3szwgymk1q9lv4ywg37bkbcflsbi70iy"; sha256 = "0qagwshq7zyjgm6k53hbrf4gfrwn6qz5d6rrc83cl59q37v68zsc";
type = "gem"; type = "gem";
}; };
version = "3.17.2"; version = "3.18.1";
}; };
concurrent-ruby = { concurrent-ruby = {
groups = ["default"]; groups = ["default"];
@ -76,10 +76,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1f9p1230xmrvcb7ii2gkcvhpgcaqvvd47gy3c58nn730jkv471dr"; sha256 = "06qc6flb2sik64ich3j4a9yky9cqsj77vdjff51wxi4lhd9ga6sk";
type = "gem"; type = "gem";
}; };
version = "5.0.1"; version = "5.1";
}; };
gollum-lib = { gollum-lib = {
dependencies = ["gemojione" "github-markup" "gollum-rugged_adapter" "loofah" "nokogiri" "octicons" "rouge" "twitter-text"]; dependencies = ["gemojione" "github-markup" "gollum-rugged_adapter" "loofah" "nokogiri" "octicons" "rouge" "twitter-text"];
@ -87,10 +87,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0pr3djmawqpmifyadw1vfzdkq720dsaqih1wf8k2vksw0lr9la74"; sha256 = "18f3g5px9zznyh6ppqlnjdp1ia8awgrix9lhbfh64rpgxg0b9xlr";
type = "gem"; type = "gem";
}; };
version = "5.0.4"; version = "5.0.5";
}; };
gollum-rugged_adapter = { gollum-rugged_adapter = {
dependencies = ["mime-types" "rugged"]; dependencies = ["mime-types" "rugged"];
@ -108,10 +108,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0nrmw2r4nfxlfgprfgki3hjifgrcrs3l5zvm3ca3gb4743yr25mn"; sha256 = "158fawfwmv2sq4whqqaksfykkiad2xxrrj0nmpnc6vnlzi1bp7iz";
type = "gem"; type = "gem";
}; };
version = "2.3.0"; version = "2.3.1";
}; };
kramdown = { kramdown = {
groups = ["default"]; groups = ["default"];
@ -181,10 +181,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "0xy54mjf7xg41l8qrg1bqri75agdqmxap9z466fjismc1rn2jwfr"; sha256 = "0pb1g1y3dsiahavspyzkdy39j4q377009f6ix0bh1ag4nqw43l0z";
type = "gem"; type = "gem";
}; };
version = "1.14.1"; version = "1.15.0";
}; };
mustache = { mustache = {
groups = ["default"]; groups = ["default"];
@ -213,10 +213,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "12j76d0bp608932xkzmfi638c7aqah57l437q8494znzbj610qnm"; sha256 = "0xmf60nj5kg9vaj5bysy308687sgmkasgx06vbbnf94p52ih7si2";
type = "gem"; type = "gem";
}; };
version = "1.10.9"; version = "1.10.10";
}; };
octicons = { octicons = {
dependencies = ["nokogiri"]; dependencies = ["nokogiri"];
@ -286,10 +286,10 @@
platforms = []; platforms = [];
source = { source = {
remotes = ["https://rubygems.org"]; remotes = ["https://rubygems.org"];
sha256 = "1r5npy9a95qh5v74lw7ir3nhaq4xrzyhfdixd7c5xy295i92nnic"; sha256 = "1agrrmj88k9jkk36ra1ml2c1jffpp595pkxmcla74ac9ia09vn3s";
type = "gem"; type = "gem";
}; };
version = "3.20.0"; version = "3.21.0";
}; };
rss = { rss = {
dependencies = ["rexml"]; dependencies = ["rexml"];

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1yw0gph4zfg8w4343882l6b9lggwyak2zz8ic1l1m2m44p3aq169"; vendorSha256 = "1yw0gph4zfg8w4343882l6b9lggwyak2zz8ic1l1m2m44p3aq169";
doCheck = false;
meta = with lib; { meta = with lib; {
description = ''Displays "The Matrix" in a terminal''; description = ''Displays "The Matrix" in a terminal'';
license = licenses.bsd2; license = licenses.bsd2;

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0fklr3lxh8g7gda65wf2wdkqv15869h7m1bwbzbiv8pasrf5b352"; vendorSha256 = "0fklr3lxh8g7gda65wf2wdkqv15869h7m1bwbzbiv8pasrf5b352";
doCheck = false;
meta = with lib; { meta = with lib; {
description = "A simple text-based Minecraft modpack manager"; description = "A simple text-based Minecraft modpack manager";
license = licenses.agpl3; license = licenses.agpl3;

View File

@ -12,6 +12,9 @@ buildGoModule rec {
}; };
vendorSha256 = "17xn6bdy942g6nx5xky41ixmd5kaz68chj3rb02ibpyraamx04nm"; vendorSha256 = "17xn6bdy942g6nx5xky41ixmd5kaz68chj3rb02ibpyraamx04nm";
doCheck = false;
runVend = true; runVend = true;
buildFlags = [ "-tags" "extended" ]; buildFlags = [ "-tags" "extended" ];

View File

@ -1,17 +1,17 @@
{ mkDerivation, lib, fetchFromGitHub, qmake, libusb1, hidapi }: { mkDerivation, lib, fetchFromGitHub, qmake, libusb1, hidapi, pkg-config }:
mkDerivation rec { mkDerivation rec {
pname = "openrgb"; pname = "openrgb";
version = "0.2"; version = "0.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CalcProgrammer1"; owner = "CalcProgrammer1";
repo = "OpenRGB"; repo = "OpenRGB";
rev = "release_${version}"; rev = "release_${version}";
sha256 = "0b1mkp4ca4gdzk020kp6dkd3i9a13h4ikrn3417zscsvv5y9kv0s"; sha256 = "1931aisdahjr99d4qqk824ib4x19mvhqgqmkm3j6fc5zd2hnw87m";
}; };
nativeBuildInputs = [ qmake ]; nativeBuildInputs = [ qmake pkg-config ];
buildInputs = [ libusb1 hidapi ]; buildInputs = [ libusb1 hidapi ];
installPhase = '' installPhase = ''

View File

@ -0,0 +1,46 @@
{ stdenv, lib, fetchFromGitHub, pkg-config, meson, ninja, wayland, pixman, cairo, librsvg, wayland-protocols, wlroots, libxkbcommon, gst_all_1, wrapQtAppsHook, qtbase, qtmultimedia }:
let
gstreamerPath = with gst_all_1; stdenv.lib.makeSearchPath "lib/gstreamer-1.0" [
gstreamer
gst-plugins-base
gst-plugins-good
gst-plugins-bad
gst-plugins-ugly
];
in stdenv.mkDerivation rec {
pname = "qt-video-wlr";
version = "2020-08-03";
src = fetchFromGitHub {
owner = "xdavidwu";
repo = "qt-video-wlr";
rev = "f88a7aa43f28b879b18752069f4a1ec33d73f2fe";
sha256 = "135kfyg1b61xvfpk8vpk4qyw6s9q1mn3a6lfkrqrhl0dz9kka9lx";
};
nativeBuildInputs = [ pkg-config meson ninja wrapQtAppsHook ];
buildInputs = [
wayland
pixman
cairo
librsvg
wayland-protocols
wlroots
libxkbcommon
qtbase
qtmultimedia
];
qtWrapperArgs = [
"--prefix PATH : $out/bin/qt-video-wlr"
"--prefix GST_PLUGIN_PATH : ${gstreamerPath}"
];
meta = with lib; {
description = "Qt pip-mode-like video player for wlroots-based wayland compositors";
homepage = "https://github.com/xdavidwu/qt-video-wlr";
license = licenses.mit;
maintainers = with maintainers; [ fionera ];
platforms = with platforms; linux;
};
}

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "077s13pcql5w2m6wzls1q06r7p501kazbwzxgfh6akwza15kb4is"; vendorSha256 = "077s13pcql5w2m6wzls1q06r7p501kazbwzxgfh6akwza15kb4is";
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A Go app that allows access to the ReMarkable Cloud API programmatically"; description = "A Go app that allows access to the ReMarkable Cloud API programmatically";
homepage = "https://github.com/juruen/rmapi"; homepage = "https://github.com/juruen/rmapi";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "04nywhkil5xkipcibrp6vi63rfcvqgv7yxbxmmrhqys2cdxfvazv"; vendorSha256 = "04nywhkil5xkipcibrp6vi63rfcvqgv7yxbxmmrhqys2cdxfvazv";
doCheck = false;
subPackages = [ "." ]; subPackages = [ "." ];
buildInputs = [ alsaLib ]; buildInputs = [ alsaLib ];

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1qalnhhq3fmyzj0hkzc5gk9wbypr558mz3ik5msw7fid68k2i48c"; vendorSha256 = "1qalnhhq3fmyzj0hkzc5gk9wbypr558mz3ik5msw7fid68k2i48c";
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Shows colorful, animated party parrot in your terminial"; description = "Shows colorful, animated party parrot in your terminial";
homepage = "https://github.com/jmhobbs/terminal-parrot"; homepage = "https://github.com/jmhobbs/terminal-parrot";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0cznb8glh36dwyyn1gx1ggkwa9zffrrxg52k78brnaczsl0rsmky"; vendorSha256 = "0cznb8glh36dwyyn1gx1ggkwa9zffrrxg52k78brnaczsl0rsmky";
doCheck = false;
meta = { meta = {
homepage = "https://github.com/sachaos/todoist"; homepage = "https://github.com/sachaos/todoist";
description = "Todoist CLI Client"; description = "Todoist CLI Client";

View File

@ -18,6 +18,8 @@ buildGoModule rec {
vendorSha256 = "09iy148pnbdrzjj2j50lbd8s9mkv7vggrx77mj88p1gnqclz3lip"; vendorSha256 = "09iy148pnbdrzjj2j50lbd8s9mkv7vggrx77mj88p1gnqclz3lip";
doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
subPackages = [ "." ]; subPackages = [ "." ];

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0xj2s14dq10fwqqxjn4d8x6zljd5d15gjbja2gb75rfv09s4fdgv"; vendorSha256 = "0xj2s14dq10fwqqxjn4d8x6zljd5d15gjbja2gb75rfv09s4fdgv";
doCheck = false;
meta = with lib; { meta = with lib; {
description = "A fancy terminal browser for the Gemini protocol"; description = "A fancy terminal browser for the Gemini protocol";
homepage = "https://github.com/makeworld-the-better-one/amfora"; homepage = "https://github.com/makeworld-the-better-one/amfora";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
buildFlagsArray = "-ldflags=-X main.Version=${version}"; buildFlagsArray = "-ldflags=-X main.Version=${version}";
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -30,6 +30,8 @@ buildGoModule rec {
vendorSha256 = "1vqmzz76lcwwnw89n4lyg4jjf7wbdgn9sdzwsgrjwkj8ax7d48cv"; vendorSha256 = "1vqmzz76lcwwnw89n4lyg4jjf7wbdgn9sdzwsgrjwkj8ax7d48cv";
doCheck = false;
subPackages = [ "cmd/argo" ]; subPackages = [ "cmd/argo" ];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -14,6 +14,8 @@ buildGoModule rec {
vendorSha256 = "0r2nh7v00m6zbdnhsgjn01q9pkiz41ckkqgfnpqmkxaqmjz31iyj"; vendorSha256 = "0r2nh7v00m6zbdnhsgjn01q9pkiz41ckkqgfnpqmkxaqmjz31iyj";
doCheck = false;
nativeBuildInputs = [ packr ]; nativeBuildInputs = [ packr ];
patches = [ ./use-go-module.patch ]; patches = [ ./use-go-module.patch ];

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
subPackages = [ "." ]; subPackages = [ "." ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
buildFlagsArray = [ buildFlagsArray = [
"-ldflags=-X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=${version}" "-ldflags=-X github.com/containernetworking/plugins/pkg/utils/buildversion.BuildVersion=${version}"
]; ];

View File

@ -1,7 +1,7 @@
{ lib, buildGoModule, minikube }: { lib, buildGoModule, minikube }:
buildGoModule rec { buildGoModule rec {
inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256; inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256 doCheck;
pname = "docker-machine-hyperkit"; pname = "docker-machine-hyperkit";

View File

@ -1,7 +1,7 @@
{ lib, buildGoModule, minikube }: { lib, buildGoModule, minikube }:
buildGoModule rec { buildGoModule rec {
inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256; inherit (minikube) version src nativeBuildInputs buildInputs vendorSha256 doCheck;
pname = "docker-machine-kvm2"; pname = "docker-machine-kvm2";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0a5sv11pb2i6r0ffwaiqdhc0m7gz679yfmqw6ix9imk4ybhf4jp9"; vendorSha256 = "0a5sv11pb2i6r0ffwaiqdhc0m7gz679yfmqw6ix9imk4ybhf4jp9";
doCheck = false;
subPackages = [ "cmd/fluxctl" ]; subPackages = [ "cmd/fluxctl" ];
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];

View File

@ -12,6 +12,8 @@ buildGoModule rec {
}; };
vendorSha256 = "0j25m56cwzjd9b75v7xlb26q81bsmln77k23h9n8v2f2gqwwpkrl"; vendorSha256 = "0j25m56cwzjd9b75v7xlb26q81bsmln77k23h9n8v2f2gqwwpkrl";
doCheck = false;
subPackages = [ "cmd/helm" ]; subPackages = [ "cmd/helm" ];
buildFlagsArray = [ "-ldflags=-w -s -X helm.sh/helm/v3/internal/version.version=v${version}" ]; buildFlagsArray = [ "-ldflags=-w -s -X helm.sh/helm/v3/internal/version.version=v${version}" ];

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "04mga3jc2c01daygjcn245mv30lc2ibax0mpb1wjk3s8lkl4cxcz"; vendorSha256 = "04mga3jc2c01daygjcn245mv30lc2ibax0mpb1wjk3s8lkl4cxcz";
doCheck = false;
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
subPackages = [ "." ]; subPackages = [ "." ];

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "05vnysr5r3hbayss1pyifgp989kjw81h95iack8ady62k6ys5njl"; vendorSha256 = "05vnysr5r3hbayss1pyifgp989kjw81h95iack8ady62k6ys5njl";
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Helm Charts (k8s applications) as Code tool"; description = "Helm Charts (k8s applications) as Code tool";
homepage = "https://github.com/Praqma/helmsman"; homepage = "https://github.com/Praqma/helmsman";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1jh2f66ys6rmrrwrf5zqfprgcvziyq6l4z8bfqwxgf1ysnxx525h"; vendorSha256 = "1jh2f66ys6rmrrwrf5zqfprgcvziyq6l4z8bfqwxgf1ysnxx525h";
doCheck = false;
buildFlagsArray = '' buildFlagsArray = ''
-ldflags= -ldflags=
-X github.com/xetys/hetzner-kube/cmd.version=${version} -X github.com/xetys/hetzner-kube/cmd.version=${version}

View File

@ -12,6 +12,8 @@ buildGoModule rec {
}; };
vendorSha256 = "0cc0lmjsxrn3f78k95wklf3yn5k7h8slwnwmssy1i1h0bkcg1bai"; vendorSha256 = "0cc0lmjsxrn3f78k95wklf3yn5k7h8slwnwmssy1i1h0bkcg1bai";
doCheck = false;
nativeBuildInputs = [ go-bindata installShellFiles ]; nativeBuildInputs = [ go-bindata installShellFiles ];
# Bundle charts # Bundle charts

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0l9djgvnrgdnw7nsf05yq7qpzzzm3gasgh9a7dyc16pp2kxvza6k"; vendorSha256 = "0l9djgvnrgdnw7nsf05yq7qpzzzm3gasgh9a7dyc16pp2kxvza6k";
doCheck = false;
subPackages = [ "cmd/jx" ]; subPackages = [ "cmd/jx" ];
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];

View File

@ -20,6 +20,8 @@ buildGoModule rec {
vendorSha256 = "1hmqvcvlffd8cpqcnn2f9mnyiwdhw8k46sl2p6rk16yrj06la9mr"; vendorSha256 = "1hmqvcvlffd8cpqcnn2f9mnyiwdhw8k46sl2p6rk16yrj06la9mr";
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Kubernetes CLI To Manage Your Clusters In Style."; description = "Kubernetes CLI To Manage Your Clusters In Style.";
homepage = "https://github.com/derailed/k9s"; homepage = "https://github.com/derailed/k9s";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0l8xdnv2m6byd5dwvs3zgcj1lsci7ax4xvx178a8a78sgkqalvmq"; vendorSha256 = "0l8xdnv2m6byd5dwvs3zgcj1lsci7ax4xvx178a8a78sgkqalvmq";
doCheck = false;
postInstall = '' postInstall = ''
rm $out/bin/{mdtogo,formula} rm $out/bin/{mdtogo,formula}
''; '';

View File

@ -32,6 +32,8 @@ buildGoModule rec {
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/rancher/k3d"; homepage = "https://github.com/rancher/k3d";
description = "A helper to run k3s (Lightweight Kubernetes. 5 less than k8s) in a docker container"; description = "A helper to run k3s (Lightweight Kubernetes. 5 less than k8s) in a docker container";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
subPackages = [ "cmd/kubeseal" ]; subPackages = [ "cmd/kubeseal" ];
buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ]; buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ];

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "0q85is01cbgxflnqdvxc9w5iqdizgvsc44h8z21j712bm2w7blqq"; vendorSha256 = "0q85is01cbgxflnqdvxc9w5iqdizgvsc44h8z21j712bm2w7blqq";
doCheck = false;
# TODO: enable after https://github.com/pulumi/kubespy/issues/72 is addressed. # TODO: enable after https://github.com/pulumi/kubespy/issues/72 is addressed.
# postInstall = '' # postInstall = ''
# for shell in bash zsh; do # for shell in bash zsh; do

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1kpwvi84i3h1yjprd6m6hn8l9j235931871y3qk9cl0g8q0hv9ja"; vendorSha256 = "1kpwvi84i3h1yjprd6m6hn8l9j235931871y3qk9cl0g8q0hv9ja";
doCheck = false;
meta = with lib; { meta = with lib; {
description = "Validate your Kubernetes configuration files"; description = "Validate your Kubernetes configuration files";
homepage = "https://github.com/instrumenta/kubeval"; homepage = "https://github.com/instrumenta/kubeval";

View File

@ -13,6 +13,8 @@ buildGoModule {
vendorSha256 = "0vls58ld50jca5yn73kvg3lx4z83cc7skky54a90pkbj737y58pz"; vendorSha256 = "0vls58ld50jca5yn73kvg3lx4z83cc7skky54a90pkbj737y58pz";
doCheck = false;
subPackages = [ "cli/cmd" ]; subPackages = [ "cli/cmd" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -15,6 +15,8 @@ buildGoModule rec {
vendorSha256 = "0smjj2sq09k1ai79lk74gi056hfls7qy8x08wkq2g24fxi06cr94"; vendorSha256 = "0smjj2sq09k1ai79lk74gi056hfls7qy8x08wkq2g24fxi06cr94";
doCheck = false;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "kubernetes"; owner = "kubernetes";
repo = "minikube"; repo = "minikube";

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = null; vendorSha256 = null;
doCheck = false;
# Optionally, a log counter binary can be created to parse journald logs. # Optionally, a log counter binary can be created to parse journald logs.
# The binary is dynamically linked against systemd libraries, making it a # The binary is dynamically linked against systemd libraries, making it a
# Linux-only feature. See 'ENABLE_JOURNALD' upstream: # Linux-only feature. See 'ENABLE_JOURNALD' upstream:

View File

@ -15,6 +15,8 @@ buildGoModule rec {
vendorSha256 = "16fdc5r28andm8my4fxj0f1yygx6j2mvn92i6xdfhbcra0lvr4ql"; vendorSha256 = "16fdc5r28andm8my4fxj0f1yygx6j2mvn92i6xdfhbcra0lvr4ql";
doCheck = false;
subPackages = [ subPackages = [
"prow/cmd/admission" "prow/cmd/admission"
"prow/cmd/branchprotector" "prow/cmd/branchprotector"

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "15hbjghi2ifylg7nr85qlk0alsy97h9zj6hf5w84m76dla2bcjf3"; vendorSha256 = "15hbjghi2ifylg7nr85qlk0alsy97h9zj6hf5w84m76dla2bcjf3";
doCheck = false;
buildFlagsArray = '' buildFlagsArray = ''
-ldflags= -ldflags=
-s -w -s -w

View File

@ -0,0 +1,27 @@
{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "tanka";
version = "0.11.1";
src = fetchFromGitHub {
owner = "grafana";
repo = pname;
rev = "v${version}";
sha256 = "0hp10qgalglsdhh6z6v4azh2hsr89mdrv1g5lssfl5jyink409yd";
};
vendorSha256 = "15x8fqz2d2793ivgxpd9jyr34njzi1xpyxdlfyj1b01n2vr3xg4m";
doCheck = false;
buildFlagsArray = [ "-ldflags=-s -w -X main.Version=${version}" ];
meta = with lib; {
description = "Flexible, reusable and concise configuration for Kubernetes";
homepage = "https://github.com/grafana/tanka/";
license = licenses.asl20;
maintainers = with maintainers; [ mikefaille ];
platforms = platforms.unix;
};
}

View File

@ -140,8 +140,9 @@ let
# Packages that don't fit the default model # Packages that don't fit the default model
ansible = callPackage ./ansible {}; ansible = callPackage ./ansible {};
gandi = callPackage ./gandi {};
elasticsearch = callPackage ./elasticsearch {}; elasticsearch = callPackage ./elasticsearch {};
gandi = callPackage ./gandi {};
keycloak = callPackage ./keycloak {};
libvirt = callPackage ./libvirt {}; libvirt = callPackage ./libvirt {};
lxd = callPackage ./lxd {}; lxd = callPackage ./lxd {};
shell = callPackage ./shell {}; shell = callPackage ./shell {};

View File

@ -12,6 +12,8 @@ buildGoModule rec {
vendorSha256 = "1rdvyypdl3fk6af66gfjhyl271cnlx5xgrl1w68sc6sbvq00bqkd"; vendorSha256 = "1rdvyypdl3fk6af66gfjhyl271cnlx5xgrl1w68sc6sbvq00bqkd";
doCheck = false;
subPackages = [ "." ]; subPackages = [ "." ];
# Terraform allow checking the provider versions, but this breaks # Terraform allow checking the provider versions, but this breaks

View File

@ -0,0 +1,30 @@
{ stdenv
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
name = "terraform-provider-keycloak-${version}";
version = "1.20.0";
src = fetchFromGitHub {
owner = "mrparkers";
repo = "terraform-provider-keycloak";
rev = version;
sha256 = "1h8780k8345pf0s14k1pmwdjbv2j08h4rq3jwds81mmv6qgj1r2n";
};
vendorSha256 = "12iary7p5qsbl4xdhfd1wh92mvf2fiylnb3m1d3m7cdcn32rfimq";
doCheck = false;
postInstall = "mv $out/bin/terraform-provider-keycloak{,_v${version}}";
meta = with stdenv.lib; {
description = "Terraform provider for keycloak";
homepage = "https://github.com/mrparkers/terraform-provider-keycloak";
license = licenses.mpl20;
maintainers = with maintainers; [ eonpatapon ];
};
}

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1shdpl1zsbbpc3mfs0l65ykq2h15ggvqylaixcap4j4lfl7m9my0"; vendorSha256 = "1shdpl1zsbbpc3mfs0l65ykq2h15ggvqylaixcap4j4lfl7m9my0";
doCheck = false;
postBuild = "mv ../go/bin/terraform-provider-lxd{,_v${version}}"; postBuild = "mv ../go/bin/terraform-provider-lxd{,_v${version}}";
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -12,6 +12,8 @@ buildGoModule rec {
vendorSha256 = "1p2ja6cw3dl7mx41svri6frjpgb9pxsrl7sq0rk1d3sviw0f88sg"; vendorSha256 = "1p2ja6cw3dl7mx41svri6frjpgb9pxsrl7sq0rk1d3sviw0f88sg";
doCheck = false;
subPackages = [ "." ]; subPackages = [ "." ];
# Terraform allows checking the provider versions, but this breaks # Terraform allows checking the provider versions, but this breaks

View File

@ -12,6 +12,8 @@ buildGoModule rec {
vendorSha256 = "0j90fnzba23mwf9bzf9w5h0hszkl3h61p5i780s9v9c0hbzhbqsh"; vendorSha256 = "0j90fnzba23mwf9bzf9w5h0hszkl3h61p5i780s9v9c0hbzhbqsh";
doCheck = false;
subPackages = [ "." ]; subPackages = [ "." ];
# Terraform allow checking the provider versions, but this breaks # Terraform allow checking the provider versions, but this breaks

View File

@ -13,6 +13,8 @@ buildGoModule rec {
vendorSha256 = "1xn7c6y32vpanqvf1sfpw6bs73dbjniavjbf00j0vx83bfyklsr4"; vendorSha256 = "1xn7c6y32vpanqvf1sfpw6bs73dbjniavjbf00j0vx83bfyklsr4";
doCheck = false;
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper ];
preBuild = '' preBuild = ''

View File

@ -19,16 +19,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "newsflash"; pname = "newsflash";
version = "1.0.2"; version = "1.0.4";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "news-flash"; owner = "news-flash";
repo = "news_flash_gtk"; repo = "news_flash_gtk";
rev = version; rev = version;
sha256 = "17a8fd5rhs56qrqlfj9ckv45hwfcjhdb8j4cxlnvy7s770s225gd"; sha256 = "0x0ws3mhkvf1a8986c8mh2navvvmkkiwymn0smrybffsgqdd2jh1";
}; };
cargoSha256 = "1p0m7la59fn9r2rr26q9mfd1nvyvxb630qiwj96x91p77xv1i30i"; cargoSha256 = "0rv2zrbarkkg56yg1w75lpdazgbik36yb70bzc6zqz1rmxinhqb0";
patches = [ patches = [
./no-post-install.patch ./no-post-install.patch
@ -65,7 +65,7 @@ rustPlatform.buildRustPackage rec {
# SVG support for gdk-pixbuf # SVG support for gdk-pixbuf
librsvg librsvg
] ++ (with gst_all_1; [ ] ++ (with gst_all_1; [
# Audio & video & support for webkitgtk WebView # Audio & video support for webkitgtk WebView
gstreamer gstreamer
gst-plugins-base gst-plugins-base
gst-plugins-good gst-plugins-good

View File

@ -16,6 +16,8 @@ buildGoModule rec {
vendorSha256 = "0qp8n7z3vcsbc6safp7i18i0i3r4hy4nidzwl85i981sg12vcg6b"; vendorSha256 = "0qp8n7z3vcsbc6safp7i18i0i3r4hy4nidzwl85i981sg12vcg6b";
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Declarative configuration for Gmail filters"; description = "Declarative configuration for Gmail filters";
homepage = "https://github.com/mbrt/gmailctl"; homepage = "https://github.com/mbrt/gmailctl";

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