Merge branch 'master' into staging
Hydra: ?compare=1430035
This commit is contained in:
commit
c9171e5a4c
|
@ -328,6 +328,7 @@
|
||||||
joelmo = "Joel Moberg <joel.moberg@gmail.com>";
|
joelmo = "Joel Moberg <joel.moberg@gmail.com>";
|
||||||
joelteon = "Joel Taylor <me@joelt.io>";
|
joelteon = "Joel Taylor <me@joelt.io>";
|
||||||
johbo = "Johannes Bornhold <johannes@bornhold.name>";
|
johbo = "Johannes Bornhold <johannes@bornhold.name>";
|
||||||
|
johnazoidberg = "Daniel Schäfer <git@danielschaefer.me>";
|
||||||
johnmh = "John M. Harris, Jr. <johnmh@openblox.org>";
|
johnmh = "John M. Harris, Jr. <johnmh@openblox.org>";
|
||||||
johnramsden = "John Ramsden <johnramsden@riseup.net>";
|
johnramsden = "John Ramsden <johnramsden@riseup.net>";
|
||||||
joko = "Ioannis Koutras <ioannis.koutras@gmail.com>";
|
joko = "Ioannis Koutras <ioannis.koutras@gmail.com>";
|
||||||
|
@ -610,12 +611,14 @@
|
||||||
schmitthenner = "Fabian Schmitthenner <development@schmitthenner.eu>";
|
schmitthenner = "Fabian Schmitthenner <development@schmitthenner.eu>";
|
||||||
schneefux = "schneefux <schneefux+nixos_pkg@schneefux.xyz>";
|
schneefux = "schneefux <schneefux+nixos_pkg@schneefux.xyz>";
|
||||||
schristo = "Scott Christopher <schristopher@konputa.com>";
|
schristo = "Scott Christopher <schristopher@konputa.com>";
|
||||||
|
scode = "Peter Schuller <peter.schuller@infidyne.com>";
|
||||||
scolobb = "Sergiu Ivanov <sivanov@colimite.fr>";
|
scolobb = "Sergiu Ivanov <sivanov@colimite.fr>";
|
||||||
sdll = "Sasha Illarionov <sasha.delly@gmail.com>";
|
sdll = "Sasha Illarionov <sasha.delly@gmail.com>";
|
||||||
SeanZicari = "Sean Zicari <sean.zicari@gmail.com>";
|
SeanZicari = "Sean Zicari <sean.zicari@gmail.com>";
|
||||||
sellout = "Greg Pfeil <greg@technomadic.org>";
|
sellout = "Greg Pfeil <greg@technomadic.org>";
|
||||||
sepi = "Raffael Mancini <raffael@mancini.lu>";
|
sepi = "Raffael Mancini <raffael@mancini.lu>";
|
||||||
seppeljordan = "Sebastian Jordan <sebastian.jordan.mail@googlemail.com>";
|
seppeljordan = "Sebastian Jordan <sebastian.jordan.mail@googlemail.com>";
|
||||||
|
sfrijters = "Stefan Frijters <sfrijters@gmail.com>";
|
||||||
shanemikel = "Shane Pearlman <shanemikel1@gmail.com>";
|
shanemikel = "Shane Pearlman <shanemikel1@gmail.com>";
|
||||||
shawndellysse = "Shawn Dellysse <sdellysse@gmail.com>";
|
shawndellysse = "Shawn Dellysse <sdellysse@gmail.com>";
|
||||||
sheenobu = "Sheena Artrip <sheena.artrip@gmail.com>";
|
sheenobu = "Sheena Artrip <sheena.artrip@gmail.com>";
|
||||||
|
@ -679,6 +682,7 @@
|
||||||
ThomasMader = "Thomas Mader <thomas.mader@gmail.com>";
|
ThomasMader = "Thomas Mader <thomas.mader@gmail.com>";
|
||||||
thoughtpolice = "Austin Seipp <aseipp@pobox.com>";
|
thoughtpolice = "Austin Seipp <aseipp@pobox.com>";
|
||||||
thpham = "Thomas Pham <thomas.pham@ithings.ch>";
|
thpham = "Thomas Pham <thomas.pham@ithings.ch>";
|
||||||
|
tilpner = "Till Höppner <till@hoeppner.ws>";
|
||||||
timbertson = "Tim Cuthbertson <tim@gfxmonk.net>";
|
timbertson = "Tim Cuthbertson <tim@gfxmonk.net>";
|
||||||
timokau = "Timo Kaufmann <timokau@zoho.com>";
|
timokau = "Timo Kaufmann <timokau@zoho.com>";
|
||||||
tiramiseb = "Sébastien Maccagnoni <sebastien@maccagnoni.eu>";
|
tiramiseb = "Sébastien Maccagnoni <sebastien@maccagnoni.eu>";
|
||||||
|
@ -698,6 +702,7 @@
|
||||||
tvorog = "Marsel Zaripov <marszaripov@gmail.com>";
|
tvorog = "Marsel Zaripov <marszaripov@gmail.com>";
|
||||||
tweber = "Thorsten Weber <tw+nixpkgs@360vier.de>";
|
tweber = "Thorsten Weber <tw+nixpkgs@360vier.de>";
|
||||||
twey = "James ‘Twey’ Kay <twey@twey.co.uk>";
|
twey = "James ‘Twey’ Kay <twey@twey.co.uk>";
|
||||||
|
unode = "Renato Alves <alves.rjc@gmail.com>";
|
||||||
uralbash = "Svintsov Dmitry <root@uralbash.ru>";
|
uralbash = "Svintsov Dmitry <root@uralbash.ru>";
|
||||||
utdemir = "Utku Demir <me@utdemir.com>";
|
utdemir = "Utku Demir <me@utdemir.com>";
|
||||||
#urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>"; inactive since 2012
|
#urkud = "Yury G. Kudryashov <urkud+nix@ya.ru>"; inactive since 2012
|
||||||
|
|
|
@ -69,9 +69,6 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
# Leftover for old setups, should be set by nixos-generate-config now
|
|
||||||
powerManagement.cpuFreqGovernor = mkDefault "ondemand";
|
|
||||||
|
|
||||||
systemd.targets.post-resume = {
|
systemd.targets.post-resume = {
|
||||||
description = "Post-Resume Actions";
|
description = "Post-Resume Actions";
|
||||||
requires = [ "post-resume.service" ];
|
requires = [ "post-resume.service" ];
|
||||||
|
|
|
@ -84,6 +84,7 @@
|
||||||
./programs/info.nix
|
./programs/info.nix
|
||||||
./programs/java.nix
|
./programs/java.nix
|
||||||
./programs/kbdlight.nix
|
./programs/kbdlight.nix
|
||||||
|
./programs/less.nix
|
||||||
./programs/light.nix
|
./programs/light.nix
|
||||||
./programs/man.nix
|
./programs/man.nix
|
||||||
./programs/mosh.nix
|
./programs/mosh.nix
|
||||||
|
|
118
nixos/modules/programs/less.nix
Normal file
118
nixos/modules/programs/less.nix
Normal file
|
@ -0,0 +1,118 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
with lib;
|
||||||
|
|
||||||
|
let
|
||||||
|
|
||||||
|
cfg = config.programs.less;
|
||||||
|
|
||||||
|
configFile = ''
|
||||||
|
#command
|
||||||
|
${concatStringsSep "\n"
|
||||||
|
(mapAttrsToList (command: action: "${command} ${action}") cfg.commands)
|
||||||
|
}
|
||||||
|
${if cfg.clearDefaultCommands then "#stop" else ""}
|
||||||
|
|
||||||
|
#line-edit
|
||||||
|
${concatStringsSep "\n"
|
||||||
|
(mapAttrsToList (command: action: "${command} ${action}") cfg.lineEditingKeys)
|
||||||
|
}
|
||||||
|
|
||||||
|
#env
|
||||||
|
${concatStringsSep "\n"
|
||||||
|
(mapAttrsToList (variable: values: "${variable}=${values}") cfg.envVariables)
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
|
||||||
|
lessKey = pkgs.runCommand "lesskey"
|
||||||
|
{ src = pkgs.writeText "lessconfig" configFile; }
|
||||||
|
"${pkgs.less}/bin/lesskey -o $out $src";
|
||||||
|
|
||||||
|
in
|
||||||
|
|
||||||
|
{
|
||||||
|
options = {
|
||||||
|
|
||||||
|
programs.less = {
|
||||||
|
|
||||||
|
enable = mkEnableOption "less";
|
||||||
|
|
||||||
|
commands = mkOption {
|
||||||
|
type = types.attrsOf types.str;
|
||||||
|
default = {};
|
||||||
|
example = {
|
||||||
|
"h" = "noaction 5\e(";
|
||||||
|
"l" = "noaction 5\e)";
|
||||||
|
};
|
||||||
|
description = "Defines new command keys.";
|
||||||
|
};
|
||||||
|
|
||||||
|
clearDefaultCommands = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Clear all default commands.
|
||||||
|
You should remember to set the quit key.
|
||||||
|
Otherwise you will not be able to leave less without killing it.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
lineEditingKeys = mkOption {
|
||||||
|
type = types.attrsOf types.str;
|
||||||
|
default = {};
|
||||||
|
example = {
|
||||||
|
"\e" = "abort";
|
||||||
|
};
|
||||||
|
description = "Defines new line-editing keys.";
|
||||||
|
};
|
||||||
|
|
||||||
|
envVariables = mkOption {
|
||||||
|
type = types.attrsOf types.str;
|
||||||
|
default = {};
|
||||||
|
example = {
|
||||||
|
LESS = "--quit-if-one-screen";
|
||||||
|
};
|
||||||
|
description = "Defines environment variables.";
|
||||||
|
};
|
||||||
|
|
||||||
|
lessopen = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = "|${pkgs.lesspipe}/bin/lesspipe.sh %s";
|
||||||
|
description = ''
|
||||||
|
Before less opens a file, it first gives your input preprocessor a chance to modify the way the contents of the file are displayed.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
lessclose = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
When less closes a file opened in such a way, it will call another program, called the input postprocessor, which may perform any desired clean-up action (such as deleting the replacement file created by LESSOPEN).
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
environment.systemPackages = [ pkgs.less ];
|
||||||
|
|
||||||
|
environment.variables = {
|
||||||
|
"LESSKEY_SYSTEM" = toString lessKey;
|
||||||
|
} // optionalAttrs (cfg.lessopen != null) {
|
||||||
|
"LESSOPEN" = cfg.lessopen;
|
||||||
|
} // optionalAttrs (cfg.lessclose != null) {
|
||||||
|
"LESSCLOSE" = cfg.lessclose;
|
||||||
|
};
|
||||||
|
|
||||||
|
warnings = optional (
|
||||||
|
cfg.clearDefaultCommands && (all (x: x != "quit") (attrValues cfg.commands))
|
||||||
|
) ''
|
||||||
|
config.programs.less.clearDefaultCommands clears all default commands of less but there is no alternative binding for exiting.
|
||||||
|
Consider adding a binding for 'quit'.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
meta.maintainers = with maintainers; [ johnazoidberg ];
|
||||||
|
|
||||||
|
}
|
|
@ -15,6 +15,9 @@ let
|
||||||
} // (optionalAttrs vhostConfig.enableACME {
|
} // (optionalAttrs vhostConfig.enableACME {
|
||||||
sslCertificate = "/var/lib/acme/${serverName}/fullchain.pem";
|
sslCertificate = "/var/lib/acme/${serverName}/fullchain.pem";
|
||||||
sslCertificateKey = "/var/lib/acme/${serverName}/key.pem";
|
sslCertificateKey = "/var/lib/acme/${serverName}/key.pem";
|
||||||
|
}) // (optionalAttrs (vhostConfig.useACMEHost != null) {
|
||||||
|
sslCertificate = "/var/lib/acme/${vhostConfig.useACMEHost}/fullchain.pem";
|
||||||
|
sslCertificateKey = "/var/lib/acme/${vhostConfig.useACMEHost}/key.pem";
|
||||||
})
|
})
|
||||||
) cfg.virtualHosts;
|
) cfg.virtualHosts;
|
||||||
enableIPv6 = config.networking.enableIPv6;
|
enableIPv6 = config.networking.enableIPv6;
|
||||||
|
@ -174,7 +177,7 @@ let
|
||||||
|
|
||||||
redirectListen = filter (x: !x.ssl) defaultListen;
|
redirectListen = filter (x: !x.ssl) defaultListen;
|
||||||
|
|
||||||
acmeLocation = ''
|
acmeLocation = optionalString (vhost.enableACME || vhost.useACMEHost != null) ''
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
${optionalString (vhost.acmeFallbackHost != null) "try_files $uri @acme-fallback;"}
|
${optionalString (vhost.acmeFallbackHost != null) "try_files $uri @acme-fallback;"}
|
||||||
root ${vhost.acmeRoot};
|
root ${vhost.acmeRoot};
|
||||||
|
@ -194,7 +197,7 @@ let
|
||||||
${concatMapStringsSep "\n" listenString redirectListen}
|
${concatMapStringsSep "\n" listenString redirectListen}
|
||||||
|
|
||||||
server_name ${vhost.serverName} ${concatStringsSep " " vhost.serverAliases};
|
server_name ${vhost.serverName} ${concatStringsSep " " vhost.serverAliases};
|
||||||
${optionalString vhost.enableACME acmeLocation}
|
${acmeLocation}
|
||||||
location / {
|
location / {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
}
|
}
|
||||||
|
@ -204,7 +207,7 @@ let
|
||||||
server {
|
server {
|
||||||
${concatMapStringsSep "\n" listenString hostListen}
|
${concatMapStringsSep "\n" listenString hostListen}
|
||||||
server_name ${vhost.serverName} ${concatStringsSep " " vhost.serverAliases};
|
server_name ${vhost.serverName} ${concatStringsSep " " vhost.serverAliases};
|
||||||
${optionalString vhost.enableACME acmeLocation}
|
${acmeLocation}
|
||||||
${optionalString (vhost.root != null) "root ${vhost.root};"}
|
${optionalString (vhost.root != null) "root ${vhost.root};"}
|
||||||
${optionalString (vhost.globalRedirect != null) ''
|
${optionalString (vhost.globalRedirect != null) ''
|
||||||
return 301 http${optionalString hasSSL "s"}://${vhost.globalRedirect}$request_uri;
|
return 301 http${optionalString hasSSL "s"}://${vhost.globalRedirect}$request_uri;
|
||||||
|
@ -555,6 +558,14 @@ in
|
||||||
are mutually exclusive.
|
are mutually exclusive.
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
assertion = all (conf: !(conf.enableACME && conf.useACMEHost != null)) (attrValues virtualHosts);
|
||||||
|
message = ''
|
||||||
|
Options services.nginx.service.virtualHosts.<name>.enableACME and
|
||||||
|
services.nginx.virtualHosts.<name>.useACMEHost are mutually exclusive.
|
||||||
|
'';
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services.nginx = {
|
systemd.services.nginx = {
|
||||||
|
@ -580,7 +591,7 @@ in
|
||||||
security.acme.certs = filterAttrs (n: v: v != {}) (
|
security.acme.certs = filterAttrs (n: v: v != {}) (
|
||||||
let
|
let
|
||||||
vhostsConfigs = mapAttrsToList (vhostName: vhostConfig: vhostConfig) virtualHosts;
|
vhostsConfigs = mapAttrsToList (vhostName: vhostConfig: vhostConfig) virtualHosts;
|
||||||
acmeEnabledVhosts = filter (vhostConfig: vhostConfig.enableACME) vhostsConfigs;
|
acmeEnabledVhosts = filter (vhostConfig: vhostConfig.enableACME && vhostConfig.useACMEHost == null) vhostsConfigs;
|
||||||
acmePairs = map (vhostConfig: { name = vhostConfig.serverName; value = {
|
acmePairs = map (vhostConfig: { name = vhostConfig.serverName; value = {
|
||||||
user = cfg.user;
|
user = cfg.user;
|
||||||
group = lib.mkDefault cfg.group;
|
group = lib.mkDefault cfg.group;
|
||||||
|
|
|
@ -48,7 +48,21 @@ with lib;
|
||||||
enableACME = mkOption {
|
enableACME = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = "Whether to ask Let's Encrypt to sign a certificate for this vhost.";
|
description = ''
|
||||||
|
Whether to ask Let's Encrypt to sign a certificate for this vhost.
|
||||||
|
Alternately, you can use an existing certificate through <option>useACMEHost</option>.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
useACMEHost = mkOption {
|
||||||
|
type = types.nullOr types.str;
|
||||||
|
default = null;
|
||||||
|
description = ''
|
||||||
|
A host of an existing Let's Encrypt certificate to use.
|
||||||
|
This is useful if you have many subdomains and want to avoid hitting the
|
||||||
|
<link xlink:href="https://letsencrypt.org/docs/rate-limits/">rate limit</link>.
|
||||||
|
Alternately, you can generate a certificate through <option>enableACME</option>.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
acmeRoot = mkOption {
|
acmeRoot = mkOption {
|
||||||
|
|
|
@ -11,7 +11,7 @@ with lib;
|
||||||
services.udisks2.enable = mkDefault false;
|
services.udisks2.enable = mkDefault false;
|
||||||
powerManagement.enable = mkDefault false;
|
powerManagement.enable = mkDefault false;
|
||||||
|
|
||||||
networking.useHostResolvConf = true;
|
networking.useHostResolvConf = mkDefault true;
|
||||||
|
|
||||||
# Containers should be light-weight, so start sshd on demand.
|
# Containers should be light-weight, so start sshd on demand.
|
||||||
services.openssh.startWhenNeeded = mkDefault true;
|
services.openssh.startWhenNeeded = mkDefault true;
|
||||||
|
|
|
@ -227,6 +227,7 @@ in rec {
|
||||||
tests.blivet = callTest tests/blivet.nix {};
|
tests.blivet = callTest tests/blivet.nix {};
|
||||||
tests.boot = callSubTests tests/boot.nix {};
|
tests.boot = callSubTests tests/boot.nix {};
|
||||||
tests.boot-stage1 = callTest tests/boot-stage1.nix {};
|
tests.boot-stage1 = callTest tests/boot-stage1.nix {};
|
||||||
|
tests.borgbackup = callTest tests/borgbackup.nix {};
|
||||||
tests.cadvisor = callTestOnTheseSystems ["x86_64-linux"] tests/cadvisor.nix {};
|
tests.cadvisor = callTestOnTheseSystems ["x86_64-linux"] tests/cadvisor.nix {};
|
||||||
tests.chromium = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/chromium.nix {}).stable;
|
tests.chromium = (callSubTestsOnTheseSystems ["x86_64-linux"] tests/chromium.nix {}).stable;
|
||||||
tests.cjdns = callTest tests/cjdns.nix {};
|
tests.cjdns = callTest tests/cjdns.nix {};
|
||||||
|
|
21
nixos/tests/borgbackup.nix
Normal file
21
nixos/tests/borgbackup.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
import ./make-test.nix ({ pkgs, ...}: {
|
||||||
|
name = "borgbackup";
|
||||||
|
meta = with pkgs.stdenv.lib.maintainers; {
|
||||||
|
maintainers = [ mic92 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
nodes = {
|
||||||
|
machine = { config, pkgs, ... }: {
|
||||||
|
environment.systemPackages = [ pkgs.borgbackup ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript = ''
|
||||||
|
my $borg = "BORG_PASSPHRASE=supersecret borg";
|
||||||
|
$machine->succeed("$borg init --encryption=repokey /tmp/backup");
|
||||||
|
$machine->succeed("mkdir /tmp/data/ && echo 'data' >/tmp/data/file");
|
||||||
|
$machine->succeed("$borg create --stats /tmp/backup::test /tmp/data");
|
||||||
|
$machine->succeed("$borg extract /tmp/backup::test");
|
||||||
|
$machine->succeed('c=$(cat data/file) && echo "c = $c" >&2 && [[ "$c" == "data" ]]');
|
||||||
|
'';
|
||||||
|
})
|
89
pkgs/applications/altcoins/monero-gui/default.nix
Normal file
89
pkgs/applications/altcoins/monero-gui/default.nix
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
{ stdenv, fetchFromGitHub
|
||||||
|
, makeWrapper, makeDesktopItem
|
||||||
|
, qtbase, qmake, qtmultimedia, qttools
|
||||||
|
, qtgraphicaleffects, qtdeclarative
|
||||||
|
, qtlocation, qtquickcontrols, qtwebchannel
|
||||||
|
, qtwebengine, qtx11extras, qtxmlpatterns
|
||||||
|
, monero, unbound, readline, boost, libunwind
|
||||||
|
}:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "monero-gui-${version}";
|
||||||
|
version = "0.11.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "monero-project";
|
||||||
|
repo = "monero-gui";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "01d7apwrv8j8bh7plvvhlnll3ransaha3n6rx19nkgvfn319hswq";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ qmake ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
qtbase qtmultimedia qtgraphicaleffects
|
||||||
|
qtdeclarative qtlocation qtquickcontrols
|
||||||
|
qtwebchannel qtwebengine qtx11extras
|
||||||
|
qtxmlpatterns monero unbound readline
|
||||||
|
boost libunwind makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./move-log-file.patch
|
||||||
|
./move-translations-dir.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
echo '
|
||||||
|
var GUI_VERSION = "${version}";
|
||||||
|
var GUI_MONERO_VERSION = "${getVersion monero}";
|
||||||
|
' > version.js
|
||||||
|
substituteInPlace monero-wallet-gui.pro \
|
||||||
|
--replace '$$[QT_INSTALL_BINS]/lrelease' '${getDev qttools}/bin/lrelease'
|
||||||
|
substituteInPlace src/daemon/DaemonManager.cpp \
|
||||||
|
--replace 'QApplication::applicationDirPath() + "' '"${monero}/bin'
|
||||||
|
'';
|
||||||
|
|
||||||
|
makeFlags = [ "INSTALL_ROOT=$(out)" ];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
sed -i s#/opt/monero-wallet-gui##g Makefile
|
||||||
|
make -C src/zxcvbn-c
|
||||||
|
'';
|
||||||
|
|
||||||
|
desktopItem = makeDesktopItem {
|
||||||
|
name = "monero-wallet-gui";
|
||||||
|
exec = "monero-wallet-gui";
|
||||||
|
icon = "monero";
|
||||||
|
desktopName = "Monero Wallet";
|
||||||
|
genericName = "Wallet";
|
||||||
|
categories = "Application;Network;Utility;";
|
||||||
|
};
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
# install desktop entry
|
||||||
|
mkdir -p $out/share/applications
|
||||||
|
cp ${desktopItem}/share/applications/* $out/share/applications
|
||||||
|
|
||||||
|
# install translations
|
||||||
|
cp -r release/bin/translations $out/share/
|
||||||
|
|
||||||
|
# install icons
|
||||||
|
for n in 16 24 32 48 64 96 128 256; do
|
||||||
|
size=$n"x"$n
|
||||||
|
mkdir -p $out/share/icons/hicolor/$size/apps
|
||||||
|
cp $src/images/appicons/$size.png \
|
||||||
|
$out/share/icons/hicolor/$size/apps/monero.png
|
||||||
|
done;
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Private, secure, untraceable currency";
|
||||||
|
homepage = https://getmonero.org/;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ rnhmjoj ];
|
||||||
|
};
|
||||||
|
}
|
42
pkgs/applications/altcoins/monero-gui/move-log-file.patch
Normal file
42
pkgs/applications/altcoins/monero-gui/move-log-file.patch
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
diff --git a/main.cpp b/main.cpp
|
||||||
|
index 1a9a979..2316929 100644
|
||||||
|
--- a/main.cpp
|
||||||
|
+++ b/main.cpp
|
||||||
|
@@ -74,10 +74,6 @@ int main(int argc, char *argv[])
|
||||||
|
// qDebug() << "High DPI auto scaling - enabled";
|
||||||
|
//#endif
|
||||||
|
|
||||||
|
- // Log settings
|
||||||
|
- Monero::Wallet::init(argv[0], "monero-wallet-gui");
|
||||||
|
-// qInstallMessageHandler(messageHandler);
|
||||||
|
-
|
||||||
|
MainApp app(argc, argv);
|
||||||
|
|
||||||
|
qDebug() << "app startd";
|
||||||
|
@@ -86,6 +82,13 @@ int main(int argc, char *argv[])
|
||||||
|
app.setOrganizationDomain("getmonero.org");
|
||||||
|
app.setOrganizationName("monero-project");
|
||||||
|
|
||||||
|
+ // Log settings
|
||||||
|
+ QString logfile =
|
||||||
|
+ QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
|
||||||
|
+ + "/monero-wallet-gui.log";
|
||||||
|
+ Monero::Wallet::init(argv[0], logfile.toUtf8().constData());
|
||||||
|
+
|
||||||
|
+
|
||||||
|
filter *eventFilter = new filter;
|
||||||
|
app.installEventFilter(eventFilter);
|
||||||
|
|
||||||
|
diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp
|
||||||
|
index 8525bf3..6967b24 100644
|
||||||
|
--- a/src/libwalletqt/Wallet.cpp
|
||||||
|
+++ b/src/libwalletqt/Wallet.cpp
|
||||||
|
@@ -613,7 +613,7 @@ QString Wallet::getDaemonLogPath() const
|
||||||
|
|
||||||
|
QString Wallet::getWalletLogPath() const
|
||||||
|
{
|
||||||
|
- return QCoreApplication::applicationDirPath() + "/monero-wallet-gui.log";
|
||||||
|
+ return QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + "/monero-wallet-gui.log";
|
||||||
|
}
|
||||||
|
|
||||||
|
Wallet::Wallet(Monero::Wallet *w, QObject *parent)
|
|
@ -0,0 +1,14 @@
|
||||||
|
diff --git a/TranslationManager.cpp b/TranslationManager.cpp
|
||||||
|
index fa39d35..5a410f7 100644
|
||||||
|
--- a/TranslationManager.cpp
|
||||||
|
+++ b/TranslationManager.cpp
|
||||||
|
@@ -29,7 +29,7 @@ bool TranslationManager::setLanguage(const QString &language)
|
||||||
|
#ifdef Q_OS_MACX
|
||||||
|
QString dir = qApp->applicationDirPath() + "/../Resources/translations";
|
||||||
|
#else
|
||||||
|
- QString dir = qApp->applicationDirPath() + "/translations";
|
||||||
|
+ QString dir = qApp->applicationDirPath() + "/../share/translations";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
QString filename = "monero-core_" + language;
|
||||||
|
|
78
pkgs/applications/altcoins/monero/build-wallet-rpc.patch
Normal file
78
pkgs/applications/altcoins/monero/build-wallet-rpc.patch
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
diff --git a/src/wallet/CMakeLists.txt b/src/wallet/CMakeLists.txt
|
||||||
|
index 63908005..f6656d5c 100644
|
||||||
|
--- a/src/wallet/CMakeLists.txt
|
||||||
|
+++ b/src/wallet/CMakeLists.txt
|
||||||
|
@@ -86,43 +86,40 @@ target_link_libraries(wallet
|
||||||
|
${EXTRA_LIBRARIES})
|
||||||
|
add_dependencies(wallet version)
|
||||||
|
|
||||||
|
-if (NOT BUILD_GUI_DEPS)
|
||||||
|
- set(wallet_rpc_sources
|
||||||
|
- wallet_rpc_server.cpp)
|
||||||
|
+set(wallet_rpc_sources
|
||||||
|
+ wallet_rpc_server.cpp)
|
||||||
|
|
||||||
|
- set(wallet_rpc_headers)
|
||||||
|
+set(wallet_rpc_headers)
|
||||||
|
|
||||||
|
- set(wallet_rpc_private_headers
|
||||||
|
- wallet_rpc_server.h)
|
||||||
|
+set(wallet_rpc_private_headers
|
||||||
|
+ wallet_rpc_server.h)
|
||||||
|
|
||||||
|
- monero_private_headers(wallet_rpc_server
|
||||||
|
- ${wallet_rpc_private_headers})
|
||||||
|
- monero_add_executable(wallet_rpc_server
|
||||||
|
- ${wallet_rpc_sources}
|
||||||
|
- ${wallet_rpc_headers}
|
||||||
|
- ${wallet_rpc_private_headers})
|
||||||
|
-
|
||||||
|
- target_link_libraries(wallet_rpc_server
|
||||||
|
- PRIVATE
|
||||||
|
- wallet
|
||||||
|
- epee
|
||||||
|
- rpc
|
||||||
|
- cryptonote_core
|
||||||
|
- cncrypto
|
||||||
|
- common
|
||||||
|
- ${Boost_CHRONO_LIBRARY}
|
||||||
|
- ${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||||
|
- ${Boost_FILESYSTEM_LIBRARY}
|
||||||
|
- ${Boost_THREAD_LIBRARY}
|
||||||
|
- ${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
- ${EXTRA_LIBRARIES})
|
||||||
|
- add_dependencies(wallet_rpc_server version)
|
||||||
|
- set_property(TARGET wallet_rpc_server
|
||||||
|
- PROPERTY
|
||||||
|
- OUTPUT_NAME "monero-wallet-rpc")
|
||||||
|
- install(TARGETS wallet_rpc_server DESTINATION bin)
|
||||||
|
-endif()
|
||||||
|
+monero_private_headers(wallet_rpc_server
|
||||||
|
+ ${wallet_rpc_private_headers})
|
||||||
|
+monero_add_executable(wallet_rpc_server
|
||||||
|
+ ${wallet_rpc_sources}
|
||||||
|
+ ${wallet_rpc_headers}
|
||||||
|
+ ${wallet_rpc_private_headers})
|
||||||
|
|
||||||
|
+target_link_libraries(wallet_rpc_server
|
||||||
|
+ PRIVATE
|
||||||
|
+ wallet
|
||||||
|
+ epee
|
||||||
|
+ rpc
|
||||||
|
+ cryptonote_core
|
||||||
|
+ cncrypto
|
||||||
|
+ common
|
||||||
|
+ ${Boost_CHRONO_LIBRARY}
|
||||||
|
+ ${Boost_PROGRAM_OPTIONS_LIBRARY}
|
||||||
|
+ ${Boost_FILESYSTEM_LIBRARY}
|
||||||
|
+ ${Boost_THREAD_LIBRARY}
|
||||||
|
+ ${CMAKE_THREAD_LIBS_INIT}
|
||||||
|
+ ${EXTRA_LIBRARIES})
|
||||||
|
+add_dependencies(wallet_rpc_server version)
|
||||||
|
+set_property(TARGET wallet_rpc_server
|
||||||
|
+ PROPERTY
|
||||||
|
+ OUTPUT_NAME "monero-wallet-rpc")
|
||||||
|
+install(TARGETS wallet_rpc_server DESTINATION bin)
|
||||||
|
|
||||||
|
# build and install libwallet_merged only if we building for GUI
|
||||||
|
if (BUILD_GUI_DEPS)
|
46
pkgs/applications/altcoins/monero/default.nix
Normal file
46
pkgs/applications/altcoins/monero/default.nix
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
{ stdenv, fetchpatch, fetchFromGitHub, cmake
|
||||||
|
, boost, miniupnpc, openssl, pkgconfig, unbound
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "monero-${version}";
|
||||||
|
version = "0.11.1.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "monero-project";
|
||||||
|
repo = "monero";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0nrpxx6r63ia6ard85d504x2kgaikvrhb5sg93ml70l6djyy1148";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake pkgconfig ];
|
||||||
|
|
||||||
|
buildInputs = [ boost miniupnpc openssl unbound ];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./build-wallet-rpc.patch # fixed in next release
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DCMAKE_BUILD_TYPE=Release"
|
||||||
|
"-DBUILD_GUI_DEPS=ON"
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
make install
|
||||||
|
install -Dt "$out/bin/" \
|
||||||
|
bin/monero-blockchain-export \
|
||||||
|
bin/monero-blockchain-import \
|
||||||
|
bin/monero-wallet-rpc
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Private, secure, untraceable currency";
|
||||||
|
homepage = https://getmonero.org/;
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = [ maintainers.ehmry ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -17,7 +17,7 @@
|
||||||
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
, gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
version = "7.0";
|
version = "7.1";
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "gradio-${version}";
|
name = "gradio-${version}";
|
||||||
|
@ -26,7 +26,7 @@ in stdenv.mkDerivation rec {
|
||||||
owner = "haecker-felix";
|
owner = "haecker-felix";
|
||||||
repo = "gradio";
|
repo = "gradio";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0kn08k5dv7yh29ksywcpl6ifrp3p8zzk3p3hkbhzc8fpx84jn7r9";
|
sha256 = "0x0hmcjvpgvsm64ywcc71srlwqybfhadn5nkwycq0lh7r49d89kx";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
faust2jaqt -vec -time -t 99999 CharacterCompressor.dsp
|
faust2jaqt -vec -time -t 99999 CharacterCompressor.dsp
|
||||||
faust2jaqt -vec -time -t 99999 CharacterCompressorMono.dsp
|
faust2jaqt -vec -time -t 99999 CharacterCompressorMono.dsp
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "lib/CharacterCompressor.lib"
|
|
||||||
faust2lv2 -vec -time -gui -t 99999 CharacterCompressor.dsp
|
faust2lv2 -vec -time -gui -t 99999 CharacterCompressor.dsp
|
||||||
faust2lv2 -vec -time -gui -t 99999 CharacterCompressorMono.dsp
|
faust2lv2 -vec -time -gui -t 99999 CharacterCompressorMono.dsp
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -18,8 +18,6 @@ stdenv.mkDerivation rec {
|
||||||
faust2jaqt -time -vec -double -t 99999 $f
|
faust2jaqt -time -vec -double -t 99999 $f
|
||||||
done
|
done
|
||||||
|
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "CompBus.lib"
|
|
||||||
|
|
||||||
for f in *.dsp;
|
for f in *.dsp;
|
||||||
do
|
do
|
||||||
faust2lv2 -time -vec -double -gui -t 99999 $f
|
faust2lv2 -time -vec -double -gui -t 99999 $f
|
||||||
|
|
|
@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
faust2jaqt -time -vec -t 99999 ConstantDetuneChorus.dsp
|
faust2jaqt -time -vec -t 99999 ConstantDetuneChorus.dsp
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "ConstantDetuneChorus.dsp"
|
|
||||||
faust2lv2 -time -vec -t 99999 -gui ConstantDetuneChorus.dsp
|
faust2lv2 -time -vec -t 99999 -gui ConstantDetuneChorus.dsp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
faust2jaqt -vec -time -t 99999 LazyLimiter.dsp
|
faust2jaqt -vec -time -t 99999 LazyLimiter.dsp
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "GUI.lib"
|
|
||||||
faust2lv2 -vec -time -t 99999 -gui LazyLimiter.dsp
|
faust2lv2 -vec -time -t 99999 -gui LazyLimiter.dsp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
faust2jaqt -time -vec -t 99999 MBdistortion.dsp
|
faust2jaqt -time -vec -t 99999 MBdistortion.dsp
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "MBdistortion.dsp"
|
|
||||||
faust2lv2 -time -vec -gui -t 99999 MBdistortion.dsp
|
faust2lv2 -time -vec -gui -t 99999 MBdistortion.dsp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
faust2jaqt -time -vec -t 99999 RhythmDelay.dsp
|
faust2jaqt -time -vec -t 99999 RhythmDelay.dsp
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "RhythmDelay.dsp"
|
|
||||||
faust2lv2 -time -vec -t 99999 -gui RhythmDelay.dsp
|
faust2lv2 -time -vec -t 99999 -gui RhythmDelay.dsp
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -19,11 +19,9 @@ stdenv.mkDerivation rec {
|
||||||
faust2jaqt -time -double -t 99999 $f
|
faust2jaqt -time -double -t 99999 $f
|
||||||
done
|
done
|
||||||
|
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "compressors.lib"
|
|
||||||
|
|
||||||
for f in *.dsp;
|
for f in *.dsp;
|
||||||
do
|
do
|
||||||
echo "compiling plugin from" $f
|
echo "Compiling plugin from" $f
|
||||||
faust2lv2 -time -double -gui -t 99999 $f
|
faust2lv2 -time -double -gui -t 99999 $f
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -17,7 +17,6 @@ stdenv.mkDerivation rec {
|
||||||
do
|
do
|
||||||
echo "Building jack standalone for $f"
|
echo "Building jack standalone for $f"
|
||||||
faust2jaqt -vec -time -t 99999 "$f"
|
faust2jaqt -vec -time -t 99999 "$f"
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "$f"
|
|
||||||
echo "Building lv2 for $f"
|
echo "Building lv2 for $f"
|
||||||
faust2lv2 -vec -time -gui -t 99999 "$f"
|
faust2lv2 -vec -time -gui -t 99999 "$f"
|
||||||
done
|
done
|
||||||
|
|
|
@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
faust2jaqt -vec -double -time -t 99999 shelfMultiBand.dsp
|
faust2jaqt -vec -double -time -t 99999 shelfMultiBand.dsp
|
||||||
faust2jaqt -vec -double -time -t 99999 shelfMultiBandMono.dsp
|
faust2jaqt -vec -double -time -t 99999 shelfMultiBandMono.dsp
|
||||||
sed -i "s|\[ *scale *: *log *\]||g ; s|\btgroup\b|hgroup|g" "shelfMultiBand.lib"
|
|
||||||
faust2lv2 -vec -double -time -gui -t 99999 shelfMultiBandMono.dsp
|
faust2lv2 -vec -double -time -gui -t 99999 shelfMultiBandMono.dsp
|
||||||
faust2lv2 -vec -double -time -gui -t 99999 shelfMultiBand.dsp
|
faust2lv2 -vec -double -time -gui -t 99999 shelfMultiBand.dsp
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mpg123-1.25.7";
|
name = "mpg123-1.25.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/mpg123/${name}.tar.bz2";
|
url = "mirror://sourceforge/mpg123/${name}.tar.bz2";
|
||||||
sha256 = "1ws40fglyyk51jvmz8gfapjkw1g51pkch1rffdsbh4b1yay5xc9i";
|
sha256 = "16s9z1xc5kv1p90g42vsr9m4gq3dwjsmrj873x4i8601mvpm3nkr";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
|
buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
|
||||||
|
|
|
@ -3,20 +3,18 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "ncmpc-${version}";
|
name = "ncmpc-${version}";
|
||||||
version = "0.28";
|
version = "0.29";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "MusicPlayerDaemon";
|
owner = "MusicPlayerDaemon";
|
||||||
repo = "ncmpc";
|
repo = "ncmpc";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1z0bdkqsdb3f5k2lsws3qzav4r30fzk8fhxj9l0p738flcka6k4n";
|
sha256 = "1b2kbx2phbf4s2qpy7mx72c87xranljr0yam6z9m1i1kvcnp8q1q";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ glib ncurses mpd_clientlib ];
|
buildInputs = [ glib ncurses mpd_clientlib ];
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
|
||||||
|
|
||||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Curses-based interface for MPD (music player daemon)";
|
description = "Curses-based interface for MPD (music player daemon)";
|
||||||
homepage = https://www.musicpd.org/clients/ncmpc/;
|
homepage = https://www.musicpd.org/clients/ncmpc/;
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, openssl, libogg, libopus }:
|
{ stdenv, fetchurl, pkgconfig, openssl, libogg, libopus }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "opusfile-0.8";
|
name = "opusfile-0.10";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
|
url = "http://downloads.xiph.org/releases/opus/${name}.tar.gz";
|
||||||
sha256 = "192mp2jgn5s9815h31ybzsfipmbppmdhwx1dymrk26xarz9iw8rc";
|
sha256 = "0bs1376sd131qdh7198jp64vv5d17az5wyy4y7srrvw7p8k3bq28";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
21
pkgs/applications/audio/pmidi/default.nix
Normal file
21
pkgs/applications/audio/pmidi/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{ stdenv, fetchurl, alsaLib
|
||||||
|
, version ? "1.7.1"
|
||||||
|
, sourceSha256 ? "051mv6f13c8y13c1iv3279k1hhzpz4fm9sfczhgp9sim2bjdj055"
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "pmidi-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://sourceforge/pmidi/${version}/pmidi-${version}.tar.gz";
|
||||||
|
sha256 = sourceSha256;
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ alsaLib ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://www.parabola.me.uk/alsa/pmidi.html;
|
||||||
|
description = "A straightforward command line program to play midi files through the ALSA sequencer";
|
||||||
|
maintainers = with maintainers; [ lheckemann ];
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, alsaLib, libxmp }:
|
{ stdenv, fetchurl, pkgconfig, alsaLib, libxmp }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xmp-4.0.10";
|
name = "xmp-4.1.0";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Extended module player";
|
description = "Extended module player";
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/xmp/xmp/${name}.tar.gz";
|
url = "mirror://sourceforge/xmp/xmp/${name}.tar.gz";
|
||||||
sha256 = "0gjylvvmq7ha0nhcjg56qfp0xxpsrcsj7y5r914svd5x1ppmzm5n";
|
sha256 = "17i8fc7x7yn3z1x963xp9iv108gxfakxmdgmpv3mlm438w3n3g8x";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
|
@ -20,11 +20,11 @@ let
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "nano-${version}";
|
name = "nano-${version}";
|
||||||
version = "2.9.2";
|
version = "2.9.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/nano/${name}.tar.xz";
|
url = "mirror://gnu/nano/${name}.tar.xz";
|
||||||
sha256 = "0m9xm085pi0fhmmshgppipjimr1jkxksbyg8pa5cwaap3d2vgk2f";
|
sha256 = "04j05nbnp8vjjwja90d83p4s6ywyl6qhggflcjzw0p9d9gyvr0vp";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
|
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
makeWrapper, libXScrnSaver, libxkbfile, libsecret }:
|
makeWrapper, libXScrnSaver, libxkbfile, libsecret }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.19.2";
|
version = "1.19.3";
|
||||||
channel = "stable";
|
channel = "stable";
|
||||||
|
|
||||||
plat = {
|
plat = {
|
||||||
|
@ -12,9 +12,9 @@ let
|
||||||
}.${stdenv.system};
|
}.${stdenv.system};
|
||||||
|
|
||||||
sha256 = {
|
sha256 = {
|
||||||
"i686-linux" = "05qfcmwl1r43slwkb2rxh99hwpzd8c622la0ffd9p2jg4lbkgs1p";
|
"i686-linux" = "0qaijcsjy9sysim19gyqmagg8rmxgamf0l74qj3ap0wsv2v7xixr";
|
||||||
"x86_64-linux" = "0kjwmw68av9mnqcg1vaazm3k240y9jvbng6n7ycgzxwddzx0qlac";
|
"x86_64-linux" = "1kvkcrr1hgnssy2z45h8fdgr9j6w94myr2hvlknwcahzxrnrwr7k";
|
||||||
"x86_64-darwin" = "1mjmi5r9qlc6ggh3w566454ar06by15xsm6dymr8zv4sb352w70h";
|
"x86_64-darwin" = "19vkv97yq0alnq4dvs62a2vx3f1mvfz1ic63114s9sd6smikrg0g";
|
||||||
}.${stdenv.system};
|
}.${stdenv.system};
|
||||||
|
|
||||||
archive_fmt = if stdenv.system == "x86_64-darwin" then "zip" else "tar.gz";
|
archive_fmt = if stdenv.system == "x86_64-darwin" then "zip" else "tar.gz";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, libtool
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkgconfig, libtool
|
||||||
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
|
, bzip2, zlib, libX11, libXext, libXt, fontconfig, freetype, ghostscript, libjpeg
|
||||||
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp
|
, lcms2, openexr, libpng, librsvg, libtiff, libxml2, openjpeg, libwebp
|
||||||
, ApplicationServices
|
, ApplicationServices
|
||||||
|
@ -14,8 +14,8 @@ let
|
||||||
else throw "ImageMagick is not supported on this platform.";
|
else throw "ImageMagick is not supported on this platform.";
|
||||||
|
|
||||||
cfg = {
|
cfg = {
|
||||||
version = "7.0.7-21";
|
version = "7.0.7-22";
|
||||||
sha256 = "0680dbg77gcyb3g4n22z5mp7c8mg0jpkqb0g4nj7d7r78nl869rv";
|
sha256 = "1ad7mwx48xrkvm3v060n2f67kmi0qk7gfql1shiwbkkjvzzaaiam";
|
||||||
patches = [];
|
patches = [];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
@ -24,13 +24,10 @@ stdenv.mkDerivation rec {
|
||||||
name = "imagemagick-${version}";
|
name = "imagemagick-${version}";
|
||||||
inherit (cfg) version;
|
inherit (cfg) version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
urls = [
|
owner = "ImageMagick";
|
||||||
"mirror://imagemagick/releases/ImageMagick-${version}.tar.xz"
|
repo = "ImageMagick";
|
||||||
# the original source above removes tarballs quickly
|
rev = cfg.version;
|
||||||
"http://distfiles.macports.org/ImageMagick/ImageMagick-${version}.tar.xz"
|
|
||||||
"https://bintray.com/homebrew/mirror/download_file?file_path=imagemagick-${version}.tar.xz"
|
|
||||||
];
|
|
||||||
inherit (cfg) sha256;
|
inherit (cfg) sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,8 @@ let
|
||||||
else throw "ImageMagick is not supported on this platform.";
|
else throw "ImageMagick is not supported on this platform.";
|
||||||
|
|
||||||
cfg = {
|
cfg = {
|
||||||
version = "6.9.9-33";
|
version = "6.9.9-34";
|
||||||
sha256 = "05931wfhllrb1c2g2nwnwaf1wazn60y5f70gd11qcqp46rif7z21";
|
sha256 = "0sqrgyfi7i7x1akna95c1qhk9sxxswzm3pkssfi4w6v7bn24g25g";
|
||||||
patches = [];
|
patches = [];
|
||||||
}
|
}
|
||||||
# Freeze version on mingw so we don't need to port the patch too often.
|
# Freeze version on mingw so we don't need to port the patch too often.
|
||||||
|
|
|
@ -11,12 +11,12 @@
|
||||||
assert stdenv ? glibc;
|
assert stdenv ? glibc;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.4.0";
|
version = "2.4.1";
|
||||||
name = "darktable-${version}";
|
name = "darktable-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz";
|
url = "https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz";
|
||||||
sha256 = "0y0q7a7k09sbg05k5xl1lz8n2ak1v8yarfv222ksvmbrxs53hdwx";
|
sha256 = "014pq80i5k1kdvvrl7xrgaaq3i4fzv09h7a3pwzlp2ahkczwcm32";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
|
33
pkgs/applications/graphics/goxel/default.nix
Normal file
33
pkgs/applications/graphics/goxel/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, scons, pkgconfig, wrapGAppsHook
|
||||||
|
, glfw3, gtk3, libpng12 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "goxel-${version}";
|
||||||
|
version = "0.7.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "guillaumechereau";
|
||||||
|
repo = "goxel";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1d6waj8zz9iq3ddbi9wbpcnh200ajjy9x53xrj5bij01pb8jwskv";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
|
||||||
|
buildInputs = [ glfw3 gtk3 libpng12 ];
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
make release
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D ./goxel $out/bin/goxel
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Open Source 3D voxel editor";
|
||||||
|
homepage = https://guillaumechereau.github.io/goxel/;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ tilpner ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,14 +2,14 @@
|
||||||
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
|
, libjpeg, libpng, libtiff, libxml2, zlib, libtool, xz, libX11
|
||||||
, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
|
, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
|
||||||
|
|
||||||
let version = "1.3.27"; in
|
let version = "1.3.28"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "graphicsmagick-${version}";
|
name = "graphicsmagick-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz";
|
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz";
|
||||||
sha256 = "0rq35p3rml10cxz2z4s7xcfsilhhk19mmy094g3ivz0fg797hcnh";
|
sha256 = "0jlrrimrajcmwp7llivyj14qnzb1mpqd8vw95dl6zbx5m2lnhall";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
name = "krita-${version}";
|
name = "krita-${version}";
|
||||||
version = "3.3.2";
|
version = "3.3.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = https://download.kde.org/stable/krita/3.3.2/krita-3.3.2.1.tar.xz;
|
url = "https://download.kde.org/stable/krita/${version}/${name}.tar.gz";
|
||||||
sha256 = "0i3l27cfi1h486m74xf4ynk0pwx32xaqraa91a0g1bpj1jxf2mg5";
|
sha256 = "0pc6hnakkqy81x5b5ncivaps6hqv43i50sjwgi3i3cz9j8rlxh5y";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2015.03-1";
|
version = "2015.03-3";
|
||||||
name = "openscad-${version}";
|
name = "openscad-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://files.openscad.org/${name}.src.tar.gz";
|
url = "http://files.openscad.org/${name}.src.tar.gz";
|
||||||
sha256 = "61e0dd3cd107e5670d727526700104cca5ac54a1f0a84117fcc9e57bf3b6b279";
|
sha256 = "0djsgi9yx1nxr2gh1kgsqw5vrbncp8v5li0p1pp02higqf1psajx";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||||
homepage = http://openscad.org/;
|
homepage = http://openscad.org/;
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.linux;
|
||||||
maintainers = with stdenv.lib.maintainers;
|
maintainers = with stdenv.lib.maintainers;
|
||||||
[ bjornfor raskin the-kenny ];
|
[ bjornfor raskin the-kenny ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gpxsee-${version}";
|
name = "gpxsee-${version}";
|
||||||
version = "4.14";
|
version = "4.19";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "tumic0";
|
owner = "tumic0";
|
||||||
repo = "GPXSee";
|
repo = "GPXSee";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0yv3hcs5b8a88mp24h8r2sn69phwrahdff5pp74lz24270il3jgb";
|
sha256 = "1xjf2aawf633c1ydhpcsjhdlfkjkfsjbcgjd737xpfv1wjz99l4l";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ qmake qttools ];
|
nativeBuildInputs = [ qmake qttools ];
|
||||||
|
@ -26,11 +26,14 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://tumic.wz.cz/gpxsee;
|
homepage = http://www.gpxsee.org/;
|
||||||
description = "GPX viewer and analyzer";
|
description = "GPX viewer and analyzer";
|
||||||
|
longDescription = ''
|
||||||
|
GPXSee is a Qt-based GPS log file viewer and analyzer that supports GPX,
|
||||||
|
TCX, KML, FIT, IGC and NMEA files.
|
||||||
|
'';
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ maintainers.womfoo ];
|
maintainers = [ maintainers.womfoo ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,13 +8,13 @@ assert pulseaudioSupport -> libpulseaudio != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gqrx-${version}";
|
name = "gqrx-${version}";
|
||||||
version = "2.8";
|
version = "2.10";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "csete";
|
owner = "csete";
|
||||||
repo = "gqrx";
|
repo = "gqrx";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0niy4c05886mhbfmix93j2bnj4kzdh9bvrmymawl6z28glyz5d3c";
|
sha256 = "1qc944sn1kjdnhdhcsdc39764vqcryk86808xxl49vy8sznqr0mf";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
|
@ -1,15 +1,16 @@
|
||||||
{ stdenv, fetchurl, unzip, makeWrapper, libX11, zlib, libSM, libICE, libXext
|
{ stdenv, fetchurl, unzip, makeWrapper, libX11, zlib, libSM, libICE
|
||||||
, freetype, libXrender, fontconfig, libXft, libXinerama, libnotify, glib
|
, libXext , freetype, libXrender, fontconfig, libXft, libXinerama
|
||||||
, gtk3, libappindicator-gtk3, curl }:
|
, libXfixes, libXScrnSaver, libnotify, glib , gtk3, libappindicator-gtk3
|
||||||
|
, curl }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "1.2.15-590e8bc";
|
version = "1.3.0-9b2ba62";
|
||||||
|
|
||||||
rpath = stdenv.lib.makeLibraryPath
|
rpath = stdenv.lib.makeLibraryPath
|
||||||
[ libX11 zlib libSM libICE libXext freetype libXrender fontconfig libXft
|
[ libX11 zlib libSM libICE libXext freetype libXrender fontconfig libXft
|
||||||
libXinerama stdenv.cc.cc.lib libnotify glib gtk3 libappindicator-gtk3
|
libXinerama stdenv.cc.cc.lib libnotify glib gtk3 libappindicator-gtk3
|
||||||
curl ];
|
curl libXfixes libXScrnSaver ];
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -18,14 +19,14 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/${version}/Hubstaff-${version}.sh";
|
url = "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/${version}/Hubstaff-${version}.sh";
|
||||||
sha256 = "142q8xvwn5gdmpv5x25py2lindr74jqncf8vvw22yb9nj5aqqsi6";
|
sha256 = "1dxzyl3yxbfmbw1pv8k3vhqzbmyyf16zkgrhzsbm866nmbgnqk1s";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ unzip makeWrapper ];
|
nativeBuildInputs = [ unzip makeWrapper ];
|
||||||
|
|
||||||
unpackCmd = ''
|
unpackCmd = ''
|
||||||
# MojoSetups have a ZIP file at the end. ZIP’s magic string is
|
# MojoSetups have a ZIP file at the end. ZIP’s magic string is
|
||||||
# most often PK\x03\x04. This *should* work for future updates,
|
# most often PK\x03\x04. This has worked for all past updates,
|
||||||
# but feel free to come up with something more reasonable.
|
# but feel free to come up with something more reasonable.
|
||||||
dataZipOffset=$(grep --max-count=1 --byte-offset --only-matching --text ''$'PK\x03\x04' $curSrc | cut -d: -f1)
|
dataZipOffset=$(grep --max-count=1 --byte-offset --only-matching --text ''$'PK\x03\x04' $curSrc | cut -d: -f1)
|
||||||
dd bs=$dataZipOffset skip=1 if=$curSrc of=data.zip 2>/dev/null
|
dd bs=$dataZipOffset skip=1 if=$curSrc of=data.zip 2>/dev/null
|
||||||
|
@ -38,17 +39,18 @@ stdenv.mkDerivation {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
# TODO: handle 32-bit arch?
|
# TODO: handle 32-bit arch?
|
||||||
rm -r x86
|
rm -r x86
|
||||||
|
rm -r x86_64/lib64
|
||||||
|
|
||||||
opt=$out/opt/hubstaff
|
opt=$out/opt/hubstaff
|
||||||
mkdir -p $out/bin $opt
|
mkdir -p $out/bin $opt
|
||||||
cp -r . $opt/
|
cp -r . $opt/
|
||||||
|
|
||||||
prog=$opt/x86_64/HubstaffClient.bin.x86_64
|
for f in "$opt/x86_64/"*.bin.x86_64 ; do
|
||||||
|
patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) $f
|
||||||
|
wrapProgram $f --prefix LD_LIBRARY_PATH : ${rpath}
|
||||||
|
done
|
||||||
|
|
||||||
patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) $prog
|
ln -s $opt/x86_64/HubstaffClient.bin.x86_64 $out/bin/HubstaffClient
|
||||||
wrapProgram $prog --prefix LD_LIBRARY_PATH : ${rpath}
|
|
||||||
|
|
||||||
ln -s $prog $out/bin/HubstaffClient
|
|
||||||
|
|
||||||
# Why is this needed? SEGV otherwise.
|
# Why is this needed? SEGV otherwise.
|
||||||
ln -s $opt/data/resources $opt/x86_64/resources
|
ln -s $opt/data/resources $opt/x86_64/resources
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, zlib }:
|
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "17.10";
|
version = "17.12";
|
||||||
name = "mediainfo-${version}";
|
name = "mediainfo-${version}";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
|
||||||
sha256 = "1yvh4r19kk3bzzgnr4ikrjxqldr6860s35sh4bqr51c7l77k048c";
|
sha256 = "1pxdf0ny3c38gl513zdiaagpvk4bqnsc2fn7476yjdpv2lxsw56f";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, boost, miniupnpc, openssl, pkgconfig, unbound }:
|
|
||||||
|
|
||||||
let
|
|
||||||
version = "0.11.1.0";
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "monero-${version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "monero-project";
|
|
||||||
repo = "monero";
|
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "0nrpxx6r63ia6ard85d504x2kgaikvrhb5sg93ml70l6djyy1148";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
|
||||||
|
|
||||||
buildInputs = [ boost miniupnpc openssl unbound ];
|
|
||||||
|
|
||||||
# these tests take a long time and don't
|
|
||||||
# always complete in the build environment
|
|
||||||
postPatch = "sed -i '/add_subdirectory(tests)/d' CMakeLists.txt";
|
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
install -Dt "$out/bin/" \
|
|
||||||
bin/monerod \
|
|
||||||
bin/monero-blockchain-export \
|
|
||||||
bin/monero-blockchain-import \
|
|
||||||
bin/monero-wallet-cli \
|
|
||||||
bin/monero-wallet-rpc
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Private, secure, untraceable currency";
|
|
||||||
homepage = https://getmonero.org/;
|
|
||||||
license = licenses.bsd3;
|
|
||||||
maintainers = [ maintainers.ehmry ];
|
|
||||||
platforms = [ "x86_64-linux" ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, pythonPackages, file, less
|
{ stdenv, fetchFromGitHub, pythonPackages, file, less
|
||||||
, imagePreviewSupport ? true, w3m ? null}:
|
, imagePreviewSupport ? true, w3m ? null}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
@ -6,18 +6,14 @@ with stdenv.lib;
|
||||||
assert imagePreviewSupport -> w3m != null;
|
assert imagePreviewSupport -> w3m != null;
|
||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
name = "ranger-1.8.1";
|
name = "ranger-v${version}";
|
||||||
|
version = "1.9.0";
|
||||||
|
|
||||||
meta = {
|
src = fetchFromGitHub {
|
||||||
description = "File manager with minimalistic curses interface";
|
owner = "ranger";
|
||||||
homepage = http://ranger.nongnu.org/;
|
repo = "ranger";
|
||||||
license = stdenv.lib.licenses.gpl3;
|
rev = "v${version}";
|
||||||
platforms = stdenv.lib.platforms.unix;
|
sha256= "0h3qz0sr21390xdshhlfisvscja33slv1plzcisg1wrdgwgyr5j6";
|
||||||
};
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "http://ranger.nongnu.org/${name}.tar.gz";
|
|
||||||
sha256 = "1d11qw0mr9aj22a7nhr6p2c3yzf359xbffmjsjblq44bjpwzjcql";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = with pythonPackages; [ pytest ];
|
checkInputs = with pythonPackages; [ pytest ];
|
||||||
|
@ -50,4 +46,11 @@ pythonPackages.buildPythonApplication rec {
|
||||||
--replace "set preview_images false" "set preview_images true" \
|
--replace "set preview_images false" "set preview_images true" \
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "File manager with minimalistic curses interface";
|
||||||
|
homepage = http://ranger.github.io/;
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = [ maintainers.magnetophon ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
with pythonPackages;
|
with pythonPackages;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
version = "1.19.0";
|
version = "1.21.0";
|
||||||
name = "rtv-${version}";
|
name = "rtv-${version}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "michael-lazar";
|
owner = "michael-lazar";
|
||||||
repo = "rtv";
|
repo = "rtv";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "19rnw9cac06ns10vqn2cj0v61ycrj9g1ysa3hncamwxxibmkycp7";
|
sha256 = "0srm01nrb23hdmj3ripsa9p8nv2cgss3m6and9rdr875qw5ii130";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Tests try to access network
|
# Tests try to access network
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -29,13 +29,13 @@ let
|
||||||
in python3Packages.buildPythonApplication rec {
|
in python3Packages.buildPythonApplication rec {
|
||||||
name = "qutebrowser-${version}${versionPostfix}";
|
name = "qutebrowser-${version}${versionPostfix}";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
version = "1.1.0";
|
version = "1.1.1";
|
||||||
versionPostfix = "";
|
versionPostfix = "";
|
||||||
|
|
||||||
# the release tarballs are different from the git checkout!
|
# the release tarballs are different from the git checkout!
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${name}.tar.gz";
|
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${name}.tar.gz";
|
||||||
sha256 = "1w02z5akr1v2517rbqrnv65vfsqvgw310g2nhanbwdg606crzr94";
|
sha256 = "09fa77rg1yrl8cksavxmgm9z2246s4d8wjbkl5jm1gsam345f7mz";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Needs tox
|
# Needs tox
|
||||||
|
|
|
@ -23,7 +23,7 @@ let
|
||||||
});
|
});
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
version = "1.4.0";
|
version = "1.4.1";
|
||||||
name = "mesos-${version}";
|
name = "mesos-${version}";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
@ -31,7 +31,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://apache/mesos/${version}/${name}.tar.gz";
|
url = "mirror://apache/mesos/${version}/${name}.tar.gz";
|
||||||
sha256 = "0c08kd226nrjwm2z2drpq4vi97h9r8b1xkdvkgh1114fxg7cyvys";
|
sha256 = "1c7l0rim9ija913gpppz2mcms08ywyqhlzbbspqsi7wwfdd7jwsr";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -15,15 +15,15 @@ let
|
||||||
# instead, we download localkube ourselves and shove it into the minikube binary. The versions URL that minikube uses is
|
# instead, we download localkube ourselves and shove it into the minikube binary. The versions URL that minikube uses is
|
||||||
# currently https://storage.googleapis.com/minikube/k8s_releases.json
|
# currently https://storage.googleapis.com/minikube/k8s_releases.json
|
||||||
|
|
||||||
localkube-version = "1.8.0";
|
localkube-version = "1.9.0";
|
||||||
localkube-binary = fetchurl {
|
localkube-binary = fetchurl {
|
||||||
url = "https://storage.googleapis.com/minikube/k8sReleases/v${localkube-version}/localkube-linux-amd64";
|
url = "https://storage.googleapis.com/minikube/k8sReleases/v${localkube-version}/localkube-linux-amd64";
|
||||||
sha256 = "09mv1g9i0d14brvvp2wxgmfqvgp0na5dbm4z76a660q1fxszvgqc";
|
sha256 = "1z5c061mx2flg6hq05d00bvkn722gxv8y9rfpjyk23nk697k31fh";
|
||||||
};
|
};
|
||||||
in buildGoPackage rec {
|
in buildGoPackage rec {
|
||||||
pname = "minikube";
|
pname = "minikube";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
version = "0.24.1";
|
version = "0.25.0";
|
||||||
|
|
||||||
goPackagePath = "k8s.io/minikube";
|
goPackagePath = "k8s.io/minikube";
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ in buildGoPackage rec {
|
||||||
owner = "kubernetes";
|
owner = "kubernetes";
|
||||||
repo = "minikube";
|
repo = "minikube";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "18b5ic4lcn84hq2ji5alyx58x9vi0b03544i5xzfgn3h2k78kynk";
|
sha256 = "0nsdi8mr8p69z696ksfb5ahzqqnvjn4a2z6cp0kyby8sakcjhsby";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintlOrEmpty }:
|
{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintlOrEmpty }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "1.0.6";
|
version = "1.1.0";
|
||||||
name = "irssi-${version}";
|
name = "irssi-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/irssi/irssi/releases/download/${version}/${name}.tar.gz";
|
url = "https://github.com/irssi/irssi/releases/download/${version}/${name}.tar.gz";
|
||||||
sha256 = "0iiz0x698bdlpssbj357ln5f7ccjwc1m1550xzy1g7kwcvdpp4mb";
|
sha256 = "0y362v6ncgs77q5axv7vgjm6vcxiaj5chsxj1ha07jaxsr1z7285";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
|
@ -27,11 +27,11 @@ with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mutt-${version}";
|
name = "mutt-${version}";
|
||||||
version = "1.9.2";
|
version = "1.9.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ftp.mutt.org/pub/mutt/${name}.tar.gz";
|
url = "http://ftp.mutt.org/pub/mutt/${name}.tar.gz";
|
||||||
sha256 = "15kqxpx8bykqbyw4q33hkz0j2f65v6cl21sl5li2vw5vaaim5qd2";
|
sha256 = "1qbngck1pq1jkpnbpcwcb2q2zqrkgp0nd68wwp57bprxjgb8a6j3";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = optional smimeSupport (fetchpatch {
|
patches = optional smimeSupport (fetchpatch {
|
||||||
|
|
|
@ -1,42 +1,21 @@
|
||||||
{ stdenv, fetchurl, fetchpatch }:
|
{ stdenv, fetchurl, fetchpatch }:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
version = "3.1.2";
|
version = "3.1.3";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5
|
# signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5
|
||||||
url = "mirror://samba/rsync/src/rsync-${version}.tar.gz";
|
url = "mirror://samba/rsync/src/rsync-${version}.tar.gz";
|
||||||
sha256 = "1hm1q04hz15509f0p9bflw4d6jzfvpm1d36dxjwihk1wzakn5ypc";
|
sha256 = "1h0011dj6jgqpgribir4anljjv7bbrdcs8g91pbsmzf5zr75bk2m";
|
||||||
|
};
|
||||||
|
upstreamPatchTarball = fetchurl {
|
||||||
|
# signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5
|
||||||
|
url = "mirror://samba/rsync/rsync-patches-${version}.tar.gz";
|
||||||
|
sha256 = "167vk463bb3xl9c4gsbxms111dk1ip7pq8y361xc0xfa427q9hhd";
|
||||||
};
|
};
|
||||||
patches = [
|
|
||||||
(fetchurl {
|
|
||||||
# signed with key 0048 C8B0 26D4 C96F 0E58 9C2F 6C85 9FB1 4B96 A8C5
|
|
||||||
url = "mirror://samba/rsync/rsync-patches-${version}.tar.gz";
|
|
||||||
sha256 = "09i3dcl37p22dp75vlnsvx7bm05ggafnrf1zwhf2kbij4ngvxvpd";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2017-16548.patch";
|
|
||||||
url = "https://git.samba.org/rsync.git/?p=rsync.git;a=commitdiff_plain;h=47a63d90e71d3e19e0e96052bb8c6b9cb140ecc1;hp=bc112b0e7feece62ce98708092306639a8a53cce";
|
|
||||||
sha256 = "1dcdnfhbc5gd0ph7pds0xr2v8rpb2a4p7l9c1wml96nhnyww1pg1";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2017-17433.patch";
|
|
||||||
url = "https://git.samba.org/?p=rsync.git;a=patch;h=3e06d40029cfdce9d0f73d87cfd4edaf54be9c51";
|
|
||||||
sha256 = "1kvnh6znp37a447h9fm2pk7v4phx20bk60j4wbsd92xlpp7vck52";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2017-17434-patch1.patch";
|
|
||||||
url = "https://git.samba.org/?p=rsync.git;a=patch;h=5509597decdbd7b91994210f700329d8a35e70a1";
|
|
||||||
sha256 = "16gg670s6b4gn3fywkkagixkpkpf31a3fiqx2a544640pblbgvyx";
|
|
||||||
})
|
|
||||||
(fetchpatch {
|
|
||||||
name = "CVE-2017-17434-patch2.patch";
|
|
||||||
url = "https://git.samba.org/?p=rsync.git;a=patch;h=70aeb5fddd1b2f8e143276f8d5a085db16c593b9";
|
|
||||||
sha256 = "182pc5bk1i57ganyn51bcs6vi2fib7zcw4kz3iyqkzihnjds10a6";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://rsync.samba.org/;
|
description = "Fast incremental file transfer utility";
|
||||||
|
homepage = https://rsync.samba.org/;
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
mainSrc = base.src;
|
mainSrc = base.src;
|
||||||
|
|
||||||
patchesSrc = base.patches;
|
patchesSrc = base.upstreamPatchTarball;
|
||||||
|
|
||||||
srcs = [mainSrc] ++ stdenv.lib.optional enableCopyDevicesPatch patchesSrc;
|
srcs = [mainSrc] ++ stdenv.lib.optional enableCopyDevicesPatch patchesSrc;
|
||||||
patches = stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff";
|
patches = stdenv.lib.optional enableCopyDevicesPatch "./patches/copy-devices.diff";
|
||||||
|
|
56
pkgs/applications/networking/syncthing-gtk/default.nix
Normal file
56
pkgs/applications/networking/syncthing-gtk/default.nix
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
{ stdenv, fetchFromGitHub, libnotify, librsvg, psmisc, gtk3, substituteAll, syncthing, wrapGAppsHook, gnome3, buildPythonApplication, dateutil, pyinotify, pygobject3, bcrypt, gobjectIntrospection }:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
version = "0.9.2.7";
|
||||||
|
name = "syncthing-gtk-${version}";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "syncthing";
|
||||||
|
repo = "syncthing-gtk";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "08k7vkibia85klwjxbnzk67h4pphrizka5v9zxwvvv3cisjiclc2";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
wrapGAppsHook
|
||||||
|
# For setup hook populating GI_TYPELIB_PATH
|
||||||
|
gobjectIntrospection
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gtk3 (librsvg.override { enableIntrospection = true; })
|
||||||
|
libnotify
|
||||||
|
# Schemas with proxy configuration
|
||||||
|
gnome3.gsettings_desktop_schemas
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
dateutil pyinotify pygobject3 bcrypt
|
||||||
|
];
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./disable-syncthing-binary-configuration.patch
|
||||||
|
(substituteAll {
|
||||||
|
src = ./paths.patch;
|
||||||
|
killall = "${psmisc}/bin/killall";
|
||||||
|
syncthing = "${syncthing}/bin/syncthing";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "version = get_version()" "version = '${version}'"
|
||||||
|
substituteInPlace scripts/syncthing-gtk --replace "/usr/share" "$out/share"
|
||||||
|
substituteInPlace syncthing_gtk/app.py --replace "/usr/share" "$out/share"
|
||||||
|
substituteInPlace syncthing_gtk/uisettingsdialog.py --replace "/usr/share" "$out/share"
|
||||||
|
substituteInPlace syncthing_gtk/wizard.py --replace "/usr/share" "$out/share"
|
||||||
|
substituteInPlace syncthing-gtk.desktop --replace "/usr/bin/syncthing-gtk" "$out/bin/syncthing-gtk"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "GTK3 & python based GUI for Syncthing";
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
|
platforms = syncthing.meta.platforms;
|
||||||
|
homepage = https://github.com/syncthing/syncthing-gtk;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,77 @@
|
||||||
|
--- a/find-daemon.glade
|
||||||
|
+++ b/find-daemon.glade
|
||||||
|
@@ -112,6 +112,7 @@
|
||||||
|
<object class="GtkEntry" id="vsyncthing_binary">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
+ <property name="sensitive">False</property>
|
||||||
|
<property name="margin_right">20</property>
|
||||||
|
<signal name="changed" handler="cb_check_value" swapped="no"/>
|
||||||
|
</object>
|
||||||
|
@@ -126,6 +127,7 @@
|
||||||
|
<property name="label" translatable="yes">_Browse...</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
+ <property name="sensitive">False</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="yalign">0.51999998092651367</property>
|
||||||
|
--- a/syncthing_gtk/configuration.py
|
||||||
|
+++ b/syncthing_gtk/configuration.py
|
||||||
|
@@ -168,6 +168,8 @@
|
||||||
|
yield k
|
||||||
|
|
||||||
|
def get(self, key):
|
||||||
|
+ if key == "syncthing_binary":
|
||||||
|
+ return self.REQUIRED_KEYS[key][1]
|
||||||
|
return self.values[key]
|
||||||
|
|
||||||
|
def set(self, key, value):
|
||||||
|
--- a/syncthing_gtk/finddaemondialog.py
|
||||||
|
+++ b/syncthing_gtk/finddaemondialog.py
|
||||||
|
@@ -163,7 +163,7 @@
|
||||||
|
self["lblDownloadProgress"].set_markup(_("Download failed."))
|
||||||
|
self["btDownload"].set_visible(True)
|
||||||
|
self["pbDownload"].set_visible(False)
|
||||||
|
- self["vsyncthing_binary"].set_sensitive(True)
|
||||||
|
+ self["vsyncthing_binary"].set_sensitive(False)
|
||||||
|
self["btBrowse"].set_sensitive(True)
|
||||||
|
self["btSave"].set_sensitive(True)
|
||||||
|
|
||||||
|
@@ -179,7 +179,7 @@
|
||||||
|
|
||||||
|
def cb_extract_finished(self, downloader, *a):
|
||||||
|
""" Called after extraction is finished """
|
||||||
|
- self["vsyncthing_binary"].set_sensitive(True)
|
||||||
|
+ self["vsyncthing_binary"].set_sensitive(False)
|
||||||
|
self["btBrowse"].set_sensitive(True)
|
||||||
|
self["vsyncthing_binary"].set_text(downloader.get_target())
|
||||||
|
self["lblDownloadProgress"].set_markup("<b>" + _("Download finished.") + "</b>")
|
||||||
|
--- a/syncthing_gtk/wizard.py
|
||||||
|
+++ b/syncthing_gtk/wizard.py
|
||||||
|
@@ -60,7 +60,6 @@
|
||||||
|
self.quit_button.connect("clicked", lambda *a : self.emit("cancel"))
|
||||||
|
# Pages
|
||||||
|
self.add_page(IntroPage(self))
|
||||||
|
- self.add_page(FindDaemonPage())
|
||||||
|
self.add_page(GenerateKeysPage())
|
||||||
|
self.add_page(HttpSettingsPage())
|
||||||
|
self.add_page(SaveSettingsPage())
|
||||||
|
--- a/ui-settings.glade
|
||||||
|
+++ b/ui-settings.glade
|
||||||
|
@@ -943,6 +943,7 @@
|
||||||
|
<property name="label" translatable="yes">_Browse...</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
+ <property name="sensitive">False</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="use_underline">True</property>
|
||||||
|
<property name="yalign">0.51999998092651367</property>
|
||||||
|
@@ -974,6 +975,7 @@
|
||||||
|
<object class="GtkEntry" id="vsyncthing_binary">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
+ <property name="sensitive">False</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<signal name="changed" handler="cb_check_value" swapped="no"/>
|
||||||
|
</object>
|
22
pkgs/applications/networking/syncthing-gtk/paths.patch
Normal file
22
pkgs/applications/networking/syncthing-gtk/paths.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
--- a/syncthing_gtk/configuration.py
|
||||||
|
+++ b/syncthing_gtk/configuration.py
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
"autokill_daemon" : (int, 2), # 0 - never kill, 1 - always kill, 2 - ask
|
||||||
|
"daemon_priority" : (int, 0), # uses nice values
|
||||||
|
"max_cpus" : (int, 0), # 0 for all cpus
|
||||||
|
- "syncthing_binary" : (str, "/usr/bin/syncthing"),
|
||||||
|
+ "syncthing_binary" : (str, "@syncthing@"),
|
||||||
|
"syncthing_arguments" : (str, ""),
|
||||||
|
"minimize_on_start" : (bool, False),
|
||||||
|
"folder_as_path" : (bool, True),
|
||||||
|
--- a/syncthing_gtk/tools.py
|
||||||
|
+++ b/syncthing_gtk/tools.py
|
||||||
|
@@ -303,7 +303,7 @@
|
||||||
|
return False
|
||||||
|
# signal 0 doesn't kill anything, but killall exits with 1 if
|
||||||
|
# named process is not found
|
||||||
|
- p = Popen(["killall", "-u", os.environ["USER"], "-q", "-s", "0", "syncthing"])
|
||||||
|
+ p = Popen(["@killall@", "-u", os.environ["USER"], "-q", "-s", "0", "syncthing"])
|
||||||
|
p.communicate()
|
||||||
|
return p.returncode == 0
|
||||||
|
else:
|
|
@ -15,6 +15,26 @@ let
|
||||||
|
|
||||||
in rec {
|
in rec {
|
||||||
|
|
||||||
|
backlog = zncDerivation rec {
|
||||||
|
name = "znc-backlog-${version}";
|
||||||
|
version = "git-2017-06-13";
|
||||||
|
module_name = "backlog";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "FruitieX";
|
||||||
|
repo = "znc-backlog";
|
||||||
|
rev = "42e8f439808882d2dae60f2a161eabead14e4b0d";
|
||||||
|
sha256 = "1k7ifpqqzzf2j7w795q4mx1nvmics2higzjqr3mid3lp43sqg5s6";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Request backlog for IRC channels.";
|
||||||
|
homepage = https://github.com/fruitiex/znc-backlog/;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ infinisil ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
clientbuffer = zncDerivation rec {
|
clientbuffer = zncDerivation rec {
|
||||||
name = "znc-clientbuffer-${version}";
|
name = "znc-clientbuffer-${version}";
|
||||||
version = "git-2015-08-27";
|
version = "git-2015-08-27";
|
||||||
|
|
35
pkgs/applications/science/biology/muscle/default.nix
Normal file
35
pkgs/applications/science/biology/muscle/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
_name = "muscle";
|
||||||
|
name = "${_name}-${version}";
|
||||||
|
version = "3.8.31";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://www.drive5.com/muscle/downloads${version}/${_name}${version}_src.tar.gz";
|
||||||
|
sha256 = "1b89z0x7h098g99g00nqadgjnb2r5wpi9s11b7ddffqkh9m9dia3";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./muscle-3.8.31-no-static.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
cd ./src/
|
||||||
|
patchShebangs mk
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -vD muscle $out/bin/muscle
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A multiple sequence alignment method with reduced time and space complexity";
|
||||||
|
license = licenses.publicDomain;
|
||||||
|
homepage = https://www.drive5.com/muscle/;
|
||||||
|
maintainers = [ maintainers.unode ];
|
||||||
|
# NOTE: Supposed to be compatible with darwin/intel & PPC but currently fails.
|
||||||
|
# Anyone with access to these platforms is welcome to give it a try
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,21 @@
|
||||||
|
--- a/src/mk 2010-05-02 01:15:42.000000000 +0200
|
||||||
|
+++ b/src/mk 2018-01-27 17:07:23.539092748 +0100
|
||||||
|
@@ -5,14 +5,14 @@
|
||||||
|
rm -f *.o muscle.make.stdout.txt muscle.make.stderr.txt
|
||||||
|
for CPPName in $CPPNames
|
||||||
|
do
|
||||||
|
- echo $CPPName >> /dev/tty
|
||||||
|
+ echo $CPPName
|
||||||
|
g++ $ENV_GCC_OPTS -c -O3 -msse2 -mfpmath=sse -D_FILE_OFFSET_BITS=64 -DNDEBUG=1 $CPPName.cpp -o $CPPName.o >> muscle.make.stdout.txt 2>> muscle.make.stderr.txt
|
||||||
|
done
|
||||||
|
|
||||||
|
LINK_OPTS=
|
||||||
|
-if [ `uname -s` == Linux ] ; then
|
||||||
|
- LINK_OPTS=-static
|
||||||
|
-fi
|
||||||
|
+#if [ `uname -s` == Linux ] ; then
|
||||||
|
+# LINK_OPTS=-static
|
||||||
|
+#fi
|
||||||
|
g++ $LINK_OPTS $ENV_LINK_OPTS -g -o muscle $ObjNames >> muscle.make.stdout.txt 2>> muscle.make.stderr.txt
|
||||||
|
tail muscle.make.stderr.txt
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{ stdenv, fetchurl, git, nettools, perl }:
|
{ stdenv, fetchFromGitHub, git, nettools, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gitolite-${version}";
|
name = "gitolite-${version}";
|
||||||
version = "3.6.3";
|
version = "3.6.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/sitaramc/gitolite/archive/v${version}.tar.gz";
|
owner = "sitaramc";
|
||||||
sha256 = "16cxifjxnri719qb6zzwkdf61x5y957acbdhcgqcan23x1mfn84v";
|
repo = "gitolite";
|
||||||
|
rev = "9123ae44b14b9df423a7bf1e693e05865ca320ac";
|
||||||
|
sha256 = "0rmyzr66lxh2ildf3h1nh3hh2ndwk21rjdin50r5vhwbdd7jg8vb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git nettools perl ];
|
buildInputs = [ git nettools perl ];
|
||||||
|
@ -26,6 +28,7 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
perl ./install -to $out/bin
|
perl ./install -to $out/bin
|
||||||
|
echo ${version} > $out/bin/VERSION
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -33,6 +36,6 @@ stdenv.mkDerivation rec {
|
||||||
homepage = http://gitolite.com/gitolite/index.html;
|
homepage = http://gitolite.com/gitolite/index.html;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.thoughtpolice maintainers.lassulus ];
|
maintainers = [ maintainers.thoughtpolice maintainers.lassulus maintainers.tomberek ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,12 @@
|
||||||
{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gnome2, scons,
|
{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gnome2, scons,
|
||||||
mjpegtools, libdvdread, dvdauthor, gettext, dvdplusrwtools, libxmlxx, ffmpeg,
|
mjpegtools, libdvdread, dvdauthor, gettext, dvdplusrwtools, libxmlxx, ffmpeg,
|
||||||
enca, pkgconfig }:
|
enca, pkgconfig, fetchpatch }:
|
||||||
|
|
||||||
|
let fetchPatchFromAur = {name, sha256}:
|
||||||
|
fetchpatch {
|
||||||
|
inherit name sha256;
|
||||||
|
url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}?h=e6cc6bc80c672aaa1a2260abfe8823da299a192c";
|
||||||
|
}; in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "bombono-${version}";
|
name = "bombono-${version}";
|
||||||
version = "1.2.4";
|
version = "1.2.4";
|
||||||
|
@ -12,6 +17,17 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1lz1vik6abn1i1pvxhm55c9g47nxxv755wb2ijszwswwrwgvq5b9";
|
sha256 = "1lz1vik6abn1i1pvxhm55c9g47nxxv755wb2ijszwswwrwgvq5b9";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = map fetchPatchFromAur [
|
||||||
|
{name="fix_ffmpeg_codecid.patch"; sha256="1asfc0lqzk4gjssrvjmsi1xr53ygnsx2sh7c8yzp5r3j2bagxhp7";}
|
||||||
|
{name="fix_ptr2bool_cast.patch"; sha256="0iqzrmbg38ikh4x9cmx0v0rnm7a9lcq0kd8sh1z9yfmnz71qqahg";}
|
||||||
|
{name="fix_c++11_literal_warnings.patch"; sha256="1zbf12i77p0j0090pz5lzg4a7kyahahzqssybv7vi0xikwvw57w9";}
|
||||||
|
{name="autoptr2uniqueptr.patch"; sha256="0a3wvwfplmqvi8fnj929y85z3h1iq7baaz2d4v08h1q2wbmakqdm";}
|
||||||
|
{name="fix_deprecated_boost_api.patch"; sha256="184gdz3w95ihhsd8xscpwvq77xd4il47kvmv6wslax77xyw50gm8";}
|
||||||
|
{name="fix_throw_specifications.patch"; sha256="1f5gi3qwm843hsxvijq7sjy0s62xm7rnr1vdp7f242fi0ldq6c1n";}
|
||||||
|
{name="fix_operator_ambiguity.patch"; sha256="0r4scsbsqfg6wgzsbfxxpckamvgyrida0n1ypg1klx24pk5dc7n7";}
|
||||||
|
{name="fix_ffmpeg30.patch"; sha256="1irva7a9bpbzs60ga8ypa3la9y84i5rz20jnd721qmfqp2yip8dw";}
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook scons pkgconfig gettext ];
|
nativeBuildInputs = [ wrapGAppsHook scons pkgconfig gettext ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -20,9 +36,11 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
scons PREFIX=$out
|
scons PREFIX=$out -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
scons install
|
scons install
|
||||||
'';
|
'';
|
||||||
|
@ -31,5 +49,6 @@ stdenv.mkDerivation rec {
|
||||||
description = "a DVD authoring program for personal computers";
|
description = "a DVD authoring program for personal computers";
|
||||||
homepage = "http://www.bombono.org/";
|
homepage = "http://www.bombono.org/";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = stdenv.lib.licenses.gpl2;
|
||||||
|
maintainers = with stdenv.lib.maintainers; [ symphorien ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchFromGitLab, pkgconfig, autoconf, automake, libiconv
|
{ stdenv, fetchFromGitLab, pkgconfig, autoconf, automake, libiconv
|
||||||
, drake, ruby, docbook_xsl, file, xdg_utils, gettext, expat, qt5, boost
|
, drake, ruby, docbook_xsl, file, xdg_utils, gettext, expat, qt5, boost
|
||||||
, libebml, zlib, libmatroska, libogg, libvorbis, flac, libxslt
|
, libebml, zlib, libmatroska, libogg, libvorbis, flac, libxslt, cmark
|
||||||
, withGUI ? true
|
, withGUI ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -10,20 +10,20 @@ with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mkvtoolnix-${version}";
|
name = "mkvtoolnix-${version}";
|
||||||
version = "19.0.0";
|
version = "20.0.0";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "mbunkus";
|
owner = "mbunkus";
|
||||||
repo = "mkvtoolnix";
|
repo = "mkvtoolnix";
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "068g0mmi284zl9d9p9zhp55h6rj58j5c27czd3mg42kq74cwcsx9";
|
sha256 = "0qrjvvp0pvw9i91rh0zrxpclq7xap2dpjip0s5bm4gv14gh4l4mc";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig autoconf automake gettext drake ruby docbook_xsl libxslt ];
|
nativeBuildInputs = [ pkgconfig autoconf automake gettext drake ruby docbook_xsl libxslt ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
expat file xdg_utils boost libebml zlib libmatroska libogg
|
expat file xdg_utils boost libebml zlib libmatroska libogg
|
||||||
libvorbis flac
|
libvorbis flac cmark
|
||||||
]
|
]
|
||||||
++ optional stdenv.isDarwin libiconv
|
++ optional stdenv.isDarwin libiconv
|
||||||
++ optionals withGUI [qt5.qtbase qt5.qtmultimedia];
|
++ optionals withGUI [qt5.qtbase qt5.qtmultimedia];
|
||||||
|
|
|
@ -208,4 +208,16 @@ rec {
|
||||||
tiniRev = "949e6facb77383876aeff8a6944dde66b3089574";
|
tiniRev = "949e6facb77383876aeff8a6944dde66b3089574";
|
||||||
tiniSha256 = "0zj4kdis1vvc6dwn4gplqna0bs7v6d1y2zc8v80s3zi018inhznw";
|
tiniSha256 = "0zj4kdis1vvc6dwn4gplqna0bs7v6d1y2zc8v80s3zi018inhznw";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
docker_18_01 = dockerGen rec {
|
||||||
|
version = "18.01.0-ce";
|
||||||
|
rev = "03596f51b120095326d2004d676e97228a21014d"; # git commit
|
||||||
|
sha256 = "1zffaxwkfz8ca76f5ql5z76mcjx37jbgv2kk75i68487yg16x0md";
|
||||||
|
runcRev = "b2567b37d7b75eb4cf325b77297b140ea686ce8f";
|
||||||
|
runcSha256 = "0zarsrbfcm1yp6mdl6rcrigdf7nb70xmv2cbggndz0qqyrw0mk0l";
|
||||||
|
containerdRev = "89623f28b87a6004d4b785663257362d1658a729";
|
||||||
|
containerdSha256 = "0irx7ps6rhq7z69cr3gspxdr7ywrv6dz62gkr1z2723cki9hsxma";
|
||||||
|
tiniRev = "949e6facb77383876aeff8a6944dde66b3089574";
|
||||||
|
tiniSha256 = "0zj4kdis1vvc6dwn4gplqna0bs7v6d1y2zc8v80s3zi018inhznw";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,12 +13,12 @@ with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
baseName = "virt-viewer";
|
baseName = "virt-viewer";
|
||||||
version = "5.0";
|
version = "6.0";
|
||||||
name = "${baseName}-${version}";
|
name = "${baseName}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://virt-manager.org/download/sources/${baseName}/${name}.tar.gz";
|
url = "http://virt-manager.org/download/sources/${baseName}/${name}.tar.gz";
|
||||||
sha256 = "0blbp1wkw8ahss9va0bmcz2yx18j0mvm6fzrzhh2ly3sja5ysb8b";
|
sha256 = "1chqrf658niivzfh85cbwkbv9vyg8sv1mv3i31vawkfsfdvvsdwh";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig intltool ];
|
nativeBuildInputs = [ pkgconfig intltool ];
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "i3lock-${version}";
|
name = "i3lock-${version}";
|
||||||
version = "2.9.1";
|
version = "2.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://i3wm.org/i3lock/${name}.tar.bz2";
|
url = "https://i3wm.org/i3lock/${name}.tar.bz2";
|
||||||
sha256 = "1467ha4ssbfjk1jh0ya2i5ljzm554ln18nyrppvsipg8shb1cshh";
|
sha256 = "1vn8828ih7mpdl58znfnzpdwdgwksq16rghm5qlppbbz66zk5sr9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "man-pages-${version}";
|
name = "man-pages-${version}";
|
||||||
version = "4.12";
|
version = "4.14";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
|
url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
|
||||||
sha256 = "6f6d79d991fed04e16e7c7a15705304b0b9d51de772c51c57428555039fbe093";
|
sha256 = "0wf9ymqxk1k5xwcl3n919p66a1aayif3x4cahj4w04y3k1wbhlih";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = [ "MANDIR=$(out)/share/man" ];
|
makeFlags = [ "MANDIR=$(out)/share/man" ];
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "wireless-regdb-${version}";
|
name = "wireless-regdb-${version}";
|
||||||
version = "2017.03.07";
|
version = "2017.12.23";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.kernel.org/pub/software/network/wireless-regdb/${name}.tar.xz";
|
url = "https://www.kernel.org/pub/software/network/wireless-regdb/${name}.tar.xz";
|
||||||
sha256 = "1f9mcp78sdd4sci6v32vxfcl1rfjpv205jisz1p93kkfnaisy7ip";
|
sha256 = "1faa394frq0126h2z28kp4dwknx6zqm5nar4552g7rwqvl2yclqf";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
, curl, tzdata, gdb, darwin
|
, curl, tzdata, gdb, darwin
|
||||||
, callPackage
|
, callPackage
|
||||||
, bootstrapVersion ? false
|
, bootstrapVersion ? false
|
||||||
, version ? "2.078.0"
|
, version ? "2.078.1"
|
||||||
, dmdSha256 ? "1ia4swyq0xqppnpmcalh2yxywdk2gv3kvni2abx1mq6wwqgmwlcr"
|
, dmdSha256 ? "0b9lphh4g3r9cyzv4wcfppv9j3w952vvwv615za23acgwav3mqg2"
|
||||||
, druntimeSha256 ? "0inyvcjc5qn8277d1zlfvgdgiss86rkjg9mhkw5l31hix8yan372"
|
, druntimeSha256 ? "16jv40m073cflpkyl0vmg1g58cianybfcsgcvwli7pfryxbgsbrr"
|
||||||
, phobosSha256 ? "1vb5xnysja9l8hvv9gy4c05vihmblz7ga005761jbazxkmlfirj4"
|
, phobosSha256 ? "08ircpf4ilznz638kra272hz8fi5ccvw2cswj5hqckssl1lyqzs8"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
# platform). Static libs are always built.
|
# platform). Static libs are always built.
|
||||||
enableShared ? true
|
enableShared ? true
|
||||||
|
|
||||||
, version ? "8.4.20180115"
|
, version ? "8.4.20180122"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert !enableIntegerSimple -> gmp != null;
|
assert !enableIntegerSimple -> gmp != null;
|
||||||
|
@ -73,8 +73,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "git://git.haskell.org/ghc.git";
|
url = "git://git.haskell.org/ghc.git";
|
||||||
rev = "3e3a096885c0fcd0703edbeffb4e47f5cbd8f4cc";
|
rev = "61db0b8941cfb7ed8941ed29bdb04bd8ef3b71a5";
|
||||||
sha256 = "06slymbsd7vsfp4hh40v7cxf7nmp0kvlni2wfq7ag5wlqh04slgs";
|
sha256 = "15sbpgkal4854jc1xn3sprvpnxwdj0fyy43y5am0h9vja3pjhjyi";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ stdenv, fetchurl, makeWrapper, jre, unzip }:
|
{ stdenv, fetchurl, makeWrapper, jre, unzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.2.20";
|
version = "1.2.21";
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
inherit version;
|
inherit version;
|
||||||
name = "kotlin-${version}";
|
name = "kotlin-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
|
url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
|
||||||
sha256 = "0mx047j98jaw0smpk150ipfbb922il2kqqp3fmsz6hvvygcx6qzv";
|
sha256 = "08mg0xl6n5kl71rn4ix6innqa7dlirmw1rlj9qwmqv5abp9wpwn5";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ jre ] ;
|
propagatedBuildInputs = [ jre ] ;
|
||||||
|
|
|
@ -33,11 +33,11 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "racket-${version}";
|
name = "racket-${version}";
|
||||||
version = "6.11";
|
version = "6.12";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://mirror.racket-lang.org/installers/${version}/${name}-src.tgz";
|
url = "https://mirror.racket-lang.org/installers/${version}/${name}-src.tgz";
|
||||||
sha256 = "1nk7705x24jjlbqqhj8yvbgqkfscxx3m81bry1g56kjxysjmf3sw";
|
sha256 = "0cwcypzjfl9py1s695mhqkiapff7c1w29llsmdj7qgn58wl0apk5";
|
||||||
};
|
};
|
||||||
|
|
||||||
FONTCONFIG_FILE = fontsConf;
|
FONTCONFIG_FILE = fontsConf;
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr }:
|
{ stdenv, fetchFromGitHub, cmake, boost, gmp, mpfr }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "4.9";
|
version = "4.11";
|
||||||
name = "cgal-" + version;
|
name = "cgal-" + version;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "CGAL";
|
owner = "CGAL";
|
||||||
repo = "releases";
|
repo = "releases";
|
||||||
rev = "CGAL-${version}";
|
rev = "CGAL-${version}";
|
||||||
sha256 = "044amgml1x5h17rpkck2azmxrmjvlzzykv71cjh5hlajsi88cid5";
|
sha256 = "126r06aba5h8l73xmm5mwmxkir7sy122jn2j18cd4gz3z9p23npr";
|
||||||
};
|
};
|
||||||
|
|
||||||
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
# note: optional component libCGAL_ImageIO would need zlib and opengl;
|
||||||
|
|
|
@ -1,17 +1,22 @@
|
||||||
# in geoipDatabase, you can insert a package defining ${geoipDatabase}/share/GeoIP
|
# in geoipDatabase, you can insert a package defining ${geoipDatabase}/share/GeoIP
|
||||||
# e.g. geolite-legacy
|
# e.g. geolite-legacy
|
||||||
{ stdenv, fetchurl, pkgs, drvName ? "geoip", geoipDatabase ? "/var/lib/geoip-databases" }:
|
{ stdenv, fetchFromGitHub, autoreconfHook
|
||||||
|
, drvName ? "geoip", geoipDatabase ? "/var/lib/geoip-databases" }:
|
||||||
|
|
||||||
let version = "1.6.2";
|
let version = "1.6.12";
|
||||||
dataDir = if (stdenv.lib.isDerivation geoipDatabase) then "${toString geoipDatabase}/share/GeoIP" else geoipDatabase;
|
dataDir = if (stdenv.lib.isDerivation geoipDatabase) then "${toString geoipDatabase}/share/GeoIP" else geoipDatabase;
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "${drvName}-${version}";
|
name = "${drvName}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://geolite.maxmind.com/download/geoip/api/c/GeoIP-${version}.tar.gz";
|
owner = "maxmind";
|
||||||
sha256 = "0dd6si4cvip73kxdn43apg6yygvaf7dnk5awqfg9w2fd2ll0qnh7";
|
repo = "geoip-api-c";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0ixyp3h51alnncr17hqp1p0rlqz9w69nlhm60rbzjjz3vjx52ajv";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
find . -name Makefile.in -exec sed -i -r 's#^pkgdatadir\s*=.+$#pkgdatadir = ${dataDir}#' {} \;
|
find . -name Makefile.in -exec sed -i -r 's#^pkgdatadir\s*=.+$#pkgdatadir = ${dataDir}#' {} \;
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -6,15 +6,13 @@
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "hwloc-1.11.8";
|
name = "hwloc-1.11.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.open-mpi.org/software/hwloc/v1.11/downloads/${name}.tar.bz2";
|
url = "http://www.open-mpi.org/software/hwloc/v1.11/downloads/${name}.tar.bz2";
|
||||||
sha256 = "0karxv4r1r8sa7ki5aamlxdvyvz0bvzq4gdhq0yi5nc4a0k11vzc";
|
sha256 = "0r2im1s5lp7zjwqalcqcnlxx0dsky1bnx5waf2r3rmj888c36hrr";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
];
|
];
|
||||||
|
@ -75,8 +73,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# http://www.open-mpi.org/projects/hwloc/license.php
|
# http://www.open-mpi.org/projects/hwloc/license.php
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
homepage = http://www.open-mpi.org/projects/hwloc/;
|
homepage = https://www.open-mpi.org/projects/hwloc/;
|
||||||
maintainers = [ ];
|
maintainers = with maintainers; [ fpletz ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libargon2-${version}";
|
name = "libargon2-${version}";
|
||||||
version = "20161029";
|
version = "20171227";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "P-H-C";
|
owner = "P-H-C";
|
||||||
repo = "phc-winner-argon2";
|
repo = "phc-winner-argon2";
|
||||||
rev = "${version}";
|
rev = "${version}";
|
||||||
sha256 = "021g8wi4g67ywm8zf3yncqwrmfz7ypgm1ih9wcmnxip5n75rymh5";
|
sha256 = "0sc9zca1anqk41017vjpas4kxi4cbn0zvicv8vj8p2sb2gy94bh8";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|
|
@ -19,11 +19,11 @@ in
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libass-${version}";
|
name = "libass-${version}";
|
||||||
version = "0.13.7";
|
version = "0.14.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/libass/libass/releases/download/${version}/${name}.tar.xz";
|
url = "https://github.com/libass/libass/releases/download/${version}/${name}.tar.xz";
|
||||||
sha256 = "17byv926w1mxn56n896sxvdq4m0yv1l7qbm688h6zr3nzgsyarbh";
|
sha256 = "18iqznl4mabhj9ywfsz4kwvbsplcv1jjxq50nxssvbj8my1267w8";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libast-${version}";
|
name = "libast-${version}";
|
||||||
version = "0.7";
|
version = "0.7.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.eterm.org/download/${name}.tar.gz";
|
url = "http://www.eterm.org/download/${name}.tar.gz";
|
||||||
sha256 = "1w7bs46r4lykfd83kc3bg9i1rxzzlb4ydk23ikf8mx8avz05q1aj";
|
sha256 = "1w7bs46r4lykfd83kc3bg9i1rxzzlb4ydk23ikf8mx8avz05q1aj";
|
||||||
|
|
|
@ -19,11 +19,11 @@ assert withFonts -> freetype != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libbluray-${version}";
|
name = "libbluray-${version}";
|
||||||
version = "1.0.0";
|
version = "1.0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://get.videolan.org/libbluray/${version}/${name}.tar.bz2";
|
url = "http://get.videolan.org/libbluray/${version}/${name}.tar.bz2";
|
||||||
sha256 = "1k3lag4lxi2jjd3zh4wcb5l3hadzm54j5kagh92yzfy76p9svqzp";
|
sha256 = "1zxfnw1xbghcj7b3zz5djndv6gwssxda19cz1lrlqrkg8577r7kd";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = optional withJava ./BDJ-JARFILE-path.patch;
|
patches = optional withJava ./BDJ-JARFILE-path.patch;
|
||||||
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = with stdenv.lib;
|
configureFlags = with stdenv.lib;
|
||||||
optional (! withJava) "--disable-bdjava"
|
optional (! withJava) "--disable-bdjava-jar"
|
||||||
++ optional (! withMetadata) "--without-libxml2"
|
++ optional (! withMetadata) "--without-libxml2"
|
||||||
++ optional (! withFonts) "--without-freetype"
|
++ optional (! withFonts) "--without-freetype"
|
||||||
;
|
;
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{ stdenv, fetchurl, libwpg, libwpd, lcms, pkgconfig, librevenge, icu, boost }:
|
{ stdenv, fetchurl, libwpg, libwpd, lcms, pkgconfig, librevenge, icu, boost, cppunit }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libcdr-0.1.1";
|
name = "libcdr-0.1.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dev-www.libreoffice.org/src/${name}.tar.bz2";
|
url = "http://dev-www.libreoffice.org/src/${name}.tar.xz";
|
||||||
sha256 = "0javd72wmaqd6vprsh3clm393b3idjdjzbb7vyn44li7yaxppzkj";
|
sha256 = "0vd6likgk51j46llybkx4wq3674xzrhp0k82220pkx9x1aqfi9z7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libwpg libwpd lcms librevenge icu boost ];
|
buildInputs = [ libwpg libwpd lcms librevenge icu boost cppunit ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libdivecomputer-${version}";
|
name = "libdivecomputer-${version}";
|
||||||
version = "0.5.0";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.libdivecomputer.org/releases/${name}.tar.gz";
|
url = "http://www.libdivecomputer.org/releases/${name}.tar.gz";
|
||||||
sha256 = "11n2qpqg4b2h7mqifp9qm5gm1aqwy7wj1j4j5ha0wdjf55zzy30y";
|
sha256 = "0nm1mcscpxb9dv4p0lidd6rf5xg4vmcbigj6zqxvgn7pwnvpbzm0";
|
||||||
};
|
};
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
|
@ -1,20 +0,0 @@
|
||||||
Patch from Debian:
|
|
||||||
https://sources.debian.net/data/main/libe/libewf/20140608-6/debian/patches/04-fix-FTBFS-GCC5.patch
|
|
||||||
|
|
||||||
Description: fix a FTBFS with GCC-5. Thanks to Linn Crosetto <linn@hp.com> for
|
|
||||||
the first fix (see #777938). This patch closes #777945.
|
|
||||||
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
|
|
||||||
Last-Update: 2015-07-02
|
|
||||||
Index: libewf-20140608/libuna/Makefile.am
|
|
||||||
===================================================================
|
|
||||||
--- libewf-20140608.orig/libuna/Makefile.am
|
|
||||||
+++ libewf-20140608/libuna/Makefile.am
|
|
||||||
@@ -3,7 +3,7 @@ AM_CPPFLAGS = \
|
|
||||||
-I$(top_srcdir)/include \
|
|
||||||
-I$(top_srcdir)/common \
|
|
||||||
@LIBCSTRING_CPPFLAGS@ \
|
|
||||||
- @LIBCERROR_CPPFLAGS@
|
|
||||||
+ @LIBCERROR_CPPFLAGS@ -std=gnu89
|
|
||||||
|
|
||||||
noinst_LTLIBRARIES = libuna.la
|
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ fetchurl, stdenv, zlib, openssl, libuuid, file, fuse, autoreconfHook, pkgconfig }:
|
{ fetchurl, stdenv, zlib, openssl, libuuid, file, fuse, autoreconfHook, pkgconfig }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "20140608";
|
version = "20171104";
|
||||||
name = "libewf-${version}";
|
name = "libewf-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://googledrive.com/host/0B3fBvzttpiiSMTdoaVExWWNsRjg/libewf-20140608.tar.gz";
|
url = "https://github.com/libyal/libewf/releases/download/${version}/libewf-experimental-${version}.tar.gz";
|
||||||
sha256 = "0wfsffzxk934hl8cpwr14w8ixnh8d23x0xnnzcspjwi2c7730h6i";
|
sha256 = "0h7036gpj5cryvh17aq6i2cpnbpwg5yswmfydxbbwvd9yfxd6dng";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ zlib openssl libuuid ];
|
buildInputs = [ zlib openssl libuuid ];
|
||||||
patches = [ ./04-fix-FTBFS-GCC5.patch ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library for support of the Expert Witness Compression Format";
|
description = "Library for support of the Expert Witness Compression Format";
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
url https://code.google.com/p/libewf/
|
|
||||||
version_link 'googledrive[.]com'
|
|
||||||
version_link '[.]tar[.]'
|
|
||||||
do_overwrite () {
|
|
||||||
do_overwrite_just_version
|
|
||||||
set_var_value url "$CURRENT_URL"
|
|
||||||
}
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libite-${version}";
|
name = "libite-${version}";
|
||||||
version = "1.9.2";
|
version = "2.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "troglobit";
|
owner = "troglobit";
|
||||||
repo = "libite";
|
repo = "libite";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1y2iylsgs8am5br7an0xkrgshq6k2zkk8jfsaa7vdw2dh3qvc9pr";
|
sha256 = "07zypi3f02ygl7h5yc9sy136iiwgdi3r3nkjai9bq4gzjmzsvyl9";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
|
|
@ -4,10 +4,10 @@ let
|
||||||
inherit (stdenv.lib) optional optionals optionalString;
|
inherit (stdenv.lib) optional optionals optionalString;
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "libmikmod-3.3.11";
|
name = "libmikmod-3.3.11.1";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/mikmod/${name}.tar.gz";
|
url = "mirror://sourceforge/mikmod/${name}.tar.gz";
|
||||||
sha256 = "1smb291jr4qm2cdk3gfpmh0pr23rx3jw3fw0j1zr3b4ih7727fni";
|
sha256 = "06bdnhb0l81srdzg6gn2v2ydhhaazza7rshrcj3q8dpqr3gn97dd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ texinfo ]
|
buildInputs = [ texinfo ]
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libowfat-0.29";
|
name = "libowfat-0.31";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://dl.fefe.de/${name}.tar.bz2";
|
url = "https://www.fefe.de/libowfat/${name}.tar.xz";
|
||||||
sha256 = "09v4phf1d4y617fdqwn214jmkialf7xqcsyx3rzk7x5ysvpbvbab";
|
sha256 = "04lagr62bd2cr0k8h59qfnx2klh2cf73k5kxsx8xrdybzhfarr6i";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = "prefix=$(out)";
|
makeFlags = "prefix=$(out)";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.fefe.de/libowfat/;
|
homepage = http://www.fefe.de/libowfat/;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,14 +2,13 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
modelData = fetchurl {
|
modelData = fetchurl {
|
||||||
url = "mirror://sourceforge/libpinyin/models/model12.text.tar.gz";
|
url = "mirror://sourceforge/libpinyin/models/model14.text.tar.gz";
|
||||||
sha256 = "1fijhhnjgj8bj1xr5pp7c4qxf11cqybgfqg7v36l3x780d84hfnd";
|
sha256 = "0qqk30nflj07zjhs231c95ln4yj4ipzwxxiwrxazrg4hb8bhypqq";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libpinyin-${version}";
|
name = "libpinyin-${version}";
|
||||||
version = "1.6.0";
|
version = "2.1.91";
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook glib db pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook glib db pkgconfig ];
|
||||||
|
|
||||||
|
@ -21,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
owner = "libpinyin";
|
owner = "libpinyin";
|
||||||
repo = "libpinyin";
|
repo = "libpinyin";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0k40a7wfp8zj9d426afv0am5sr3m2i2p309fq0vf8qrb050hj17f";
|
sha256 = "0jbvn65p3zh0573hh27aasd3qly5anyfi8jnps2dxi0my09wbrq3";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libraw-${version}";
|
name = "libraw-${version}";
|
||||||
version = "0.18.5";
|
version = "0.18.7";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
url = "http://www.libraw.org/data/LibRaw-${version}.tar.gz";
|
||||||
sha256 = "0y519nlvl4bfnnxbwry35f6gbcv6jbbpd2lmiwv6pbyzv4a7saps";
|
sha256 = "0wap67mb03fl2himbs20yncnnrr71mszsfm2v4spks58c714gqw7";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "lib" "dev" "doc" ];
|
outputs = [ "out" "lib" "dev" "doc" ];
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "librsync-${version}";
|
name = "librsync-${version}";
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "librsync";
|
owner = "librsync";
|
||||||
repo = "librsync";
|
repo = "librsync";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0yad7nkw6d8j824qkxrj008ak2wq6yw5p894sbhr35yc1wr5mki6";
|
sha256 = "0wihjinqbjl4hnvrgsk4ca1zy5v6bj7vjm6wlygwvgbn5yh3yq0x";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libsass-${version}";
|
name = "libsass-${version}";
|
||||||
version = "3.4.5";
|
version = "3.4.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
|
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
|
||||||
sha256 = "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x";
|
sha256 = "0gq0mg42sq2nxiv25fh37frlr0iyqamh7shv83qixnqklqpkfi13";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libsodium-1.0.15";
|
name = "libsodium-1.0.16";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
url = "https://download.libsodium.org/libsodium/releases/${name}.tar.gz";
|
||||||
sha256 = "1x3qw7lsz44vcxpcn1dvwig410phg6gmv31jwj94arrgka3rwspv";
|
sha256 = "0cq5pn7qcib7q70mm1lgjwj75xdxix27v0xl1xl0kvxww7hwgbgf";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
22
pkgs/development/libraries/libstemmer/default.nix
Normal file
22
pkgs/development/libraries/libstemmer/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libstemmer-2017-03-02";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "zvelo";
|
||||||
|
repo = "libstemmer";
|
||||||
|
rev = "78c149a3a6f262a35c7f7351d3f77b725fc646cf";
|
||||||
|
sha256 = "06md6n6h1f2zvnjrpfrq7ng46l1x12c14cacbrzmh5n0j98crpq7";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Snowball Stemming Algorithms";
|
||||||
|
homepage = "http://snowball.tartarus.org/";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
maintainers = with maintainers; [ fpletz ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libxmp-4.3.12";
|
name = "libxmp-4.4.1";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Extended module player library";
|
description = "Extended module player library";
|
||||||
|
@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/xmp/libxmp/${name}.tar.gz";
|
url = "mirror://sourceforge/xmp/libxmp/${name}.tar.gz";
|
||||||
sha256 = "1536dfxgxl6dyvkdby8lxzi9f7y2qlwl8ylrkybips3ampcqgkhm";
|
sha256 = "1kycz4jsyvmf7ny9227b497wc7y5ligydi6fvvldmkf8hk63ad9m";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
{ stdenv, fetchurl, perl }:
|
{ stdenv, fetchFromGitHub, perl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mbedtls-2.6.0";
|
name = "mbedtls-2.6.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://tls.mbed.org/download/${name}-gpl.tgz";
|
owner = "ARMmbed";
|
||||||
sha256 = "042q1l4708zjn5v72sa9qdvgx173kmy4hbcd23wj5vqd6vbmk6d9";
|
repo = "mbedtls";
|
||||||
|
rev = name;
|
||||||
|
sha256 = "0d421w9bz4p1nw6kza3licv2w97y1364mcpb4fxvpgdqz48rc1vg";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ perl ];
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchurl, netcdf, hdf5, curl }:
|
{ stdenv, fetchurl, netcdf, hdf5, curl }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "netcdf-cxx4-${version}";
|
name = "netcdf-cxx4-${version}";
|
||||||
version = "4.2.1";
|
version = "4.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
|
url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz";
|
||||||
sha256 = "1g0fsmz59dnjib4a7r899lm99j3z6yxsw10c0wlihclzr6znmmds";
|
sha256 = "13zi8cbk18gggx1c12a580wdsbl714lw68a1wg7c86x0sybirni5";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ netcdf hdf5 curl ];
|
buildInputs = [ netcdf hdf5 curl ];
|
||||||
|
|
|
@ -9,27 +9,30 @@ let
|
||||||
mpiSupport = hdf5.mpiSupport;
|
mpiSupport = hdf5.mpiSupport;
|
||||||
mpi = hdf5.mpi;
|
mpi = hdf5.mpi;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
name = "netcdf-4.4.1.1";
|
name = "netcdf-4.6.0";
|
||||||
src = fetchurl {
|
|
||||||
url = "http://www.unidata.ucar.edu/downloads/netcdf/ftp/${name}.tar.gz";
|
|
||||||
sha256 = "1blc7ik5yin7i0ls2kag0a9xjk12m0dzx6v1x88az3ras3scci2d";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ hdf5 m4 curl mpi];
|
src = fetchurl {
|
||||||
|
url = "https://www.unidata.ucar.edu/downloads/netcdf/ftp/${name}.tar.gz";
|
||||||
|
sha256 = "099qmdjj059wkj5za13zqnz0lcziqkcvyfdf894j4n6qq4c5iw2b";
|
||||||
|
};
|
||||||
|
|
||||||
passthru = {
|
nativeBuildInputs = [ m4 ];
|
||||||
mpiSupport = mpiSupport;
|
buildInputs = [ hdf5 curl mpi ];
|
||||||
inherit mpi;
|
|
||||||
};
|
|
||||||
|
|
||||||
configureFlags = [
|
passthru = {
|
||||||
"--enable-netcdf-4"
|
mpiSupport = mpiSupport;
|
||||||
"--enable-dap"
|
inherit mpi;
|
||||||
"--enable-shared"
|
};
|
||||||
]
|
|
||||||
++ (stdenv.lib.optionals mpiSupport [ "--enable-parallel-tests" "CC=${mpi}/bin/mpicc" ]);
|
|
||||||
|
|
||||||
meta = {
|
configureFlags = [
|
||||||
platforms = stdenv.lib.platforms.unix;
|
"--enable-netcdf-4"
|
||||||
};
|
"--enable-dap"
|
||||||
|
"--enable-shared"
|
||||||
|
]
|
||||||
|
++ (stdenv.lib.optionals mpiSupport [ "--enable-parallel-tests" "CC=${mpi}/bin/mpicc" ]);
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
platforms = stdenv.lib.platforms.unix;
|
||||||
|
homepage = https://www.unidata.ucar.edu/software/netcdf/;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "npth-1.3";
|
name = "npth-1.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "ftp://ftp.gnupg.org/gcrypt/npth/${name}.tar.bz2";
|
url = "ftp://ftp.gnupg.org/gcrypt/npth/${name}.tar.bz2";
|
||||||
sha256 = "0am86vblapwz84254qpmhz0chk70g6qzh3wdxcs0gvba8d01ka5w";
|
sha256 = "1hmkkp6vzyrh8v01c2ynzf9vwikyagp7p1lxhbnr4ysk3w66jji9";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "talloc-2.1.8";
|
name = "talloc-2.1.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://samba/talloc/${name}.tar.gz";
|
url = "mirror://samba/talloc/${name}.tar.gz";
|
||||||
sha256 = "0c3ihyb0jd8mhvi7gg2mr5w1zl2habx6jlkbyxzyckad2q8lkl92";
|
sha256 = "1lzfxv2zjxap5snf9ydl1bqgjpz0kgkq7n644f8rkbx0arav77k3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "xvidcore-${version}";
|
name = "xvidcore-${version}";
|
||||||
version = "1.3.4";
|
version = "1.3.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://downloads.xvid.org/downloads/${name}.tar.bz2";
|
url = "http://downloads.xvid.org/downloads/${name}.tar.bz2";
|
||||||
sha256 = "1xwbmp9wqshc0ckm970zdpi0yvgqxlqg0s8bkz98mnr8p2067bsz";
|
sha256 = "1d0hy1w9sn6491a3vhyf3vmhq4xkn6yd4ralx1191s6qz5wz483w";
|
||||||
};
|
};
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = optionalString (!stdenv.isDarwin) ''
|
postInstall = optionalString (!stdenv.isDarwin) ''
|
||||||
rm $out/lib/*.a
|
rm $out/lib/*.a
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "MPEG-4 video codec for PC";
|
description = "MPEG-4 video codec for PC";
|
||||||
homepage = https://www.xvid.com/;
|
homepage = https://www.xvid.com/;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue