Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2019-04-07 08:33:41 +02:00
commit 4a125f6b20
127 changed files with 2246 additions and 1224 deletions

View File

@ -437,18 +437,7 @@ pullImage {
<callout arearefs='ex-dockerTools-pullImage-2'>
<para>
<varname>imageDigest</varname> specifies the digest of the image to be
downloaded. Skopeo can be used to get the digest of an image, with its
<varname>inspect</varname> subcommand. Since a given
<varname>imageName</varname> may transparently refer to a manifest list of
images which support multiple architectures and/or operating systems,
supply the `--override-os` and `--override-arch` arguments to specify
exactly which image you want. By default it will match the OS and
architecture of the host the command is run on.
<programlisting>
$ nix-shell --packages skopeo jq --command "skopeo --override-os linux --override-arch x86_64 inspect docker://docker.io/nixos/nix:1.11 | jq -r '.Digest'"
sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
</programlisting>
This argument is required.
downloaded. This argument is required.
</para>
</callout>
<callout arearefs='ex-dockerTools-pullImage-3'>
@ -486,6 +475,34 @@ sha256:20d9485b25ecfd89204e843a962c1bd70e9cc6858d65d7f5fadc340246e2116b
</para>
</callout>
</calloutlist>
<para>
<literal>nix-prefetch-docker</literal> command can be used to get required
image parameters:
<programlisting>
$ nix run nixpkgs.nix-prefetch-docker -c nix-prefetch-docker --image-name mysql --image-tag 5
</programlisting>
Since a given <varname>imageName</varname> may transparently refer to a
manifest list of images which support multiple architectures and/or
operating systems, you can supply the <option>--os</option> and
<option>--arch</option> arguments to specify exactly which image you want.
By default it will match the OS and architecture of the host the command is
run on.
<programlisting>
$ nix-prefetch-docker --image-name mysql --image-tag 5 --arch x86_64 --os linux
</programlisting>
Desired image name and tag can be set using
<option>--final-image-name</option> and <option>--final-image-tag</option>
arguments:
<programlisting>
$ nix-prefetch-docker --image-name mysql --image-tag 5 --final-image-name eu.gcr.io/my-project/mysql --final-image-tag prod
</programlisting>
</para>
</section>
<section xml:id="ssec-pkgs-dockerTools-exportImage">

View File

@ -2773,6 +2773,11 @@
github = "lucas8";
name = "Luc Chabassier";
};
lucus16 = {
email = "lars.jellema@gmail.com";
github = "Lucus16";
name = "Lars Jellema";
};
ludo = {
email = "ludo@gnu.org";
github = "civodul";
@ -3519,6 +3524,11 @@
github = "olynch";
name = "Owen Lynch";
};
omnipotententity = {
email = "omnipotententity@gmail.com";
github = "omnipotententity";
name = "Michael Reilly";
};
OPNA2608 = {
email = "christoph.neidahl@gmail.com";
github = "OPNA2608";

View File

@ -34,7 +34,7 @@ with lib;
networkmanager-openvpn = super.networkmanager-openvpn.override { withGnome = false; };
networkmanager-vpnc = super.networkmanager-vpnc.override { withGnome = false; };
networkmanager-iodine = super.networkmanager-iodine.override { withGnome = false; };
pinentry = super.pinentry.override { gtk2 = null; qt = null; };
pinentry = super.pinentry.override { gtk2 = null; gcr = null; qt = null; };
gobject-introspection = super.gobject-introspection.override { x11Support = false; };
}));
};

View File

@ -11,6 +11,15 @@ in
{
options.programs.gnupg = {
package = mkOption {
type = types.package;
default = pkgs.gnupg;
defaultText = "pkgs.gnupg";
description = ''
The gpg package that should be used.
'';
};
agent.enable = mkOption {
type = types.bool;
default = false;
@ -75,7 +84,7 @@ in
wantedBy = [ "sockets.target" ];
};
systemd.packages = [ pkgs.gnupg ];
systemd.packages = [ cfg.package ];
environment.interactiveShellInit = ''
# Bind gpg-agent to this TTY if gpg commands are used.
@ -84,12 +93,12 @@ in
'' + (optionalString cfg.agent.enableSSHSupport ''
# SSH agent protocol doesn't support changing TTYs, so bind the agent
# to every new TTY.
${pkgs.gnupg}/bin/gpg-connect-agent --quiet updatestartuptty /bye > /dev/null
${cfg.package}/bin/gpg-connect-agent --quiet updatestartuptty /bye > /dev/null
'');
environment.extraInit = mkIf cfg.agent.enableSSHSupport ''
if [ -z "$SSH_AUTH_SOCK" ]; then
export SSH_AUTH_SOCK=$(${pkgs.gnupg}/bin/gpgconf --list-dirs agent-ssh-socket)
export SSH_AUTH_SOCK=$(${cfg.package}/bin/gpgconf --list-dirs agent-ssh-socket)
fi
'';

View File

@ -58,7 +58,8 @@ in
config = mkIf cfg.enable {
services.davmail.config.davmail = mapAttrs (name: mkDefault) {
services.davmail.config = {
davmail = mapAttrs (name: mkDefault) {
server = true;
disableUpdateCheck = true;
logFilePath = "/var/log/davmail/davmail.log";
@ -71,6 +72,13 @@ in
popPort = 1110;
smtpPort = 1025;
};
log4j = {
logger.davmail = mkDefault "WARN";
logger.httpclient.wire = mkDefault "WARN";
logger.org.apache.commons.httpclient = mkDefault "WARN";
rootLogger = mkDefault "WARN";
};
};
systemd.services.davmail = {
description = "DavMail POP/IMAP/SMTP Exchange Gateway";

View File

@ -705,10 +705,7 @@ in
path =
[ httpd pkgs.coreutils pkgs.gnugrep ]
++ # Needed for PHP's mail() function. !!! Probably the
# ssmtp module should export the path to sendmail in
# some way.
optional config.networking.defaultMailServer.directDelivery pkgs.ssmtp
++ optional enablePHP pkgs.system-sendmail # Needed for PHP's mail() function.
++ concatMap (svc: svc.extraServerPath) allSubservices;
environment =

View File

@ -381,7 +381,7 @@ in {
enableACME = false;
sslCertificate = siteCertFile;
sslCertificateKey = siteKeyFile;
locations.${tosPath}.extraConfig = "alias ${tosFile};";
locations."= ${tosPath}".alias = tosFile;
};
systemd.services = {

View File

@ -0,0 +1,36 @@
{ stdenv, fetchFromGitHub, substituteAll, python3Packages, mpv }:
python3Packages.buildPythonApplication rec {
version = "0.2";
pname = "curseradio";
src = fetchFromGitHub {
owner = "chronitis";
repo = pname;
rev = "1bd4bd0faeec675e0647bac9a100b526cba19f8d";
sha256 = "11bf0jnj8h2fxhpdp498189r4s6b47vy4wripv0z4nx7lxajl88i";
};
propagatedBuildInputs = with python3Packages; [
requests
lxml
pyxdg
];
patches = [
(substituteAll {
src = ./mpv.patch;
inherit mpv;
})
];
# No tests
doCheck = false;
meta = with stdenv.lib; {
description = "Command line radio player";
homepage = "https://github.com/chronitis/curseradio";
license = licenses.mit;
maintainers = [ maintainers.eyjhb ];
};
}

View File

@ -0,0 +1,11 @@
--- a/curseradio/curseradio.py
+++ b/curseradio/curseradio.py
@@ -30,7 +30,7 @@ import re
CONFIG_DEFAULT = {
'opml': {'root': "http://opml.radiotime.com/"},
- 'playback': {'command': '/usr/bin/mpv'},
+ 'playback': {'command': '@mpv@/bin/mpv'},
'interface': {'keymap': 'default'},
'keymap.default': {
'up': 'KEY_UP',

View File

@ -10,14 +10,14 @@ let
# If an update breaks things, one of those might have valuable info:
# https://aur.archlinux.org/packages/spotify/
# https://community.spotify.com/t5/Desktop-Linux
version = "1.0.96.181.gf6bc1b6b-12";
version = "1.1.0.237.g378f6f25-11";
# To get the latest stable revision:
# curl -H 'X-Ubuntu-Series: 16' 'https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=stable' | jq '.download_url,.version,.last_updated'
# To get general information:
# curl -H 'Snap-Device-Series: 16' 'https://api.snapcraft.io/v2/snaps/info/spotify' | jq '.'
# More examples of api usage:
# https://github.com/canonical-websites/snapcraft.io/blob/master/webapp/publisher/snaps/views.py
rev = "30";
rev = "34";
deps = [
@ -71,7 +71,7 @@ stdenv.mkDerivation {
# https://community.spotify.com/t5/Desktop-Linux/Redistribute-Spotify-on-Linux-Distributions/td-p/1695334
src = fetchurl {
url = "https://api.snapcraft.io/api/v1/snaps/download/pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7_${rev}.snap";
sha512 = "859730fbc80067f0828f7e13eee9a21b13b749f897a50e17c2da4ee672785cfd79e1af6336e609529d105e040dc40f61b6189524783ac93d49f991c4ea8b3c56";
sha512 = "beddfa8f5de9998e8d1dca32295d03bdf41ec2c23eca82fcf56e5bae7b8fb84c036627b02ea458623a72a01ba09ef83cc50acdd06f2810bd444aae450d4861e6";
};
buildInputs = [ squashfsTools makeWrapper ];

View File

@ -29,7 +29,7 @@ spotify_nix="$nixpkgs/pkgs/applications/audio/spotify/default.nix"
# create bash array from snap info
snap_info=($(
curl -H 'X-Ubuntu-Series: 16' \
curl -s -H 'X-Ubuntu-Series: 16' \
"https://api.snapcraft.io/api/v1/snaps/details/spotify?channel=$channel" \
| jq --raw-output \
'.revision,.download_sha512,.version,.last_updated'
@ -61,7 +61,7 @@ echo "Current nix version: $current_nix_version"
#
if [[ "$current_nix_version" = "$upstream_version" ]]; then
echo "Spotify is already up ot date"
echo "Spotify is already up-to-date"
exit 0
fi
@ -83,14 +83,6 @@ if ! nix-build -A spotify "$nixpkgs"; then
exit 1
fi
#
# give instructions for upstreaming
#
# Commit changes
git add "$spotify_nix"
# show changes for review
git status
echo 'Please review and test the changes (./result/bin/spotify).'
echo 'Then stage the changes with `git add` and commit with:'
# prepare commit message
echo "git commit -m 'spotify: $current_nix_version -> $upstream_version'"
git commit -m "spotify: ${current_nix_version} -> ${upstream_version}"

View File

@ -18,9 +18,9 @@ let
sha256Hash = "1v4apc73jdhavhzj8j46mzh15rw08w1hd9y9ykarj3b5q7i2vyq1";
};
latestVersion = { # canary & dev
version = "3.5.0.8"; # "Android Studio 3.5 Canary 9"
build = "191.5409101";
sha256Hash = "06fc5l40nxm0hyn8c34wsckxxyh1i2q5a53zd4nbhwxi8wsrda7i";
version = "3.5.0.9"; # "Android Studio 3.5 Canary 10"
build = "191.5416148";
sha256Hash = "03d2x6bqasw417dxc7b8y65rral73xm2ci512gprmsvwy42k3mqi";
};
in rec {
# Old alias (TODO @primeos: Remove after 19.03 is branched off):

View File

@ -18,16 +18,16 @@ let
}.${system};
sha256 = {
"i686-linux" = "1qll0hyqyn3vb0v35h9y8rk4l3r6zzc5bkra6pb23bnr4bna4y80";
"x86_64-linux" = "1sfvv4g7kmvabqxasil41gasr7hsmgf8wwc4dl1940pb7x19fllq";
"x86_64-darwin" = "0gjdppr59pyb2wawvf7yyk7357a5naxga74zf9gc7d9s1fz78hls";
"i686-linux" = "0yfnsmixw3kh7lhb8npqhyihy146a31c1k90smn4kqvmlvm06jir";
"x86_64-linux" = "002bbwj4hxr58lbhjc05s3l9aw37ak06kp98hs8fpmznjsa5x14y";
"x86_64-darwin" = "1f9hkydlyjh2z5d99pwpsqg9yf05pgi5y0mbprgbxacayqcrq2nr";
}.${system};
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
in
stdenv.mkDerivation rec {
name = "vscode-${version}";
version = "1.32.3";
version = "1.33.0";
src = fetchurl {
name = "VSCode_${version}_${plat}.${archive_fmt}";

View File

@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
name = "avocode-${version}";
version = "3.6.12";
version = "3.7.0";
src = fetchurl {
url = "https://media.avocode.com/download/avocode-app/${version}/avocode-${version}-linux.zip";
sha256 = "1qsxwqnkqfp4b9sgmhlv6wjl4mirhnx4bjj2vaq8iyz94pz637c8";
sha256 = "165g63w605fnirwrgqsldmq2gpb1v65dmfx6niy5and7h9j260gp";
};
libPath = stdenv.lib.makeLibraryPath (with xorg; [

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "goxel-${version}";
version = "0.8.2";
version = "0.8.3";
src = fetchFromGitHub {
owner = "guillaumechereau";
repo = "goxel";
rev = "v${version}";
sha256 = "14rycn6sd3wp90c9ghpif1al3rv1fdgvhmpldmwap0pk790kfxs1";
sha256 = "03hyy0i65zdplggaxlndgyvffvnb9g5kvxq2qbicirvz5zcsghk2";
};
patches = [ ./disable-imgui_ini.patch ];

View File

@ -1,10 +1,10 @@
{ fetchurl, stdenv, erlang, cl, libGL, libGLU, runtimeShell }:
stdenv.mkDerivation rec {
name = "wings-2.2.1";
name = "wings-2.2.3";
src = fetchurl {
url = "mirror://sourceforge/wings/${name}.tar.bz2";
sha256 = "1adlq3wd9bz0hjznpzsgilxgsbhr0kk01f06872mq37v4cbw76bh";
sha256 = "1b9xdmh0186xxs92i831vm9yq0il1hngi8bl9a1q7fs26wb8js1g";
};
ERL_LIBS = "${cl}/lib/erlang/lib";

View File

@ -1,14 +1,14 @@
{ mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, qtquickcontrols2, curaengine }:
{ mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, qtquickcontrols2, qtgraphicaleffects, curaengine }:
mkDerivation rec {
name = "cura-${version}";
version = "3.6.0";
version = "4.0.0";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "Cura";
rev = version;
sha256 = "0wzkbqdd1670smw1vnq634rkpcjwnhwcvimhvjq904gy2fylgr90";
sha256 = "18pxlmrw8m2mir177f0j9bma7rk29vam91gd86c0d458nw21q2qf";
};
materials = fetchFromGitHub {
@ -18,7 +18,7 @@ mkDerivation rec {
sha256 = "0g2dkph0ll7d9109n17vmfwb4fpc8lhyb1z1q68j8vblyvg08d12";
};
buildInputs = [ qtbase qtquickcontrols2 ];
buildInputs = [ qtbase qtquickcontrols2 qtgraphicaleffects ];
propagatedBuildInputs = with python3.pkgs; [
libsavitar numpy-stl pyserial requests uranium zeroconf
];
@ -27,6 +27,12 @@ mkDerivation rec {
cmakeFlags = [
"-DURANIUM_DIR=${python3.pkgs.uranium.src}"
"-DCURA_VERSION=${version}"
# see https://github.com/Ultimaker/Cura/issues/5142
"-DCURA_SDK_VERSION=6.0.0"
# remove after 4.0.0, see https://github.com/void-linux/void-packages/pull/9880#issuecomment-475453025
"-DCURA_CLOUD_API_VERSION=1"
];
postPatch = ''

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "curaengine-${version}";
version = "3.6.0";
version = "4.0.0";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
sha256 = "1iwmblvs3qw57698i8bbazyxha18bj9irnkcscdb0596g8q93fcm";
sha256 = "0p4zcckrlrpyp5xdqgvp0phmawyh4cy8vipim9fvgsfcin4vhrv7";
};
nativeBuildInputs = [ cmake ];

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, gtk3, pythonPackages, intltool, gnome3,
pango, gobject-introspection, wrapGAppsHook,
pango, gobject-introspection, wrapGAppsHook, gettext,
# Optional packages:
enableOSM ? true, osm-gps-map,
enableGraphviz ? true, graphviz,
@ -12,7 +12,7 @@ in buildPythonApplication rec {
version = "5.0.1";
name = "gramps-${version}";
nativeBuildInputs = [ wrapGAppsHook ];
nativeBuildInputs = [ wrapGAppsHook gettext ];
buildInputs = [ intltool gtk3 gobject-introspection pango gnome3.gexiv2 ]
# Map support
++ stdenv.lib.optional enableOSM osm-gps-map

View File

@ -29,6 +29,12 @@ mkDerivation rec {
variables.pri
'';
enableParallelBuilding = true;
postInstall = ''
ln -sf $out/lib/*/libqlcplus* $out/lib
'';
meta = with stdenv.lib; {
description = "A free and cross-platform software to control DMX or analog lighting systems like moving heads, dimmers, scanners etc.";
maintainers = [ maintainers.globin ];

View File

@ -7,11 +7,11 @@
stdenv.mkDerivation rec {
name = "workrave-${version}";
version = "1.10.23";
version = "1.10.31";
src = let
in fetchFromGitHub {
sha256 = "1qhlwfhwk5agv4904d6bsf83k9k89q7bms6agg967vsca4905vcw";
sha256 = "0v2mx2idaxlsyv5w66b7pknlill9j9i2gqcs3vq54gak7ix9fj1p";
rev = with stdenv.lib;
"v" + concatStringsSep "_" (splitString "." version);
repo = "workrave";

View File

@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
beta = {
sha256 = "18xzddqi8rgng5vksx23jaiv103prxc38pshwp702nfjfqap7fwy";
sha256bin64 = "1r9nnc1xn319aqzxjh10n6nh714lghgskgdkpvw3hnvgb0v9jw4v";
version = "73.0.3683.86";
sha256 = "1lpgkf292f6v6v19zjp1si6vvizixk9192yjx76pq1d790678qrb";
sha256bin64 = "028c3gjh5zbxr53wkk3s5jvgwc2fz9cnvnyr58q4la91vyrbjslm";
version = "74.0.3729.61";
};
dev = {
sha256 = "0vdiaraw3jjr7ykdqbrhjzppvqs9d7jkkx1qyi50dyvrhipxdihz";
sha256bin64 = "0c5mnb1zz1mjs7h18f1c15ygqxl1kcpm2s1imyprh80mapmsxdxk";
version = "74.0.3729.22";
sha256 = "15197r2gbx4h7dsasvgz0vcl7mqmj0glc4sip99dw145drwdpmsq";
sha256bin64 = "1qf089l5k7l69msrn49z5lkg932n1rgnzgr9yg5ja89arcgynacv";
version = "75.0.3753.4";
};
stable = {
sha256 = "18xzddqi8rgng5vksx23jaiv103prxc38pshwp702nfjfqap7fwy";
sha256bin64 = "1mmm4lxvcfvdj6jpqaas51lx1c9zky4zp374phs3cmh9v8l2ijkb";
version = "73.0.3683.86";
sha256 = "1bskjr7yiwvdab1b5mp36y6964xqpgks6dqazm4qifwqvqcw80pb";
sha256bin64 = "00ndrqhmnk567sw6xj22m84126qvivq0jzfx0v46ya3kq6ln22gr";
version = "73.0.3683.103";
};
}

View File

@ -13,11 +13,11 @@
stdenv.mkDerivation rec {
name = "${product}-${version}";
product = "vivaldi";
version = "2.3.1440.60-1";
version = "2.4.1488.36-1";
src = fetchurl {
url = "https://downloads.vivaldi.com/stable/${product}-stable_${version}_amd64.deb";
sha256 = "1vw4lyqs87cw7v1jy3dcsgnb56s61zl21q95a3kiavqw7412sips";
sha256 = "1m78kk1g3h6jsn3kk37ywx6w4x72690jwx4mgh1pzy37vfxwdqfh";
};
unpackPhase = ''

View File

@ -3,5 +3,15 @@
set -eu -o pipefail
oldVersion=$(nix-instantiate --eval -E "with import ./. {}; zoom-us.version or (builtins.parseDrvName zoom-us.name).version" | tr -d '"')
version="$(curl -sI https://zoom.us/client/latest/zoom_x86_64.tar.xz | grep -Fi 'Location:' | pcregrep -o1 '/(([0-9]\.?)+)/')"
update-source-version zoom-us "$version"
if [ ! "${oldVersion}" = "${version}" ]; then
update-source-version zoom-us "$version"
nixpkgs="$(git rev-parse --show-toplevel)"
default_nix="$nixpkgs/pkgs/applications/networking/instant-messengers/zoom-us/default.nix"
git add "${default_nix}"
git commit -m "zoom-us: ${oldVersion} -> ${version}"
else
echo "zoom-us is already up-to-date"
fi

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "qownnotes";
version = "19.3.4";
version = "19.4.1";
src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
# Can grab official version like so:
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-19.1.8.tar.xz.sha256
sha256 = "4e2d25acf596ed3a759b298e39f6f8bea001c0625e143616bf97560913d7f86f";
sha256 = "c0232dda44591033c2ed29ce0a52ba3539b2f2180d1862a18dd4f677063896cb";
};
nativeBuildInputs = [ qmake qttools ];

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2Packages }:
{ stdenv, fetchurl, python3Packages, gtk3, gobject-introspection, wrapGAppsHook }:
#
# TODO: Declare configuration options for the following optional dependencies:
@ -7,22 +7,17 @@
# - pyxdg: Need to make it work first (see setupPyInstallFlags).
#
python2Packages.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
name = "zim-${version}";
version = "0.69.1";
version = "0.70";
src = fetchurl {
url = "http://zim-wiki.org/downloads/${name}.tar.gz";
sha256 = "1yzb8x4mjp96zshcw7xbd4mvqn8zmbcm7cndskpxyk5yccyn5awq";
sha256 = "1g1xj86iph1a2k4n9yykq0gipbd5jdd7fsh9qpv4v2h5lggadjdd";
};
propagatedBuildInputs = with python2Packages; [ pyGtkGlade pyxdg pygobject2 ];
preBuild = ''
export HOME=$TMP
sed -i '/zim_install_class,/d' setup.py
'';
buildInputs = [ gtk3 gobject-introspection wrapGAppsHook ];
propagatedBuildInputs = with python3Packages; [ pyxdg pygobject3 ];
preFixup = ''

View File

@ -0,0 +1,24 @@
{ gccStdenv, fetchurl, zlib, openmpi }:
gccStdenv.mkDerivation rec {
version = "3.7.2";
pname = "migrate";
src = fetchurl {
url = "https://peterbeerli.com/migrate-html5/download_version3/${pname}-${version}.src.tar.gz";
sha256 = "1p2364ffjc56i82snzvjpy6pkf6wvqwvlvlqxliscx2c303fxs8v";
};
buildInputs = [ zlib openmpi ];
setSourceRoot = ''sourceRoot=$(echo */src)'';
buildFlags = [ "thread" "mpis" ];
preInstall = "mkdir -p $out/man/man1";
meta = with gccStdenv.lib; {
description = "Estimates population size, migration, population splitting parameters using genetic/genomic data";
homepage = https://peterbeerli.com/migrate-html5/index.html;
license = licenses.mit;
maintainers = [ maintainers.bzizou ];
platforms = platforms.unix;
};
}

View File

@ -21,13 +21,13 @@ let
in
stdenv.mkDerivation {
name = "hol_light-2018-09-30";
name = "hol_light-2019-03-27";
src = fetchFromGitHub {
owner = "jrh13";
repo = "hol-light";
rev = "27e09dd27834de46e917057710e9d8ded51a4c9f";
sha256 = "1p0rm08wnc2lsrh3xzhlq3zdhzqcv1lbqnkwx3aybrqhbg1ixc1d";
rev = "a2b487b38d9da47350f1b4316e34a8fa4cf7a40a";
sha256 = "1qlidl15qi8w4si8wxcmj8yg2srsb0q4k1ad9yd91sgx9h9aq8fk";
};
buildInputs = [ ocaml camlp5 ];

View File

@ -1,4 +1,8 @@
{stdenv, fetchurl}:
{ stdenv
, lib
, fetchurl
, optimize ? false # impure
}:
stdenv.mkDerivation rec {
name = "nauty-${version}";
version = "26r11";
@ -7,6 +11,13 @@ stdenv.mkDerivation rec {
sha256 = "05z6mk7c31j70md83396cdjmvzzip1hqb88pfszzc6k4gy8h3m2y";
};
outputs = [ "out" "dev" ];
configureFlags = lib.optionals (!optimize) [
# Prevent nauty from sniffing some cpu features. While those are very
# widely available, it can lead to nasty bugs when they are not available:
# https://groups.google.com/forum/#!topic/sage-packaging/Pe4SRDNYlhA
"--disable-popcnt"
"--disable-clz"
];
buildInputs = [];
installPhase = ''
mkdir -p "$out"/{bin,share/doc/nauty} "$dev"/{lib,include/nauty}
@ -14,18 +25,18 @@ stdenv.mkDerivation rec {
find . -type f -perm -111 \! -name '*.*' \! -name configure -exec cp '{}' "$out/bin" \;
cp [Rr][Ee][Aa][Dd]* COPYRIGHT This* [Cc]hange* "$out/share/doc/nauty"
cp *.h $dev/include/nauty
cp *.h "$dev/include/nauty"
for i in *.a; do
cp "$i" "$dev/lib/lib$i";
done
'';
checkTarget = "checks";
meta = {
meta = with lib; {
inherit version;
description = ''Programs for computing automorphism groups of graphs and digraphs'';
license = stdenv.lib.licenses.asl20;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
license = licenses.asl20;
maintainers = with maintainers; [ raskin timokau ];
platforms = platforms.linux;
homepage = http://pallini.di.uniroma1.it/;
};
}

View File

@ -144,6 +144,13 @@ stdenv.mkDerivation rec {
url = "https://git.sagemath.org/sage.git/patch/?id=f570e3a7fc2965764b84c04ce301a88ded2c42df";
sha256 = "0l5c4giixkn15v2a06sfzq5mkxila6l67zkjbacirwprrlpcnmmp";
})
# https://trac.sagemath.org/ticket/27420
(fetchpatch {
name = "cypari-2.1.patch";
url = "https://git.sagemath.org/sage.git/patch/?id=e351bf2f2914e683d5e2028597c45ae8d1b7f855";
sha256 = "00faa7fl0vaqcqbw0bidkhl78qa8l34d3a07zirbcl0vm74bdn1p";
})
];
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip, makeWrapper, jre }:
stdenv.mkDerivation rec {
name = "subgit-3.2.4";
name = "subgit-3.3.6";
meta = {
description = "A tool for a smooth, stress-free SVN to Git migration";
@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://subgit.com/download/${name}.zip";
sha256 = "13r6hi2zk46bs3j17anfc85kszlwliv2yc16qx834b3v4w68hajw";
sha256 = "1zfhl583lx7xdw9jwskv25p6m385wm3s5a311y0hnxxqwkjbgq1j";
};
}

View File

@ -12,11 +12,11 @@ let
in
stdenv.mkDerivation rec {
name = "gitkraken-${version}";
version = "5.0.1";
version = "5.0.4";
src = fetchurl {
url = "https://release.axocdn.com/linux/GitKraken-v${version}.deb";
sha256 = "14n0xqp6y7ij26r5k7h0phf29krbpx54yzfbvrax5sd9cwg2762g";
sha256 = "1fq0w8djkcx5jr2pw6izlq5rkwbq3r3f15xr3dmmbz6gjvi3nra0";
};
libPath = makeLibraryPath [

View File

@ -2,10 +2,10 @@
, libFS, libXaw, libXpm, libXext, libSM, libICE, perl, linux}:
stdenv.mkDerivation rec {
name = "xawtv-3.105";
name = "xawtv-3.106";
src = fetchurl {
url = "https://linuxtv.org/downloads/xawtv/${name}.tar.bz2";
sha256 = "03v4k0dychjz1kj890d9pc7v8jh084m01g71x1clmmvc6vc9kn1b";
sha256 = "174wd36rk0k23mgx9nlnpc398yd1f0wiv060963axg6sz0v4rksp";
};
preConfigure = ''

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
name = "open-vm-tools-${version}";
version = "10.3.5";
version = "10.3.10";
src = fetchFromGitHub {
owner = "vmware";
repo = "open-vm-tools";
rev = "stable-${version}";
sha256 = "10x24gkqcg9lnfxghq92nr76h40s5v3xrv0ymi9c7aqrqry404z7";
sha256 = "0x2cyccnb4sycrw7r5mzby2d196f9jiph8vyqi0x8v8r2b4vi4yj";
};
sourceRoot = "${src.name}/open-vm-tools";

View File

@ -4,13 +4,13 @@ with lib;
stdenv.mkDerivation rec {
name = "conmon-${version}";
version = "unstable-2019-02-15";
rev = "cc2b49590a485da9bd358440f92f219dfd6b230f";
version = "unstable-2019-03-19";
rev = "84c860029893e2e2dd71d62231f009c9dcd3c0b4";
src = fetchFromGitHub {
owner = "containers";
repo = "conmon";
sha256 = "13f5as4a9y6nkmr7cg0n27c2hfx9pkr75fxq2m0hlpcwhaardbm7";
sha256 = "1ydidl3s7s5rfwk9gx0k80nxcixlilxw61g7x0vqsdy3mkylysv5";
inherit rev;
};

View File

@ -5,13 +5,13 @@
buildGoPackage rec {
name = "podman-${version}";
version = "1.1.2";
version = "1.2.0";
src = fetchFromGitHub {
owner = "containers";
repo = "libpod";
rev = "v${version}";
sha256 = "180sv1a7k3866ilb0mxbhiysms9xy4v6xbpy4in6ch8m8qym9amh";
sha256 = "1nlll4q62w3i897wraj18pdi5cc91b8gmp360pzyqzzjdm9ag7v6";
};
goPackagePath = "github.com/containers/libpod";

View File

@ -289,7 +289,7 @@ rec {
}:
let
storePathToLayer = substituteAll
{ inherit (stdenv) shell;
{ shell = runtimeShell;
isExecutable = true;
src = ./store-path-to-layer.sh;
};

View File

@ -0,0 +1,173 @@
#! /usr/bin/env bash
set -e -o pipefail
os=
arch=
imageName=
imageTag=
imageDigest=
finalImageName=
finalImageTag=
hashType=$NIX_HASH_ALGO
hashFormat=$hashFormat
format=nix
usage(){
echo >&2 "syntax: nix-prefetch-docker [options] [IMAGE_NAME [IMAGE_TAG|IMAGE_DIGEST]]
Options:
--os os OS to fetch image for
--arch linux Arch to fetch image for
--image-name name Name of the image to fetch
--image-tag tag Image tag
--image-digest digest Image digest
--final-image-name name Desired name of the image
--final-image-tag tag Desired image tag
--json Output result in json format instead of nix
--quiet Only print the final result
"
exit 1
}
get_image_digest(){
local imageName=$1
local imageTag=$2
if test -z "$imageTag"; then
imageTag="latest"
fi
skopeo inspect "docker://$imageName:$imageTag" | jq '.Digest' -r
}
get_name() {
local imageName=$1
local imageTag=$2
echo "docker-image-$(echo "$imageName:$imageTag" | tr '/:' '-').tar"
}
argi=0
argfun=""
for arg; do
if test -z "$argfun"; then
case $arg in
--os) argfun=set_os;;
--arch) argfun=set_arch;;
--image-name) argfun=set_imageName;;
--image-tag) argfun=set_imageTag;;
--image-digest) argfun=set_imageDigest;;
--final-image-name) argfun=set_finalImageName;;
--final-image-tag) argfun=set_finalImageTag;;
--quiet) QUIET=true;;
--json) format=json;;
--help) usage; exit;;
*)
: $((++argi))
case $argi in
1) imageName=$arg;;
2) [[ $arg == *"sha256"* ]] && imageDigest=$arg || imageTag=$arg;;
*) exit 1;;
esac
;;
esac
else
case $argfun in
set_*)
var=${argfun#set_}
eval $var=$arg
;;
esac
argfun=""
fi
done
if test -z "$imageName"; then
usage
fi
if test -z "$os"; then
os=linux
fi
if test -z "$arch"; then
arch=amd64
fi
if test -z "$hashType"; then
hashType=sha256
fi
if test -z "$hashFormat"; then
hashFormat=base32
fi
if test -z "$finalImageName"; then
finalImageName="$imageName"
fi
if test -z "$finalImageTag"; then
if test -z "$imageTag"; then
finalImageTag="latest"
else
finalImageTag="$imageTag"
fi
fi
if test -z "$imageDigest"; then
imageDigest=$(get_image_digest $imageName $imageTag)
fi
sourceUrl="docker://$imageName@$imageDigest"
tmpPath="$(mktemp -d "${TMPDIR:-/tmp}/skopeo-copy-tmp-XXXXXXXX")"
trap "rm -rf \"$tmpPath\"" EXIT
tmpFile="$tmpPath/$(get_name $finalImageName $finalImageTag)"
if test -z "$QUIET"; then
skopeo --override-os ${os} --override-arch ${arch} copy "$sourceUrl" "docker-archive://$tmpFile:$finalImageName:$finalImageTag"
else
skopeo --override-os ${os} --override-arch ${arch} copy "$sourceUrl" "docker-archive://$tmpFile:$finalImageName:$finalImageTag" > /dev/null
fi
# Compute the hash.
imageHash=$(nix-hash --flat --type $hashType --base32 "$tmpFile")
# Add the downloaded file to Nix store.
finalPath=$(nix-store --add-fixed "$hashType" "$tmpFile")
if test -z "$QUIET"; then
echo "-> ImageName: $imageName"
echo "-> ImageDigest: $imageDigest"
echo "-> FinalImageName: $finalImageName"
echo "-> FinalImageTag: $finalImageTag"
echo "-> ImagePath: $finalPath"
echo "-> ImageHash: $imageHash"
fi
if [ "$format" == "nix" ]; then
cat <<EOF
{
imageName = "$imageName";
imageDigest = "$imageDigest";
sha256 = "$imageHash";
finalImageName = "$finalImageName";
finalImageTag = "$finalImageTag";
}
EOF
else
cat <<EOF
{
"imageName": "$imageName",
"imageDigest": "$imageDigest",
"sha256": "$imageHash",
"finalImageName": "$finalImageName",
"finalImageTag": "$finalImageTag"
}
EOF
fi

View File

@ -0,0 +1,26 @@
{ stdenv, makeWrapper, nix, skopeo }:
with stdenv.lib;
stdenv.mkDerivation {
name = "nix-prefetch-docker";
nativeBuildInputs = [ makeWrapper ];
unpackPhase = ":";
installPhase = ''
install -vD ${./nix-prefetch-docker} $out/bin/$name;
wrapProgram $out/bin/$name \
--prefix PATH : ${makeBinPath [ nix skopeo ]} \
--set HOME /homeless-shelter
'';
preferLocalBuild = true;
meta = {
description = "Script used to obtain source hashes for dockerTools.pullImage";
maintainers = with maintainers; [ offline ];
platforms = platforms.unix;
};
}

View File

@ -1,4 +1,4 @@
#!/bin/sh
#! @shell@
set -eu

View File

@ -29,6 +29,9 @@ for arg in "$@"; do
die "Could not find provided file $nixFile"
fi
;;
--ignore-same-hash)
ignoreSameHash="true"
;;
--help)
usage
exit 0
@ -86,11 +89,15 @@ fi
oldUrl=$(nix-instantiate $systemArg --eval -E "with import ./. {}; builtins.elemAt $attr.src.drvAttrs.urls 0" | tr -d '"')
if [ -z "$oldUrl" ]; then
die "Couldn't evaluate source url from '$attr.name'!"
oldUrl=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.src.url" | tr -d '"')
if [ -z "$oldUrl" ]; then
die "Couldn't evaluate source url from '$attr.src'!"
fi
fi
drvName=$(nix-instantiate $systemArg --eval -E "with import ./. {}; (builtins.parseDrvName $attr.name).name" | tr -d '"')
oldVersion=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.version or (builtins.parseDrvName $attr.name).version" | tr -d '"')
oldVersion=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.${versionKey} or (builtins.parseDrvName $attr.name).${versionKey}" | tr -d '"')
if [ -z "$drvName" -o -z "$oldVersion" ]; then
die "Couldn't evaluate name and version from '$attr.name'!"
@ -154,7 +161,7 @@ if [ -z "$newHash" ]; then
die "Couldn't figure out new hash of '$attr.src'!"
fi
if [ "$oldVersion" != "$newVersion" ] && [ "$oldHash" = "$newHash" ]; then
if [ -z "${ignoreSameHash}"] && [ "$oldVersion" != "$newVersion" ] && [ "$oldHash" = "$newHash" ]; then
mv "$nixFile.bak" "$nixFile"
die "Both the old and new source hashes of '$attr.src' were equivalent. Please fix the package's source URL to be dependent on '\${version}'!"
fi

View File

@ -1,18 +1,22 @@
{ stdenv, fetchzip }:
# XXX: IMPORTANT:
# For compat, keep this at the last version that used the name "Inter UI"
# For newer versions, which are now simply named "Inter",
# see the expression for `inter` (../inter/default.nix).
let
version = "3.4";
version = "3.2";
in fetchzip {
name = "inter-${version}";
name = "inter-ui-${version}";
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-UI-${version}.zip";
postFetch = ''
mkdir -p $out/share/fonts/opentype
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
'';
sha256 = "1dl4zc1a5dl9xkg094zmzy6bk7gms8vhsiln58ix7sffzcf3pri8";
sha256 = "01d2ql803jrhss6g60djvs08x9xl7z6b3snkn03vqnrajdgifcl4";
meta = with stdenv.lib; {
homepage = https://rsms.me/inter/;

View File

@ -0,0 +1,25 @@
{ stdenv, fetchzip }:
let
version = "3.5";
in fetchzip {
name = "inter-${version}";
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
postFetch = ''
mkdir -p $out/share/fonts/opentype
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
'';
sha256 = "0zqixzzbb3n1j4jvpjm0hlxc32j53hgq4j078gihjkhgvjhsklf2";
meta = with stdenv.lib; {
homepage = https://rsms.me/inter/;
description = "A typeface specially designed for user interfaces";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ demize ];
};
}

View File

@ -0,0 +1,35 @@
{ stdenv, lib, fetchFromGitHub, glib, gnome3 }:
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-tilingnome";
version = "unstable-2019-01-18";
src = fetchFromGitHub {
owner = "rliang";
repo = pname;
rev = "bd4fb8c19f7a6282b38724b30e62645143390226";
sha256 = "1y4s4n88gdkpvgd3v3dg0181ccyhlixbvkx3bwyvdxyyyxbqibid";
};
nativeBuildInputs = [ glib ];
buildPhase = ''
glib-compile-schemas .
'';
installPhase = ''
mkdir -p $out/share/gnome-shell/extensions/${uuid}
cp -r * $out/share/gnome-shell/extensions/${uuid}/
'';
uuid = "tilingnome@rliang.github.com";
meta = with stdenv.lib; {
description = "Tiling window management for GNOME Shell";
license = licenses.gpl2;
maintainers = with maintainers; [ benley ];
homepage = https://github.com/rliang/gnome-shell-extension-tilingnome;
platforms = gnome3.gnome-shell.meta.platforms;
broken = lib.versionAtLeast gnome3.gnome-shell.version "3.31";
};
}

View File

@ -52,13 +52,14 @@ stdenv.mkDerivation rec {
patches = [
(substituteAll {
src = ./gsd.patch;
elementary-settings-daemon = "${elementary-settings-daemon}/libexec";
elementary_settings_daemon = "${elementary-settings-daemon}/libexec/";
})
(substituteAll {
src = ./numlockx.patch;
inherit numlockx;
})
./01-sysconfdir-install.patch
./hardcode-theme.patch
];
mesonFlags = [
@ -70,9 +71,6 @@ stdenv.mkDerivation rec {
preFixup = ''
gappsWrapperArgs+=(
# GTK+ reads default settings (such as icons and themes) from elementary's settings.ini here
--prefix XDG_CONFIG_DIRS : "${elementary-default-settings}/etc"
# dbus-launch needed in path
--prefix PATH : "${dbus}/bin"

View File

@ -7,7 +7,7 @@ index 2450c1a..a908d11 100644
conf_data.set('CONF_DIR', join_paths(get_option('sysconfdir'), 'lightdm'))
conf_data.set('GETTEXT_PACKAGE', meson.project_name())
-conf_data.set('GSD_DIR', '/usr/lib/gnome-settings-daemon/')
+conf_data.set('GSD_DIR', '@elementary-settings-daemon@')
+conf_data.set('GSD_DIR', '@elementary_settings_daemon@')
conf_data.set('VERSION', meson.project_version())
config_header = configure_file (
input: 'config.vala.in',

View File

@ -0,0 +1,15 @@
diff --git a/src/PantheonGreeter.vala b/src/PantheonGreeter.vala
index 11aa4c0..daf4a8a 100644
--- a/src/PantheonGreeter.vala
+++ b/src/PantheonGreeter.vala
@@ -474,6 +474,10 @@ public static int main (string [] args) {
Gdk.CursorType.LEFT_PTR);
Gdk.get_default_root_window ().set_cursor (cursor);
+ var settings = Gtk.Settings.get_default ();
+ settings.gtk_icon_theme_name = "elementary";
+ settings.gtk_theme_name = "elementary";
+
var icon_theme = Gtk.IconTheme.get_default ();
icon_theme.add_resource_path ("/io/elementary/greeter/icons");

View File

@ -5,16 +5,17 @@ stdenv.mkDerivation rec {
version = "6-2017-q2-update";
subdir = "6-2017q2";
platformString =
if stdenv.isLinux then "linux"
else if stdenv.isDarwin then "mac"
else throw "unsupported platform";
urlString = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-${platformString}.tar.bz2";
src =
if stdenv.isLinux then fetchurl { url=urlString; sha256="1hvwi02mx34al525sngnl0cm7dkmzxfkb1brq9kvbv28wcplp3p6"; }
else if stdenv.isDarwin then fetchurl { url=urlString; sha256="0019ylpq4inq7p5gydpmc9m8ni72fz2csrjlqmgx1698998q0c3x"; }
if stdenv.isLinux then
fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
sha256="1hvwi02mx34al525sngnl0cm7dkmzxfkb1brq9kvbv28wcplp3p6";
}
else if stdenv.isDarwin then
fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-mac.tar.bz2";
sha256="0019ylpq4inq7p5gydpmc9m8ni72fz2csrjlqmgx1698998q0c3x";
}
else throw "unsupported platform";
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];

View File

@ -7,9 +7,18 @@ stdenv.mkDerivation rec {
version = "7-2018-q2-update";
subdir = "7-2018q2";
urlString = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
src = fetchurl { url=urlString; sha256="0sgysp3hfpgrkcbfiwkp0a7ymqs02khfbrjabm52b5z61sgi05xv"; };
src =
if stdenv.isLinux then
fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
sha256="0sgysp3hfpgrkcbfiwkp0a7ymqs02khfbrjabm52b5z61sgi05xv";
}
else if stdenv.isDarwin then
fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-mac.tar.bz2";
sha256="0nc7m0mpa39qyhfyydxkkyqm7spfc27xf6ygi2vd2aym4r9azi61";
}
else throw "unsupported platform";
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];

View File

@ -7,9 +7,18 @@ stdenv.mkDerivation rec {
version = "8-2018-q4-major";
subdir = "8-2018q4";
urlString = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
src = fetchurl { url=urlString; sha256="fb31fbdfe08406ece43eef5df623c0b2deb8b53e405e2c878300f7a1f303ee52"; };
src =
if stdenv.isLinux then
fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
sha256="fb31fbdfe08406ece43eef5df623c0b2deb8b53e405e2c878300f7a1f303ee52";
}
else if stdenv.isDarwin then
fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-mac.tar.bz2";
sha256="0q44r57fizpk1z3ngcjwal3rxgsnzjyfknpgwlwzmw5r9p98wlhb";
}
else throw "unsupported platform";
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];

View File

@ -871,8 +871,38 @@ self: super: {
# https://github.com/takano-akio/filelock/issues/5
filelock = dontCheck super.filelock;
# cryptol-2.5.0 doesn't want happy 1.19.6+.
cryptol = super.cryptol.override { happy = self.happy_1_19_5; };
# fix GHC 8.6 builds by using irrefutable patterns. jailbreak is also
# required due to a constraint failure for base-compat.
cryptol = doJailbreak (overrideCabal super.cryptol (drv: {
# the last patch fixes ghc 8.6 builds; the other two (small) patches fix a
# few bugs between them, but are also hard dependencies
patches = drv.patches or [] ++ [
(pkgs.fetchpatch {
url = https://github.com/GaloisInc/cryptol/commit/634c5a03e757663bf86d1ffad1ce2c6086d4483f.patch;
sha256 = "16dvfihsl2c4jnyfndgrjarkm3z5pyn7rzg2svnidx0qipwrxzm7";
})
(pkgs.fetchpatch {
url = https://github.com/GaloisInc/cryptol/commit/515642328aff6d958ff1b534b9effdd726901b60.patch;
sha256 = "1fml71b720igyh8s7mj1z1c2bbv1vk490iy7blvxp625nymzjij6";
})
(pkgs.fetchpatch {
url = https://github.com/GaloisInc/cryptol/commit/a8eab11b319f6434f9b01b26d419b8305ff30bc2.patch;
sha256 = "1bbznp3kbj8l83q979gf4gr2khwbyqi85ykwsf2jnkhzda6pr0n8";
})
];
buildTools = drv.buildTools or [] ++ [ pkgs.makeWrapper ];
# make sure the binaries always start up. previously this was in
# all-packages.nix but it's almost certainly better to do it here (e.g. a
# haskell deps may use cryptol in the test suite or something, etc)
postInstall = drv.postInstall or "" + ''
for b in $out/bin/cryptol $out/bin/cryptol-html; do
wrapProgram $b --prefix 'PATH' ':' "${pkgs.lib.getBin pkgs.z3}/bin"
done
'';
}));
# Tests try to invoke external process and process == 1.4
grakn = dontCheck (doJailbreak super.grakn);

View File

@ -3788,7 +3788,6 @@ broken-packages:
- crypto-simple
- cryptocompare
- cryptoconditions
- cryptol
- cryptsy-api
- crystalfontz
- cse-ghc-plugin

View File

@ -59113,7 +59113,6 @@ self: {
description = "Cryptol: The Language of Cryptography";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
"cryptonite" = callPackage

View File

@ -258,24 +258,24 @@ let
in {
php71 = generic {
version = "7.1.27";
sha256 = "0jzcyilvdy05w30vz5ln46lqm9hi36h5bibiwhl1b4a1179yrmys";
version = "7.1.28";
sha256 = "1jal5kr3h9krgb4x46l7wg9czfiigax6vni6cagfdi8zzqrqg7kk";
# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php71-darwin-isfinite.patch;
};
php72 = generic {
version = "7.2.16";
sha256 = "0f3zkv803banqdrhj5ixfg973fnrsvn4hcij2k6r91nmac0d22ic";
version = "7.2.17";
sha256 = "0xag1735q92kj8p09gyydxknisgz7h56pksr44qwnykddymi3a4i";
# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php72-darwin-isfinite.patch;
};
php73 = generic {
version = "7.3.3";
sha256 = "1riw0a1mzc5ymaj02rni57l5pyfkxl0ygf1l39q7ksnz7aa9x5k1";
version = "7.3.4";
sha256 = "0y1bl4nwpr0z11wsdizrs3nvkx1xs3xzy7mn8gj4jdn82a13sb1f";
# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php73-darwin-isfinite.patch;

View File

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

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "herwig-${version}";
version = "7.1.4";
version = "7.1.5";
src = fetchurl {
url = "https://www.hepforge.org/archive/herwig/Herwig-${version}.tar.bz2";
sha256 = "1awr1jz0q873x8bgwiilzklhk1zkgm6slvpychpnvsf9vk05mmdx";
sha256 = "0jnrv59zfa41gc37pqr3vaiz5jkh7w0k0alcax37b3mlbsnacr9r";
};
nativeBuildInputs = [ autoconf automake libtool ];
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
++ (with lhapdf.pdf_sets; [ MMHT2014lo68cl MMHT2014nlo68cl ]);
postPatch = ''
patchShebangs ./cat_with_cpplines
patchShebangs ./
'';
configureFlags = [

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "thepeg-${version}";
version = "2.1.4";
version = "2.1.5";
src = fetchurl {
url = "https://www.hepforge.org/archive/thepeg/ThePEG-${version}.tar.bz2";
sha256 = "1x9dfxmsbmzmsxrv3cczfyrnqkxjcpy89v6v7ycysrx9k8qkf320";
sha256 = "1rmmwhk9abn9mc9j3127axjwpvymv21ld4wcivwz01pldkxh06n6";
};
buildInputs = [ boost fastjet gsl hepmc lhapdf rivet zlib ];

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
name = "vapoursynth-mvtools-${version}";
version = "20";
version = "21";
src = fetchFromGitHub {
owner = "dubhater";
repo = "vapoursynth-mvtools";
rev = "v${version}";
sha256 = "0nbq04wbmz7xqfcfpdvgg0p8xhh2xdcwhhx5gwr4j8bm611v0npz";
sha256 = "0vjxpp4jmmjhcp8z81idsbgq6jyx0l4r4i32b8alnp6c9fahjh6p";
};
nativeBuildInputs = [ pkgconfig ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "wolfssl-${version}";
version = "3.15.7";
version = "4.0.0";
src = fetchFromGitHub {
owner = "wolfSSL";
repo = "wolfssl";
rev = "v${version}-stable";
sha256 = "128z1f7nry278kdjzq950cr81bml8p17fgdchmpvy0awhh7r20y9";
sha256 = "155lmgz81ky0x04c8m2yzlsm58i9jk6hiw1ajc3wizvbpczbca57";
};
configureFlags = [ "--enable-all" ];

View File

@ -1,12 +1,14 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, react, opaline }:
assert stdenv.lib.versionAtLeast ocaml.version "3.11";
if !stdenv.lib.versionAtLeast ocaml.version "4.04"
then throw "reactiveData is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-reactiveData-0.2.1";
name = "ocaml${ocaml.version}-reactiveData-0.2.2";
src = fetchurl {
url = https://github.com/ocsigen/reactiveData/archive/0.2.1.tar.gz;
sha256 = "0wcs0z50nia1cpk8mh6i5qbc6sff9cc8x7s7q1q89d7m73bnv4vf";
url = https://github.com/ocsigen/reactiveData/archive/0.2.2.tar.gz;
sha256 = "0jzagyp4zla28wykvcgqwd8df71ir0vb4s8akp02cfacd5v86sng";
};
buildInputs = [ ocaml findlib ocamlbuild opaline ];

View File

@ -6,11 +6,11 @@ in
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-${pname}-${version}";
version = "1.0.1";
version = "1.0.2";
src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
sha256 = "1gp96dcggq7s84934vimxh89caaxa77lqiff1yywbwkilkkjcfqj";
sha256 = "1nx1rly3qj23jzn9yk3x6fwqimcxjd84kv5859vvhdg56psq26p6";
};
buildInputs = [ ocaml findlib ocamlbuild topkg cmdliner ];

View File

@ -1,4 +1,4 @@
{ buildPythonPackage, fetchPypi, attrs, protobuf, zeroconf }:
{ lib, buildPythonPackage, fetchPypi, attrs, protobuf, zeroconf }:
buildPythonPackage rec {
pname = "aioesphomeapi";
@ -11,5 +11,13 @@ buildPythonPackage rec {
propagatedBuildInputs = [ attrs protobuf zeroconf ];
meta = {};
# no tests implemented
doCheck = false;
meta = with lib; {
description = "Python Client for ESPHome native API";
homepage = https://github.com/esphome/aioesphomeapi;
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@ -6,11 +6,11 @@
}:
buildPythonPackage rec {
pname = "cmd2";
version = "0.9.10";
version = "0.9.11";
src = fetchPypi {
inherit pname version;
sha256 = "00d68374abe02363a417160e5836022be5c8f8bdac1da5dd101fadb6f8e96619";
sha256 = "0hjj587dwnl5767wbl875vglvdr1f5z5jzb5wliip78lbyq3b8rl";
};
LC_ALL="en_US.UTF-8";

View File

@ -11,11 +11,11 @@
buildPythonPackage rec {
pname = "cypari2";
# upgrade may break sage, please test the sage build or ping @timokau on upgrade
version = "2.0.3";
version = "2.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0mghbmilmy34xp1d50xdx76sijqxmpkm2bcgx2v1mdji2ff7n0yc";
sha256 = "0bm5jvmwqp48n6b385mw4v7wsws9zk62mgb7xf5ymiq7k6wgvxli";
};
# This differs slightly from the default python installPhase in that it pip-installs

View File

@ -4,11 +4,11 @@
buildPythonPackage rec {
pname = "python-ldap";
version = "3.1.0";
version = "3.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "41975e79406502c092732c57ef0c2c2eb318d91e8e765f81f5d4ab6c1db727c5";
sha256 = "13nvrhp85yr0jyxixcjj012iw8l9wynxxlykm9j3alss6waln73x";
};
propagatedBuildInputs = [ pyasn1 pyasn1-modules ];
@ -28,4 +28,10 @@ buildPythonPackage rec {
'';
doCheck = !stdenv.isDarwin;
meta = with stdenv.lib; {
description = "Python modules for implementing LDAP clients";
homepage = https://www.python-ldap.org/;
license = licenses.psfl;
};
}

View File

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi
, pbr, ldap, fixtures, testresources, testtools }:
, pbr, ldap, prettytable, fixtures, testresources, testtools }:
buildPythonPackage rec {
name = "ldappool-${version}";
@ -11,9 +11,14 @@ buildPythonPackage rec {
sha256 = "d9c9ec29be3f3e64164be84fe080a3087108836f307a12ec62f7d18988293df3";
};
postPatch = ''
# Tests run without most of the dependencies
echo "" > test-requirements.txt
'';
nativeBuildInputs = [ pbr ];
propagatedBuildInputs = [ ldap ];
propagatedBuildInputs = [ ldap prettytable ];
checkInputs = [ fixtures testresources testtools ];

View File

@ -3,14 +3,14 @@
buildPythonPackage rec {
pname = "libarcus";
version = "3.6.0";
version = "4.0.0";
format = "other";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libArcus";
rev = version;
sha256 = "1zbp6axai47k3p2q497wiajls1h17wss143zynbwbwrqinsfiw43";
sha256 = "14c62bsc2cynhaajpdidcqpq2vqwshrdkqyzwvpsjjbfmlx3b1ay";
};
disabled = pythonOlder "3.4.0";

View File

@ -2,14 +2,14 @@
buildPythonPackage rec {
pname = "libsavitar";
version = "3.6.0";
version = "4.0.0";
format = "other";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "libSavitar";
rev = version;
sha256 = "1bz8ga0n9aw65hqzajbr93dcv5g555iaihbhs1jq2k47cx66klzv";
sha256 = "1q70l37qafzfkpw8vlagmpd2w576b6jc1xmxp3wf3qfq45j8kya0";
};
postPatch = ''

View File

@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "netdisco";
version = "2.5.0";
version = "2.6.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "2ecb9830ceed5cf8f2ccc5a9bbe02ca5f6851435f5315a5402f0123311f13b37";
sha256 = "2b3aca14a1807712a053f11fd80dc251dd821ee4899aefece515287981817762";
};
propagatedBuildInputs = [ requests zeroconf netifaces ];

View File

@ -2,13 +2,13 @@
buildPythonPackage rec {
pname = "pylast";
version = "3.0.0";
version = "3.1.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "24051c52011ff18bdeaee9df084ecc90da6c627da86f3cdcfec4af2928e9bc56";
sha256 = "0sk08l8dq0r4xgmqkxq6jzlbam34k95adaw468n0bh6cps18ddby";
};
propagatedBuildInputs = [ certifi six ];

View File

@ -1,12 +1,12 @@
{ stdenv, fetchPypi, buildPythonPackage, swig, pcsclite, PCSC }:
{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, swig, pcsclite, PCSC }:
buildPythonPackage rec {
version = "1.9.7";
version = "1.9.8";
pname = "pyscard";
src = fetchPypi {
inherit pname version;
sha256 = "412c74c83e7401566e9d3d7b8b5ca965e74582a1f33179b3c1fabf1da73ebf80";
sha256 = "15fh00z1an6r5j7hrz3jlq0rb3jygwf3x4jcwsa008bv8vpcg7gm";
};
postPatch = ''
@ -16,6 +16,15 @@ buildPythonPackage rec {
NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/";
patches = [
# Fixes darwin tests
# See: https://github.com/LudovicRousseau/pyscard/issues/77
(fetchpatch {
url = "https://github.com/LudovicRousseau/pyscard/commit/62e675028086c75656444cc21d563d9f08ebf8e7.patch";
sha256 = "1lr55npcpc8j750vf7vaisqyk18d5f00l7nii2lvawg4sssjaaf7";
})
];
propagatedBuildInputs = [ pcsclite ];
buildInputs = stdenv.lib.optional stdenv.isDarwin PCSC;
nativeBuildInputs = [ swig ];

View File

@ -2,7 +2,7 @@
, pyqt5, numpy, scipy, shapely, libarcus, doxygen, gettext, pythonOlder }:
buildPythonPackage rec {
version = "3.6.0";
version = "4.0.0";
pname = "uranium";
format = "other";
@ -10,7 +10,7 @@ buildPythonPackage rec {
owner = "Ultimaker";
repo = "Uranium";
rev = version;
sha256 = "02hid13h8anb9bgv2hhrcdg10bxdxa9hj9pbdv3gw3lpn9r2va98";
sha256 = "1dzn064np76q0xpypcwsa7k7arzihg79xw1pgcvdizk9kzc6rw3y";
};
disabled = pythonOlder "3.5.0";

View File

@ -3,13 +3,13 @@
, go-md2man }:
let
version = "1.7.1";
version = "1.7.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "containers";
repo = "buildah";
sha256 = "083s0bcajks2qnxq6cn9lax5aiyvicf60rf3ifgqksl9skr748qb";
sha256 = "19rp5kgdgyjfvg23m8dqlv6g1cs2c57nnw64ifjv24hqhy1xc0qk";
};
goPackagePath = "github.com/containers/buildah";

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "jenkins-${version}";
version = "2.150.1";
version = "2.164.1";
src = fetchurl {
url = "http://mirrors.jenkins.io/war-stable/${version}/jenkins.war";
sha256 = "0sb6mzynw1vg6s43mpd7b0dz1clbf8akga09i14q66isb9nmhf3s";
sha256 = "02r2kf0v7pbi6xfak5ii7cwi5pq2awq4pcsi6d7k8m7f69b3ym35";
};
buildCommand = ''

View File

@ -3,11 +3,20 @@
set -eu -o pipefail
core_json="$(curl --fail --location https://updates.jenkins.io/stable/update-center.actual.json | jq .core)"
core_json="$(curl -s --fail --location https://updates.jenkins.io/stable/update-center.actual.json | jq .core)"
oldVersion=$(nix-instantiate --eval -E "with import ./. {}; jenkins.version or (builtins.parseDrvName jenkins.name).version" | tr -d '"')
version="$(jq -r .version <<<$core_json)"
sha256="$(jq -r .sha256 <<<$core_json)"
hash="$(nix-hash --type sha256 --to-base32 "$sha256")"
url="$(jq -r .url <<<$core_json)"
update-source-version jenkins "$version" "$hash" "$url"
if [ ! "${oldVersion}" = "${version}" ]; then
update-source-version jenkins "$version" "$hash" "$url"
nixpkgs="$(git rev-parse --show-toplevel)"
default_nix="$nixpkgs/pkgs/development/tools/continuous-integration/jenkins/default.nix"
git add "${default_nix}"
git commit -m "jenkins: ${oldVersion} -> ${version}"
else
echo "jenkins is already up-to-date"
fi

View File

@ -10,13 +10,13 @@ let
};
in stdenv.mkDerivation rec {
name = "godot-${version}";
version = "3.0.6";
version = "3.1";
src = fetchFromGitHub {
owner = "godotengine";
repo = "godot";
rev = "${version}-stable";
sha256 = "0g64h0x8dlv6aa9ggfcidk2mknkfl5li7z1phcav8aqp9srj8avf";
sha256 = "1z37znqzbn0x8s04pb9dxzni9jzl8m59nfrr14vypww42f9l5i7i";
};
nativeBuildInputs = [ pkgconfig ];
@ -51,10 +51,10 @@ in stdenv.mkDerivation rec {
cp misc/dist/linux/godot.6 "$man/share/man/man6/"
mkdir -p "$out"/share/{applications,icons/hicolor/scalable/apps}
cp misc/dist/linux/godot.desktop "$out/share/applications/"
cp misc/dist/linux/org.godotengine.Godot.desktop "$out/share/applications/"
cp icon.svg "$out/share/icons/hicolor/scalable/apps/godot.svg"
cp icon.png "$out/share/icons/godot.png"
substituteInPlace "$out/share/applications/godot.desktop" \
substituteInPlace "$out/share/applications/org.godotengine.Godot.desktop" \
--replace "Exec=godot" "Exec=$out/bin/godot"
'';

View File

@ -1,6 +1,6 @@
+++ build/SConstruct
@@ -69,10 +69,10 @@
custom_tools = ['mingw']
@@ -63,10 +63,10 @@ elif platform_arg == 'javascript':
custom_tools = ['cc', 'c++', 'ar', 'link', 'textfile', 'zip']
env_base = Environment(tools=custom_tools)
-if 'TERM' in os.environ:
@ -11,6 +11,7 @@
+ if (k in os.environ):
+ env_base["ENV"][k] = os.environ[k]
+
env_base.global_defaults = global_defaults
env_base.android_maven_repos = []
env_base.android_flat_dirs = []
env_base.android_dependencies = []

View File

@ -1,13 +1,22 @@
+++ b/platform/x11/detect.py
@@ -142,6 +142,11 @@
env.ParseConfig('pkg-config xcursor --cflags --libs')
env.ParseConfig('pkg-config xinerama --cflags --libs')
env.ParseConfig('pkg-config xrandr --cflags --libs')
+ env.ParseConfig('pkg-config xrender --cflags --libs')
@@ -175,6 +175,11 @@ def configure(env):
env.ParseConfig('pkg-config xrender --cflags --libs')
env.ParseConfig('pkg-config xi --cflags --libs')
+ env.ParseConfig('pkg-config xext --cflags --libs')
+ env.ParseConfig('pkg-config xfixes --cflags --libs')
+ env.ParseConfig('pkg-config glu --cflags --libs')
+ env.ParseConfig('pkg-config zlib --cflags --libs')
+
if (env['touch']):
x11_error = os.system("pkg-config xi --modversion > /dev/null ")
env.Append(CPPFLAGS=['-DTOUCH_ENABLED'])
@@ -264,7 +269,7 @@ def configure(env):
print("Enabling ALSA")
env.Append(CPPFLAGS=["-DALSA_ENABLED", "-DALSAMIDI_ENABLED"])
# Don't parse --cflags, we don't need to add /usr/include/alsa to include path
- env.ParseConfig('pkg-config alsa --libs')
+ env.ParseConfig('pkg-config alsa --cflags --libs')
else:
print("ALSA libraries not found, disabling driver")

View File

@ -2,7 +2,7 @@
, libaio }:
stdenv.mkDerivation rec {
name = "sysbench-1.0.16";
name = "sysbench-1.0.17";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ vim mysql.connector-c libaio ];
@ -10,8 +10,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "akopytov";
repo = "sysbench";
rev = "1.0.16";
sha256 = "0ypain0m1yqn7yqfb5847fdph6a6m0rn2rnqbnkxcxz5g85kv1rg";
rev = "1.0.17";
sha256 = "02i9knvp0bjw6ri848xxiy2dbww2xv70nah9yn67a6zgw617hwa6";
};
meta = {

View File

@ -1,94 +0,0 @@
# Specifications for the "camlp5" preprocessor:
requires = ""
version = "[distributed with Ocaml]"
description = "Base for camlp5 syntax extensions"
# For the toploop:
archive(byte,toploop,camlp5o) = "camlp5o.cma"
archive(byte,toploop,camlp5r) = "camlp5r.cma"
# Scheme-like syntax:
# Do #predicates "syntax,camlp5scheme", followed by #require "camlp5"
archive(byte,toploop,camlp5scheme) = "camlp5sch.cma"
# Standard ML-like syntax:
# Do #predicates "syntax,camlp5sml", followed by #require "camlp5"
archive(byte,toploop,camlp5sml) = "gramlib.cma camlp5_top.cma pa_sml.cmo"
# Lisp-like syntax:
# Do #predicates "syntax,camlp5lisp", followed by #require "camlp5"
archive(byte,toploop,camlp5lisp) = "gramlib.cma camlp5_top.cma pa_lisp.cmo"
# For the preprocessor itself:
archive(syntax,preprocessor,camlp5o) = "pa_o.cmo pa_op.cmo pr_dump.cmo"
archive(syntax,preprocessor,camlp5r) = "pa_r.cmo pa_rp.cmo pr_dump.cmo"
archive(syntax,preprocessor,camlp5sml) = "pa_sml.cmo pr_dump.cmo"
archive(syntax,preprocessor,camlp5scheme) = "pa_scheme.cmo pr_dump.cmo"
archive(syntax,preprocessor,camlp5lisp) = "pa_lisp.cmo pr_dump.cmo"
preprocessor = "camlp5 -nolib"
package "gramlib" (
requires(toploop) = "camlp5"
version = "[distributed with Ocaml]"
description = "Grammar library to create syntax extensions"
archive(byte) = "gramlib.cma"
archive(byte,toploop) = "" # already contained in camlp5*.cma
archive(native) = "gramlib.cmxa"
)
package "quotations" (
requires = "camlp5"
version = "[distributed with Ocaml]"
description = "Syntax extension: Quotations to create AST nodes"
archive(syntax,preprocessor) = "q_MLast.cmo"
archive(syntax,toploop) = "q_MLast.cmo"
)
package "phony_quotations" (
requires = "camlp5"
version = "[distributed with Ocaml]"
description = "Syntax extension: Phony quotations"
archive(syntax,preprocessor) = "q_phony.cmo"
archive(syntax,toploop) = "q_phony.cmo"
)
package "extend" (
requires = "camlp5"
version = "[distributed with Ocaml]"
description = "Syntax extension: EXTEND the camlp5 grammar"
archive(syntax,preprocessor) = "pa_extend.cmo"
archive(syntax,toploop) = "pa_extend.cmo"
)
package "extfun" (
requires = "camlp5"
version = "[distributed with Ocaml]"
description = "Syntax extension: Extensible functions"
archive(syntax,preprocessor) = "pa_extfun.cmo"
archive(syntax,toploop) = "pa_extfun.cmo"
)
package "fstream" (
requires = "camlp5"
version = "[distributed with Ocaml]"
description = "Syntax extension: Functional stream parsers"
archive(syntax,preprocessor) = "pa_fstream.cmo"
archive(syntax,toploop) = "pa_fstream.cmo"
)
package "macro" (
requires = "camlp5"
version = "[distributed with Ocaml]"
description = "Syntax extension: Conditional compilation"
archive(syntax,preprocessor) = "pa_macro.cmo"
archive(syntax,toploop) = "pa_macro.cmo"
)
package "unit_constraints" (
requires = "camlp5"
version = "[distributed with Ocaml]"
description = "Syntax extension: Type constraints of type unit (revised syntax only)"
archive(syntax,preprocessor,camlp5r) = "pa_ru.cmo"
archive(syntax,toploop,camlp5r) = "pa_ru.cmo"
error(syntax,-camlp5r) = "Not available"
)

View File

@ -1,35 +1,16 @@
{ stdenv, fetchzip, ocaml, legacy ? false }:
let params =
if legacy then {
minor-version = "06";
sha256 = "02zg6qjkzx58zmp79364s5jyqhh56nclcz1jzhh53hk37g9f96qf";
} else {
minor-version = "07";
sha256 = "1c8v45553ccbqha2ypfranqlgw06rr5wjr2hlnrx5bf9jfq0h0dn";
};
metafile = ./META;
opt = stdenv.lib.optionalString legacy;
in
{ stdenv, fetchzip, ocaml }:
stdenv.mkDerivation {
name = "camlp5-7.${params.minor-version}";
name = "camlp5-7.07";
src = fetchzip {
url = "https://github.com/camlp5/camlp5/archive/rel7${params.minor-version}.tar.gz";
inherit (params) sha256;
url = "https://github.com/camlp5/camlp5/archive/rel707.tar.gz";
sha256 = "1c8v45553ccbqha2ypfranqlgw06rr5wjr2hlnrx5bf9jfq0h0dn";
};
buildInputs = [ ocaml ];
postPatch = opt ''
for p in compile/compile.sh config/Makefile.tpl test/Makefile test/check_ocaml_versions.sh
do
substituteInPlace $p --replace '/bin/rm' rm
done
'';
prefixKey = "-prefix ";
preConfigure = "configureFlagsArray=(--strict" +
@ -37,8 +18,6 @@ stdenv.mkDerivation {
buildFlags = "world.opt";
postInstall = opt "cp ${metafile} $out/lib/ocaml/${ocaml.version}/site-lib/camlp5/META";
dontStrip = true;
meta = with stdenv.lib; {

View File

@ -1,76 +1,78 @@
{ stdenv, fetchurl, flac, gtk2, libvorbis, libvpx, makeDesktopItem, libGLU_combined, nasm
, pkgconfig, SDL2, SDL2_mixer, runtimeShell }:
{ stdenv, fetchurl, makeWrapper, pkgconfig, nasm, makeDesktopItem
, flac, gtk2, libvorbis, libvpx, libGLU_combined
, SDL2, SDL2_mixer }:
let
year = "2015";
date = "20150420";
rev = "5160";
in stdenv.mkDerivation rec {
name = "eduke32-${version}";
version = "${date}-${rev}";
src = fetchurl {
url = "http://dukeworld.duke4.net/eduke32/synthesis/old/${year}/${version}/eduke32_src_${version}.tar.xz";
sha256 = "1nlq5jbglg00c1z1vsyl627fh0mqfxvk5qyxav5vzla2b4svik2v";
};
buildInputs = [ flac gtk2 libvorbis libvpx libGLU_combined SDL2 SDL2_mixer ]
++ stdenv.lib.optional (stdenv.hostPlatform.system == "i686-linux") nasm;
nativeBuildInputs = [ pkgconfig ];
postPatch = ''
substituteInPlace build/src/glbuild.c \
--replace libGL.so ${libGLU_combined}/lib/libGL.so \
--replace libGLU.so ${libGLU_combined}/lib/libGLU.so
'';
NIX_CFLAGS_COMPILE = "-I${SDL2.dev}/include/SDL2 -I${SDL2_mixer}/include/SDL2";
NIX_LDFLAGS = "-L${SDL2}/lib";
makeFlags = [
"LINKED_GTK=1"
"SDLCONFIG=${SDL2}/bin/sdl2-config"
"VC_REV=${rev}"
];
version = "20190330";
rev = "7470";
desktopItem = makeDesktopItem {
name = "eduke32";
exec = "eduke32-wrapper";
exec = "@out@/bin/${wrapper}";
comment = "Duke Nukem 3D port";
desktopName = "Enhanced Duke Nukem 3D";
genericName = "Duke Nukem 3D port";
categories = "Application;Game;";
};
wrapper = "eduke32-wrapper";
in stdenv.mkDerivation {
name = "eduke32-${version}";
src = fetchurl {
url = "http://dukeworld.duke4.net/eduke32/synthesis/latest/eduke32_src_${version}-${rev}.tar.xz";
sha256 = "09a7l23i6sygicc82w1in9hjw0jvivlf7q0vw8kcx9j98lm23mkn";
};
buildInputs = [ flac gtk2 libvorbis libvpx libGLU_combined SDL2 SDL2_mixer ];
nativeBuildInputs = [ makeWrapper pkgconfig ]
++ stdenv.lib.optional (stdenv.hostPlatform.system == "i686-linux") nasm;
postPatch = ''
substituteInPlace source/build/src/glbuild.cpp \
--replace libGLU.so ${libGLU_combined}/lib/libGLU.so
for f in glad.c glad_wgl.c ; do
substituteInPlace source/glad/src/$f \
--replace libGL.so ${libGLU_combined}/lib/libGL.so
done
'';
NIX_CFLAGS_COMPILE = [
"-I${SDL2.dev}/include/SDL2"
"-I${SDL2_mixer}/include/SDL2"
];
makeFlags = [
"SDLCONFIG=${SDL2}/bin/sdl2-config"
];
enableParallelBuilding = true;
installPhase = ''
# Make wrapper script
cat > eduke32-wrapper <<EOF
#!${runtimeShell}
runHook preInstall
if [ "$EDUKE32_DATA_DIR" = "" ]; then
EDUKE32_DATA_DIR=/var/lib/games/eduke32
fi
if [ "$EDUKE32_GRP_FILE" = "" ]; then
EDUKE32_GRP_FILE=\$EDUKE32_DATA_DIR/DUKE3D.GRP
fi
install -Dm755 -t $out/bin eduke32 mapster32
cd \$EDUKE32_DATA_DIR
exec $out/bin/eduke32 -g \$EDUKE32_GRP_FILE
EOF
makeWrapper $out/bin/eduke32 $out/bin/${wrapper} \
--set-default EDUKE32_DATA_DIR /var/lib/games/eduke32 \
--add-flags '-g "$EDUKE32_DATA_DIR/DUKE3D.GRP"'
# Install binaries
mkdir -p $out/bin
install -Dm755 eduke32{,-wrapper} mapster32 $out/bin
# Install desktop item
cp -rv ${desktopItem}/share $out
substituteInPlace $out/share/applications/eduke32.desktop \
--subst-var out
runHook postInstall
'';
meta = with stdenv.lib; {
description = "Enhanched port of Duke Nukem 3D for various platforms";
license = licenses.gpl2Plus;
homepage = http://eduke32.com;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ sander ];
platforms = with platforms; linux;
# Darwin is untested (supported by upstream)
platforms = platforms.all;
};
}

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "leela-zero-${version}";
version = "0.16";
version = "0.17";
src = fetchFromGitHub {
owner = "gcp";
repo = "leela-zero";
rev = "v${version}";
sha256 = "1px7wqvlv414gklzgrmppp8wzc2mkskinm1p75j4snbqr8qpbn5s";
sha256 = "1k04ld1ysabxb8ivci3ji5by9vb3yvnflkf2fscs1x0bp7d6j101";
fetchSubmodules = true;
};
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
description = "Go engine modeled after AlphaGo Zero";
homepage = https://github.com/gcp/leela-zero;
license = licenses.gpl3;
maintainers = [ maintainers.averelld ];
maintainers = [ maintainers.averelld maintainers.omnipotententity ];
platforms = platforms.linux;
};
}

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, steam-run, bash
{ stdenv, fetchurl, steam-run, bash, coreutils
, steamRoot ? "~/.local/share/Steam"
}:
@ -29,8 +29,8 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
substitute ${./steamcmd.sh} $out/bin/steamcmd \
--subst-var shell \
--subst-var out \
--subst-var-by coreutils ${coreutils} \
--subst-var-by steamRoot "${steamRoot}" \
--subst-var-by steamRun ${steam-run}
chmod 0755 $out/bin/steamcmd

View File

@ -3,6 +3,9 @@
# Always run steamcmd in the user's Steam root.
STEAMROOT=@steamRoot@
# Add coreutils to PATH for mkdir, ln and cp used below
PATH=$PATH${PATH:+:}@coreutils@/bin
# Create a facsimile Steam root if it doesn't exist.
if [ ! -e "$STEAMROOT" ]; then
mkdir -p "$STEAMROOT"/{appcache,config,logs,Steamapps/common}

View File

@ -6,13 +6,13 @@
stdenv.mkDerivation rec {
pname = "wesnoth";
version = "1.14.5";
version = "1.14.6";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2";
sha256 = "1kgpj2f22nnx4mwd1zis3s5ny2983aasgqsmz7wnqaq7n6a7ac85";
sha256 = "0aw3czw3nq8ffakhw2libhvrhnllj61xc5lxpjqv0ig1419s1lj5";
};
nativeBuildInputs = [ cmake pkgconfig ];

View File

@ -1,15 +1,20 @@
{ callPackage, gtk3, glib, libxml2, gnuplot, makeWrapper, gnome3, gdk_pixbuf, librsvg, intltool }:
{ callPackage, makeWrapper, gobject-introspection, cmake
, python3Packages, gtk3, glib, libxml2, gnuplot, gnome3, gdk_pixbuf, librsvg, intltool, libmirage }:
let pkg = import ./base.nix {
version = "3.1.0";
version = "3.2.2";
pkgName = "image-analyzer";
pkgSha256 = "1pr23kxx83xp83h27fkdv86f3bxclkx056f9jx8jhnpn113xp7r2";
pkgSha256 = "0by3nd5c413cvk3jmv3md6q0axbiidy061g9dhf37qzwgcakcx8j";
};
in callPackage pkg {
buildInputs = [ glib gtk3 libxml2 gnuplot (callPackage ./libmirage.nix {}) makeWrapper
gnome3.adwaita-icon-theme gdk_pixbuf librsvg intltool ];
buildInputs = [ glib gtk3 libxml2 gnuplot libmirage makeWrapper
gnome3.adwaita-icon-theme gdk_pixbuf librsvg intltool
python3Packages.python python3Packages.pygobject3 python3Packages.matplotlib ];
drvParams = {
nativeBuildInputs = [ gobject-introspection cmake ];
postFixup = ''
wrapProgram $out/bin/image-analyzer \
--set PYTHONPATH "$PYTHONPATH" \
--set GI_TYPELIB_PATH "$GI_TYPELIB_PATH" \
--prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
'';
};

View File

@ -1,11 +1,11 @@
{ callPackage, pythonPackages, intltool, makeWrapper }:
{ callPackage, python3Packages, intltool, makeWrapper }:
let pkg = import ./base.nix {
version = "3.1.0";
version = "3.2.1";
pkgName = "cdemu-client";
pkgSha256 = "0s6q923g5vkahw5fki6c7a25f68y78zfx4pfsy0xww0z1f5hfsik";
pkgSha256 = "1d8m24qvv62xcwafw5zs4yf39vs64kxl4idqcngd8yyjhrb2ykg5";
};
in callPackage pkg {
buildInputs = [ pythonPackages.python pythonPackages.dbus-python pythonPackages.pygobject3
buildInputs = [ python3Packages.python python3Packages.dbus-python python3Packages.pygobject3
intltool makeWrapper ];
drvParams = {
postFixup = ''

View File

@ -1,9 +1,9 @@
{ callPackage, glib, libao, intltool }:
{ callPackage, glib, libao, intltool, libmirage }:
let pkg = import ./base.nix {
version = "3.1.0";
version = "3.2.2";
pkgName = "cdemu-daemon";
pkgSha256 = "0kxwhwjvcr40sjlrvln9gasjwkkfc3wxpcz0rxmffp92w8phz3s9";
pkgSha256 = "0himyrhhfjsr4ff5aci7240bpm9x34h20pid412ci8fm16nk929b";
};
in callPackage pkg {
buildInputs = [ glib libao (callPackage ./libmirage.nix {}) intltool ];
buildInputs = [ glib libao libmirage intltool ];
}

View File

@ -1,15 +1,17 @@
{ callPackage, pythonPackages, gtk3, glib, libnotify, intltool, makeWrapper, gnome3, gdk_pixbuf, librsvg }:
{ callPackage, makeWrapper, gobject-introspection, cmake
, python3Packages, gtk3, glib, libnotify, intltool, gnome3, gdk_pixbuf, librsvg }:
let
pkg = import ./base.nix {
version = "3.1.0";
version = "3.2.1";
pkgName = "gcdemu";
pkgSha256 = "0rmnw302fk9vli22v54qx19lqxy23syxi154klxz2vma009q0p02";
pkgSha256 = "0lmyvhbf57wcm8k2a33j2dhy4gblaiycy33q070gdrxi37xk7w5g";
};
inherit (pythonPackages) python pygobject3;
inherit (python3Packages) python pygobject3;
in callPackage pkg {
buildInputs = [ python pygobject3 gtk3 glib libnotify intltool makeWrapper
gnome3.adwaita-icon-theme gdk_pixbuf librsvg ];
drvParams = {
nativeBuildInputs = [ gobject-introspection cmake ];
postFixup = ''
wrapProgram $out/bin/gcdemu \
--set PYTHONPATH "$PYTHONPATH" \

View File

@ -1,9 +1,18 @@
{ callPackage, glib, libsndfile, zlib, bzip2, lzma, libsamplerate, intltool }:
{ callPackage, gobject-introspection, cmake, pkgconfig
, glib, libsndfile, zlib, bzip2, lzma, libsamplerate, intltool
, pcre, utillinux, libselinux, libsepol }:
let pkg = import ./base.nix {
version = "3.1.0";
version = "3.2.2";
pkgName = "libmirage";
pkgSha256 = "0qvkvnvxqx8hqzcqzh7sqjzgbc1nrd91lzv33lr8c6fgaq8cqzmn";
pkgSha256 = "0gwrfia0fyhi0b3p2pfyyvrcfcb0qysfzgpdqsqjqbx4xaqx5wpi";
};
in callPackage pkg {
buildInputs = [ glib libsndfile zlib bzip2 lzma libsamplerate intltool ];
drvParams = {
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_GIRDIR = "${placeholder "out"}/share/gir-1.0";
PKG_CONFIG_GOBJECT_INTROSPECTION_1_0_TYPELIBDIR = "${placeholder "out"}/lib/girepository-1.0";
nativeBuildInputs = [ cmake gobject-introspection pkgconfig ];
propagatedBuildInputs = [ pcre utillinux libselinux libsepol ];
};
}

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "vhba-${version}";
version = "20170610";
version = "20190302";
src = fetchurl {
url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.bz2";
sha256 = "1v6r0bgx0a65vlh36b1l2965xybngbpga6rp54k4z74xk0zwjw3r";
sha256 = "0wvxxc064i8czza91gh0dhmh55x2nbs7szzyh4g30w0c98hmc1n5";
};
makeFlags = [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];

View File

@ -61,12 +61,12 @@ let
ale = buildVimPluginFrom2Nix {
pname = "ale";
version = "2019-03-29";
version = "2019-04-04";
src = fetchFromGitHub {
owner = "w0rp";
repo = "ale";
rev = "89273b65b8de9d3d428e7b1f5c0c347938f5a863";
sha256 = "1qgkipiizvzw0jp3f6qp1qkdyvb64hhkimndp0i3gcgfkikbp64p";
rev = "cdf89f8269aec31d0dfddf3a2769027d72d38155";
sha256 = "13zj7sahhan1w50jkncina979cyk3kca5ly68571bzccyzm8dazi";
};
};
@ -248,12 +248,12 @@ let
command-t = buildVimPluginFrom2Nix {
pname = "command-t";
version = "2018-09-19";
version = "2019-03-31";
src = fetchFromGitHub {
owner = "wincent";
repo = "command-t";
rev = "7364a410bc4f0d7febc183678cd565066dfd1e73";
sha256 = "1a14ddq6jkfklicdgkpbizzlrx2r4isxarbav5q86w86rwkx3jfi";
rev = "792d6079d32f1973c142c6fab89d2fdc94019ac8";
sha256 = "0bi2bmx0k6fwi1jwajgafbb750ajlzz1jncvvg0cssv6h5syxvpk";
fetchSubmodules = true;
};
};
@ -403,12 +403,12 @@ let
denite-nvim = buildVimPluginFrom2Nix {
pname = "denite-nvim";
version = "2019-03-29";
version = "2019-04-02";
src = fetchFromGitHub {
owner = "Shougo";
repo = "denite.nvim";
rev = "8dbf62b3e894ec7749dcedeb10942ac737182089";
sha256 = "18ri0jjnzd21icsivrarlxkr48hzplwbaz3840yjqxg83y1alxzh";
rev = "280ea09f278d7301910e7b6abefccd75400bec0b";
sha256 = "0dcmbmwh29svin6gn4x5carlgy9plax64p4w0f0cx69440zhl4r0";
};
};
@ -494,12 +494,12 @@ let
deoplete-nvim = buildVimPluginFrom2Nix {
pname = "deoplete-nvim";
version = "2019-03-29";
version = "2019-03-31";
src = fetchFromGitHub {
owner = "Shougo";
repo = "deoplete.nvim";
rev = "06e8981d5a24a17dcebfb51d69eb2e94a69924db";
sha256 = "1mnskw3a5axannm7mnwzvvsz9n2b3a1cmhkahp649x99r6h6992d";
rev = "19f1dc07f382534d16e5e21f2dddf5109d64ae68";
sha256 = "1l9zpvh9hwbd32l2g8h0pq3xh5cixbmqdqznwrksx1da12v2w7aa";
};
};
@ -527,12 +527,12 @@ let
echodoc-vim = buildVimPluginFrom2Nix {
pname = "echodoc-vim";
version = "2019-03-24";
version = "2019-04-04";
src = fetchFromGitHub {
owner = "Shougo";
repo = "echodoc.vim";
rev = "0b2e6e1c40691b6ebc4ac3f9efe0e9e73debb1cc";
sha256 = "0kfdyvcbqd3vwrhsl5bc2b38hw5cqh5sl3srq97y4v93hi5rf72q";
rev = "1dfd4d45eb169bba4a5d5a3a4210e663e4a18dfe";
sha256 = "021qx04ka3w3w7wlv0p3lrpwxnlvxn0xkv7qwx6fk6594xfbaxi7";
};
};
@ -550,12 +550,12 @@ let
elm-vim = buildVimPluginFrom2Nix {
pname = "elm-vim";
version = "2018-11-13";
version = "2019-04-05";
src = fetchFromGitHub {
owner = "elmcast";
repo = "elm-vim";
rev = "d22c0ba13afb554257a8c176962e2216cc18edd1";
sha256 = "03lmbv4zkjdnyzrna7g9pqdgf3jqhi9g59fzjnay4af59hijs1v3";
rev = "165107a9fd2b20c8f050fc4f977b4e41c790b1e7";
sha256 = "0gf7b49by0ybx3ndz7sz5dwcfnps4sz6wsr02lyarj8f8116ysy5";
};
};
@ -1774,12 +1774,12 @@ let
traces-vim = buildVimPluginFrom2Nix {
pname = "traces-vim";
version = "2019-03-28";
version = "2019-04-04";
src = fetchFromGitHub {
owner = "markonm";
repo = "traces.vim";
rev = "03c24a851181b206ac48beabeee6c2c08d257327";
sha256 = "1bbk1ni18rdhpb5w6xhiwdpyyfhc80cljbxvbkpblykg39l0crhx";
rev = "1220a0ca044ce9a1622ec2aa60d0d9ef5e801cb4";
sha256 = "0j7yhhgfl1ymqkl5lp9vqm3w9l2jkf863xpffw9f0ddmjmk3b7am";
};
};
@ -1862,12 +1862,12 @@ let
vim = buildVimPluginFrom2Nix {
pname = "vim";
version = "2019-03-22";
version = "2019-04-02";
src = fetchFromGitHub {
owner = "dracula";
repo = "vim";
rev = "25a22bb3338bbe7fec142b9582b2f811f1742f76";
sha256 = "0ri5z9z2bi5n519c039brqysyykpfmrmjylkq43qsrxiq18fsia8";
rev = "9b856347b905dc616baf02b48d7631bc3084726e";
sha256 = "0w9aj42hb8x7601gbgf0ggs7p3sm5wrv23bnvrjgdlf3mapg6dwy";
};
};
@ -2324,12 +2324,12 @@ let
vim-devicons = buildVimPluginFrom2Nix {
pname = "vim-devicons";
version = "2019-02-22";
version = "2019-04-05";
src = fetchFromGitHub {
owner = "ryanoasis";
repo = "vim-devicons";
rev = "83808e891068490f2b2325e39edcde5c585bd4ea";
sha256 = "18j3sa36zz5vx6hamdmjl25n7ilvh1q2fqfqs6casbdnqmmds1dy";
rev = "3a23ac26fd68a2db158cbe3c2ebbae2c142861ce";
sha256 = "1n324w9dxp9h7k1bg1hhad5f7pva05kns6mqd5d3yhsidfsxshlb";
};
};
@ -2346,12 +2346,12 @@ let
vim-dirvish = buildVimPluginFrom2Nix {
pname = "vim-dirvish";
version = "2019-03-27";
version = "2019-04-01";
src = fetchFromGitHub {
owner = "justinmk";
repo = "vim-dirvish";
rev = "6fb15d43078b55f30cce5cb73571e6a8f1634124";
sha256 = "198c61vz5j27n07r1dx94cr0fzc9pfnz28zl86b3v02y2ry39q27";
rev = "ae60a79106dd32d75d3c5cf4dfe44fd658d634ec";
sha256 = "1dpyavqhsn7japg5li2fflhn4rq5y5c5m24772550awzd5nx0bif";
};
};
@ -2500,12 +2500,12 @@ let
vim-flake8 = buildVimPluginFrom2Nix {
pname = "vim-flake8";
version = "2019-01-10";
version = "2019-04-03";
src = fetchFromGitHub {
owner = "nvie";
repo = "vim-flake8";
rev = "c6b43f88e4cbce052843e8cbd9593cc7753208fe";
sha256 = "0z4c2n8b9vi19qqdmljyms173dmkiarlf4yxx1ix1wvqmnpcr6zf";
rev = "ce9ac790430699d346aa074d7f339f2e738284e3";
sha256 = "1dlpmsads32c8v49dqgnz1d06bh0aikgl1xq2whiimm2va9vfjng";
};
};
@ -2522,12 +2522,12 @@ let
vim-fugitive = buildVimPluginFrom2Nix {
pname = "vim-fugitive";
version = "2019-03-01";
version = "2019-04-04";
src = fetchFromGitHub {
owner = "tpope";
repo = "vim-fugitive";
rev = "bd0b87d36ad80e8acd94f22028d15ebb441b1c28";
sha256 = "0ira81j7n2gvrpracag8393yxs5ya4wl8g5ygngl65qrk7y0bj0j";
rev = "1b3668b89fee230c6025dc47c01c82fc1e282ac0";
sha256 = "0b2z44cw71c0awlajcsln4b43kchhwlb90l461vq7ipmwp3wm8r1";
};
};
@ -2588,12 +2588,12 @@ let
vim-go = buildVimPluginFrom2Nix {
pname = "vim-go";
version = "2019-03-28";
version = "2019-03-31";
src = fetchFromGitHub {
owner = "fatih";
repo = "vim-go";
rev = "17d4c087f0ad1dec22df17048f05629b75dee600";
sha256 = "0kmqix5asajkadlk8r7aczs0cg8nfqkapscaqqg9kcsf5a4ng47y";
rev = "f04098811b8a7aba3dba699ed98f6f6e39b7d7ac";
sha256 = "01fsyyqlf1kygy4l3kbb1jcydgaqjmhhzbdf2liv3hx42signcqw";
};
};
@ -2610,12 +2610,12 @@ let
vim-grepper = buildVimPluginFrom2Nix {
pname = "vim-grepper";
version = "2019-03-28";
version = "2019-04-02";
src = fetchFromGitHub {
owner = "mhinz";
repo = "vim-grepper";
rev = "9e3c7eb2013c83e45ced71383b59941fc871e786";
sha256 = "0agc6wlphjr0vmd8a7x9ws1clarrmh8iba8drgs5zdifqhg5q7vl";
rev = "1b31eeed2fd672300dc0c52ffbb23397c7243215";
sha256 = "18i241a6v0mdzyznwr0al00zvnr0rqfz0khpjx730w6vk1whrp52";
};
};
@ -3348,12 +3348,12 @@ let
vim-ruby = buildVimPluginFrom2Nix {
pname = "vim-ruby";
version = "2019-03-13";
version = "2019-04-04";
src = fetchFromGitHub {
owner = "vim-ruby";
repo = "vim-ruby";
rev = "4abc4340abff09698fc5c8fe91dec87e3c3e2255";
sha256 = "0nfhan8gwkv30k7wln2a5b4a144jihnl2hmb8jwrlhw11hh5nrlx";
rev = "96d5db458f868255393fdc2732d6bef21a45c68f";
sha256 = "1nv51c441d44igjcb3hlib1zbd65h98ywkjyp50hbz5rjkx17mvv";
};
};
@ -3425,12 +3425,12 @@ let
vim-signify = buildVimPluginFrom2Nix {
pname = "vim-signify";
version = "2019-03-28";
version = "2019-04-05";
src = fetchFromGitHub {
owner = "mhinz";
repo = "vim-signify";
rev = "7afad33753b6ca6d0ff4d98fbc0ab29b6692a7b7";
sha256 = "0xlkrni8dh0s6c77k2j507fis839vdbbcc70gs9rqhgw7aykhjvr";
rev = "f34fea0eff09d0fb4ec54aec3c07345e6c4486d9";
sha256 = "0486sqmz33qcvizdicssp4lajgh2rv0sskz6rndpd7qnm54mn968";
};
};
@ -3447,12 +3447,12 @@ let
vim-slime = buildVimPluginFrom2Nix {
pname = "vim-slime";
version = "2019-02-08";
version = "2019-04-02";
src = fetchFromGitHub {
owner = "jpalardy";
repo = "vim-slime";
rev = "1ff17cc7e8eeaf660daa5efee9e66ef83e00e686";
sha256 = "1mrgpkyarc6igd7anzlwpbis6cwsy759ssxapfxmj1q69hyvmdl6";
rev = "9035bef4c91fd730d76b5fdc994f1dcdcef49405";
sha256 = "1f65nq1hgvblm074hbqy647vixzhkimr1yhqjlrqg7mjiffrkr43";
};
};
@ -3480,12 +3480,12 @@ let
vim-snippets = buildVimPluginFrom2Nix {
pname = "vim-snippets";
version = "2019-03-22";
version = "2019-04-03";
src = fetchFromGitHub {
owner = "honza";
repo = "vim-snippets";
rev = "cbbf1559166f9c308ae0f4634c11bdf282ddafba";
sha256 = "1hyn8fxaa7r55s51q9axm1awd10xmw29bmsfizy92vs3a8dxcqny";
rev = "4214407a5eda0d49ad591e41b6eb91f4682fa81f";
sha256 = "1jvbjnfwpqc53vp5plwyvqnkabi4h6d67sg4dg3byrfs3d0rpzmx";
};
};
@ -3612,12 +3612,12 @@ let
vim-terraform = buildVimPluginFrom2Nix {
pname = "vim-terraform";
version = "2019-03-13";
version = "2019-03-31";
src = fetchFromGitHub {
owner = "hashivim";
repo = "vim-terraform";
rev = "e7cd4746946205ab03039f2d0d0af3c0d55d4c4d";
sha256 = "0fv9w5hadyzp871p739mrjsfj0m4xang3lkz3gsv1cxw3iglkfld";
rev = "a44bf0b1a142bb39e84e5d525f7d98b5d3a66057";
sha256 = "12wyjfmwz3lsd45vv4ava361ph6gravggi9vvvr9qgf5zc1shd3b";
};
};
@ -3744,23 +3744,23 @@ let
vim-wakatime = buildVimPluginFrom2Nix {
pname = "vim-wakatime";
version = "2019-03-17";
version = "2019-03-31";
src = fetchFromGitHub {
owner = "wakatime";
repo = "vim-wakatime";
rev = "e287f95b596b832585439f77fad4b1e039d6d217";
sha256 = "19all4i5f1kxf092qjnbxwcg18w1zllpnhf2ma9idj0ccbpl2ds5";
rev = "fdd56e0e1b0f9cafc0268076c4636f97ccd081dc";
sha256 = "1b1m4d1dn1ymqrj6bbl44hnmf0rh93jipjlrrbk9gr3fc0x99xmh";
};
};
vim-watchdogs = buildVimPluginFrom2Nix {
pname = "vim-watchdogs";
version = "2017-12-03";
version = "2019-04-03";
src = fetchFromGitHub {
owner = "osyo-manga";
repo = "vim-watchdogs";
rev = "a6415c2d928af8c1aacdbce9b1ed8d315891eb03";
sha256 = "0n6aqsgn0q1qgpj4yznqwbsbbk2a077gnjlq86ii3jhkzh5fzcff";
rev = "33d74aaeb1ef71512baff9eea20a42e06f4f0bc4";
sha256 = "0jkkrlw9x524vvsggq51z0yyvys75dv2h21ijxzdqni49kf4vyhk";
};
};
@ -3865,12 +3865,12 @@ let
vimtex = buildVimPluginFrom2Nix {
pname = "vimtex";
version = "2019-03-29";
version = "2019-04-02";
src = fetchFromGitHub {
owner = "lervag";
repo = "vimtex";
rev = "de82404c995cf8c529c3fb5cd8a8367e37e66c44";
sha256 = "1ysm5vva5v72nxlhi27lqxccsvq4j5xk78rs1zgiqki63zdacbp0";
rev = "068ef61e6e9364093272edc4f0cf997a349c0a98";
sha256 = "1p81l2ckl1s2xddzhd9fxjsv9a6vhz77gn5jxwlp0in284v2lp2i";
};
};
@ -3887,12 +3887,12 @@ let
vimwiki = buildVimPluginFrom2Nix {
pname = "vimwiki";
version = "2019-03-20";
version = "2019-03-24";
src = fetchFromGitHub {
owner = "vimwiki";
repo = "vimwiki";
rev = "a5ef4787505cb0c10544ef0a76fe9efbbc546972";
sha256 = "0dh13ixkxp3fbbysxxd0rpmm5g7gaj0sa2d2bihlba8pf4dw3iv1";
rev = "6766c37ce09a623b3de7ddb86ca30278eea37a82";
sha256 = "0qz4yx8l0mmwv3s3s4l03af32dymj4b1sz2x4fpdx42g04k1avy2";
};
};
@ -3997,12 +3997,12 @@ let
yats-vim = buildVimPluginFrom2Nix {
pname = "yats-vim";
version = "2019-03-07";
version = "2019-03-31";
src = fetchFromGitHub {
owner = "HerringtonDarkholme";
repo = "yats.vim";
rev = "cad825d5af13a59a17fb10369c2d89508f4cae3e";
sha256 = "197p0gs6x50kiwf6p4r3r5a1paz2lm089xb8zq0xvlab8fb6mfyy";
rev = "2126e8306cd21a58fb5e089376af8272abe36bb5";
sha256 = "08pdwq3cw7fszw75450z404ylcb5nni0p350jxsd7bd3vikdfxp9";
fetchSubmodules = true;
};
};

View File

@ -56,8 +56,8 @@ rec {
mktplcRef = {
name = "vim";
publisher = "vscodevim";
version = "1.2.0";
sha256 = "0c7nv3razc3xjjzmb0q9a89dgry77h79rbkmc8nbfpa1if7lsvcp";
version = "1.3.0";
sha256 = "18z24w7smjjnv945f8qyy6dl95xckyqa6gg3gijfcigvq5sgyawc";
};
meta = {
license = stdenv.lib.licenses.mit;

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
name = "firmware-linux-nonfree-${version}";
version = "2019-02-13";
version = "2019-03-12";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git";
rev = "710963fe53ee3f227556d36839df3858daf6e232";
sha256 = "1q3jvlqqxba08s2mrh9hwl0d5w6nhkwj63j0m6amxqpf10k49jxp";
rev = "20190312";
sha256 = "1wk8l75rg7idvsyli29a1fii4xwz3vnm8d65fjw8d3azihdrhbyy";
};
installFlags = [ "DESTDIR=$(out)" ];
@ -15,10 +15,6 @@ stdenv.mkDerivation rec {
# Firmware blobs do not need fixing and should not be modified
dontFixup = true;
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "13gqnr6gm7336pm48v5p37clphwwdmgbrcipsg3w44wdwgc7fa2f";
meta = with stdenv.lib; {
description = "Binary firmware collection packaged by kernel.org";
homepage = http://packages.debian.org/sid/firmware-linux-nonfree;

View File

@ -3,16 +3,15 @@
with stdenv.lib;
buildLinux (args // rec {
version = "4.14.110";
version = "4.14.111";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
# branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0wlysm6j8mmfwcja8pxg6a5c611m3x597591hswpm2nwcja3bslr";
sha256 = "1s56819kkr7h48njk708f9gapy2hr97vxawp5qflv1izamb7s6gq";
};
} // (args.argsOverride or {}))

View File

@ -3,16 +3,15 @@
with stdenv.lib;
buildLinux (args // rec {
version = "4.19.33";
version = "4.19.34";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
# branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "14yk5hli62q1g8vghjjghbxjkpxns8zp0l2wmyhlx0v21bx2v89r";
sha256 = "1k5qhyh7nwfs5pkbrjpxyj6w17424qcmmd9v7jqfbgnx3wm5wyfx";
};
} // (args.argsOverride or {}))

View File

@ -1,11 +1,11 @@
{ stdenv, buildPackages, fetchurl, perl, buildLinux, ... } @ args:
buildLinux (args // rec {
version = "4.9.167";
version = "4.9.168";
extraMeta.branch = "4.9";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "130a7z31sdha84w67vfx0j1sq68v15aksfkcshz219p75y561f52";
sha256 = "07h9xwxpdxb6gm1fy0d8s6p1zalmw3mbzjgd4gipvmzsxwhiqiad";
};
} // (args.argsOverride or {}))

View File

@ -3,16 +3,15 @@
with stdenv.lib;
buildLinux (args // rec {
version = "5.0.6";
version = "5.0.7";
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
# branchVersion needs to be x.y
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
src = fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
sha256 = "04zl3xqgr6rlkc44raz3rz74ag7l5j16wkvkdmlzrdq7ia6rljly";
sha256 = "1v2lxwamnfm879a9qi9fwp5zyvlzjw9qa0aizidjbiwz5dk7gq8n";
};
} // (args.argsOverride or {}))

View File

@ -56,7 +56,7 @@ ls $NIXPKGS/pkgs/os-specific/linux/kernel | while read FILE; do
# Commit the changes
git add -u $NIXPKGS/pkgs/os-specific/linux/kernel/$FILE
git commit -m "kernel: $OLDVER -> $V" >/dev/null 2>&1
git commit -m "linux: $OLDVER -> $V" >/dev/null 2>&1
echo "Updated $OLDVER -> $V"
done

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