Merge master into staging

This commit is contained in:
Frederik Rietdijk 2018-04-09 15:12:32 +02:00
commit 0aa59a08d6
165 changed files with 3784 additions and 2183 deletions

View File

@ -1,4 +1,5 @@
.docbook .xref img[src^=images\/callouts\/],
.screen img,
.programlisting img { .programlisting img {
width: 1em; width: 1em;
} }

View File

@ -112,7 +112,7 @@ $ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD <co
<varname>BASEBRANCH</varname> the base branch of the <varname>BASEBRANCH</varname> the base branch of the
pull-request.</para> pull-request.</para>
</callout> </callout>
<callout arearefs='reviewing-rebase-3'> <callout arearefs='reviewing-rebase-4'>
<para>Rebasing the pull-request changes to the nixos-unstable <para>Rebasing the pull-request changes to the nixos-unstable
branch.</para> branch.</para>
</callout> </callout>

View File

@ -74,7 +74,7 @@ let
inherit (lists) singleton foldr fold foldl foldl' imap0 imap1 inherit (lists) singleton foldr fold foldl foldl' imap0 imap1
concatMap flatten remove findSingle findFirst any all count concatMap flatten remove findSingle findFirst any all count
optional optionals toList range partition zipListsWith zipLists optional optionals toList range partition zipListsWith zipLists
reverseList listDfs toposort sort compareLists take drop sublist reverseList listDfs toposort sort naturalSort compareLists take drop sublist
last init crossLists unique intersectLists subtractLists last init crossLists unique intersectLists subtractLists
mutuallyExclusive; mutuallyExclusive;
inherit (strings) concatStrings concatMapStrings concatImapStrings inherit (strings) concatStrings concatMapStrings concatImapStrings

View File

@ -1,7 +1,9 @@
# General list operations. # General list operations.
{ lib }: { lib }:
with lib.trivial; with lib.trivial;
let
inherit (lib.strings) toInt;
in
rec { rec {
inherit (builtins) head tail length isList elemAt concatLists filter elem genList; inherit (builtins) head tail length isList elemAt concatLists filter elem genList;
@ -409,6 +411,25 @@ rec {
then compareLists cmp (tail a) (tail b) then compareLists cmp (tail a) (tail b)
else rel; else rel;
/* Sort list using "Natural sorting".
Numeric portions of strings are sorted in numeric order.
Example:
naturalSort ["disk11" "disk8" "disk100" "disk9"]
=> ["disk8" "disk9" "disk11" "disk100"]
naturalSort ["10.46.133.149" "10.5.16.62" "10.54.16.25"]
=> ["10.5.16.62" "10.46.133.149" "10.54.16.25"]
naturalSort ["v0.2" "v0.15" "v0.0.9"]
=> [ "v0.0.9" "v0.2" "v0.15" ]
*/
naturalSort = lst:
let
vectorise = s: map (x: if isList x then toInt (head x) else x) (builtins.split "(0|[1-9][0-9]*)" s);
prepared = map (x: [ (vectorise x) x ]) lst; # remember vectorised version for O(n) regex splits
less = a: b: (compareLists compare (head a) (head b)) < 0;
in
map (x: elemAt x 1) (sort less prepared);
/* Return the first (at most) N elements of a list. /* Return the first (at most) N elements of a list.
Example: Example:

View File

@ -1196,6 +1196,11 @@
github = "ElvishJerricco"; github = "ElvishJerricco";
name = "Will Fancher"; name = "Will Fancher";
}; };
endgame = {
email = "jack@jackkelly.name";
github = "endgame";
name = "Jack Kelly";
};
enzime = { enzime = {
email = "enzime@users.noreply.github.com"; email = "enzime@users.noreply.github.com";
github = "enzime"; github = "enzime";
@ -2495,6 +2500,11 @@
github = "mschristiansen"; github = "mschristiansen";
name = "Mikkel Christiansen"; name = "Mikkel Christiansen";
}; };
msiedlarek = {
email = "mikolaj@siedlarek.pl";
github = "msiedlarek";
name = "Mikołaj Siedlarek";
};
mstarzyk = { mstarzyk = {
email = "mstarzyk@gmail.com"; email = "mstarzyk@gmail.com";
github = "mstarzyk"; github = "mstarzyk";
@ -2644,6 +2654,11 @@
github = "nthorne"; github = "nthorne";
name = "Niklas Thörne"; name = "Niklas Thörne";
}; };
nyanloutre = {
email = "paul@nyanlout.re";
github = "nyanloutre";
name = "Paul Trehiou";
};
nyarly = { nyarly = {
email = "nyarly@gmail.com"; email = "nyarly@gmail.com";
github = "nyarly"; github = "nyarly";
@ -3258,6 +3273,11 @@
github = "sengaya"; github = "sengaya";
name = "Thilo Uttendorfer"; name = "Thilo Uttendorfer";
}; };
sephalon = {
email = "me@sephalon.net";
github = "sephalon";
name = "Stefan Wiehler";
};
sepi = { sepi = {
email = "raffael@mancini.lu"; email = "raffael@mancini.lu";
github = "sepi"; github = "sepi";

View File

@ -58,6 +58,9 @@ following incompatible changes:</para>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
The <literal>clementine</literal> package points now to the free derivation.
<literal>clementineFree</literal> is removed now and <literal>clementineUnfree</literal>
points to the package which is bundled with the unfree <literal>libspotify</literal> package.
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>

View File

@ -305,6 +305,7 @@
hass = 286; hass = 286;
monero = 287; monero = 287;
ceph = 288; ceph = 288;
duplicati = 289;
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
@ -578,6 +579,7 @@
hass = 286; hass = 286;
monero = 287; monero = 287;
ceph = 288; ceph = 288;
duplicati = 289;
# When adding a gid, make sure it doesn't match an existing # When adding a gid, make sure it doesn't match an existing
# uid. Users and groups with the same name should have equal # uid. Users and groups with the same name should have equal

View File

@ -86,6 +86,7 @@
./programs/freetds.nix ./programs/freetds.nix
./programs/gnupg.nix ./programs/gnupg.nix
./programs/gphoto2.nix ./programs/gphoto2.nix
./programs/iftop.nix
./programs/java.nix ./programs/java.nix
./programs/kbdlight.nix ./programs/kbdlight.nix
./programs/less.nix ./programs/less.nix
@ -159,6 +160,7 @@
./services/audio/ympd.nix ./services/audio/ympd.nix
./services/backup/bacula.nix ./services/backup/bacula.nix
./services/backup/borgbackup.nix ./services/backup/borgbackup.nix
./services/backup/duplicati.nix
./services/backup/crashplan.nix ./services/backup/crashplan.nix
./services/backup/crashplan-small-business.nix ./services/backup/crashplan-small-business.nix
./services/backup/mysql-backup.nix ./services/backup/mysql-backup.nix

View File

@ -0,0 +1,18 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.programs.iftop;
in {
options = {
programs.iftop.enable = mkEnableOption "iftop + setcap wrapper";
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.iftop ];
security.wrappers.iftop = {
source = "${pkgs.iftop}/bin/iftop";
capabilities = "cap_net_raw+p";
};
};
}

View File

@ -6,7 +6,7 @@ let
cfg = config.programs.less; cfg = config.programs.less;
configFile = '' configText = if (cfg.configFile != null) then (builtins.readFile cfg.configFile) else ''
#command #command
${concatStringsSep "\n" ${concatStringsSep "\n"
(mapAttrsToList (command: action: "${command} ${action}") cfg.commands) (mapAttrsToList (command: action: "${command} ${action}") cfg.commands)
@ -25,7 +25,7 @@ let
''; '';
lessKey = pkgs.runCommand "lesskey" lessKey = pkgs.runCommand "lesskey"
{ src = pkgs.writeText "lessconfig" configFile; } { src = pkgs.writeText "lessconfig" configText; }
"${pkgs.less}/bin/lesskey -o $out $src"; "${pkgs.less}/bin/lesskey -o $out $src";
in in
@ -37,6 +37,19 @@ in
enable = mkEnableOption "less"; enable = mkEnableOption "less";
configFile = mkOption {
type = types.nullOr types.path;
default = null;
example = literalExample "$${pkgs.my-configs}/lesskey";
description = ''
Path to lesskey configuration file.
<option>configFile</option> takes precedence over <option>commands</option>,
<option>clearDefaultCommands</option>, <option>lineEditingKeys</option>, and
<option>envVariables</option>.
'';
};
commands = mkOption { commands = mkOption {
type = types.attrsOf types.str; type = types.attrsOf types.str;
default = {}; default = {};

View File

@ -386,7 +386,7 @@ let
${optionalString (cfg.enableGnomeKeyring) ${optionalString (cfg.enableGnomeKeyring)
"session optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start"} "session optional ${pkgs.gnome3.gnome-keyring}/lib/security/pam_gnome_keyring.so auto_start"}
${optionalString (config.virtualisation.lxc.lxcfs.enable) ${optionalString (config.virtualisation.lxc.lxcfs.enable)
"session optional ${pkgs.lxcfs}/lib/security/pam_cgfs.so -c freezer,memory,name=systemd,unified,cpuset"} "session optional ${pkgs.lxc}/lib/security/pam_cgfs.so -c all"}
''); '');
}; };

View File

@ -0,0 +1,40 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.services.duplicati;
in
{
options = {
services.duplicati = {
enable = mkEnableOption "Duplicati";
};
};
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.duplicati ];
systemd.services.duplicati = {
description = "Duplicati backup";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
User = "duplicati";
Group = "duplicati";
ExecStart = "${pkgs.duplicati}/bin/duplicati-server --webservice-interface=any --webservice-port=8200 --server-datafolder=/var/lib/duplicati";
Restart = "on-failure";
};
};
users.extraUsers.duplicati = {
uid = config.ids.uids.duplicati;
home = "/var/lib/duplicati";
createHome = true;
group = "duplicati";
};
users.extraGroups.duplicati.gid = config.ids.gids.duplicati;
};
}

View File

@ -9,15 +9,16 @@ let
serverName = if vhostConfig.serverName != null serverName = if vhostConfig.serverName != null
then vhostConfig.serverName then vhostConfig.serverName
else vhostName; else vhostName;
acmeDirectory = config.security.acme.directory;
in in
vhostConfig // { vhostConfig // {
inherit serverName; inherit serverName;
} // (optionalAttrs vhostConfig.enableACME { } // (optionalAttrs vhostConfig.enableACME {
sslCertificate = "/var/lib/acme/${serverName}/fullchain.pem"; sslCertificate = "${acmeDirectory}/${serverName}/fullchain.pem";
sslCertificateKey = "/var/lib/acme/${serverName}/key.pem"; sslCertificateKey = "${acmeDirectory}/${serverName}/key.pem";
}) // (optionalAttrs (vhostConfig.useACMEHost != null) { }) // (optionalAttrs (vhostConfig.useACMEHost != null) {
sslCertificate = "/var/lib/acme/${vhostConfig.useACMEHost}/fullchain.pem"; sslCertificate = "${acmeDirectory}/${vhostConfig.useACMEHost}/fullchain.pem";
sslCertificateKey = "/var/lib/acme/${vhostConfig.useACMEHost}/key.pem"; sslCertificateKey = "${acmeDirectory}/${vhostConfig.useACMEHost}/key.pem";
}) })
) cfg.virtualHosts; ) cfg.virtualHosts;
enableIPv6 = config.networking.enableIPv6; enableIPv6 = config.networking.enableIPv6;

View File

@ -191,7 +191,7 @@ let
if out=$(ip addr add "${cidr}" dev "${i.name}" 2>&1); then if out=$(ip addr add "${cidr}" dev "${i.name}" 2>&1); then
echo "done" echo "done"
elif ! echo "$out" | grep "File exists" >/dev/null 2>&1; then elif ! echo "$out" | grep "File exists" >/dev/null 2>&1; then
echo "failed" echo "'ip addr add "${cidr}" dev "${i.name}"' failed: $out"
exit 1 exit 1
fi fi
'' ''
@ -212,7 +212,7 @@ let
if out=$(ip route add "${cidr}" ${options} ${via} dev "${i.name}" 2>&1); then if out=$(ip route add "${cidr}" ${options} ${via} dev "${i.name}" 2>&1); then
echo "done" echo "done"
elif ! echo "$out" | grep "File exists" >/dev/null 2>&1; then elif ! echo "$out" | grep "File exists" >/dev/null 2>&1; then
echo "failed" echo "'ip route add "${cidr}" ${options} ${via} dev "${i.name}"' failed: $out"
exit 1 exit 1
fi fi
'' ''

View File

@ -295,6 +295,7 @@ in rec {
tests.hound = callTest tests/hound.nix {}; tests.hound = callTest tests/hound.nix {};
tests.hocker-fetchdocker = callTest tests/hocker-fetchdocker {}; tests.hocker-fetchdocker = callTest tests/hocker-fetchdocker {};
tests.i3wm = callTest tests/i3wm.nix {}; tests.i3wm = callTest tests/i3wm.nix {};
tests.iftop = callTest tests/iftop.nix {};
tests.initrd-network-ssh = callTest tests/initrd-network-ssh {}; tests.initrd-network-ssh = callTest tests/initrd-network-ssh {};
tests.installer = callSubTests tests/installer.nix {}; tests.installer = callSubTests tests/installer.nix {};
tests.influxdb = callTest tests/influxdb.nix {}; tests.influxdb = callTest tests/influxdb.nix {};

View File

@ -151,11 +151,11 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
$machine->screenshot("sandbox_info"); $machine->screenshot("sandbox_info");
$machine->succeed(ru "${xdo "submit-url" '' $machine->succeed(ru "${xdo "find-window" ''
search --sync --onlyvisible --name "sandbox status" search --sync --onlyvisible --name "sandbox status"
windowfocus --sync windowfocus --sync
''}"); ''}");
$machine->succeed(ru "${xdo "submit-url" '' $machine->succeed(ru "${xdo "copy-sandbox-info" ''
key --delay 1000 Ctrl+a Ctrl+c key --delay 1000 Ctrl+a Ctrl+c
''}"); ''}");
@ -166,6 +166,26 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
&& $clipboard =~ /network namespaces.*yes/mi && $clipboard =~ /network namespaces.*yes/mi
&& $clipboard =~ /seccomp.*sandbox.*yes/mi && $clipboard =~ /seccomp.*sandbox.*yes/mi
&& $clipboard =~ /you are adequately sandboxed/mi; && $clipboard =~ /you are adequately sandboxed/mi;
$machine->sleep(1);
$machine->succeed(ru "${xdo "find-window-after-copy" ''
search --onlyvisible --name "sandbox status"
''}");
my $clipboard = $machine->succeed(ru "echo void | ${pkgs.xclip}/bin/xclip -i");
$machine->succeed(ru "${xdo "copy-sandbox-info" ''
key --delay 1000 Ctrl+a Ctrl+c
''}");
my $clipboard = $machine->succeed(ru "${pkgs.xclip}/bin/xclip -o");
die "copying twice in a row does not work properly: $clipboard"
unless $clipboard =~ /namespace sandbox.*yes/mi
&& $clipboard =~ /pid namespaces.*yes/mi
&& $clipboard =~ /network namespaces.*yes/mi
&& $clipboard =~ /seccomp.*sandbox.*yes/mi
&& $clipboard =~ /you are adequately sandboxed/mi;
$machine->screenshot("afer_copy_from_chromium");
}; };
$machine->shutdown; $machine->shutdown;

30
nixos/tests/iftop.nix Normal file
View File

@ -0,0 +1,30 @@
import ./make-test.nix ({ pkgs, lib, ... }:
with lib;
{
name = "iftop";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ ma27 ];
nodes = {
withIftop = {
imports = [ ./common/user-account.nix ];
programs.iftop.enable = true;
};
withoutIftop = {
imports = [ ./common/user-account.nix ];
};
};
testScript = ''
subtest "machine with iftop enabled", sub {
$withIftop->start;
$withIftop->succeed("su -l alice -c 'iftop -t -s 1'");
};
subtest "machine without iftop", sub {
$withoutIftop->start;
$withoutIftop->mustFail("su -l alice -c 'iftop -t -s 1'");
};
'';
})

View File

@ -76,6 +76,8 @@ let
enableParallelBuilding = true; enableParallelBuilding = true;
passthru.unfree = unfree;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://www.clementine-player.org; homepage = http://www.clementine-player.org;
description = "A multiplatform music player"; description = "A multiplatform music player";
@ -85,8 +87,8 @@ let
}; };
}; };
# Spotify blob for Clementine # Unfree Spotify blob for Clementine
blob = stdenv.mkDerivation { unfree = stdenv.mkDerivation {
name = "clementine-blob-${version}"; name = "clementine-blob-${version}";
# Use the same patches and sources as Clementine # Use the same patches and sources as Clementine
inherit src nativeBuildInputs postPatch; inherit src nativeBuildInputs postPatch;
@ -95,7 +97,7 @@ let
./clementine-spotify-blob.patch ./clementine-spotify-blob.patch
]; ];
buildInputs = buildInputs ++ [ libspotify ]; buildInputs = buildInputs ++ [ libspotify makeWrapper gst_plugins ];
# Only build and install the Spotify blob # Only build and install the Spotify blob
preBuild = '' preBuild = ''
cd ext/clementine-spotifyblob cd ext/clementine-spotifyblob
@ -104,6 +106,15 @@ let
mkdir -p $out/libexec/clementine mkdir -p $out/libexec/clementine
mv $out/bin/clementine-spotifyblob $out/libexec/clementine mv $out/bin/clementine-spotifyblob $out/libexec/clementine
rmdir $out/bin rmdir $out/bin
makeWrapper ${free}/bin/clementine $out/bin/clementine \
--set CLEMENTINE_SPOTIFYBLOB $out/libexec/clementine \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
mkdir -p $out/share
for dir in applications icons kde4; do
ln -s "$free/share/$dir" "$out/share/$dir"
done
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -116,34 +127,4 @@ let
}; };
}; };
in in free
with stdenv.lib;
runCommand "clementine-${version}"
{
inherit blob free;
buildInputs = [ makeWrapper ] ++ gst_plugins; # for the setup-hooks
dontPatchELF = true;
dontStrip = true;
meta = {
description = "A multiplatform music player"
+ " (" + (optionalString withSpotify "with Spotify, ")
+ "with gstreamer plugins: "
+ concatStrings (intersperse ", " (map (x: x.name) gst_plugins))
+ ")";
license = licenses.gpl3Plus;
inherit (free.meta) homepage platforms maintainers;
};
}
''
mkdir -p $out/bin
makeWrapper "$free/bin/${exeName}" "$out/bin/${exeName}" \
${optionalString withSpotify "--set CLEMENTINE_SPOTIFYBLOB \"$blob/libexec/clementine\""} \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
mkdir -p $out/share
for dir in applications icons kde4; do
ln -s "$free/share/$dir" "$out/share/$dir"
done
''

View File

@ -0,0 +1,68 @@
{ stdenv
, fetchurl
, makeWrapper
, perl
, perlPackages
, cdparanoia
, coreutils
, eject
, flac
, gnugrep
, nano
, sox
, vorbis-tools
, vorbisgain
, which
}:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "crip-3.9";
src = fetchurl {
url = "http://bach.dynet.com/crip/src/${name}.tar.gz";
sha256 = "0pk9152wll6fmkj1pki3fz3ijlf06jyk32v31yarwvdkwrk7s9xz";
};
buildInputs = [ perl perlPackages.CDDB_get ];
nativeBuildInputs = [ makeWrapper ];
toolDeps = makeBinPath [
cdparanoia
coreutils
eject
flac
gnugrep
sox
vorbis-tools
vorbisgain
which
];
scripts = [ "crip" "editcomment" "editfilenames" ];
installPhase = ''
mkdir -p $out/bin/
for script in ${escapeShellArgs scripts}; do
cp $script $out/bin/
substituteInPlace $out/bin/$script \
--replace '$editor = "vim";' '$editor = "${nano}/bin/nano";'
wrapProgram $out/bin/$script \
--set PERL5LIB "${makePerlPath [ perlPackages.CDDB_get ]}" \
--set PATH "${toolDeps}"
done
'';
meta = {
homepage = http://bach.dynet.com/crip/;
description = "Terminal-based ripper/encoder/tagger tool for creating Ogg Vorbis/FLAC files";
license = stdenv.lib.licenses.gpl1;
platforms = stdenv.lib.platforms.linux;
maintainers = [ maintainers.endgame ];
};
}

View File

@ -8,13 +8,13 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "freewheeling-${version}"; name = "freewheeling-${version}";
version = "0.6.2"; version = "0.6.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "free-wheeling"; owner = "free-wheeling";
repo = "freewheeling"; repo = "freewheeling";
rev = "v${version}"; rev = "v${version}";
sha256 = "01hmp0jxzxpb5sl0x91hdlwmbw9n4yffrpra4f89s4n8cixrz3d9"; sha256 = "1xflbbnjdibjmyxb1zq8liylaw5k03nnl1z3272jh204pqh17ri9";
}; };
nativeBuildInputs = [ pkgconfig autoreconfHook libtool ]; nativeBuildInputs = [ pkgconfig autoreconfHook libtool ];

View File

@ -104,9 +104,9 @@ let
}) (attrs: { }) (attrs: {
postFixup = (attrs.postFixup or "") + '' postFixup = (attrs.postFixup or "") + ''
interp="$(cat $NIX_CC/nix-support/dynamic-linker)" interp="$(cat $NIX_CC/nix-support/dynamic-linker)"
patchelf --set-interpreter $interp $out/goland*/plugins/intellij-go-plugin/lib/dlv/linux/dlv patchelf --set-interpreter $interp $out/goland*/plugins/go/lib/dlv/linux/dlv
chmod +x $out/goland*/plugins/intellij-go-plugin/lib/dlv/linux/dlv chmod +x $out/goland*/plugins/go/lib/dlv/linux/dlv
''; '';
}); });
@ -239,12 +239,12 @@ in
clion = buildClion rec { clion = buildClion rec {
name = "clion-${version}"; name = "clion-${version}";
version = "2017.3.4"; /* updated by script */ version = "2018.1"; /* updated by script */
description = "C/C++ IDE. New. Intelligent. Cross-platform"; description = "C/C++ IDE. New. Intelligent. Cross-platform";
license = stdenv.lib.licenses.unfree; license = stdenv.lib.licenses.unfree;
src = fetchurl { src = fetchurl {
url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"; url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
sha256 = "1yxjvsp89mkk7gghbz5lqh7bbqi6l1ihg876c60bhqg0f5m98zcg"; /* updated by script */ sha256 = "1mwajah0qghkw2f4hap5f35x826h8318a0bjbn9lpknffgfi0zc3"; /* updated by script */
}; };
wmClass = "jetbrains-clion"; wmClass = "jetbrains-clion";
update-channel = "CLion_Release"; # channel's id as in http://www.jetbrains.com/updates/updates.xml update-channel = "CLion_Release"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
@ -265,12 +265,12 @@ in
goland = buildGoland rec { goland = buildGoland rec {
name = "goland-${version}"; name = "goland-${version}";
version = "2017.3.3"; /* updated by script */ version = "2018.1"; /* updated by script */
description = "Up and Coming Go IDE"; description = "Up and Coming Go IDE";
license = stdenv.lib.licenses.unfree; license = stdenv.lib.licenses.unfree;
src = fetchurl { src = fetchurl {
url = "https://download.jetbrains.com/go/${name}.tar.gz"; url = "https://download.jetbrains.com/go/${name}.tar.gz";
sha256 = "073wwhg58hkd8w4jazvwngl78gbhnmilm63jhpirr98jk7i7a4mq"; /* updated by script */ sha256 = "0r008q3dn30zbn9zzyjj6pz3myxrb9i1s96kinj9vy0cj7gb0aai"; /* updated by script */
}; };
wmClass = "jetbrains-goland"; wmClass = "jetbrains-goland";
update-channel = "goland_release"; update-channel = "goland_release";
@ -278,12 +278,12 @@ in
idea-community = buildIdea rec { idea-community = buildIdea rec {
name = "idea-community-${version}"; name = "idea-community-${version}";
version = "2017.3.5"; /* updated by script */ version = "2018.1"; /* updated by script */
description = "Integrated Development Environment (IDE) by Jetbrains, community edition"; description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
license = stdenv.lib.licenses.asl20; license = stdenv.lib.licenses.asl20;
src = fetchurl { src = fetchurl {
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz"; url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
sha256 = "124rzc46f4bqyhllwyb26lkavh7zwbj62axrwhif34rayl2rcmpm"; /* updated by script */ sha256 = "08dlyf2zfgcbbbnadx5x0n877diyglg9h7h39njcw4ajh4aninyq"; /* updated by script */
}; };
wmClass = "jetbrains-idea-ce"; wmClass = "jetbrains-idea-ce";
update-channel = "IDEA_Release"; update-channel = "IDEA_Release";
@ -291,12 +291,12 @@ in
idea-ultimate = buildIdea rec { idea-ultimate = buildIdea rec {
name = "idea-ultimate-${version}"; name = "idea-ultimate-${version}";
version = "2017.3.5"; /* updated by script */ version = "2018.1"; /* updated by script */
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license"; description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
license = stdenv.lib.licenses.unfree; license = stdenv.lib.licenses.unfree;
src = fetchurl { src = fetchurl {
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jdk.tar.gz"; url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jdk.tar.gz";
sha256 = "10r3z37mhr8daxi14k011bhx3pxpx3lsj7jvikwll4wjlv1znhiw"; /* updated by script */ sha256 = "1483w692n29v22f5vchh8fbizwn74wlznd5pvlscxs4ly9af7935"; /* updated by script */
}; };
wmClass = "jetbrains-idea"; wmClass = "jetbrains-idea";
update-channel = "IDEA_Release"; update-channel = "IDEA_Release";
@ -304,12 +304,12 @@ in
phpstorm = buildPhpStorm rec { phpstorm = buildPhpStorm rec {
name = "phpstorm-${version}"; name = "phpstorm-${version}";
version = "2017.3.5"; /* updated by script */ version = "2017.3.6"; /* updated by script */
description = "Professional IDE for Web and PHP developers"; description = "Professional IDE for Web and PHP developers";
license = stdenv.lib.licenses.unfree; license = stdenv.lib.licenses.unfree;
src = fetchurl { src = fetchurl {
url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz"; url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
sha256 = "1mcq8n7rd074aghmiyqf1yg3qvs28w97kk4dygj2a46y3s1ha4cd"; /* updated by script */ sha256 = "00g86fggh8wfm02k9wwn33yqmbfr2b1x3vnvyn9gdpycdk46lqgw"; /* updated by script */
}; };
wmClass = "jetbrains-phpstorm"; wmClass = "jetbrains-phpstorm";
update-channel = "PS2017.3"; update-channel = "PS2017.3";
@ -317,12 +317,12 @@ in
pycharm-community = buildPycharm rec { pycharm-community = buildPycharm rec {
name = "pycharm-community-${version}"; name = "pycharm-community-${version}";
version = "2017.3.4"; /* updated by script */ version = "2018.1"; /* updated by script */
description = "PyCharm Community Edition"; description = "PyCharm Community Edition";
license = stdenv.lib.licenses.asl20; license = stdenv.lib.licenses.asl20;
src = fetchurl { src = fetchurl {
url = "https://download.jetbrains.com/python/${name}.tar.gz"; url = "https://download.jetbrains.com/python/${name}.tar.gz";
sha256 = "027w73qrrj7aml2kdj3sx890q7jyj2jfnsg0pivi7i4kh8i11204"; /* updated by script */ sha256 = "0f3chibs7lp3kgkd0ah6d7z1lf3n4scalmadpxcn0fd6bap5mnjb"; /* updated by script */
}; };
wmClass = "jetbrains-pycharm-ce"; wmClass = "jetbrains-pycharm-ce";
update-channel = "PyCharm_Release"; update-channel = "PyCharm_Release";
@ -330,12 +330,12 @@ in
pycharm-professional = buildPycharm rec { pycharm-professional = buildPycharm rec {
name = "pycharm-professional-${version}"; name = "pycharm-professional-${version}";
version = "2017.3.4"; /* updated by script */ version = "2018.1"; /* updated by script */
description = "PyCharm Professional Edition"; description = "PyCharm Professional Edition";
license = stdenv.lib.licenses.unfree; license = stdenv.lib.licenses.unfree;
src = fetchurl { src = fetchurl {
url = "https://download.jetbrains.com/python/${name}.tar.gz"; url = "https://download.jetbrains.com/python/${name}.tar.gz";
sha256 = "0040ryx7kj64vwc10gvns43f1c97dvrgnwlmdm1m1506ldvaw0si"; /* updated by script */ sha256 = "0lq5bqnfxj02sbd4yaf3ma6nps7cnf0d11dzqjv9m6b41y55dp0k"; /* updated by script */
}; };
wmClass = "jetbrains-pycharm"; wmClass = "jetbrains-pycharm";
update-channel = "PyCharm_Release"; update-channel = "PyCharm_Release";
@ -369,12 +369,12 @@ in
webstorm = buildWebStorm rec { webstorm = buildWebStorm rec {
name = "webstorm-${version}"; name = "webstorm-${version}";
version = "2017.3.5"; /* updated by script */ version = "2018.1"; /* updated by script */
description = "Professional IDE for Web and JavaScript development"; description = "Professional IDE for Web and JavaScript development";
license = stdenv.lib.licenses.unfree; license = stdenv.lib.licenses.unfree;
src = fetchurl { src = fetchurl {
url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"; url = "https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz";
sha256 = "123v4m8p7acndj8p8frn1bjvycijlx904pa84ka9pv18c90qiym9"; /* updated by script */ sha256 = "1lx852gycrzajh58k1r2wfpwwjna6y3fsd5srw5fgzw58f120vn4"; /* updated by script */
}; };
wmClass = "jetbrains-webstorm"; wmClass = "jetbrains-webstorm";
update-channel = "WS_Release"; update-channel = "WS_Release";

View File

@ -2,7 +2,7 @@
makeWrapper, libXScrnSaver, libxkbfile, libsecret }: makeWrapper, libXScrnSaver, libxkbfile, libsecret }:
let let
version = "1.21.1"; version = "1.22.1";
channel = "stable"; channel = "stable";
plat = { plat = {
@ -12,9 +12,9 @@ let
}.${stdenv.system}; }.${stdenv.system};
sha256 = { sha256 = {
"i686-linux" = "0c5wh6i4yl601hg0r1c8y25lz7j2p4vhisdnvnx9nzd6v4ib27cj"; "i686-linux" = "1w1ywf21vcwmfq5ngag1y076nxbdqg3qav90ilxgd3dkv5j6fkjr";
"x86_64-linux" = "19i0wkl0qccq2cm10khy0xxb53a6g2m061g71y54s4cxb4wimc9l"; "x86_64-linux" = "14phpsrkkv09dgr7phqhgjzfhm3zzbh3w2yhyng0cj3vwzysikcs";
"x86_64-darwin" = "0d1ws4c3n80gypiarqbylyipg273ssc0m29jnrg7hx1mcy5ljb1i"; "x86_64-darwin" = "0fqsr4ramanl7v1damf01zkmg75s9nlfkj6298h9sjvhc93pfcll";
}.${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";

View File

@ -1,12 +1,13 @@
{ stdenv, fetchFromGitHub, gdal, cmake, ninja, proj, clipper, zlib, qtbase, qttools { stdenv, fetchFromGitHub, gdal, cmake, ninja, proj, clipper, zlib, qtbase, qttools
, qtlocation, qtsensors, doxygen, cups, makeWrapper , qtlocation, qtsensors, doxygen, cups, makeWrapper, qtimageformats
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "OpenOrienteering-Mapper-${version}"; name = "OpenOrienteering-Mapper-${version}";
version = "0.8.1"; version = "0.8.1.2";
buildInputs = [ gdal qtbase qttools qtlocation qtsensors clipper zlib proj doxygen cups]; buildInputs = [ gdal qtbase qttools qtlocation qtimageformats
qtsensors clipper zlib proj doxygen cups];
nativeBuildInputs = [ cmake makeWrapper ninja ]; nativeBuildInputs = [ cmake makeWrapper ninja ];
@ -14,7 +15,7 @@ stdenv.mkDerivation rec {
owner = "OpenOrienteering"; owner = "OpenOrienteering";
repo = "mapper"; repo = "mapper";
rev = "v${version}"; rev = "v${version}";
sha256 = "10viw8bddl76mc2gh84jsl7h237yzvh4nim61pbd63vg1hlqisi6"; sha256 = "0f7zxzl2n46qy86k6n3f6a7l1nhba58i28l8ngp3drf74qffaa33";
}; };
cmakeFlags = cmakeFlags =
@ -48,19 +49,20 @@ stdenv.mkDerivation rec {
# Fixes "This application failed to start because it could not find or load the Qt # Fixes "This application failed to start because it could not find or load the Qt
# platform plugin "cocoa"." # platform plugin "cocoa"."
wrapProgram $out/Mapper.app/Contents/MacOS/Mapper \ wrapProgram $out/Mapper.app/Contents/MacOS/Mapper \
--set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms --set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms \
--set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtimageformats}/${qtbase.qtPluginPrefix}
mkdir -p $out/bin mkdir -p $out/bin
ln -s $out/Mapper.app/Contents/MacOS/Mapper $out/bin/mapper ln -s $out/Mapper.app/Contents/MacOS/Mapper $out/bin/mapper
''; '';
meta = { meta = with stdenv.lib; {
description = '' description = ''
OpenOrienteering Mapper is an orienteering mapmaking program OpenOrienteering Mapper is an orienteering mapmaking program
and provides a free alternative to the existing proprietary solution. and provides a free alternative to the existing proprietary solution.
''; '';
homepage = https://www.openorienteering.org/apps/mapper/; homepage = https://www.openorienteering.org/apps/mapper/;
license = stdenv.lib.licenses.gpl3; license = licenses.gpl3;
platforms = with stdenv.lib.platforms; darwin; platforms = with platforms; linux ++ darwin;
maintainers = with stdenv.lib.maintainers; [mpickering]; maintainers = with maintainers; [mpickering];
}; };
} }

View File

@ -18,12 +18,12 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "3.6.1"; version = "3.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "nomacs"; owner = "nomacs";
repo = "nomacs"; repo = "nomacs";
rev = version; rev = version;
sha256 = "0yli05hhmd57v3mynq78nmr15rbpm0vadv273pavmcnayv86yl44"; sha256 = "1irms980d7acdqrfn8isw55vgc4d9n26ff86887vk7xfvxs0ayla";
}; };
name = "nomacs-${version}"; name = "nomacs-${version}";
@ -34,8 +34,6 @@ stdenv.mkDerivation rec {
sourceRoot=$(echo */ImageLounge) sourceRoot=$(echo */ImageLounge)
''; '';
patches = [./fix-appdata-install.patch];
nativeBuildInputs = [cmake nativeBuildInputs = [cmake
pkgconfig pkgconfig
wrapGAppsHook]; wrapGAppsHook];

View File

@ -1,13 +0,0 @@
diff --git a/cmake/UnixBuildTarget.cmake b/cmake/UnixBuildTarget.cmake
index 3521056a..34f99ed9 100644
--- a/cmake/UnixBuildTarget.cmake
+++ b/cmake/UnixBuildTarget.cmake
@@ -80,7 +80,7 @@ install(FILES ${NOMACS_QM} DESTINATION share/nomacs/translations)
# manpage
install(FILES Readme/nomacs.1 DESTINATION share/man/man1)
# appdata
-install(FILES nomacs.appdata.xml DESTINATION /usr/share/appdata/)
+install(FILES nomacs.appdata.xml DESTINATION share/appdata/)
# "make dist" target
string(TOLOWER ${PROJECT_NAME} CPACK_PACKAGE_NAME)

View File

@ -16,7 +16,7 @@ mkDerivation {
platforms = platforms.linux; platforms = platforms.linux;
}; };
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
propagatedBuildInputs = [ buildInputs = [
# qt # qt
qtwebkit qtwebkit
# kde # kde
@ -32,11 +32,17 @@ mkDerivation {
]; ];
propagatedUserEnvPkgs = [ (lib.getBin kinit) ]; propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
postFixup = postFixup =
let k3bPath = lib.makeBinPath [ let
cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode binPath = lib.makeBinPath [
vcdimager cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode
]; vcdimager flac
];
libraryPath = lib.makeLibraryPath [
cdparanoia
];
in '' in ''
wrapProgram "$out/bin/k3b" --prefix PATH : "${k3bPath}" wrapProgram "$out/bin/k3b" \
--prefix PATH : "${binPath}" \
--prefix LD_LIBRARY_PATH : ${libraryPath}
''; '';
} }

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, qt4, qmake4Hook }: { stdenv, fetchurl, qt4, qmake4Hook }:
let version = "0.6.1"; in let version = "0.6.4"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "confclerk-${version}"; name = "confclerk-${version}";
src = fetchurl { src = fetchurl {
url = "http://www.toastfreeware.priv.at/tarballs/confclerk/confclerk-${version}.tar.gz"; url = "http://www.toastfreeware.priv.at/tarballs/confclerk/confclerk-${version}.tar.gz";
sha256 = "1wprndshmc7k1919n7k93c4ha2jp171q31gx7xsbzx7g4sw6432g"; sha256 = "10rhg44px4nvbkd3p341cmp2ds43jn8r4rvgladda9v8zmsgr2b3";
}; };
buildInputs = [ qt4 ]; buildInputs = [ qt4 ];

View File

@ -5,11 +5,11 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
name = "electrum-ltc-${version}"; name = "electrum-ltc-${version}";
version = "3.0.6.2"; version = "3.1.2.1";
src = fetchurl { src = fetchurl {
url = "https://electrum-ltc.org/download/Electrum-LTC-${version}.tar.gz"; url = "https://electrum-ltc.org/download/Electrum-LTC-${version}.tar.gz";
sha256 = "1bay4vfkanxsa8pj8n99sj55yc59s84nns97lbvagyp0p0lclia7"; sha256 = "0sdql4k8g3py941rzdskm3k4hkwam4hzvg4qlvs0b5pw139mri86";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, gtk3, pythonPackages, intltool, { stdenv, fetchFromGitHub, gtk3, pythonPackages, intltool, gnome3,
pango, gsettings-desktop-schemas, pango, gsettings-desktop-schemas, gobjectIntrospection, wrapGAppsHook,
# Optional packages: # Optional packages:
enableOSM ? true, osm-gps-map enableOSM ? true, osm-gps-map
}: }:
@ -10,14 +10,12 @@ in buildPythonApplication rec {
version = "4.2.8"; version = "4.2.8";
name = "gramps-${version}"; name = "gramps-${version}";
buildInputs = [ intltool gtk3 ] nativeBuildInputs = [ wrapGAppsHook ];
buildInputs = [ intltool gtk3 gobjectIntrospection pango gnome3.gexiv2 ]
# Map support # Map support
++ stdenv.lib.optional enableOSM osm-gps-map ++ stdenv.lib.optional enableOSM osm-gps-map
; ;
# Currently broken
doCheck = false;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "gramps-project"; owner = "gramps-project";
repo = "gramps"; repo = "gramps";
@ -25,7 +23,7 @@ in buildPythonApplication rec {
sha256 = "17y6rjvvcz7lwjck4f5nmhnn07i9k5vzk5dp1jk7j3ldxjagscsd"; sha256 = "17y6rjvvcz7lwjck4f5nmhnn07i9k5vzk5dp1jk7j3ldxjagscsd";
}; };
pythonPath = with pythonPackages; [ bsddb3 PyICU pygobject3 pycairo ] ++ [ pango ]; pythonPath = with pythonPackages; [ bsddb3 PyICU pygobject3 pycairo ];
# Same installPhase as in buildPythonApplication but without --old-and-unmanageble # Same installPhase as in buildPythonApplication but without --old-and-unmanageble
# install flag. # install flag.
@ -51,13 +49,6 @@ in buildPythonApplication rec {
runHook postInstall runHook postInstall
''; '';
# gobjectIntrospection package, wrap accordingly
preFixup = ''
wrapProgram $out/bin/gramps \
--prefix GI_TYPELIB_PATH : "$GI_TYPELIB_PATH" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share"
'';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Genealogy software"; description = "Genealogy software";
homepage = http://gramps-project.org; homepage = http://gramps-project.org;

View File

@ -2,11 +2,11 @@
, desktop-file-utils, libSM, imagemagick }: , desktop-file-utils, libSM, imagemagick }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "17.12"; version = "18.03.1";
name = "mediainfo-gui-${version}"; name = "mediainfo-gui-${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 = "1pxdf0ny3c38gl513zdiaagpvk4bqnsc2fn7476yjdpv2lxsw56f"; sha256 = "1mpwbqvw6awni5jq7i5yqvf6wgwjc37sl42q20rdq2agdlslqrkr";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];

View File

@ -1,10 +1,14 @@
{ stdenv, fetchurl, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }: { stdenv, fetchFromGitHub, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "pcmanx-gtk2-1.3"; name = "pcmanx-gtk2-${version}";
src = fetchurl { version = "1.3";
url = "https://github.com/pcman-bbs/pcmanx/archive/1.3.tar.gz";
sha256 = "2e5c59f6b568036f2ad6ac67ca2a41dfeeafa185451e507f9fb987d4ed9c4302"; src = fetchFromGitHub {
owner = "pcman-bbs";
repo = "pcmanx";
rev = version;
sha256 = "0fbwd149wny67rfhczz4cbh713a1qnswjiz7b6c2bxfcwh51f9rc";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
@ -12,6 +16,8 @@ stdenv.mkDerivation {
preConfigure = '' preConfigure = ''
./autogen.sh ./autogen.sh
# libtoolize generates configure script which uses older version of automake, we need to autoreconf it
cd libltdl; autoreconf; cd ..
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,14 +1,14 @@
{ stdenv, fetchurl, qt5 }: { stdenv, fetchurl, qt5 }:
let let
version = "1.10.01"; version = "1.40.13";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "qtbitcointrader-${version}"; name = "qtbitcointrader-${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz"; url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
sha256 = "0pgj8rsk9yxvls7yjpzblzbci2vvd0mlf9c7wdbjhwf6qyi7dfi3"; sha256 = "0d6b9ls742nghzg5y97dx7myvv8i88f0s27lhr52yy4833hdxdwn";
}; };
buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ]; buildInputs = [ qt5.qtbase qt5.qtmultimedia qt5.qtscript ];

View File

@ -1,4 +1,4 @@
{ lib, buildPythonApplication, fetchPypi, pythonPackages }: { lib, buildPythonApplication, fetchPypi, pythonPackages, ffmpeg }:
buildPythonApplication rec { buildPythonApplication rec {
version = "1.4.0"; version = "1.4.0";
@ -20,6 +20,8 @@ buildPythonApplication rec {
blinker blinker
]; ];
makeWrapperArgs = [ "--prefix PATH : ${ffmpeg}/bin" ];
# No tests included # No tests included
doCheck = false; doCheck = false;

View File

@ -0,0 +1,23 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
name = "todiff-${version}";
version = "0.4.0";
src = fetchFromGitHub {
owner = "Ekleog";
repo = "todiff";
rev = version;
sha256 = "0n3sifinwhny651q1v1a6y9ybim1b0nd5s1z26sigjdhdvxckn65";
};
cargoSha256 = "0mxdpn98fvmxrp656vwxvzl9vprz5mvqj7d1hvvs4gsjrsiyp0fy";
meta = with stdenv.lib; {
description = "Human-readable diff for todo.txt files";
homepage = "https://github.com/Ekleog/todiff";
maintainers = with maintainers; [ ekleog ];
license = licenses.mit;
platforms = platforms.all;
};
}

View File

@ -132,7 +132,7 @@ let
else else
for res in 16 32 48 64 128; do for res in 16 32 48 64 128; do
mkdir -p "$out/share/icons/hicolor/''${res}x''${res}/apps" mkdir -p "$out/share/icons/hicolor/''${res}x''${res}/apps"
ln -s "${browser}/lib/${browserName}/browser/chrome/icons/default/default''${res}.png" \ ln -s "${browser}/lib/"*"/browser/chrome/icons/default/default''${res}.png" \
"$out/share/icons/hicolor/''${res}x''${res}/apps/${browserName}.png" "$out/share/icons/hicolor/''${res}x''${res}/apps/${browserName}.png"
done done
fi fi

View File

@ -0,0 +1,61 @@
{stdenv, fetchFromGitHub, pkgconfig, wrapGAppsHook, makeWrapper
,help2man, lua5, luafilesystem, luajit, sqlite
,webkitgtk, gtk3, gst_all_1}:
let
lualibs = [luafilesystem];
getPath = lib : type : "${lib}/lib/lua/${lua5.luaversion}/?.${type};${lib}/share/lua/${lua5.luaversion}/?.${type}";
getLuaPath = lib : getPath lib "lua";
getLuaCPath = lib : getPath lib "so";
luaPath = stdenv.lib.concatStringsSep ";" (map getLuaPath lualibs);
luaCPath = stdenv.lib.concatStringsSep ";" (map getLuaCPath lualibs);
in stdenv.mkDerivation rec {
name = "luakit-${version}";
version = "2017.08.10";
src = fetchFromGitHub {
owner = "luakit";
repo = "luakit";
rev = "${version}";
sha256 = "09z88b50vf2y64vj79cymknyzk3py6azv4r50jng4cw9jx2ray7r";
};
nativeBuildInputs = [pkgconfig help2man wrapGAppsHook makeWrapper];
buildInputs = [webkitgtk lua5 luafilesystem luajit sqlite gtk3
gst_all_1.gstreamer gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly
gst_all_1.gst-libav
];
postPatch =
#Kind of ugly seds here. There must be a better solution.
''
patchShebangs ./build-utils
sed -i "2 s|require \"lib.lousy.util\"|dofile(\"./lib/lousy/util.lua\")|" ./build-utils/docgen/gen.lua;
sed -i "3 s|require \"lib.markdown\"|dofile(\"./lib/markdown.lua\")|" ./build-utils/docgen/gen.lua;
sed -i "1,2 s|require(\"lib.lousy.util\")|dofile(\"./lib/lousy/util.lua\")|" ./build-utils/find_files.lua;
'';
buildPhase = ''
make DEVELOPMENT_PATHS=0 USE_LUAJIT=1 INSTALLDIR=$out PREFIX=$out USE_GTK3=1
'';
installPhase = let
luaKitPath = "$out/share/luakit/lib/?/init.lua;$out/share/luakit/lib/?.lua";
in ''
make DEVELOPMENT_PATHS=0 INSTALLDIR=$out PREFIX=$out XDGPREFIX=$out/etc/xdg USE_GTK3=1 install
wrapProgram $out/bin/luakit \
--prefix XDG_CONFIG_DIRS : "$out/etc/xdg" \
--set LUA_PATH '${luaKitPath};${luaPath};' \
--set LUA_CPATH '${luaCPath};'
'';
meta = with stdenv.lib; {
description = "Fast, small, webkit based browser framework extensible in Lua";
homepage = "http://luakit.org";
license = licenses.gpl3;
platforms = platforms.linux; # Only tested linux
};
}

View File

@ -0,0 +1,28 @@
{ darwin, fetchFromGitHub, rustPlatform, stdenv }:
with rustPlatform;
buildRustPackage rec {
name = "click-${version}";
version = "0.3.1";
rev = "b5dfb4a8f8344330a098cb61523695dfe0fd296a";
src = fetchFromGitHub {
owner = "databricks";
repo = "click";
sha256 = "0a2hq4hcxkkx7gs5dv7sr3j5jy2dby4r6y090z7zl2xy5wydr7bi";
inherit rev;
};
cargoSha256 = "03vgbkv9xsnx44vivbbhjgxv9drp0yjnimgy6hwm32x74r00k3hj";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
meta = with stdenv.lib; {
description = ''The "Command Line Interactive Controller for Kubernetes"'';
homepage = https://github.com/databricks/click;
license = [ licenses.asl20 ];
maintainers = [ maintainers.mbode ];
platforms = [ "x86_64-linux" "x86_64-darwin" ];
};
}

View File

@ -4,8 +4,8 @@ let
mkTelegram = args: qt5.callPackage (import ./generic.nix args) { }; mkTelegram = args: qt5.callPackage (import ./generic.nix args) { };
stableVersion = { stableVersion = {
stable = true; stable = true;
version = "1.2.15"; version = "1.2.17";
sha256Hash = "18srw7g8h5zmc0plzqd03aijaylrsfaybraw97b1w9hj4lf2bl92"; sha256Hash = "1lswjn3rnrbps1pd2xhnhggcn1z0i7y71dpr0v9wb1yc8qhh4pi0";
# svn log svn://svn.archlinux.org/community/telegram-desktop/trunk # svn log svn://svn.archlinux.org/community/telegram-desktop/trunk
archPatchesRevision = "310557"; archPatchesRevision = "310557";
archPatchesHash = "1v134dal3xiapgh3akfr61vh62j24m9vkb62kckwvap44iqb0hlk"; archPatchesHash = "1v134dal3xiapgh3akfr61vh62j24m9vkb62kckwvap44iqb0hlk";

View File

@ -0,0 +1,61 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, gtk3, gmime, gnutls,
webkitgtk, libesmtp, openssl, libnotify, enchant, gpgme,
libcanberra-gtk3, libsecret, gtksourceview, gobjectIntrospection,
hicolor-icon-theme, wrapGAppsHook
}:
stdenv.mkDerivation rec {
name = "balsa-${version}";
version = "2.5.5";
src = fetchurl {
url = "https://pawsa.fedorapeople.org/balsa/${name}.tar.bz2";
sha256 = "0p4w81wvdxqhynkninzglsgqk6920x1zif2zmw8bml410lav2azz";
};
nativeBuildInputs = [
pkgconfig
intltool
gobjectIntrospection
hicolor-icon-theme
wrapGAppsHook
];
buildInputs = [
glib
gtk3
gmime
gnutls
webkitgtk
openssl
libnotify
enchant
gpgme
libcanberra-gtk3
gtksourceview
libsecret
libesmtp
];
configureFlags = [
"--with-canberra"
"--with-gpgme"
"--with-gtksourceview"
"--with-libsecret"
"--with-ssl"
"--with-unique"
"--without-gnome"
];
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = http://pawsa.fedorapeople.org/balsa/;
description = "An e-mail client for GNOME";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}

View File

@ -2,7 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "inboxer-${version}"; name = "inboxer-${version}";
version = "1.0.3"; version = "1.0.4";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Unofficial, free and open-source Google Inbox Desktop App"; description = "Unofficial, free and open-source Google Inbox Desktop App";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://github.com/denysdovhan/inboxer/releases/download/v${version}/inboxer_${version}_amd64.deb"; url = "https://github.com/denysdovhan/inboxer/releases/download/v${version}/inboxer_${version}_amd64.deb";
sha256 = "1k2wgvs17lfxqmk0v7g8cf34h5ahr41vaibgb4a6ixay41hfx06d"; sha256 = "0i6qmrnga80q8s6dabfgh0fcdnc2wpj948za04zi1ajv4fjwjh0n";
}; };
unpackPhase = '' unpackPhase = ''

View File

@ -40,6 +40,8 @@ stdenv.mkDerivation rec {
++ optionals (!stdenv.isDarwin) [ gdb man ]; # test dependencies ++ optionals (!stdenv.isDarwin) [ gdb man ]; # test dependencies
postPatch = '' postPatch = ''
patchShebangs configure
find test/ -type f -exec \ find test/ -type f -exec \
sed -i \ sed -i \
-e "1s|#!/usr/bin/env bash|#!${bash}/bin/bash|" \ -e "1s|#!/usr/bin/env bash|#!${bash}/bin/bash|" \

View File

@ -8,11 +8,11 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sylpheed-${version}"; name = "sylpheed-${version}";
version = "3.6.0"; version = "3.7.0";
src = fetchurl { src = fetchurl {
url = "http://sylpheed.sraoss.jp/sylpheed/v3.6/${name}.tar.bz2"; url = "http://sylpheed.sraoss.jp/sylpheed/v3.7/${name}.tar.xz";
sha256 = "0idk9nz3d200l2bxc38vnxlx0wcslrvncy9lk50vz7dl8c5sg97b"; sha256 = "0j9y5vdzch251s264diw9clrn88dn20bqqkwfmis9l7m8vmwasqd";
}; };
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];

View File

@ -12,7 +12,7 @@ assert withQt -> !withGtk && qt5 != null;
with stdenv.lib; with stdenv.lib;
let let
version = "2.4.5"; version = "2.4.6";
variant = if withGtk then "gtk" else if withQt then "qt" else "cli"; variant = if withGtk then "gtk" else if withQt then "qt" else "cli";
in stdenv.mkDerivation { in stdenv.mkDerivation {
@ -20,7 +20,7 @@ in stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
url = "http://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz"; url = "http://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz";
sha256 = "1mvgy67rvnwj2kbc43s4il81jvz5ai0bx2j3j2js7x50zclyrcmk"; sha256 = "1znmjg40pf81ks9lnm6ilx0cy32xan5g19gbqkkhj35whb95z5lf";
}; };
cmakeFlags = [ cmakeFlags = [

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "picard-tools-${version}"; name = "picard-tools-${version}";
version = "2.17.11"; version = "2.18.1";
src = fetchurl { src = fetchurl {
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar"; url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
sha256 = "1p50bzkwq5hrwal6i679yrkdqkh5hk4bb9l9gdff2x2i761v9y9b"; sha256 = "0wcihlgaif79r0fa47kq77igxzq0lpyn74414v9n6k9rl5nj8x1a";
}; };
buildInputs = [ jre makeWrapper ]; buildInputs = [ jre makeWrapper ];

View File

@ -70,6 +70,9 @@ mkDerivation (common "tamarin-prover" src // {
postInstall = '' postInstall = ''
wrapProgram $out/bin/tamarin-prover \ wrapProgram $out/bin/tamarin-prover \
--prefix PATH : ${lib.makeBinPath [ which maude graphviz sapic ]} --prefix PATH : ${lib.makeBinPath [ which maude graphviz sapic ]}
# so that the package can be used as a vim plugin to install syntax coloration
install -Dt $out/share/vim-plugins/tamarin-prover/syntax/ etc/{spthy,sapic}.vim
install etc/filetype.vim -D $out/share/vim-plugins/tamarin-prover/ftdetect/tamarin.vim
''; '';
checkPhase = "./dist/build/tamarin-prover/tamarin-prover test"; checkPhase = "./dist/build/tamarin-prover/tamarin-prover test";

View File

@ -3,14 +3,13 @@
, gmp, mpfr, glog, google-gflags, libjpeg_turbo }: , gmp, mpfr, glog, google-gflags, libjpeg_turbo }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "openmvs-unstable-2017-05-01"; name = "openmvs-unstable-2018-05-26";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cdcseacave"; owner = "cdcseacave";
repo = "openmvs"; repo = "openmvs";
rev = "939033c55b50478339084431aac2c2318041afad";
rev = "a3b360016660a1397f6eb6c070c2c19bbb4c7590"; sha256 = "12dgkwwfdp24581y3i41gsd1k9hq0aw917q0ja5s0if4qbmc8pni";
sha256 = "170ff4ipix2kqq5rhb1yrrcvc79im9qgp5hiwsdr23xxzdl21221";
}; };
buildInputs = [ eigen opencv ceres-solver cgal boost vcg gmp mpfr glog google-gflags libjpeg_turbo ]; buildInputs = [ eigen opencv ceres-solver cgal boost vcg gmp mpfr glog google-gflags libjpeg_turbo ];

View File

@ -13,7 +13,7 @@
}: }:
let let
version = "2.16.3"; version = "2.17.0";
svn = subversionClient.override { perlBindings = true; }; svn = subversionClient.override { perlBindings = true; };
in in
@ -22,7 +22,7 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz"; url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
sha256 = "0j1dwvg5llnj3g0fp8hdgpms4hp90qw9f6509vqw30dhwplrjpfn"; sha256 = "1ismz7nsz8dgjmk782xr9s0mr2qh06f72pdcgbxfmnw1bvlya5p9";
}; };
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];

View File

@ -2,19 +2,19 @@ This patch does two things: (1) use the right name for `docbook2texi',
and (2) make sure `gitman.info' isn't produced since it's broken (duplicate and (2) make sure `gitman.info' isn't produced since it's broken (duplicate
node names). node names).
diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile diff --git a/Documentation/Makefile b/Documentation/Makefile
--- git-1.8.4-orig/Documentation/Makefile 2013-08-23 21:38:43.000000000 +0200 --- a/Documentation/Makefile
+++ git-1.8.4/Documentation/Makefile 2013-09-30 14:48:51.532890378 +0200 +++ b/Documentation/Makefile
@@ -101,7 +101,7 @@ @@ -122,7 +122,7 @@
MAKEINFO = makeinfo MAKEINFO = makeinfo
INSTALL_INFO = install-info INSTALL_INFO = install-info
-DOCBOOK2X_TEXI = docbook2x-texi -DOCBOOK2X_TEXI = docbook2x-texi
+DOCBOOK2X_TEXI = docbook2texi +DOCBOOK2X_TEXI = docbook2texi
DBLATEX = dblatex DBLATEX = dblatex
ifndef PERL_PATH ASCIIDOC_DBLATEX_DIR = /etc/asciidoc/dblatex
PERL_PATH = /usr/bin/perl DBLATEX_COMMON = -p $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.xsl -s $(ASCIIDOC_DBLATEX_DIR)/asciidoc-dblatex.sty
@@ -205,7 +205,7 @@ @@ -240,7 +240,7 @@
man5: $(DOC_MAN5) man5: $(DOC_MAN5)
man7: $(DOC_MAN7) man7: $(DOC_MAN7)
@ -23,7 +23,7 @@ diff -ru git-1.8.4-orig/Documentation/Makefile git-1.8.4/Documentation/Makefile
pdf: user-manual.pdf pdf: user-manual.pdf
@@ -221,10 +221,9 @@ @@ -256,10 +256,9 @@
install-info: info install-info: info
$(INSTALL) -d -m 755 $(DESTDIR)$(infodir) $(INSTALL) -d -m 755 $(DESTDIR)$(infodir)

View File

@ -1,22 +1,20 @@
diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt diff --git a/Documentation/git-send-email.txt b/Documentation/git-send-email.txt
index 8060ea35c..c81067a19 100644
--- a/Documentation/git-send-email.txt --- a/Documentation/git-send-email.txt
+++ b/Documentation/git-send-email.txt +++ b/Documentation/git-send-email.txt
@@ -203,8 +203,7 @@ a password is obtained using 'git-credential'. @@ -208,8 +208,7 @@ a password is obtained using 'git-credential'.
specify a full pathname of a sendmail-like program instead; specify a full pathname of a sendmail-like program instead;
the program must support the `-i` option. Default value can the program must support the `-i` option. Default value can
be specified by the `sendemail.smtpServer` configuration be specified by the `sendemail.smtpServer` configuration
- option; the built-in default is to search for `sendmail` in - option; the built-in default is to search for `sendmail` in
- `/usr/sbin`, `/usr/lib` and $PATH if such program is - `/usr/sbin`, `/usr/lib` and $PATH if such program is
+ option; the built-in default is to search in $PATH if such program is + option; the built-in default is to search in $PATH if such program is
available, falling back to `localhost` otherwise. available, falling back to `localhost` otherwise.
--smtp-server-port=<port>:: --smtp-server-port=<port>::
diff --git a/git-send-email.perl b/git-send-email.perl diff --git a/git-send-email.perl b/git-send-email.perl
index edcc6d346..8e357aeab 100755
--- a/git-send-email.perl --- a/git-send-email.perl
+++ b/git-send-email.perl +++ b/git-send-email.perl
@@ -885,8 +885,7 @@ if (defined $initial_reply_to) { @@ -944,8 +944,7 @@ if (defined $reply_to) {
} }
if (!defined $smtp_server) { if (!defined $smtp_server) {

View File

@ -1,7 +1,7 @@
diff -ru -x '*~' git-1.8.2.1-orig/Makefile git-1.8.2.1/Makefile diff --git a/Makefile b/Makefile
--- git-1.8.2.1-orig/Makefile 2013-04-08 00:52:04.000000000 +0200 --- a/Makefile
+++ git-1.8.2.1/Makefile 2013-04-22 15:46:42.906026940 +0200 +++ b/Makefile
@@ -2319,8 +2319,7 @@ @@ -2609,8 +2609,7 @@
{ test "$$bindir/" = "$$execdir/" || \ { test "$$bindir/" = "$$execdir/" || \
for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \ for p in git$X $(filter $(install_bindir_programs),$(ALL_PROGRAMS)); do \
$(RM) "$$execdir/$$p" && \ $(RM) "$$execdir/$$p" && \

View File

@ -1,14 +1,15 @@
{ stdenv, fetchurl, python2, git }: { stdenv, fetchurl, python2, git }:
let let
name = "stgit-0.17.1"; name = "stgit-${version}";
version = "0.18";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
inherit name; inherit name;
src = fetchurl { src = fetchurl {
url = "http://download.gna.org/stgit/${name}.tar.gz"; url = "https://github.com/ctmarinas/stgit/archive/v${version}.tar.gz";
sha256 = "1pka0ns9x0kabn036zsf0mwmwiynckhnva51kgxsch9fqah6acyl"; sha256 = "19fk6vw3pgp2a98wpd4j3kyiyll5dy9bi4921wq1mrky0l53mj00";
}; };
buildInputs = [ python2 git ]; buildInputs = [ python2 git ];

View File

@ -1,4 +1,4 @@
{lib, python2Packages, git, mercurial, coreutils}: {lib, python2Packages, fetchFromGitHub, fetchurl, git, mercurial, coreutils}:
with python2Packages; with python2Packages;
buildPythonApplication rec { buildPythonApplication rec {
@ -12,11 +12,30 @@ buildPythonApplication rec {
buildInputs = [ pytest pytest-flake8 pytest-cram git pytestrunner ]; buildInputs = [ pytest pytest-flake8 pytest-cram git pytestrunner ];
propagatedBuildInputs = [ ipython nbformat ]; propagatedBuildInputs = [ ipython nbformat ];
src = fetchPypi { # PyPI source is currently missing tests. Thus, use GitHub instead.
inherit pname version; # See: https://github.com/kynan/nbstripout/issues/73
sha256 = "b997c99b8bbb865988202d2f005cdaabb2598b07dad891c302a147a5871a4a95"; # Use PyPI again after it has been fixed in a release.
src = fetchFromGitHub {
owner = "kynan";
repo = pname;
rev = version;
sha256 = "1jifqmszjzyaqzaw2ir83k5fdb04iyxdad4lclawpb42hbink9ws";
}; };
patches = [
(
# Fix git diff tests by using --no-index.
# See: https://github.com/kynan/nbstripout/issues/74
#
# Remove this patch once the pull request has been merged and a new
# release made.
fetchurl {
url = "https://github.com/jluttine/nbstripout/commit/03e28424fb788dd09a95e99814977b0d0846c0b4.patch";
sha256 = "09myfb77a2wh8lqqs9fcpam97vmaw8b7zbq8n5gwn6d80zbl7dn0";
}
)
];
# for some reason, darwin uses /bin/sh echo native instead of echo binary, so # for some reason, darwin uses /bin/sh echo native instead of echo binary, so
# force using the echo binary # force using the echo binary
postPatch = '' postPatch = ''

View File

@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
name = "sit-${version}"; name = "sit-${version}";
version = "0.1.3"; version = "0.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sit-it"; owner = "sit-it";
repo = "sit"; repo = "sit";
rev = "v${version}"; rev = "v${version}";
sha256 = "1ysy1lhb7fxy02a3c9xk2awa49svnfa8bqcz2aj4x56r2f8vhj0h"; sha256 = "1gcw5fqaqpxl2xgry0w8750g2msrk884zj1slym6r3nj7s2m9j22";
}; };
cargoSha256 = "1y8a8a9jn9f374sy5fs1snmpiqyckqc0aw7idwnpfr912c1zzrxw"; cargoSha256 = "0hb82j97m8vw8m6gpb6s3bbi31xxv9nqh3aq7hkbmp1pqc02sg3q";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "SCM-agnostic, file-based, offline-first, immutable issue tracker"; description = "SCM-agnostic, file-based, offline-first, immutable issue tracker";

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "clipgrab-${version}"; name = "clipgrab-${version}";
version = "3.6.2"; version = "3.6.8";
src = fetchurl { src = fetchurl {
sha256 = "0n7bhwkzknjpp54h54hxv1s8nsmmb7cwwf1aqpbcsnd7y6cv28nm"; sha256 = "0agp97g79mlqcwfz2xk5rdxw4kx0hm92xikdspbpxlfji1mkh10p";
# The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz! # The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz!
url = "https://download.clipgrab.org/${name}.tar.gz"; url = "https://download.clipgrab.org/${name}.tar.gz";
}; };

View File

@ -5,13 +5,13 @@ with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "containerd-${version}"; name = "containerd-${version}";
version = "1.0.2"; version = "1.0.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "containerd"; owner = "containerd";
repo = "containerd"; repo = "containerd";
rev = "v${version}"; rev = "v${version}";
sha256 = "1x6mmk69jksh4m9rjd8qwpp0qc7jmimpkq9pw9237p0v63p9yci0"; sha256 = "0k1zjn0mpd7q3p5srxld2fr4k6ijzbk0r34r6w69sh0d0rd2fvbs";
}; };
hardeningDisable = [ "fortify" ]; hardeningDisable = [ "fortify" ];

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sxhkd-${version}"; name = "sxhkd-${version}";
version = "0.5.8"; version = "0.5.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "baskerville"; owner = "baskerville";
repo = "sxhkd"; repo = "sxhkd";
rev = version; rev = version;
sha256 = "0vnm0d2ckijsp8kc2v8jz4raamb487vg62v58v01a3rb9gzzgl06"; sha256 = "0cw547x7vky55k3ksrmzmrra4zhslqcwq9xw0y4cmbvy4s1qf64v";
}; };
buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ]; buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ];

View File

@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, bash, which, withFont ? "" }: { stdenv, fetchFromGitHub, bash, which, withFont ? "" }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.1.0"; version = "2.0.0";
name = "nerdfonts-${version}"; name = "nerdfonts-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ryanoasis"; owner = "ryanoasis";
repo = "nerd-fonts"; repo = "nerd-fonts";
rev = version; rev = version;
sha256 = "0h12d33wnhs5w8r3h1gqil98442vf7a13ms3nwldsam4naapsqxz"; sha256 = "09i467hyskvzj2wn5sj6shvc9pb0a0rx5iknjkkkbg1ng3bla7nm";
}; };
dontPatchShebangs = true; dontPatchShebangs = true;
buildInputs = [ which ]; buildInputs = [ which ];

View File

@ -0,0 +1,43 @@
{ stdenv, fetchzip }:
let
version = "2.100";
in fetchzip rec {
name = "scheherazade-${version}";
url = "http://software.sil.org/downloads/r/scheherazade/Scheherazade-${version}.zip";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -l $downloadedFile
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*/FONTLOG.txt \*/README.txt -d $out/share/doc/${name}
unzip -j $downloadedFile \*/documentation/\* -d $out/share/doc/${name}/documentation
'';
sha256 = "1g5f5f9gzamkq3kqyf7vbzvl4rdj3wmjf6chdrbxksrm3rnb926z";
meta = with stdenv.lib; {
homepage = https://software.sil.org/scheherazade/;
description = "A font designed in a similar style to traditional Naskh typefaces";
longDescription = ''
Scheherazade, named after the heroine of the classic Arabian Nights tale,
is designed in a similar style to traditional typefaces such as Monotype
Naskh, extended to cover the Unicode Arabic repertoire through Unicode
8.0.
Scheherazade provides a simplified rendering of Arabic script, using
basic connecting glyphs but not including a wide variety of additional
ligatures or contextual alternates (only the required lam-alef
ligatures). This simplified style is often preferred for clarity,
especially in non-Arabic languages, but may not be considered appropriate
in situations where a more elaborate style of calligraphy is preferred.
This package contains the regular and bold styles for the Scheherazade
font family, along with documentation.
'';
downloadPage = "https://software.sil.org/scheherazade/download/";
license = licenses.ofl;
platforms = platforms.all;
};
}

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, osinfo-db-tools, intltool, libxml2 }: { stdenv, fetchurl, osinfo-db-tools, intltool, libxml2 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "osinfo-db-20180311"; name = "osinfo-db-20180325";
src = fetchurl { src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${name}.tar.xz"; url = "https://releases.pagure.org/libosinfo/${name}.tar.xz";
sha256 = "0pzm9vsr2f5943nlp2ljm19czcys5pvq6hjxh0ja2vx74pwhylb6"; sha256 = "0lma4szxwg5vzb23p3hplllz9yi77x57dzijsz6n4qa399wzv8rs";
}; };
nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ]; nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ];

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mate-themes-${version}"; name = "mate-themes-${version}";
version = "3.22.15"; version = "3.22.16";
src = fetchurl { src = fetchurl {
url = "http://pub.mate-desktop.org/releases/themes/${mate.getRelease version}/${name}.tar.xz"; url = "http://pub.mate-desktop.org/releases/themes/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0cmlbj6vlkavdirc5xnsgwmy0m11bj9yrbv1dkq46n1s23rvv6wg"; sha256 = "1k8qp2arjv4vj8kyjhjgyj5h46jy0darlfh48l5h25623z1firdj";
}; };
nativeBuildInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "closure-compiler-${version}"; name = "closure-compiler-${version}";
version = "20180204"; version = "20180319";
src = fetchurl { src = fetchurl {
url = "https://dl.google.com/closure-compiler/compiler-${version}.tar.gz"; url = "https://dl.google.com/closure-compiler/compiler-${version}.tar.gz";
sha256 = "1nh4yznabwpp9k6flk9562w87d6sxk1fwwpk4d3knwy25iyn3mwq"; sha256 = "181cskxamq9vkrmb2c78v6hpknrzzp49vkzp53r9pisf5j0p7220";
}; };
sourceRoot = "."; sourceRoot = ".";

View File

@ -7,13 +7,13 @@
let drv = stdenv.mkDerivation rec { let drv = stdenv.mkDerivation rec {
pname = "jetbrainsjdk"; pname = "jetbrainsjdk";
version = "152b1036.1"; version = "152b1136.20";
name = pname + "-" + version; name = pname + "-" + version;
src = if stdenv.system == "x86_64-linux" then src = if stdenv.system == "x86_64-linux" then
fetchurl { fetchurl {
url = "https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbsdk8u${version}_linux_x64.tar.gz"; url = "https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbsdk8u${version}_linux_x64.tar.gz";
sha256 = "1768f02i3dxdbxn8n29d522h8v0mkgnhpb8ixzq5p54vwjmfl6md"; sha256 = "0sqr8f3z062kwcxh3dxnan45ldas438blbc69z0pypbhc8c2sk2b";
} }
else else
throw "unsupported system: ${stdenv.system}"; throw "unsupported system: ${stdenv.system}";

View File

@ -2,7 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "polyml-${version}"; name = "polyml-${version}";
version = "5.7"; version = "5.7.1";
prePatch = stdenv.lib.optionalString stdenv.isDarwin '' prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace configure.ac --replace stdc++ c++ substituteInPlace configure.ac --replace stdc++ c++
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
owner = "polyml"; owner = "polyml";
repo = "polyml"; repo = "polyml";
rev = "v${version}"; rev = "v${version}";
sha256 = "10nsljmcl0zjbcc7ifc991ypwfwq5gh4rcp5rg4nnb706c6bs16y"; sha256 = "0j0wv3ijfrjkfngy7dswm4k1dchk3jak9chl5735dl8yrl8mq755";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -4,13 +4,13 @@ with lib;
mkDerivation rec { mkDerivation rec {
pname = "psc-package"; pname = "psc-package";
version = "0.3.2-pre"; version = "0.3.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "purescript"; owner = "purescript";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0vriyvq0mad3px4lhbqg6xrym2z6wnhr81101mx8cg1lgql1wgwk"; sha256 = "1zpzcyh82xl0grvgcj8b7yzh053i9z94kbym5qrv413pcx7w50cm";
}; };
isLibrary = false; isLibrary = false;

View File

@ -3,16 +3,16 @@
let let
# Note: the version MUST be one version prior to the version we're # Note: the version MUST be one version prior to the version we're
# building # building
version = "1.23.0"; version = "1.24.1";
# fetch hashes by running `print-hashes.sh 1.23.0` # fetch hashes by running `print-hashes.sh 1.24.1`
hashes = { hashes = {
i686-unknown-linux-gnu = "dc5bd0ef47e1036c8ca64676d8967102cb86ce4bf50b90a9845951c3e940423f"; i686-unknown-linux-gnu = "a483576bb2ab237aa1ef62b66c0814f934afd8129d7c9748cb9a75da4a678c98";
x86_64-unknown-linux-gnu = "9a34b23a82d7f3c91637e10ceefb424539dcfa327c2dcd292ff10c047b1fdc7e"; x86_64-unknown-linux-gnu = "4567e7f6e5e0be96e9a5a7f5149b5452828ab6a386099caca7931544f45d5327";
armv7-unknown-linux-gnueabihf = "587027899267f1961520438c2c7f6775fe224160d43ddf07332b9b943a26b08e"; armv7-unknown-linux-gnueabihf = "1169ab005b771c4befcdab536347a90242cae544b6b76eccd0f76796b61a534c";
aarch64-unknown-linux-gnu = "38379fbd976d2286cb73f21466db40a636a583b9f8a80af5eea73617c7912bc7"; aarch64-unknown-linux-gnu = "64bb25a9689b18ddadf025b90d9bdb150b809ebfb74432dc69cc2e46120adbb2";
i686-apple-darwin = "4709eb1ad2fb871fdaee4b3449569cef366b0d170453cf17484a12286564f2ad"; i686-apple-darwin = "c96f7579e2406220895da80a989daaa194751c141e112ebe95761f2ed4ecb662";
x86_64-apple-darwin = "9274e977322bb4b153f092255ac9bd85041142c73eaabf900cb2ef3d3abb2eba"; x86_64-apple-darwin = "9d4aacdb5849977ea619d399903c9378163bd9c76ea11dac5ef6eca27849f501";
}; };
platform = platform =

View File

@ -7,11 +7,11 @@
let let
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {})); rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}));
version = "1.24.1"; version = "1.25.0";
cargoVersion = "0.24.0"; cargoVersion = "0.26.0";
src = fetchurl { src = fetchurl {
url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz"; url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz";
sha256 = "1vv10x2h9kq7fxh2v01damdq8pvlp5acyh1kzcda9sfjx12kv99y"; sha256 = "0baxjr99311lvwdq0s38bipbnj72pn6fgbk6lcq7j555xq53mxpf";
}; };
in rec { in rec {
rustc = callPackage ./rustc.nix { rustc = callPackage ./rustc.nix {

View File

@ -4,11 +4,11 @@
, swingSupport ? true }: , swingSupport ? true }:
let let
version = "8.21.0.1"; version = "8.28.0.1";
openjdk = "8.0.131"; openjdk = "8.0.163";
sha256_linux = "0cr1wvk1ifdq69ia8sr6171yzciba8l5x7dszwa5g2v0vmmqq88p"; sha256_linux = "1z8s3a948nvv92wybnhkyr27ipibcy45k0zv5h5gp37ynd91df45";
sha256_darwin = "0xq9bdzbdq8wq48gj6j56bw30l2iafz6sy1wdhrf92n9bnz5qmw7"; sha256_darwin = "0i0prjijsgg0yyycplpp9rlfl428126rqz7bb31pchrhi6jhk699";
platform = if stdenv.isDarwin then "macosx" else "linux"; platform = if stdenv.isDarwin then "macosx" else "linux";
hash = if stdenv.isDarwin then sha256_darwin else sha256_linux; hash = if stdenv.isDarwin then sha256_darwin else sha256_linux;

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "clojure-${version}"; name = "clojure-${version}";
version = "1.9.0.329"; version = "1.9.0.358";
src = fetchurl { src = fetchurl {
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz"; url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
sha256 = "1g1mi75285z977vrqbihmmmrmdcnznxbw3r6wkzh571sc1yyrlrj"; sha256 = "0fi5kni6rdqjy6qgklf4xf7p1pgbsrdwd17iy6lrlg2vb8n8nksp";
}; };
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper ];

View File

@ -338,18 +338,18 @@ let
in { in {
php56 = generic { php56 = generic {
version = "5.6.34"; version = "5.6.35";
sha256 = "1kgjgkabhrm8ksmh6j3m59vm85n401mcn7inh03hnjzfijflk7z1"; sha256 = "14ivsxdny0s7qm9pf773pafs8xzlzzpmaz039lwymn11rblsfy7f";
}; };
php70 = generic { php70 = generic {
version = "7.0.28"; version = "7.0.29";
sha256 = "0zrw0saqlfv60f3nmff7288wqfhdsfiqns4ys3ii0drzc6s92m5f"; sha256 = "1g1z1nhnmq0idsb9rfb46cdddfimaacw3yal291i2ypzqpal54cq";
}; };
php71 = generic { php71 = generic {
version = "7.1.15"; version = "7.1.16";
sha256 = "1gfw3ab9pvv034l9xk7ry23xsdz9vcwksrvmzkjmsj79713sa5z1"; sha256 = "1rg7n12rd2v1p2yar615kqcdxpvphw3p89lpgajjgwy0qzwjm3il";
}; };
php72 = generic { php72 = generic {

View File

@ -7,7 +7,7 @@ with pythonPackages;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "renpy-${version}"; name = "renpy-${version}";
version = "6.99.14"; version = "6.99.14.2";
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Ren'Py Visual Novel Engine"; description = "Ren'Py Visual Novel Engine";
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "https://www.renpy.org/dl/${version}/renpy-${version}-source.tar.bz2"; url = "https://www.renpy.org/dl/${version}/renpy-${version}-source.tar.bz2";
sha256 = "00r1l9rd9wj8zfh279n7sak894xxhxqp3rcwg41g0md8yfiysc4h"; sha256 = "1cjaly5igks18lmmssph4d6b5q1b8qfav2s7x2agx1gybxyghv9n";
}; };
patches = [ patches = [

View File

@ -12,11 +12,11 @@ assert runTests -> google-gflags != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ceres-solver-${version}"; name = "ceres-solver-${version}";
version = "1.12.0"; version = "1.14.0";
src = fetchurl { src = fetchurl {
url = "http://ceres-solver.org/ceres-solver-${version}.tar.gz"; url = "http://ceres-solver.org/ceres-solver-${version}.tar.gz";
sha256 = "15f8mwhcy9f5qggcc9dqwl5y687ykvmlidr686aqdq0ia7azwnvl"; sha256 = "13lfxy8x58w8vprr0nkbzziaijlh0vvqshgahvcgw0mrqdgh0i27";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "chromaprint-${version}"; name = "chromaprint-${version}";
version = "1.4.3"; version = "1.3.2";
src = fetchurl { src = fetchurl {
url = "https://github.com/acoustid/chromaprint/releases/download/v${version}/${name}.tar.gz"; url = "http://bitbucket.org/acoustid/chromaprint/downloads/${name}.tar.gz";
sha256 = "10kz8lncal4s2rp2rqpgc6xyjp0jzcrihgkx7chf127vfs5n067a"; sha256 = "0lln8dh33gslb9cbmd1hcv33pr6jxdwipd8m8gbsyhksiq6r1by3";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake }: { stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.27.1"; version = "0.28.3";
name = "cmark-${version}"; name = "cmark-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jgm"; owner = "jgm";
repo = "cmark"; repo = "cmark";
rev = version; rev = version;
sha256 = "06miwq3rl2bighkn6iq7bdwzmvcqa53qwpa0pqjqa8yn44j8ijj8"; sha256 = "1lal6n6q7l84njgdcq1xbfxan56qlvr8xaw9m2jbd0jk4y2wkczg";
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];

View File

@ -4,12 +4,12 @@
{ stdenv, fetchFromGitHub, cmake, gtest }: { stdenv, fetchFromGitHub, cmake, gtest }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "easyloggingpp-${version}"; name = "easyloggingpp-${version}";
version = "9.96.1"; version = "9.96.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "muflihun"; owner = "muflihun";
repo = "easyloggingpp"; repo = "easyloggingpp";
rev = "v${version}"; rev = "v${version}";
sha256 = "1x5wwm62l1231sgxfwx8mj7fc8452j3f509jyxa9wd2krkpvqxmy"; sha256 = "0qhf93i2ks9v6rk6n4v3fn7xrkqdwgs6rm6wd0gx9sm2wlq4ancd";
}; };
nativeBuildInputs = [cmake]; nativeBuildInputs = [cmake];

View File

@ -1,14 +1,48 @@
{stdenv, fetchurl, gmp, mpir, mpfr, openblas, ntl}: { stdenv
, fetchurl
, fetchpatch
, gmp
, mpir
, mpfr
, ntl
, openblas ? null
, withBlas ? true
}:
assert withBlas -> openblas != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "flint-${version}"; name = "flint-${version}";
version = "2.5.2"; version = "2.5.2"; # remove libflint.so.MAJOR patch when updating
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
src = fetchurl { src = fetchurl {
url = "http://www.flintlib.org/flint-${version}.tar.gz"; url = "http://www.flintlib.org/flint-${version}.tar.gz";
sha256 = "11syazv1a8rrnac3wj3hnyhhflpqcmq02q8pqk2m6g2k6h0gxwfb"; sha256 = "11syazv1a8rrnac3wj3hnyhhflpqcmq02q8pqk2m6g2k6h0gxwfb";
}; };
buildInputs = [gmp mpir mpfr openblas ntl]; buildInputs = [
configureFlags = "--with-gmp=${gmp} --with-mpir=${mpir} --with-mpfr=${mpfr} --with-blas=${openblas} --with-ntl=${ntl}"; gmp
mpir
mpfr
ntl
] ++ stdenv.lib.optionals withBlas [
openblas
];
configureFlags = [
"--with-gmp=${gmp}"
"--with-mpir=${mpir}"
"--with-mpfr=${mpfr}"
"--with-ntl=${ntl}"
] ++ stdenv.lib.optionals withBlas [
"--with-blas=${openblas}"
];
patches = [
(fetchpatch {
# Always produce libflint.so.MAJOR; will be included in the next flint version
# See https://github.com/wbhart/flint2/pull/347
url = "https://github.com/wbhart/flint2/commit/49fbcd8f736f847d3f9667f9f7d5567ef4550ecb.patch";
sha256 = "09w09bpq85kjf752bd3y3i5lvy59b8xjiy7qmrcxzibx2a21pj73";
})
];
doCheck = true;
meta = { meta = {
inherit version; inherit version;
description = ''Fast Library for Number Theory''; description = ''Fast Library for Number Theory'';

View File

@ -6,11 +6,11 @@ assert odbcSupport -> unixODBC != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "freetds-${version}"; name = "freetds-${version}";
version = "1.00.70"; version = "1.00.80";
src = fetchurl { src = fetchurl {
url = "http://www.freetds.org/files/stable/${name}.tar.bz2"; url = "http://www.freetds.org/files/stable/${name}.tar.bz2";
sha256 = "1ydh0c89nb6wh6wakbkqad7mdwpymygvgbcrk8c2mp7abgv1jqzp"; sha256 = "17s15avxcyhfk0zsj8rggizhpd2j2sa41w5xlnshzd2r3piqyl6k";
}; };
configureFlags = [ configureFlags = [

View File

@ -8,12 +8,12 @@
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "2.2.3"; version = "2.2.4";
name = "gdal-${version}"; name = "gdal-${version}";
src = fetchurl { src = fetchurl {
url = "http://download.osgeo.org/gdal/${version}/${name}.tar.xz"; url = "http://download.osgeo.org/gdal/${version}/${name}.tar.xz";
sha256 = "a328d63d476b3653f5a25b5f7971e87a15cdf8860ab0729d4b1157ba988b8d0b"; sha256 = "0y1237m2wilxgrsd0cdjpbf1zj9z954sd8518g53hlmkmk8v27j4";
}; };
buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite

View File

@ -32,6 +32,8 @@ in stdenv.mkDerivation rec {
patches = [ ./3.x-nix_share_path.patch ]; patches = [ ./3.x-nix_share_path.patch ];
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
enableParallelBuilding = true; enableParallelBuilding = true;
doCheck = stdenv.isLinux; doCheck = stdenv.isLinux;

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }: { stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "18.03"; version = "18.03.1";
name = "libmediainfo-${version}"; name = "libmediainfo-${version}";
src = fetchurl { src = fetchurl {
url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz"; url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
sha256 = "1d4zqik9sm8fsr26w5jsp0rgczlh5vh3gwknxy4g3gd6pqri4igv"; sha256 = "183gcb6h81blgvssfl5lxsv8h5izkgg6b86z0jy9g699adgkchq2";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];

View File

@ -1,11 +1,12 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libmowgli-0.9.50"; name = "libmowgli-${version}";
version = "2.1.3";
src = fetchurl { src = fetchurl {
url = "http://distfiles.atheme.org/${name}.tar.bz2"; url = "https://github.com/atheme/libmowgli-2/archive/v${version}.tar.gz";
sha256 = "0wbnpd2rzk5jg6pghgxyx7brjrdmsyg4p0mm9blwmrdrj5ybxx9z"; sha256 = "0xx4vndmwz40pxa5gikl8z8cskpdl9a30i2i5fjncqzlp4pspymp";
}; };
meta = { meta = {

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libsass-${version}"; name = "libsass-${version}";
version = "3.5.1"; version = "3.5.2";
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 = "0qy5hsglrdwzlb1x83v40pnm52hrjbdrc5zardp89i3vwcdzkrq8"; sha256 = "1qjpicbjsj9gf8s00ma0d6kw6qfnc29fhrqdkvq8427wfffj654r";
}; };
patchPhase = '' patchPhase = ''

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, zlib, expat, rpm, db }: { stdenv, fetchFromGitHub, cmake, zlib, expat, rpm, db }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
rev = "0.6.33"; rev = "0.6.34";
name = "libsolv-${rev}"; name = "libsolv-${rev}";
src = fetchFromGitHub { src = fetchFromGitHub {
inherit rev; inherit rev;
owner = "openSUSE"; owner = "openSUSE";
repo = "libsolv"; repo = "libsolv";
sha256 = "1vf8mwqzjjqkd5ir71h4lifybibs5nhqgfgq5zzlazby02zx2yiz"; sha256 = "1knr48dilg8kscbmpjvd7m2krvgcdq0f9vpbqcgmxxa969mzrcy7";
}; };
cmakeFlags = "-DENABLE_RPMMD=true -DENABLE_RPMDB=true -DENABLE_PUBKEY=true -DENABLE_RPMDB_BYRPMHEADER=true"; cmakeFlags = "-DENABLE_RPMMD=true -DENABLE_RPMDB=true -DENABLE_PUBKEY=true -DENABLE_RPMDB_BYRPMHEADER=true";

View File

@ -1,19 +1,20 @@
{ stdenv, fetchurl, autoreconfHook, libjpeg, libpng, libX11, zlib }: { stdenv, fetchurl, autoreconfHook, pkgconfig, libjpeg, libpng, libX11, zlib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libxcomp-${version}"; name = "libxcomp-${version}";
version = "3.5.0.33"; version = "3.5.99.16";
src = fetchurl { src = fetchurl {
sha256 = "17qjsd6v2ldpfmyjrkdnlq4qk05hz5l6qs54g8h0glzq43w28f74"; sha256 = "1m3z9w3h6qpgk265xf030w7lcs181jgw2cdyzshb7l97mn1f7hh2";
url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz"; url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz";
}; };
buildInputs = [ libjpeg libpng libX11 zlib ]; buildInputs = [ libjpeg libpng libX11 zlib ];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
preAutoreconf = '' preAutoreconf = ''
cd nxcomp/ cd nxcomp/
sed -i 's|/src/.libs/libXcomp.a|/src/.libs/libXcomp.la|' test/Makefile.am
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -1,9 +1,9 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "matio-1.5.11"; name = "matio-1.5.12";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/matio/${name}.tar.gz"; url = "mirror://sourceforge/matio/${name}.tar.gz";
sha256 = "02ygr7bslzvn6mhxvapz57bh4d448xjf3ds82g1cvhn9al6fvk0c"; sha256 = "1afqjhc1wbm7g1vry3w30c7dbrxg6n4i482ybgx6l1b5wj0f75c6";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -3,11 +3,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "${pname}-${version}"; name = "${pname}-${version}";
pname = "openfst"; pname = "openfst";
version = "1.6.6"; version = "1.6.7";
src = fetchurl { src = fetchurl {
url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${name}.tar.gz"; url = "http://www.openfst.org/twiki/pub/FST/FstDownload/${name}.tar.gz";
sha256 = "1b13nzf9xh1iv0k8z7sdfs9ya2ykf0gzjiixpb1qn3bydck6ppdm"; sha256 = "1xqpc1qlvghprwih99immsjh3ba08lg754cf5icnmpkwh9nlh6p2";
}; };
meta = { meta = {
description = "Library for working with finite-state transducers"; description = "Library for working with finite-state transducers";

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec stdenv.mkDerivation rec
{ {
name = "ptex-${version}"; name = "ptex-${version}";
version = "2.1.28"; version = "2.1.33";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "wdas"; owner = "wdas";
repo = "ptex"; repo = "ptex";
rev = "v${version}"; rev = "v${version}";
sha256 = "1h6gb3mpis4m6ph7h9q764w50f9jrar3jz2ja76rn5czy6wn318x"; sha256 = "15ijjq3w7hwgm4mqah0x4jzjy3v2nnmmv28lbqzmxzcxjgh4sjkn";
}; };
outputs = [ "bin" "dev" "out" "lib" ]; outputs = [ "bin" "dev" "out" "lib" ];

View File

@ -105,6 +105,7 @@
, "vue-cli" , "vue-cli"
, "webdrvr" , "webdrvr"
, "webpack" , "webpack"
, "webtorrent-cli"
, "web-ext" , "web-ext"
, "wring" , "wring"
, "yarn" , "yarn"

File diff suppressed because it is too large Load Diff

View File

@ -49,13 +49,13 @@ let
sha1 = "cbc4b9a68981bf0b501ccd06a9058acd65309bf7"; sha1 = "cbc4b9a68981bf0b501ccd06a9058acd65309bf7";
}; };
}; };
"@types/node-9.6.1" = { "@types/node-9.6.2" = {
name = "_at_types_slash_node"; name = "_at_types_slash_node";
packageName = "@types/node"; packageName = "@types/node";
version = "9.6.1"; version = "9.6.2";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/@types/node/-/node-9.6.1.tgz"; url = "https://registry.npmjs.org/@types/node/-/node-9.6.2.tgz";
sha512 = "2sxvv78fkmdrpqq04pkyq69fkny1xj1abcp8ajkmmmfn1cs3jdiir545s9h1gsnxzls1iiigbzj8dlkimlqdfpbgdlm8h6pj2mlf2f7"; sha512 = "30kq6rikl2ya5krnyglrbi52xrm0f3q0nyzj99haady8c2s03l3rcp42cxkkd4v3mrvsw3jan0kz7vb4j148qg8wklh2igvsmii2sai";
}; };
}; };
"@types/superagent-3.5.6" = { "@types/superagent-3.5.6" = {
@ -1039,13 +1039,13 @@ let
sha1 = "b35dac376479facc3e94747d41d0d0f5238ffcb5"; sha1 = "b35dac376479facc3e94747d41d0d0f5238ffcb5";
}; };
}; };
"cli-spinners-1.1.0" = { "cli-spinners-1.3.0" = {
name = "cli-spinners"; name = "cli-spinners";
packageName = "cli-spinners"; packageName = "cli-spinners";
version = "1.1.0"; version = "1.3.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/cli-spinners/-/cli-spinners-1.1.0.tgz"; url = "https://registry.npmjs.org/cli-spinners/-/cli-spinners-1.3.0.tgz";
sha1 = "f1847b168844d917a671eb9d147e3df497c90d06"; sha512 = "36fw6sfxv4nwbywjns5fvwflfdimmngjc44ri9xhmqq8cb64b0p19fk30m7ywhr9m9bac8a9jnkb22bs2h0bskv6y5spnqny6mzf6ka";
}; };
}; };
"cli-table-0.3.1" = { "cli-table-0.3.1" = {
@ -1957,13 +1957,13 @@ let
sha512 = "19g682cvkba33mwrism28hibd2nv9xd16k5bj807jx3ih1cc7ff9dn8chmfjnqgglzl6lq3m3jarxng9vbarccgchd0aq118d15yk6i"; sha512 = "19g682cvkba33mwrism28hibd2nv9xd16k5bj807jx3ih1cc7ff9dn8chmfjnqgglzl6lq3m3jarxng9vbarccgchd0aq118d15yk6i";
}; };
}; };
"dns-packet-4.1.1" = { "dns-packet-4.2.0" = {
name = "dns-packet"; name = "dns-packet";
packageName = "dns-packet"; packageName = "dns-packet";
version = "4.1.1"; version = "4.2.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/dns-packet/-/dns-packet-4.1.1.tgz"; url = "https://registry.npmjs.org/dns-packet/-/dns-packet-4.2.0.tgz";
sha512 = "09adhjnzfiilwrksrckjrxcfi54gy5xgcsvkq24r98j0xh1asvl5iywj4p37s4l7drgysmdlkv95iki5c554gviaj4738fnlhgn42v3"; sha512 = "05pqsdg5q8r1i9z4dnii6sr7i3b6ir4gay5h3xk18jraa2w3201wfw6mz53dn494dqd19djdfbp78p6v70kia4862sbj5g4jwm40zbf";
}; };
}; };
"dns-socket-1.6.3" = { "dns-socket-1.6.3" = {
@ -2299,13 +2299,13 @@ let
sha1 = "26a71aaf073b39fb2127172746131c2704028db8"; sha1 = "26a71aaf073b39fb2127172746131c2704028db8";
}; };
}; };
"external-editor-2.1.0" = { "external-editor-2.2.0" = {
name = "external-editor"; name = "external-editor";
packageName = "external-editor"; packageName = "external-editor";
version = "2.1.0"; version = "2.2.0";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/external-editor/-/external-editor-2.1.0.tgz"; url = "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz";
sha512 = "366albydy3glqs8h6y7rdpdhmyffn7vaig5snw8cb1zmn22mgvfywr08jfbmqjiqc9pyjyaaqv6xz5sfy2j1y18590l4f8mji7j53hk"; sha512 = "3sf897ajmkcp0j6rgd0jy6k95s9ck3j305yrr00kmckl8qdhswhbdd5g4m2fai03x8phs1vw2ahf9v7ym5ji4zfxydxyamiy61glabd";
}; };
}; };
"extglob-0.3.2" = { "extglob-0.3.2" = {
@ -4261,15 +4261,6 @@ let
sha1 = "c23e91b710242ac70c37f1e1cda9274cc39bf2f4"; sha1 = "c23e91b710242ac70c37f1e1cda9274cc39bf2f4";
}; };
}; };
"log-symbols-2.2.0" = {
name = "log-symbols";
packageName = "log-symbols";
version = "2.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz";
sha512 = "093j1mha2zwbfkb6cvxr94l1dsx44607vvyxadxki3j69s40n2f6x6iqs6f9rzpvvqd8anclsqdlrm3klkwxixm4k2fl8bjr4b01qjm";
};
};
"lodash.uniqby-4.5.0" = { "lodash.uniqby-4.5.0" = {
name = "lodash.uniqby"; name = "lodash.uniqby";
packageName = "lodash.uniqby"; packageName = "lodash.uniqby";
@ -4279,6 +4270,15 @@ let
sha1 = "a3a17bbf62eeb6240f491846e97c1c4e2a5e1e21"; sha1 = "a3a17bbf62eeb6240f491846e97c1c4e2a5e1e21";
}; };
}; };
"log-symbols-2.2.0" = {
name = "log-symbols";
packageName = "log-symbols";
version = "2.2.0";
src = fetchurl {
url = "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz";
sha512 = "093j1mha2zwbfkb6cvxr94l1dsx44607vvyxadxki3j69s40n2f6x6iqs6f9rzpvvqd8anclsqdlrm3klkwxixm4k2fl8bjr4b01qjm";
};
};
"longest-1.0.1" = { "longest-1.0.1" = {
name = "longest"; name = "longest";
packageName = "longest"; packageName = "longest";
@ -5629,13 +5629,13 @@ let
sha1 = "7cf4c54ef648e3813084c636dd2079e166c081d9"; sha1 = "7cf4c54ef648e3813084c636dd2079e166c081d9";
}; };
}; };
"readable-stream-2.3.5" = { "readable-stream-2.3.6" = {
name = "readable-stream"; name = "readable-stream";
packageName = "readable-stream"; packageName = "readable-stream";
version = "2.3.5"; version = "2.3.6";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.5.tgz"; url = "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz";
sha512 = "09n3j4jsfl2lq3gj65qwn5b3lvzb624lrb8m14h81ls9cw59vvm8436gm5zwaqxf6y1zrfwbrsmizsq48jw1s3qj9zhpjp438735bdl"; sha512 = "0mj9b6190amln9rg89x5pq2n195s3v0gzicpdamv1kbabg69aw5m71l34jsjn7bqil7405l6l35x9ijnb3h4jz5vx2i00l8sl1ll2xm";
}; };
}; };
"readdirp-2.1.0" = { "readdirp-2.1.0" = {
@ -6466,13 +6466,13 @@ let
sha1 = "62e203bc41766c6c28c9fc84301dab1c5310fa94"; sha1 = "62e203bc41766c6c28c9fc84301dab1c5310fa94";
}; };
}; };
"string_decoder-1.0.3" = { "string_decoder-1.1.1" = {
name = "string_decoder"; name = "string_decoder";
packageName = "string_decoder"; packageName = "string_decoder";
version = "1.0.3"; version = "1.1.1";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz"; url = "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz";
sha512 = "22vw5mmwlyblqc2zyqwl39wyhyahhpiyknim8iz5fk6xi002x777gkswiq8fh297djs5ii4pgrys57wq33hr5zf3xfd0d7kjxkzl0g0"; sha512 = "315yd4vzwrwk3vwj1klf46y1cj2jbvf88066y2rnwhksb98phj46jkxixbwsp3h607w7czy7cby522s7sx8mvspdpdm3s72y2ga3x4z";
}; };
}; };
"stringstream-0.0.5" = { "stringstream-0.0.5" = {
@ -7574,7 +7574,7 @@ in
sources."chalk-1.1.3" sources."chalk-1.1.3"
]; ];
}) })
sources."@types/node-9.6.1" sources."@types/node-9.6.2"
sources."@types/superagent-3.5.6" sources."@types/superagent-3.5.6"
sources."ansi-escapes-3.1.0" sources."ansi-escapes-3.1.0"
sources."ansi-regex-2.1.1" sources."ansi-regex-2.1.1"
@ -7611,7 +7611,7 @@ in
sources."escape-string-regexp-1.0.5" sources."escape-string-regexp-1.0.5"
sources."event-emitter-0.3.5" sources."event-emitter-0.3.5"
sources."extend-3.0.1" sources."extend-3.0.1"
sources."external-editor-2.1.0" sources."external-editor-2.2.0"
sources."figures-2.0.0" sources."figures-2.0.0"
sources."form-data-2.3.2" sources."form-data-2.3.2"
sources."formidable-1.2.1" sources."formidable-1.2.1"
@ -7655,7 +7655,7 @@ in
sources."pseudomap-1.0.2" sources."pseudomap-1.0.2"
sources."qs-6.5.1" sources."qs-6.5.1"
sources."raf-3.3.2" sources."raf-3.3.2"
sources."readable-stream-2.3.5" sources."readable-stream-2.3.6"
sources."restore-cursor-2.0.0" sources."restore-cursor-2.0.0"
sources."run-async-2.3.0" sources."run-async-2.3.0"
sources."rx-lite-4.0.8" sources."rx-lite-4.0.8"
@ -7669,7 +7669,7 @@ in
sources."snabbdom-selector-1.2.1" sources."snabbdom-selector-1.2.1"
sources."sorted-immutable-list-1.1.0" sources."sorted-immutable-list-1.1.0"
sources."string-width-2.1.1" sources."string-width-2.1.1"
sources."string_decoder-1.0.3" sources."string_decoder-1.1.1"
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
sources."superagent-3.8.2" sources."superagent-3.8.2"
sources."supports-color-2.0.0" sources."supports-color-2.0.0"
@ -7835,7 +7835,7 @@ in
]; ];
}) })
sources."dns-discovery-5.6.1" sources."dns-discovery-5.6.1"
sources."dns-packet-4.1.1" sources."dns-packet-4.2.0"
sources."dns-socket-3.0.0" sources."dns-socket-3.0.0"
sources."dns-txt-2.0.2" sources."dns-txt-2.0.2"
sources."dom-walk-0.1.1" sources."dom-walk-0.1.1"
@ -7999,7 +7999,7 @@ in
sources."randombytes-2.0.6" sources."randombytes-2.0.6"
sources."range-parser-1.2.0" sources."range-parser-1.2.0"
sources."read-1.0.7" sources."read-1.0.7"
sources."readable-stream-2.3.5" sources."readable-stream-2.3.6"
sources."recursive-watch-1.1.4" sources."recursive-watch-1.1.4"
sources."regex-cache-0.4.4" sources."regex-cache-0.4.4"
sources."remove-trailing-separator-1.1.0" sources."remove-trailing-separator-1.1.0"
@ -8030,7 +8030,7 @@ in
sources."stream-parser-0.3.1" sources."stream-parser-0.3.1"
sources."stream-shift-1.0.0" sources."stream-shift-1.0.0"
sources."string-width-2.1.1" sources."string-width-2.1.1"
sources."string_decoder-1.0.3" sources."string_decoder-1.1.1"
sources."stringstream-0.0.5" sources."stringstream-0.0.5"
sources."strip-ansi-4.0.0" sources."strip-ansi-4.0.0"
(sources."subcommand-2.1.0" // { (sources."subcommand-2.1.0" // {
@ -8273,7 +8273,7 @@ in
sources."process-nextick-args-2.0.0" sources."process-nextick-args-2.0.0"
sources."punycode-1.4.1" sources."punycode-1.4.1"
sources."qs-6.5.1" sources."qs-6.5.1"
sources."readable-stream-2.3.5" sources."readable-stream-2.3.6"
sources."request-2.85.0" sources."request-2.85.0"
sources."rimraf-2.6.2" sources."rimraf-2.6.2"
sources."safe-buffer-5.1.1" sources."safe-buffer-5.1.1"
@ -8283,7 +8283,7 @@ in
sources."sntp-2.1.0" sources."sntp-2.1.0"
sources."sshpk-1.14.1" sources."sshpk-1.14.1"
sources."string-width-1.0.2" sources."string-width-1.0.2"
sources."string_decoder-1.0.3" sources."string_decoder-1.1.1"
sources."stringstream-0.0.5" sources."stringstream-0.0.5"
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
sources."tar-2.2.1" sources."tar-2.2.1"
@ -8383,7 +8383,7 @@ in
sources."minimist-1.2.0" sources."minimist-1.2.0"
]; ];
}) })
sources."readable-stream-2.3.5" sources."readable-stream-2.3.6"
sources."rimraf-2.6.2" sources."rimraf-2.6.2"
sources."safe-buffer-5.1.1" sources."safe-buffer-5.1.1"
sources."sax-1.2.4" sources."sax-1.2.4"
@ -8391,7 +8391,7 @@ in
sources."set-blocking-2.0.0" sources."set-blocking-2.0.0"
sources."signal-exit-3.0.2" sources."signal-exit-3.0.2"
sources."string-width-1.0.2" sources."string-width-1.0.2"
sources."string_decoder-1.0.3" sources."string_decoder-1.1.1"
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
sources."strip-json-comments-2.0.1" sources."strip-json-comments-2.0.1"
sources."tar-4.4.1" sources."tar-4.4.1"
@ -8412,10 +8412,10 @@ in
pnpm = nodeEnv.buildNodePackage { pnpm = nodeEnv.buildNodePackage {
name = "pnpm"; name = "pnpm";
packageName = "pnpm"; packageName = "pnpm";
version = "1.37.3"; version = "1.38.2";
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/pnpm/-/pnpm-1.37.3.tgz"; url = "https://registry.npmjs.org/pnpm/-/pnpm-1.38.2.tgz";
sha1 = "592f62fb50633506494bd683a0533a95520ef968"; sha1 = "f0a9312db086d1446261575a69e05bdd545743aa";
}; };
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
meta = { meta = {
@ -8467,11 +8467,11 @@ in
sources."lodash-4.17.5" sources."lodash-4.17.5"
sources."minimatch-3.0.4" sources."minimatch-3.0.4"
sources."process-nextick-args-2.0.0" sources."process-nextick-args-2.0.0"
sources."readable-stream-2.3.5" sources."readable-stream-2.3.6"
sources."readdirp-2.1.0" sources."readdirp-2.1.0"
sources."safe-buffer-5.1.1" sources."safe-buffer-5.1.1"
sources."set-immediate-shim-1.0.1" sources."set-immediate-shim-1.0.1"
sources."string_decoder-1.0.3" sources."string_decoder-1.1.1"
sources."util-deprecate-1.0.2" sources."util-deprecate-1.0.2"
]; ];
buildInputs = globalBuildInputs; buildInputs = globalBuildInputs;
@ -8534,7 +8534,7 @@ in
sources."chalk-2.3.2" sources."chalk-2.3.2"
sources."chardet-0.4.2" sources."chardet-0.4.2"
sources."cli-cursor-2.1.0" sources."cli-cursor-2.1.0"
sources."cli-spinners-1.1.0" sources."cli-spinners-1.3.0"
sources."cli-width-2.2.0" sources."cli-width-2.2.0"
sources."cliui-2.1.0" sources."cliui-2.1.0"
sources."clone-1.0.4" sources."clone-1.0.4"
@ -8589,7 +8589,7 @@ in
sources."esprima-4.0.0" sources."esprima-4.0.0"
sources."extend-3.0.1" sources."extend-3.0.1"
sources."extend-shallow-2.0.1" sources."extend-shallow-2.0.1"
sources."external-editor-2.1.0" sources."external-editor-2.2.0"
sources."extsprintf-1.3.0" sources."extsprintf-1.3.0"
sources."fast-deep-equal-1.1.0" sources."fast-deep-equal-1.1.0"
sources."fast-json-stable-stringify-2.0.0" sources."fast-json-stable-stringify-2.0.0"
@ -8705,7 +8705,7 @@ in
sources."punycode-1.4.1" sources."punycode-1.4.1"
sources."qs-6.5.1" sources."qs-6.5.1"
sources."read-metadata-1.0.0" sources."read-metadata-1.0.0"
sources."readable-stream-2.3.5" sources."readable-stream-2.3.6"
sources."recursive-readdir-2.2.2" sources."recursive-readdir-2.2.2"
sources."repeat-string-1.6.1" sources."repeat-string-1.6.1"
(sources."request-2.85.0" // { (sources."request-2.85.0" // {
@ -8729,7 +8729,7 @@ in
sources."sshpk-1.14.1" sources."sshpk-1.14.1"
sources."stat-mode-0.2.2" sources."stat-mode-0.2.2"
sources."string-width-2.1.1" sources."string-width-2.1.1"
sources."string_decoder-1.0.3" sources."string_decoder-1.1.1"
sources."stringstream-0.0.5" sources."stringstream-0.0.5"
sources."strip-ansi-4.0.0" sources."strip-ansi-4.0.0"
sources."strip-dirs-2.1.0" sources."strip-dirs-2.1.0"
@ -9095,8 +9095,8 @@ in
sources."ee-first-1.1.1" sources."ee-first-1.1.1"
sources."isarray-1.0.0" sources."isarray-1.0.0"
sources."on-finished-2.3.0" sources."on-finished-2.3.0"
sources."readable-stream-2.3.5" sources."readable-stream-2.3.6"
sources."string_decoder-1.0.3" sources."string_decoder-1.1.1"
]; ];
}) })
sources."mute-stream-0.0.5" sources."mute-stream-0.0.5"
@ -9175,7 +9175,7 @@ in
]; ];
}) })
sources."rc-1.2.6" sources."rc-1.2.6"
sources."readable-stream-2.3.5" sources."readable-stream-2.3.6"
sources."readdirp-2.1.0" sources."readdirp-2.1.0"
sources."readline2-1.0.1" sources."readline2-1.0.1"
sources."reduce-component-1.0.1" sources."reduce-component-1.0.1"
@ -9246,7 +9246,7 @@ in
sources."streamsearch-0.1.2" sources."streamsearch-0.1.2"
sources."string-3.3.3" sources."string-3.3.3"
sources."string-width-2.1.1" sources."string-width-2.1.1"
sources."string_decoder-1.0.3" sources."string_decoder-1.1.1"
sources."strip-ansi-3.0.1" sources."strip-ansi-3.0.1"
sources."strip-eof-1.0.0" sources."strip-eof-1.0.0"
sources."strip-json-comments-2.0.1" sources."strip-json-comments-2.0.1"
@ -9381,4 +9381,4 @@ in
production = true; production = true;
bypassCache = true; bypassCache = true;
}; };
} }

View File

@ -4,8 +4,8 @@
let param = let param =
if stdenv.lib.versionAtLeast ocaml.version "4.02" then { if stdenv.lib.versionAtLeast ocaml.version "4.02" then {
version = "0.8.1"; version = "0.8.2";
sha256 = "1bjhgwmshlaz9xncrrkknys7prigf8vlg1kqvfx9l8kn92mlf10b"; sha256 = "1zpg079v89mz2dpnh59f9hk5r03wl26skfn43llrv3kg24abjfpf";
buildInputs = [ jbuilder ]; buildInputs = [ jbuilder ];
buildPhase = "jbuilder build -p alcotest"; buildPhase = "jbuilder build -p alcotest";
inherit (jbuilder) installPhase; inherit (jbuilder) installPhase;

View File

@ -2,10 +2,10 @@
buildOcaml rec { buildOcaml rec {
name = "bitstring"; name = "bitstring";
version = "2.1.0"; version = "2.1.1";
src = fetchurl { src = fetchurl {
url = http://github.com/xguerin/bitstring/archive/v2.1.0.tar.gz; url = http://github.com/xguerin/bitstring/archive/v2.1.1.tar.gz;
sha256 = "0miw4banfpmx4kxrckpqr57b1fcmsqdmspyjx6gqjd4kghm4l7xj"; sha256 = "0vy8ibrxccii1jbsk5q6yh1kxjigqvi7lhhcmizvd5gfhf7mfyc8";
}; };
patches = [ ./camlp4-git.patch ./srcdir.patch ]; patches = [ ./camlp4-git.patch ./srcdir.patch ];

View File

@ -2,13 +2,13 @@
buildOcaml rec { buildOcaml rec {
name = "comparelib"; name = "comparelib";
version = "109.60.00"; version = "113.00.00";
minimumSupportedOcamlVersion = "4.00"; minimumSupportedOcamlVersion = "4.00";
src = fetchurl { src = fetchurl {
url = "https://github.com/janestreet/comparelib/archive/${version}.tar.gz"; url = "https://github.com/janestreet/comparelib/archive/${version}.tar.gz";
sha256 = "1075fb05e0d1e290f71ad0f6163f32b2cb4cebdc77568491c7eb38ba91f5db7e"; sha256 = "02l343drgi4200flfx73nzdk61zajwidsqjk9n80b2d37lvhazlf";
}; };
propagatedBuildInputs = [ type_conv ]; propagatedBuildInputs = [ type_conv ];

View File

@ -6,7 +6,7 @@ let
mkpath = p: mkpath = p:
"${p}/lib/ocaml/${ocaml.version}/site-lib"; "${p}/lib/ocaml/${ocaml.version}/site-lib";
version = "1.3"; version = "1.4";
in in
@ -17,7 +17,7 @@ stdenv.mkDerivation {
owner = "c-cube"; owner = "c-cube";
repo = "ocaml-containers"; repo = "ocaml-containers";
rev = "${version}"; rev = "${version}";
sha256 = "1gjs9d6759zpgp68djv296zwmvhdc6dqfb27aip7dhj6ic2bwgil"; sha256 = "1wbarxphdrxvy7qsdp4p837h1zrv0z83pgs5lbz2h3kdnyvz2f1i";
}; };
buildInputs = [ ocaml findlib ocamlbuild cppo gen sequence qtest ounit qcheck ]; buildInputs = [ ocaml findlib ocamlbuild cppo gen sequence qtest ounit qcheck ];

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-cstruct-${version}"; name = "ocaml${ocaml.version}-cstruct-${version}";
version = "3.0.2"; version = "3.1.1";
src = fetchurl { src = fetchurl {
url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-${version}.tbz"; url = "https://github.com/mirage/ocaml-cstruct/releases/download/v${version}/cstruct-${version}.tbz";
sha256 = "03caxcyzfjmbnnwa15zy9s1ckkl4sc834d1qkgi4jcs3zqchvd8z"; sha256 = "1x4jxsvd1lrfibnjdjrkfl7hqsc48rljnwbap6faanj9qhwwa6v2";
}; };
unpackCmd = "tar -xjf $curSrc"; unpackCmd = "tar -xjf $curSrc";

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-expat-${version}"; name = "ocaml${ocaml.version}-expat-${version}";
version = "1.0.0"; version = "1.1.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "whitequark"; owner = "whitequark";
repo = "ocaml-expat"; repo = "ocaml-expat";
rev = "v${version}"; rev = "v${version}";
sha256 = "0rb47v08ra2hhh73p3d8sl4sizqwiwc37gnkl22b23sbwbjrpbz0"; sha256 = "07wm9663z744ya6z2lhiz5hbmc76kkipg04j9vw9dqpd1y1f2x3q";
}; };
prePatch = '' prePatch = ''

View File

@ -1,14 +1,14 @@
{stdenv, buildOcaml, fetchurl}: {stdenv, buildOcaml, fetchurl}:
buildOcaml rec { buildOcaml rec {
version = "109.35.02"; version = "112.35.00";
name = "herelib"; name = "herelib";
minimumSupportedOcamlVersion = "4.00"; minimumSupportedOcamlVersion = "4.00";
src = fetchurl { src = fetchurl {
url = "https://github.com/janestreet/herelib/archive/${version}.tar.gz"; url = "https://github.com/janestreet/herelib/archive/${version}.tar.gz";
sha256 = "7f8394169cb63f6d41e91c9affa1b8ec240d5f6e9dfeda3fbb611df521d4b05a"; sha256 = "03rrlpjmnd8d1rzzmd112355m7a5bwn3vf90xkbc6gkxlad9cxbs";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -1,5 +1,6 @@
{ stdenv, fetchurl, pkgconfig, ncurses, ocaml, findlib, ocaml_pcre, camlzip { stdenv, fetchurl, pkgconfig, ncurses, ocaml, findlib, ocaml_pcre, camlzip
, gnutls, nettle }: , gnutls, nettle, fetchpatch
}:
let version = "4.1.5"; in let version = "4.1.5"; in
@ -11,6 +12,12 @@ stdenv.mkDerivation {
sha256 = "1ppcd2zjhj6s3ib9q8dngnr53qlmkhvv7a8hzp88r79k6jygn4cm"; sha256 = "1ppcd2zjhj6s3ib9q8dngnr53qlmkhvv7a8hzp88r79k6jygn4cm";
}; };
patches = [ (fetchpatch {
url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/ocamlnet/ocamlnet.4.1.5/files/netgzip.patch";
sha256 = "1say7zzgk24qcy9m91gcfgvz4fv7nksx4j5qnbxyq8wqw0g88ba0";
})
];
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses ocaml findlib ocaml_pcre camlzip gnutls nettle ]; buildInputs = [ ncurses ocaml findlib ocaml_pcre camlzip gnutls nettle ];

View File

@ -2,13 +2,13 @@
buildOcaml rec { buildOcaml rec {
name = "pa_bench"; name = "pa_bench";
version = "112.06.00"; version = "113.00.00";
minimumSupportedOcamlVersion = "4.00"; minimumSupportedOcamlVersion = "4.00";
src = fetchurl { src = fetchurl {
url = "https://github.com/janestreet/pa_bench/archive/${version}.tar.gz"; url = "https://github.com/janestreet/pa_bench/archive/${version}.tar.gz";
sha256 = "e3401e37f1d3d4acb957fd46a192d0ffcefeb0bedee63bbeb26969af1d540870"; sha256 = "1cd6291gdnk6h8ziclg6x3if8z5xy67nfz9gx8sx4k2cwv0j29k5";
}; };
buildInputs = [ pa_ounit ]; buildInputs = [ pa_ounit ];

View File

@ -2,13 +2,13 @@
buildOcaml rec { buildOcaml rec {
name = "pipebang"; name = "pipebang";
version = "110.01.00"; version = "113.00.00";
minimumSupportedOcamlVersion = "4.00"; minimumSupportedOcamlVersion = "4.00";
src = fetchurl { src = fetchurl {
url = "https://github.com/janestreet/pipebang/archive/${version}.tar.gz"; url = "https://github.com/janestreet/pipebang/archive/${version}.tar.gz";
sha256 = "a8858d9607c15cdf0a775196be060c8d91de724fc80a347d7a76ef1d38329096"; sha256 = "0acm2y8wxvnapa248lkgm0vcc44hlwhrjxqkx1awjxzcmarnxhfk";
}; };
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -6,13 +6,13 @@ else
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ppx_derivers-${version}"; name = "ocaml${ocaml.version}-ppx_derivers-${version}";
version = "1.0"; version = "1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "diml"; owner = "diml";
repo = "ppx_derivers"; repo = "ppx_derivers";
rev = version; rev = version;
sha256 = "049yy9706lv1li6a1bibkz1qq2ixxbdyhf4f5w9pv71jc3dlpfy8"; sha256 = "0bnhihl1w31as5w2czly1v3d6pbir9inmgsjg2cj6aaj9v1dzd85";
}; };
buildInputs = [ ocaml findlib jbuilder ]; buildInputs = [ ocaml findlib jbuilder ];

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