Merge remote-tracking branch 'upstream/master' into HEAD

This commit is contained in:
Frederik Rietdijk 2017-08-17 18:34:17 +02:00
commit 8f2ea38f8f
67 changed files with 1727 additions and 731 deletions

View File

@ -12,15 +12,21 @@ matrix:
script: script:
- ./maintainers/scripts/travis-nox-review-pr.sh nixpkgs-verify nixpkgs-manual nixpkgs-tarball nixpkgs-unstable - ./maintainers/scripts/travis-nox-review-pr.sh nixpkgs-verify nixpkgs-manual nixpkgs-tarball nixpkgs-unstable
- ./maintainers/scripts/travis-nox-review-pr.sh nixos-options nixos-manual - ./maintainers/scripts/travis-nox-review-pr.sh nixos-options nixos-manual
env:
- BUILD_TYPE="Test Nixpkgs evaluation & NixOS manual build"
- os: linux - os: linux
sudo: required sudo: required
dist: trusty dist: trusty
before_script: before_script:
- sudo mount -o remount,exec,size=2G,mode=755 /run/user - sudo mount -o remount,exec,size=2G,mode=755 /run/user
script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr
env:
- BUILD_TYPE="Build affected packages (Linux)"
- os: osx - os: osx
osx_image: xcode7.3 osx_image: xcode7.3
script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr
env:
- BUILD_TYPE="Build affected packages (macOS)"
env: env:
global: global:
- GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f - GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f

View File

@ -20,7 +20,7 @@ $ cd sensu
$ cat > Gemfile $ cat > Gemfile
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'sensu' gem 'sensu'
$ $(nix-build '<nixpkgs>' -A bundix)/bin/bundix --magic $ $(nix-build '<nixpkgs>' -A bundix --no-out-link)/bin/bundix --magic
$ cat > default.nix $ cat > default.nix
{ lib, bundlerEnv, ruby }: { lib, bundlerEnv, ruby }:
@ -114,6 +114,7 @@ in stdenv.mkDerivation {
script = ./my-script.rb; script = ./my-script.rb;
buildCommand = '' buildCommand = ''
install -D -m755 $script $out/bin/my-script install -D -m755 $script $out/bin/my-script
patchShebangs $out/bin/my-script
''; '';
}]]> }]]>
</programlisting> </programlisting>

View File

@ -602,6 +602,7 @@
vdemeester = "Vincent Demeester <vincent@sbr.pm>"; vdemeester = "Vincent Demeester <vincent@sbr.pm>";
veprbl = "Dmitry Kalinkin <veprbl@gmail.com>"; veprbl = "Dmitry Kalinkin <veprbl@gmail.com>";
vifino = "Adrian Pistol <vifino@tty.sh>"; vifino = "Adrian Pistol <vifino@tty.sh>";
vinymeuh = "VinyMeuh <vinymeuh@gmail.com>";
viric = "Lluís Batlle i Rossell <viric@viric.name>"; viric = "Lluís Batlle i Rossell <viric@viric.name>";
vizanto = "Danny Wilson <danny@prime.vc>"; vizanto = "Danny Wilson <danny@prime.vc>";
vklquevs = "vklquevs <vklquevs@gmail.com>"; vklquevs = "vklquevs <vklquevs@gmail.com>";

View File

@ -53,8 +53,8 @@ while test -n "$1"; do
nox) nox)
echo "=== Fetching Nox from binary cache" echo "=== Fetching Nox from binary cache"
# build nox silently so it's not in the log # build nox (+ a basic nix-shell env) silently so it's not in the log
nix-build "<nixpkgs>" -A nox -A stdenv nix-shell -p nox stdenv --command true
;; ;;
pr) pr)

View File

@ -49,6 +49,12 @@ in
description = "The data dir for IPFS"; description = "The data dir for IPFS";
}; };
defaultMode = mkOption {
description = "systemd service that is enabled by default";
type = types.enum [ "online" "offline" "norouting" ];
default = "online";
};
autoMigrate = mkOption { autoMigrate = mkOption {
type = types.bool; type = types.bool;
default = false; default = false;
@ -147,10 +153,11 @@ in
systemd.services.ipfs = { systemd.services.ipfs = {
description = "IPFS Daemon"; description = "IPFS Daemon";
wantedBy = [ "multi-user.target" ]; wantedBy = mkIf (cfg.defaultMode == "online") [ "multi-user.target" ];
after = [ "network.target" "local-fs.target" "ipfs-init.service" ]; after = [ "network.target" "local-fs.target" "ipfs-init.service" ];
conflicts = [ "ipfs-offline.service" ]; conflicts = [ "ipfs-offline.service" "ipfs-norouting.service"];
wants = [ "ipfs-init.service" ]; wants = [ "ipfs-init.service" ];
environment.IPFS_PATH = cfg.dataDir; environment.IPFS_PATH = cfg.dataDir;
@ -169,9 +176,11 @@ in
systemd.services.ipfs-offline = { systemd.services.ipfs-offline = {
description = "IPFS Daemon (offline mode)"; description = "IPFS Daemon (offline mode)";
wantedBy = mkIf (cfg.defaultMode == "offline") [ "multi-user.target" ];
after = [ "local-fs.target" "ipfs-init.service" ]; after = [ "local-fs.target" "ipfs-init.service" ];
conflicts = [ "ipfs.service" ]; conflicts = [ "ipfs.service" "ipfs-norouting.service"];
wants = [ "ipfs-init.service" ]; wants = [ "ipfs-init.service" ];
environment.IPFS_PATH = cfg.dataDir; environment.IPFS_PATH = cfg.dataDir;
@ -186,5 +195,29 @@ in
RestartSec = 1; RestartSec = 1;
}; };
}; };
systemd.services.ipfs-norouting = {
description = "IPFS Daemon (no routing mode)";
wantedBy = mkIf (cfg.defaultMode == "norouting") [ "multi-user.target" ];
after = [ "local-fs.target" "ipfs-init.service" ];
conflicts = [ "ipfs.service" "ipfs-offline.service"];
wants = [ "ipfs-init.service" ];
environment.IPFS_PATH = cfg.dataDir;
path = [ pkgs.ipfs ];
serviceConfig = {
ExecStart = "${ipfs}/bin/ipfs daemon ${ipfsFlags} --routing=none";
User = cfg.user;
Group = cfg.group;
Restart = "on-failure";
RestartSec = 1;
};
};
}; };
} }

View File

@ -33,7 +33,7 @@ in
serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd"; serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd";
}; };
environment.etc."vmware-tools".source = "${pkgs.open-vm-tools}/etc/vmware-tools/*"; environment.etc."vmware-tools".source = "${open-vm-tools}/etc/vmware-tools/*";
services.xserver = mkIf (!cfg.headless) { services.xserver = mkIf (!cfg.headless) {
videoDrivers = mkOverride 50 [ "vmware" ]; videoDrivers = mkOverride 50 [ "vmware" ];

View File

@ -4,7 +4,7 @@
}: }:
let let
version = "4.3.0"; version = "4.4.0";
deps = [ deps = [
alsaLib alsaLib
@ -46,7 +46,7 @@ stdenv.mkDerivation {
src = fetchurl { src = fetchurl {
url = "https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/releases/download/v${version}/google-play-music-desktop-player_${version}_amd64.deb"; url = "https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/releases/download/v${version}/google-play-music-desktop-player_${version}_amd64.deb";
sha256 = "0mbrfnsnajmpwyqyrjmcv84ywzimjmm2b8faxqiwfcikdgpm9amb"; sha256 = "01a52rsp0a9k47mm3wqnhnmlnd7fw6xmdrn882msldijjgwsq5cc";
}; };
dontBuild = true; dontBuild = true;

View File

@ -822,10 +822,10 @@
gited = callPackage ({ cl-lib ? null, elpaBuild, emacs, fetchurl, lib }: gited = callPackage ({ cl-lib ? null, elpaBuild, emacs, fetchurl, lib }:
elpaBuild { elpaBuild {
pname = "gited"; pname = "gited";
version = "0.3.2"; version = "0.3.3";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/gited-0.3.2.tar"; url = "https://elpa.gnu.org/packages/gited-0.3.3.tar";
sha256 = "1y40zn1w5m2srrqffkpvvzk3j5zzq21smsqychyx2diggn4c0hgi"; sha256 = "0h3ps26sy4wp1s9vpsj066fpqjqacjlprz3kb09macgsg88k2c1p";
}; };
packageRequires = [ cl-lib emacs ]; packageRequires = [ cl-lib emacs ];
meta = { meta = {
@ -1446,10 +1446,10 @@
}) {}; }) {};
org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild { org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org"; pname = "org";
version = "20170807"; version = "20170814";
src = fetchurl { src = fetchurl {
url = "https://elpa.gnu.org/packages/org-20170807.tar"; url = "https://elpa.gnu.org/packages/org-20170814.tar";
sha256 = "185pyc0v4vwzvkygqhpld14lk62ygvfb9ycz609n99m0wqlamwz3"; sha256 = "1rk3y4ns5f7f22vv0pg1x5mpn3vpm1123sxpd1ilbzajw3hfgwwn";
}; };
packageRequires = []; packageRequires = [];
meta = { meta = {

File diff suppressed because it is too large Load Diff

View File

@ -1268,6 +1268,27 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
amx = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild {
pname = "amx";
version = "1.1.1";
src = fetchFromGitHub {
owner = "DarwinAwardWinner";
repo = "amx";
rev = "7d5d7974057a36a332f8b30e99fe464f25b6e0ae";
sha256 = "0jqvah4i2r5di8k3rx6hyjnxdr3alzqmlv6iab5wdhkafyvwl0dq";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/c55bfad05343b2b0f3150fd2b4adb07a1768c1c0/recipes/amx";
sha256 = "1ikhjvkca0lsb9j719yf6spg6nwc0qaydkd8aax162sis7kp9fap";
name = "amx";
};
packageRequires = [];
meta = {
homepage = "https://melpa.org/#/amx";
license = lib.licenses.free;
};
}) {};
anaconda-mode = callPackage ({ dash, emacs, f, fetchFromGitHub, fetchurl, lib, melpaBuild, pythonic, s }: anaconda-mode = callPackage ({ dash, emacs, f, fetchFromGitHub, fetchurl, lib, melpaBuild, pythonic, s }:
melpaBuild { melpaBuild {
pname = "anaconda-mode"; pname = "anaconda-mode";
@ -3859,12 +3880,12 @@
cfengine-code-style = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }: cfengine-code-style = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "cfengine-code-style"; pname = "cfengine-code-style";
version = "3.10.1"; version = "3.11.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cfengine"; owner = "cfengine";
repo = "core"; repo = "core";
rev = "99e8b116e779f97e96866891362817c1c5c6534c"; rev = "520851447dba901097b121b58b1a0da370481a2c";
sha256 = "1ckk6jvmwrrlfd4ja8n5q99ajasgvbdkzkba9mswhq9dvk6avvn0"; sha256 = "0sz4zqw2s7f5rhqad4kmrfdsl24xqflfsm4hzfbwzvsrlp7ndis7";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/c737839aeda583e61257ad40157e24df7f918b0f/recipes/cfengine-code-style"; url = "https://raw.githubusercontent.com/milkypostman/melpa/c737839aeda583e61257ad40157e24df7f918b0f/recipes/cfengine-code-style";
@ -4564,12 +4585,12 @@
cmake-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }: cmake-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "cmake-mode"; pname = "cmake-mode";
version = "3.9.0"; version = "3.9.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Kitware"; owner = "Kitware";
repo = "CMake"; repo = "CMake";
rev = "f15cfd891d1e01247ed285320ae32b6c3182ac8f"; rev = "fca4423786ba2c4a5ab0ec6c1a1cbac8cd8600b4";
sha256 = "0asp6kijrmf9bayg8jvhgkd1z2falzhyippkwgih9ygpa65qvqpq"; sha256 = "08x5mqhrsm3y28hiy32h336n9ggn2snb56k242hqhij1lsg7iga3";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/598723893ae4bc2e60f527a072efe6ed9d4e2488/recipes/cmake-mode"; url = "https://raw.githubusercontent.com/milkypostman/melpa/598723893ae4bc2e60f527a072efe6ed9d4e2488/recipes/cmake-mode";
@ -5365,6 +5386,27 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
company-terraform = callPackage ({ company, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, terraform-mode }:
melpaBuild {
pname = "company-terraform";
version = "1.1";
src = fetchFromGitHub {
owner = "rafalcieslak";
repo = "emacs-company-terraform";
rev = "b08ced5bac44c0253e3725a7f7a6246bdf1cf2b6";
sha256 = "10922ykv6ii28rnhg4vri2g1fs5897xjxw6a5pk1rw2mld5kx57r";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/1d9732da975dcf59d3b311b19e20abbb29c33656/recipes/company-terraform";
sha256 = "198ppqn6f7y9bg582z5s4cl9gg1q9ibsr7mmn68b50zvma7ankzh";
name = "company-terraform";
};
packageRequires = [ company emacs terraform-mode ];
meta = {
homepage = "https://melpa.org/#/company-terraform";
license = lib.licenses.free;
};
}) {};
company-web = callPackage ({ cl-lib ? null, company, dash, fetchFromGitHub, fetchurl, lib, melpaBuild, web-completion-data }: company-web = callPackage ({ cl-lib ? null, company, dash, fetchFromGitHub, fetchurl, lib, melpaBuild, web-completion-data }:
melpaBuild { melpaBuild {
pname = "company-web"; pname = "company-web";
@ -6313,12 +6355,12 @@
dashboard = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, page-break-lines }: dashboard = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, page-break-lines }:
melpaBuild { melpaBuild {
pname = "dashboard"; pname = "dashboard";
version = "1.0.3"; version = "1.2.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rakanalh"; owner = "rakanalh";
repo = "emacs-dashboard"; repo = "emacs-dashboard";
rev = "cd9899342bc94e59aa42275554810e50d045aaa4"; rev = "f435fd394edc5ad9cf82065ef73b5821e3f93c58";
sha256 = "1klmjdym4w3cbarabzvkxddjdcisfk62wkpys3z4nclp4g91p8as"; sha256 = "0f0ipnij69z90qv9lzl6x9id3f6nayrgqxppbcf4gkxh25pi5nkw";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/e9a79341ccaa82a8c065e71c02fe6aee22007c66/recipes/dashboard"; url = "https://raw.githubusercontent.com/milkypostman/melpa/e9a79341ccaa82a8c065e71c02fe6aee22007c66/recipes/dashboard";
@ -7265,12 +7307,12 @@
docker-compose-mode = callPackage ({ dash, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, yaml-mode }: docker-compose-mode = callPackage ({ dash, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, yaml-mode }:
melpaBuild { melpaBuild {
pname = "docker-compose-mode"; pname = "docker-compose-mode";
version = "0.2.2"; version = "0.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "meqif"; owner = "meqif";
repo = "docker-compose-mode"; repo = "docker-compose-mode";
rev = "e4cce60d4e6c6b517cb786c14fbf9ed8a13f530c"; rev = "37d8afb6a72f829fdbc77e76f18587530ff319b4";
sha256 = "0fn8b9dmz911sqqlq2f6vd84qg39j2ban3ixh0wblcxbrd5wli2v"; sha256 = "11283gl19iqm03a5l635qq36fpxlj05j7a6hlnv7v15n3h7d5512";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/37dd4c1fc11d22598c6faf03ccc860503a68b950/recipes/docker-compose-mode"; url = "https://raw.githubusercontent.com/milkypostman/melpa/37dd4c1fc11d22598c6faf03ccc860503a68b950/recipes/docker-compose-mode";
@ -7873,12 +7915,12 @@
ebal = callPackage ({ emacs, f, fetchFromGitHub, fetchurl, lib, melpaBuild }: ebal = callPackage ({ emacs, f, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "ebal"; pname = "ebal";
version = "0.3.0"; version = "0.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mrkkrp"; owner = "mrkkrp";
repo = "ebal"; repo = "ebal";
rev = "7bc6c5a5e504353282848cd2d0f7c73b4bccda83"; rev = "4d19565516785348894c4911e757e33a270b3efd";
sha256 = "06pn4srx00l63lkk6kyd68svlyajxkpxd9mpjlvdpgbydzh914xl"; sha256 = "1wj9h8ypi70az387c7pcrpc59lpf89dkp2q4df2ighxw3l648mb7";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/629aa451162a0085488caad4052a56366b7ce392/recipes/ebal"; url = "https://raw.githubusercontent.com/milkypostman/melpa/629aa451162a0085488caad4052a56366b7ce392/recipes/ebal";
@ -11419,12 +11461,12 @@
fcitx = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }: fcitx = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "fcitx"; pname = "fcitx";
version = "0.2.2"; version = "0.2.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "cute-jumper"; owner = "cute-jumper";
repo = "fcitx.el"; repo = "fcitx.el";
rev = "77f1e187b9cecb6975bedcfe91c8c81f1b133686"; rev = "6d552ab44234ed78ce9a50f2412f56197266bc9f";
sha256 = "0n0v9jwswcc16cigyffvy3m9y7qqrs8qzjs11sq3d420zrv16b39"; sha256 = "08l859rw1lwj6hdxrlxqlxf1cfxv8yv9h1jsgs5zfis3hp7nq39j";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/e8c40f09d9397b3ca32a7ed37203f490497dc984/recipes/fcitx"; url = "https://raw.githubusercontent.com/milkypostman/melpa/e8c40f09d9397b3ca32a7ed37203f490497dc984/recipes/fcitx";
@ -12308,12 +12350,12 @@
flycheck-popup-tip = callPackage ({ emacs, fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild, popup }: flycheck-popup-tip = callPackage ({ emacs, fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild, popup }:
melpaBuild { melpaBuild {
pname = "flycheck-popup-tip"; pname = "flycheck-popup-tip";
version = "0.12.1"; version = "0.12.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "flycheck"; owner = "flycheck";
repo = "flycheck-popup-tip"; repo = "flycheck-popup-tip";
rev = "6a857d43a1fa136e5b6715421d1b44a72170be0c"; rev = "ef86aad907f27ca076859d8d9416f4f7727619c6";
sha256 = "1hglfhf1vrvrp2vf1p4b226mpab7m2napjw6w0qlw3dj72787pqw"; sha256 = "1bi6f9nm4bylsbjv4qnkar35s6xzdf2cc2cxi3g691p9527apdz6";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/9b2269ee9532bb092756ae0c0693cb44b73820e8/recipes/flycheck-popup-tip"; url = "https://raw.githubusercontent.com/milkypostman/melpa/9b2269ee9532bb092756ae0c0693cb44b73820e8/recipes/flycheck-popup-tip";
@ -12350,12 +12392,12 @@
flycheck-pycheckers = callPackage ({ fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild }: flycheck-pycheckers = callPackage ({ fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "flycheck-pycheckers"; pname = "flycheck-pycheckers";
version = "0.1"; version = "0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "msherry"; owner = "msherry";
repo = "flycheck-pycheckers"; repo = "flycheck-pycheckers";
rev = "3c89f455472b5a77e28129825bb801b464d96ca1"; rev = "220c551df591792d08fc9d149ab3329171743cb9";
sha256 = "1fxbabxsdqm98vhs51k5z6prjkskjq2nsl9vsmlbwgjgyg4hx1xr"; sha256 = "0q1sz28nlnamcm4l587q94b7cyak9d4wpgpr33a05m9lw4a6z74i";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/af36dca316b318d25d65c9e842f15f736e19ea63/recipes/flycheck-pycheckers"; url = "https://raw.githubusercontent.com/milkypostman/melpa/af36dca316b318d25d65c9e842f15f736e19ea63/recipes/flycheck-pycheckers";
@ -14479,12 +14521,12 @@
gitpatch = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }: gitpatch = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "gitpatch"; pname = "gitpatch";
version = "0.5.0"; version = "0.5.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tumashu"; owner = "tumashu";
repo = "gitpatch"; repo = "gitpatch";
rev = "577d5adf65c8133caa325c10e89e1e2fc323c907"; rev = "94d40a2ee2b7cd7b209546ea02568079176b0034";
sha256 = "1jj12pjwza6cq8a3kr8nqnmm3vxs0wam8h983irry4xr4ifywsn4"; sha256 = "1drf4fvmak7brf16axkh4nfz8pg44i7pjhfjz3dbkycbpp8y5vig";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/e1746d87f65dc4b0d8f47c7d6ba4c7e0dfa35953/recipes/gitpatch"; url = "https://raw.githubusercontent.com/milkypostman/melpa/e1746d87f65dc4b0d8f47c7d6ba4c7e0dfa35953/recipes/gitpatch";
@ -15004,12 +15046,12 @@
google-this = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }: google-this = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "google-this"; pname = "google-this";
version = "1.11"; version = "1.12";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Malabarba"; owner = "Malabarba";
repo = "emacs-google-this"; repo = "emacs-google-this";
rev = "22cff810e7ed3b3c9dae066588508864c25c6d99"; rev = "8a2e3ca5da6a8c89bfe99a21486c6c7db125dc84";
sha256 = "14dz9wjp8ym86a03pw5y1sd51zw83d6485hpq8mh8zm0j1fba0y0"; sha256 = "1dbra309w8awmi0g0pp7r2dm9nwrj2j9lpl7md8wa89rnzazwahl";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/1e6aed365c42987d64d0cd9a8a6178339b1b39e8/recipes/google-this"; url = "https://raw.githubusercontent.com/milkypostman/melpa/1e6aed365c42987d64d0cd9a8a6178339b1b39e8/recipes/google-this";
@ -15295,15 +15337,15 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
graphene = callPackage ({ company, dash, exec-path-from-shell, fetchFromGitHub, fetchurl, flycheck, graphene-meta-theme, ido-ubiquitous, lib, melpaBuild, ppd-sr-speedbar, smartparens, smex, sr-speedbar, web-mode }: graphene = callPackage ({ company, dash, exec-path-from-shell, fetchFromGitHub, fetchurl, flycheck, graphene-meta-theme, ido-completing-read-plus, lib, melpaBuild, ppd-sr-speedbar, smartparens, smex, sr-speedbar, web-mode }:
melpaBuild { melpaBuild {
pname = "graphene"; pname = "graphene";
version = "0.9.7"; version = "0.9.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "rdallasgray"; owner = "rdallasgray";
repo = "graphene"; repo = "graphene";
rev = "b25707ae82e286aefa5a66087b12c9cb3b7bf2ed"; rev = "89bbdaa465b3440f46f588664eada0f091ed6bfe";
sha256 = "1h21fv8plxydydm509immp0kpkf24ba6j3wrbpvp5w4nkx49mlkl"; sha256 = "1xrk26v9d3njydwab7drqg4p3qd8rw2diicfr7bfwd0d21bs5ykz";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/0206d6adcb7855c2174c3cd506b71c21def1209b/recipes/graphene"; url = "https://raw.githubusercontent.com/milkypostman/melpa/0206d6adcb7855c2174c3cd506b71c21def1209b/recipes/graphene";
@ -15316,7 +15358,7 @@
exec-path-from-shell exec-path-from-shell
flycheck flycheck
graphene-meta-theme graphene-meta-theme
ido-ubiquitous ido-completing-read-plus
ppd-sr-speedbar ppd-sr-speedbar
smartparens smartparens
smex smex
@ -16017,6 +16059,27 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
hasky-stack = callPackage ({ emacs, f, fetchFromGitHub, fetchurl, lib, magit-popup, melpaBuild }:
melpaBuild {
pname = "hasky-stack";
version = "0.1.0";
src = fetchFromGitHub {
owner = "hasky-mode";
repo = "hasky-stack";
rev = "a11d1e00f41407ec77ea9e6eab93949a18f58069";
sha256 = "1bib7nic9by2vrqvrzpp62dk4apz2iyyprvk4hlgji2hkxyf2wpb";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/c3faf544872478c3bccf2fe7dc51d406031e4d80/recipes/hasky-stack";
sha256 = "08ds0v5p829s47lbhibswnbn1aqfnwf6xx7p5bc5062wxdvqahw8";
name = "hasky-stack";
};
packageRequires = [ emacs f magit-popup ];
meta = {
homepage = "https://melpa.org/#/hasky-stack";
license = lib.licenses.free;
};
}) {};
haxor-mode = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }: haxor-mode = callPackage ({ emacs, fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "haxor-mode"; pname = "haxor-mode";
@ -18495,22 +18558,22 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
ido-completing-read-plus = callPackage ({ cl-lib ? null, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, s }: ido-completing-read-plus = callPackage ({ cl-lib ? null, emacs, fetchFromGitHub, fetchurl, lib, melpaBuild, memoize, s }:
melpaBuild { melpaBuild {
pname = "ido-completing-read-plus"; pname = "ido-completing-read-plus";
version = "4.3"; version = "4.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "DarwinAwardWinner"; owner = "DarwinAwardWinner";
repo = "ido-completing-read-plus"; repo = "ido-completing-read-plus";
rev = "1a1f695eb8e7d4ae2035e506ea3ff5bd4e2d0533"; rev = "e8cfebac1df2bfca52003f28ed84cb1a39dc8345";
sha256 = "15m8x3dp9m0brpap4l9hsbc47s4fgax3lppxz5v6rcwm625s0ac9"; sha256 = "14g5v823wsr0sgrawqw9kwilm68w0k4plz3b00jd7z903np9cxih";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/6104efc035bcf469d133ab9a2caf42c9d4482334/recipes/ido-completing-read+"; url = "https://raw.githubusercontent.com/milkypostman/melpa/6104efc035bcf469d133ab9a2caf42c9d4482334/recipes/ido-completing-read+";
sha256 = "0rxdv3cd0bg0p8c1bck5vichdq941dki934k23qf5p6cfgw8gw4z"; sha256 = "0rxdv3cd0bg0p8c1bck5vichdq941dki934k23qf5p6cfgw8gw4z";
name = "ido-completing-read-plus"; name = "ido-completing-read-plus";
}; };
packageRequires = [ cl-lib emacs s ]; packageRequires = [ cl-lib emacs memoize s ];
meta = { meta = {
homepage = "https://melpa.org/#/ido-completing-read+"; homepage = "https://melpa.org/#/ido-completing-read+";
license = lib.licenses.free; license = lib.licenses.free;
@ -18603,12 +18666,12 @@
ido-ubiquitous = callPackage ({ cl-lib ? null, emacs, fetchFromGitHub, fetchurl, ido-completing-read-plus, lib, melpaBuild }: ido-ubiquitous = callPackage ({ cl-lib ? null, emacs, fetchFromGitHub, fetchurl, ido-completing-read-plus, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "ido-ubiquitous"; pname = "ido-ubiquitous";
version = "4.3"; version = "4.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "DarwinAwardWinner"; owner = "DarwinAwardWinner";
repo = "ido-completing-read-plus"; repo = "ido-completing-read-plus";
rev = "1a1f695eb8e7d4ae2035e506ea3ff5bd4e2d0533"; rev = "e8cfebac1df2bfca52003f28ed84cb1a39dc8345";
sha256 = "15m8x3dp9m0brpap4l9hsbc47s4fgax3lppxz5v6rcwm625s0ac9"; sha256 = "14g5v823wsr0sgrawqw9kwilm68w0k4plz3b00jd7z903np9cxih";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/6104efc035bcf469d133ab9a2caf42c9d4482334/recipes/ido-ubiquitous"; url = "https://raw.githubusercontent.com/milkypostman/melpa/6104efc035bcf469d133ab9a2caf42c9d4482334/recipes/ido-ubiquitous";
@ -19379,12 +19442,12 @@
intero = callPackage ({ company, emacs, fetchFromGitHub, fetchurl, flycheck, haskell-mode, lib, melpaBuild }: intero = callPackage ({ company, emacs, fetchFromGitHub, fetchurl, flycheck, haskell-mode, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "intero"; pname = "intero";
version = "0.1.20"; version = "0.1.21";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "commercialhaskell"; owner = "commercialhaskell";
repo = "intero"; repo = "intero";
rev = "402722b5ad035b87fc08bc73343f05610a5fcb3c"; rev = "4c8f3e7f4ad03179425c722d5072beae254da73b";
sha256 = "143y94b4spslh06x4klvsvil7ywn3cmrad4mg1qc0y0h0d9ksd4v"; sha256 = "0q377rpgszqixjbmwck6kcczfb3j8axx0pk6fqavzp8qyc3q121l";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/1b56ca344ad944e03b669a9974e9b734b5b445bb/recipes/intero"; url = "https://raw.githubusercontent.com/milkypostman/melpa/1b56ca344ad944e03b669a9974e9b734b5b445bb/recipes/intero";
@ -24873,12 +24936,12 @@
omnisharp = callPackage ({ auto-complete, cl-lib ? null, csharp-mode, dash, emacs, f, fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild, popup, s, shut-up }: omnisharp = callPackage ({ auto-complete, cl-lib ? null, csharp-mode, dash, emacs, f, fetchFromGitHub, fetchurl, flycheck, lib, melpaBuild, popup, s, shut-up }:
melpaBuild { melpaBuild {
pname = "omnisharp"; pname = "omnisharp";
version = "4.0"; version = "4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "OmniSharp"; owner = "OmniSharp";
repo = "omnisharp-emacs"; repo = "omnisharp-emacs";
rev = "bf0edf7c74ddcd9976753543481a61a5607eec4e"; rev = "a9a66b047606c6b5dc48abdb0eb70a1f9dcd08f2";
sha256 = "1x7bvpy2lx51j58grbc45l99mzf55wlx657icc7q5rf2vgb56k01"; sha256 = "0m1f62cr0h426g66c7r36v3yr2bdakkjwxzdvpd0gh81xazn8yjz";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/e327c483be04de32638b420c5b4e043d12a2cd01/recipes/omnisharp"; url = "https://raw.githubusercontent.com/milkypostman/melpa/e327c483be04de32638b420c5b4e043d12a2cd01/recipes/omnisharp";
@ -28623,12 +28686,12 @@
protobuf-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }: protobuf-mode = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "protobuf-mode"; pname = "protobuf-mode";
version = "3.4.0pre1"; version = "3.4.0pre3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = "protobuf"; repo = "protobuf";
rev = "3afcded28a6aa9c44adf801ca5bff2133fcf3030"; rev = "eaeca0d42b1fc4a8023a7f90d889631eda9360a3";
sha256 = "03m1fprfz6cwxijp5fls502g6g3svyz760bwwwnbvyx4carwzmsp"; sha256 = "02c360xhmnhcybl23fa0p7l3x3zn4mil1c7cnpilnv0bqxy5399n";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/b4e7f5f641251e17add561991d3bcf1fde23467b/recipes/protobuf-mode"; url = "https://raw.githubusercontent.com/milkypostman/melpa/b4e7f5f641251e17add561991d3bcf1fde23467b/recipes/protobuf-mode";
@ -30492,12 +30555,12 @@
ruby-electric = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }: ruby-electric = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "ruby-electric"; pname = "ruby-electric";
version = "2.3.0"; version = "2.3.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "knu"; owner = "knu";
repo = "ruby-electric.el"; repo = "ruby-electric.el";
rev = "d04313dbee42c0d1009558a7c9424e4ae8611908"; rev = "3553448a780a1ea5c3b0e9becd820d4762876593";
sha256 = "03g6m2xjfjjm06v5gid1vxivzb6lnsdc65d1p2wjaz32j1rmb6gm"; sha256 = "0h47lfgxjcyyl8gb1w7l8j8h65s3lp1hsq742sl7a1gf5y6bbm3v";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/5fd5fa797a813e02a6433ecbe2bca1270a383753/recipes/ruby-electric"; url = "https://raw.githubusercontent.com/milkypostman/melpa/5fd5fa797a813e02a6433ecbe2bca1270a383753/recipes/ruby-electric";
@ -31016,11 +31079,11 @@
secretaria = callPackage ({ alert, emacs, f, fetchgit, fetchurl, lib, melpaBuild, org, s }: secretaria = callPackage ({ alert, emacs, f, fetchgit, fetchurl, lib, melpaBuild, org, s }:
melpaBuild { melpaBuild {
pname = "secretaria"; pname = "secretaria";
version = "0.2.4"; version = "0.2.5";
src = fetchgit { src = fetchgit {
url = "https://bitbucket.org/shackra/secretaria.el"; url = "https://bitbucket.org/shackra/secretaria.el";
rev = "aae30bfc93fa5ea846bce086b22321c46b94ff7b"; rev = "7bd1cf591528b18a153e15a260d7817b72c900f2";
sha256 = "18ad7q2a131gpvjj8923vp06zh0zfdy1589vs3f09v16aazbcfqc"; sha256 = "0n9mj2g59yiqbg81rk0gglbgpvfs550r4y26n8nf5pyxpxfllv5s";
}; };
recipeFile = fetchurl { recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/7b4c9ccbf2eeaa290f3b9d1e5eaaeb5b5547b365/recipes/secretaria"; url = "https://raw.githubusercontent.com/milkypostman/melpa/7b4c9ccbf2eeaa290f3b9d1e5eaaeb5b5547b365/recipes/secretaria";
@ -31558,6 +31621,27 @@
license = lib.licenses.free; license = lib.licenses.free;
}; };
}) {}; }) {};
shrink-path = callPackage ({ dash, f, fetchFromGitLab, fetchurl, lib, melpaBuild, s }:
melpaBuild {
pname = "shrink-path";
version = "0.3.1";
src = fetchFromGitLab {
owner = "bennya";
repo = "shrink-path.el";
rev = "9b8cfb59a2dcee8b39b680ab9adad5ecb1f53c0b";
sha256 = "0kx0c4syd7k6ff9j463bib32pz4wq0rzjlg6b0yqnymlzfr1mbki";
};
recipeFile = fetchurl {
url = "https://raw.githubusercontent.com/milkypostman/melpa/86b0d105e8a57d5f0bcde779441dc80b85e170ea/recipes/shrink-path";
sha256 = "0fq13c6g7qbq6f2ry9dzdyg1f6p41wimkjcdaj177rnilz77alzb";
name = "shrink-path";
};
packageRequires = [ dash f s ];
meta = {
homepage = "https://melpa.org/#/shrink-path";
license = lib.licenses.free;
};
}) {};
shrink-whitespace = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }: shrink-whitespace = callPackage ({ fetchFromGitHub, fetchurl, lib, melpaBuild }:
melpaBuild { melpaBuild {
pname = "shrink-whitespace"; pname = "shrink-whitespace";

View File

@ -1,10 +1,10 @@
{ callPackage }: { { callPackage }: {
org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild { org = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org"; pname = "org";
version = "20170807"; version = "20170814";
src = fetchurl { src = fetchurl {
url = "http://orgmode.org/elpa/org-20170807.tar"; url = "http://orgmode.org/elpa/org-20170814.tar";
sha256 = "0cpkkfw7wmz242r5zzpcnzp7gfsmja90gqqb5h20azxmq96kfzga"; sha256 = "1r55vfjbll18h1nb5a48293x9lwmcmxgpx8h20n77n3inqmc6yli";
}; };
packageRequires = []; packageRequires = [];
meta = { meta = {
@ -14,10 +14,10 @@
}) {}; }) {};
org-plus-contrib = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild { org-plus-contrib = callPackage ({ elpaBuild, fetchurl, lib }: elpaBuild {
pname = "org-plus-contrib"; pname = "org-plus-contrib";
version = "20170807"; version = "20170814";
src = fetchurl { src = fetchurl {
url = "http://orgmode.org/elpa/org-plus-contrib-20170807.tar"; url = "http://orgmode.org/elpa/org-plus-contrib-20170814.tar";
sha256 = "145j9g1lx5nj85irdh9ljhh4rhwj9ys8nnca549lyxd9a5yiav5k"; sha256 = "15v3944p1vnjqmy6il6gr1ipqw32cjzdq6w43rniwv2vr5lmh6iz";
}; };
packageRequires = []; packageRequires = [];
meta = { meta = {

View File

@ -31,20 +31,19 @@ in let
dontStrip = true; dontStrip = true;
dontPatchELF = true; dontPatchELF = true;
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper zip unzip ];
# make exec.py in Default.sublime-package use own bash with # make exec.py in Default.sublime-package use own bash with
# an LD_PRELOAD instead of "/bin/bash" # an LD_PRELOAD instead of "/bin/bash"
patchPhase = '' patchPhase = ''
mkdir Default.sublime-package-fix mkdir Default.sublime-package-fix
( cd Default.sublime-package-fix ( cd Default.sublime-package-fix
${unzip}/bin/unzip ../Packages/Default.sublime-package > /dev/null unzip -q ../Packages/Default.sublime-package
substituteInPlace "exec.py" --replace \ substituteInPlace "exec.py" --replace \
"[\"/bin/bash\"" \ "[\"/bin/bash\"" \
"[\"$out/sublime_bash\"" "[\"$out/sublime_bash\""
zip -q ../Packages/Default.sublime-package **/*
) )
${zip}/bin/zip -j Default.sublime-package.zip Default.sublime-package-fix/* > /dev/null
mv Default.sublime-package.zip Packages/Default.sublime-package
rm -r Default.sublime-package-fix rm -r Default.sublime-package-fix
''; '';
@ -85,14 +84,17 @@ in stdenv.mkDerivation {
name = "sublimetext3-${build}"; name = "sublimetext3-${build}";
phases = [ "installPhase" ]; phases = [ "installPhase" ];
inherit sublime;
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
ln -s ${sublime}/sublime_text $out/bin/subl ln -s $sublime/sublime_text $out/bin/subl
ln -s ${sublime}/sublime_text $out/bin/sublime ln -s $sublime/sublime_text $out/bin/sublime
ln -s ${sublime}/sublime_text $out/bin/sublime3 ln -s $sublime/sublime_text $out/bin/sublime3
mkdir -p $out/share/applications mkdir -p $out/share/applications
ln -s ${sublime}/sublime_text.desktop $out/share/applications/sublime_text.desktop ln -s $sublime/sublime_text.desktop $out/share/applications/sublime_text.desktop
ln -s ${sublime}/Icon/256x256/ $out/share/icons ln -s $sublime/Icon/256x256/ $out/share/icons
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cbatticon-${version}"; name = "cbatticon-${version}";
version = "1.6.5"; version = "1.6.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "valr"; owner = "valr";
repo = "cbatticon"; repo = "cbatticon";
rev = version; rev = version;
sha256 = "1j7gbmmygvbrawqn1bbaf47lb600lylslzqbvfwlhifmi7qnm6ca"; sha256 = "0gphijkjmg5q349ffhnx12dppg6hajkr90n0x5b6s9cad5b4q0kq";
}; };
makeFlags = "PREFIX=$(out)"; makeFlags = "PREFIX=$(out)";

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "gpxsee-${version}"; name = "gpxsee-${version}";
version = "4.8"; version = "4.9";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tumic0"; owner = "tumic0";
repo = "GPXSee"; repo = "GPXSee";
rev = version; rev = version;
sha256 = "17s1v6b1j7pi0yj554bd0cg14bl854gssp5gj2pl51rxji6zr0wp"; sha256 = "0jk99yhrms1wzqpcnsjydcl2nysidv639s2j7l53yp60g0zz8174";
}; };
nativeBuildInputs = [ qmake qttools ]; nativeBuildInputs = [ qmake qttools ];

View File

@ -60,7 +60,7 @@ in pythonPackages.buildPythonApplication rec {
owner = "foosel"; owner = "foosel";
repo = "OctoPrint"; repo = "OctoPrint";
rev = version; rev = version;
sha256 = "06l8khbq3waaaa4cqpv6056w1ziylkfgzlb28v30i1h234rlkknq"; sha256 = "1hci8cfmbzcghla1vmrcn6zicm8nj50drm7gp2hkr0drglq5fgr2";
}; };
# We need old Tornado # We need old Tornado

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "urxvt-autocomplete-all-the-things-${version}";
version = "1.6.0";
src = fetchFromGitHub {
owner = "Vifon";
repo = "autocomplete-ALL-the-things";
rev = version;
sha256 = "06xd59c6gd9rglwq4km93n2p078k7v4x300lqrg1f32vvnjvs7sr";
};
installPhase = ''
mkdir -p $out/lib/urxvt/perl
cp autocomplete-ALL-the-things $out/lib/urxvt/perl
'';
meta = with stdenv.lib; {
description = "urxvt plugin allowing user to easily complete arbitrary text";
homepage = "https://github.com/Vifon/autocomplete-ALL-the-things";
license = licenses.gpl3;
maintainers = with maintainers; [ nickhu ];
platforms = with platforms; unix;
};
}

View File

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, buildGoPackage, pkgconfig, libappindicator-gtk3 }:
buildGoPackage rec {
name = "syncthing-tray-${version}";
version = "0.7";
goPackagePath = "github.com/alex2108/syncthing-tray";
src = fetchFromGitHub {
owner = "alex2108";
repo = "syncthing-tray";
rev = "v${version}";
sha256 = "0869kinnsfzb8ydd0sv9fgqsi1sy5rhqg4whfdnrv82xjc71xyw3";
};
goDeps = ./deps.nix;
buildInputs = [ pkgconfig libappindicator-gtk3 ];
meta = with stdenv.lib; {
description = "Simple application tray for syncthing";
homepage = https://github.com/alex2108/syncthing-tray;
license = licenses.mit;
maintainers = with maintainers; [ nickhu ];
platforms = platforms.all;
};
}

View File

@ -0,0 +1,93 @@
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
[
{
goPackagePath = "github.com/alex2108/systray";
fetch = {
type = "git";
url = "https://github.com/alex2108/systray";
rev = "40e874866be2dc2c57ab031bcbde27a76b90721a";
sha256 = "1bxnb6skb9ss0lwlwswql07ardkhm28nxglvlsxkdlmzv1dcwy1q";
};
}
{
goPackagePath = "github.com/getlantern/context";
fetch = {
type = "git";
url = "https://github.com/getlantern/context";
rev = "624d99b1798d7c5375ea1d3ca4c5b04d58f7c775";
sha256 = "09yf9x6478a5z01hybr98zwa8ax3fx7l6wwsvdkxp3fdg9dqm13b";
};
}
{
goPackagePath = "github.com/getlantern/errors";
fetch = {
type = "git";
url = "https://github.com/getlantern/errors";
rev = "99fa440517e8f3d1e4cd8d6dbed6b41f4c1ed3d6";
sha256 = "08rl32l5ks67hcgjxik62nd5g558mv4101kmz1ak7d3vfgg3m6i3";
};
}
{
goPackagePath = "github.com/getlantern/golog";
fetch = {
type = "git";
url = "https://github.com/getlantern/golog";
rev = "cca714f7feb5df8e455f409b549d384441ac4578";
sha256 = "0gnf30n38zkx356cqc6jdv1kbzy59ddqhqndwrxsm2n2zc3b5p7q";
};
}
{
goPackagePath = "github.com/getlantern/hex";
fetch = {
type = "git";
url = "https://github.com/getlantern/hex";
rev = "083fba3033ad473db3dd31c9bb368473d37581a7";
sha256 = "18q6rypmcqmcwlfzrrdcz08nff0a289saplvd9y3ifnfcqdw3j77";
};
}
{
goPackagePath = "github.com/getlantern/hidden";
fetch = {
type = "git";
url = "https://github.com/getlantern/hidden";
rev = "d52a649ab33af200943bb599898dbdcfdbc94cb7";
sha256 = "0133qmp4sjq8da5di3459vc5g5nqbpqra0f558zd95js3fdmkmsi";
};
}
{
goPackagePath = "github.com/getlantern/ops";
fetch = {
type = "git";
url = "https://github.com/getlantern/ops";
rev = "b70875f5d689a9438bca72aefd7142a2af889b18";
sha256 = "0cfa2bbkykbzbskmgd2an34him72z6f3y88ag1v5ffpb0d6bnar7";
};
}
{
goPackagePath = "github.com/getlantern/stack";
fetch = {
type = "git";
url = "https://github.com/getlantern/stack";
rev = "02f928aad224fbccd50d66edd776fc9d1e9f2f2b";
sha256 = "0ddl5r4iw3c7p4drh4d8phl7d0ssdddsnd3xjm1lzgxylqq6r568";
};
}
{
goPackagePath = "github.com/oxtoacart/bpool";
fetch = {
type = "git";
url = "https://github.com/oxtoacart/bpool";
rev = "4e1c5567d7c2dd59fa4c7c83d34c2f3528b025d6";
sha256 = "01kk6dhkz96yhp3p5v2rjwq8mbrwrdsn6glqw7jp4h7g5za7yi95";
};
}
{
goPackagePath = "github.com/toqueteos/webbrowser";
fetch = {
type = "git";
url = "https://github.com/toqueteos/webbrowser";
rev = "e2ebfdc6cb1a3fdc4fc4dbd20a0cae0c2e406792";
sha256 = "0sgjnxrq0jgipkij8b6xiy4am9bv9zziqxxdhw15rdjc5piyk3a2";
};
}
]

View File

@ -5,19 +5,19 @@
, gtk2, hunspell, icu, libevent, libjpeg, libnotify , gtk2, hunspell, icu, libevent, libjpeg, libnotify
, libstartup_notification, libvpx, makeWrapper, mesa , libstartup_notification, libvpx, makeWrapper, mesa
, nspr, nss, pango, perl, python, libpulseaudio, sqlite , nspr, nss, pango, perl, python, libpulseaudio, sqlite
, unzip, xlibs, which, yasm, zip, zlib , unzip, xlibs, which, yasm, zip, zlib, gcc
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "palemoon-${version}"; name = "palemoon-${version}";
version = "27.2.1"; version = "27.4.1";
src = fetchFromGitHub { src = fetchFromGitHub {
name = "palemoon-src"; name = "palemoon-src";
owner = "MoonchildProductions"; owner = "MoonchildProductions";
repo = "Pale-Moon"; repo = "Pale-Moon";
rev = version + "_Release"; rev = version + "_Release";
sha256 = "1yyipxd5lmavf4aca4vrcnp7hb8zkn4sv2zp6n2cm6w4pxlza0g4"; sha256 = "0sgy0iq038pj676w6k5nwbavrdmrznhydjibdpj6irdz5qxxdgjn";
}; };
desktopItem = makeDesktopItem { desktopItem = makeDesktopItem {
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
gst-plugins-base gstreamer gst_all_1.gst-plugins-base gtk2 gst-plugins-base gstreamer gst_all_1.gst-plugins-base gtk2
hunspell icu libevent libjpeg libnotify libstartup_notification hunspell icu libevent libjpeg libnotify libstartup_notification
libvpx makeWrapper mesa nspr nss pango perl pkgconfig python libvpx makeWrapper mesa nspr nss pango perl pkgconfig python
libpulseaudio sqlite unzip which yasm zip zlib libpulseaudio sqlite unzip which yasm zip zlib gcc
] ++ (with xlibs; [ ] ++ (with xlibs; [
libX11 libXext libXft libXi libXrender libXScrnSaver libX11 libXext libXft libXi libXrender libXScrnSaver
libXt pixman scrnsaverproto xextproto libXt pixman scrnsaverproto xextproto

View File

@ -0,0 +1,38 @@
{ stdenv, fetchurl, makeWrapper, writeScript, unzip, jre }:
let
version = "1.9";
name = "msgviewer-${version}";
uname = "MSGViewer-${version}";
in stdenv.mkDerivation rec {
inherit name;
src = fetchurl {
url = "mirror://sourceforge/msgviewer/${uname}/${uname}.zip";
sha256 = "0igmr8c0757xsc94xlv2470zv2mz57zaj52dwr9wj8agmj23jbjz";
};
buildCommand = ''
dir=$out/lib/msgviewer
mkdir -p $out/bin $dir
unzip $src -d $dir
mv $dir/${uname}/* $dir
rmdir $dir/${uname}
cat <<_EOF > $out/bin/msgviewer
#!${stdenv.shell} -eu
${stdenv.lib.getBin jre}/bin/java -jar $dir/MSGViewer.jar $@
_EOF
chmod 755 $out/bin/msgviewer
'';
nativeBuildInputs = [ makeWrapper unzip ];
meta = with stdenv.lib; {
description = "Viewer for .msg files (MS Outlook)";
homepage = https://www.washington.edu/alpine/;
license = licenses.asl20;
maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all;
};
}

View File

@ -1,14 +1,14 @@
{ stdenv, lib, fetchFromGitHub, go, procps, removeReferencesTo }: { stdenv, lib, fetchFromGitHub, go, procps, removeReferencesTo }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.14.32"; version = "0.14.36";
name = "syncthing-${version}"; name = "syncthing-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "syncthing"; owner = "syncthing";
repo = "syncthing"; repo = "syncthing";
rev = "v${version}"; rev = "v${version}";
sha256 = "1agjr3m4gnywbp40idi0pwy25cp836sdcar7r6r9hwcqxyyzz545"; sha256 = "1l4s74qlabwfkpi9lmm588ym0myavbs06a5gpp9nihzrsal18727";
}; };
buildInputs = [ go removeReferencesTo ]; buildInputs = [ go removeReferencesTo ];
@ -21,13 +21,14 @@ stdenv.mkDerivation rec {
# Syncthing's build.go script expects this working directory # Syncthing's build.go script expects this working directory
cd src/github.com/syncthing/syncthing cd src/github.com/syncthing/syncthing
go run build.go -no-upgrade -version v${version} install all go run build.go -no-upgrade -version v${version} build
''; '';
installPhase = '' installPhase = ''
mkdir -p $out/bin $out/lib/systemd/{system,user} mkdir -p $out/lib/systemd/{system,user}
install -Dm755 syncthing $out/bin/syncthing
cp bin/* $out/bin
'' + lib.optionalString (stdenv.isLinux) '' '' + lib.optionalString (stdenv.isLinux) ''
substitute etc/linux-systemd/system/syncthing-resume.service \ substitute etc/linux-systemd/system/syncthing-resume.service \
$out/lib/systemd/system/syncthing-resume.service \ $out/lib/systemd/system/syncthing-resume.service \

View File

@ -0,0 +1,32 @@
{ fetchurl, stdenv, gtk, pkgconfig, libofx, intltool, wrapGAppsHook
, hicolor_icon_theme, libsoup, gnome3 }:
stdenv.mkDerivation rec {
name = "grisbi-${version}";
version = "1.0.2";
src = fetchurl {
url = "mirror://sourceforge/grisbi/${name}.tar.bz2";
sha256 = "1m31a1h4i59z36ri4a22rrd29byg6wnxq37559042hdhn557kazm";
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = [ gtk libofx intltool hicolor_icon_theme libsoup
gnome3.defaultIconTheme ];
meta = with stdenv.lib; {
description = "A personnal accounting application.";
longDescription = ''
Grisbi is an application written by French developers, so it perfectly
respects French accounting rules. Grisbi can manage multiple accounts,
currencies and users. It manages third party, expenditure and receipt
categories, budgetary lines, financial years, budget estimates, bankcard
management and other information that make Grisbi adapted for
associations.
'';
homepage = "http://grisbi.org";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ layus ];
platforms = platforms.linux;
};
}

View File

@ -55,7 +55,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
patches = [ ./no-etc-install.patch ] patches = [ ./no-etc-install.patch ]
++ optional nixosTestRunner ./force-uid0-on-9p.patch; ++ optional nixosTestRunner ./force-uid0-on-9p.patch
++ optional pulseSupport ./fix-hda-recording.patch;
hardeningDisable = [ "stackprotector" ]; hardeningDisable = [ "stackprotector" ];

View File

@ -0,0 +1,34 @@
diff --git a/audio/paaudio.c b/audio/paaudio.c
index fea6071..c1169d4 100644
--- a/audio/paaudio.c
+++ b/audio/paaudio.c
@@ -608,6 +608,7 @@ static int qpa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque)
{
int error;
pa_sample_spec ss;
+ pa_buffer_attr ba;
struct audsettings obt_as = *as;
PAVoiceIn *pa = (PAVoiceIn *) hw;
paaudio *g = pa->g = drv_opaque;
@@ -616,6 +617,12 @@ static int qpa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque)
ss.channels = as->nchannels;
ss.rate = as->freq;
+ ba.fragsize = pa_frame_size (&ss) * g->conf.samples;
+ ba.maxlength = 5 * ba.fragsize;
+ ba.tlength = -1;
+ ba.prebuf = -1;
+ ba.minreq = -1;
+
obt_as.fmt = pa_to_audfmt (ss.format, &obt_as.endianness);
pa->stream = qpa_simple_new (
@@ -625,7 +632,7 @@ static int qpa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque)
g->conf.source,
&ss,
NULL, /* channel map */
- NULL, /* buffering attributes */
+ &ba, /* buffering attributes */
&error
);
if (!pa->stream) {

View File

@ -4,7 +4,7 @@ let
rootHints = fetchurl { rootHints = fetchurl {
url = "http://www.internic.net/domain/named.root"; url = "http://www.internic.net/domain/named.root";
sha256 = "1zf3ydn44z70gq1kd95lvk9cp68xlbl8vqpswqlhd30qafx6v6d1"; sha256 = "0qsyxpj5b3i7n162qfyv76ljqbvnwjii7jk8mpfinklx0sk01473";
}; };
rootKey = ./root.key; rootKey = ./root.key;
@ -13,7 +13,7 @@ let
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "dns-root-data-2017-07-11"; name = "dns-root-data-2017-07-26";
buildCommand = '' buildCommand = ''
mkdir $out mkdir $out

View File

@ -0,0 +1,45 @@
{ stdenv, fetchurl, ncurses5, python27 }:
stdenv.mkDerivation rec {
name = "gcc-arm-embedded-${version}";
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"; }
else throw "unsupported platform";
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = ''
mkdir -p $out
cp -r * $out
'';
dontPatchELF = true;
dontStrip = true;
preFixup = ''
find $out -type f | while read f; do
patchelf $f > /dev/null 2>&1 || continue
patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) "$f" || true
patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ "$out" stdenv.cc.cc ncurses5 python27 ]} "$f" || true
done
'';
meta = {
description = "Pre-built GNU toolchain from ARM Cortex-M & Cortex-R processors (Cortex-M0/M0+/M3/M4/M7, Cortex-R4/R5/R7/R8)";
homepage = https://developer.arm.com/open-source/gnu-toolchain/gnu-rm;
license = with stdenv.lib.licenses; [ bsd2 gpl2 gpl3 lgpl21 lgpl3 mit ];
maintainers = with stdenv.lib.maintainers; [ vinymeuh ];
platforms = with stdenv.lib.platforms; linux ++ darwin;
};
}

View File

@ -1,13 +1,14 @@
{stdenv, fetchFromGitHub, ponyc }: {stdenv, fetchFromGitHub, ponyc }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "pony-stable-unstable-2017-07-26"; name = "pony-stable-${version}";
version = "0.0.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ponylang"; owner = "ponylang";
repo = "pony-stable"; repo = "pony-stable";
rev = "4016f9253a4e3114ee69100d3d02154ffd3fd7e4"; rev = version;
sha256 = "0xz5syjn2f8k31vny49k3jm8zisa15ly4hbcb3rh4jvq8jjp1ldr"; sha256 = "0q05135mnzzdwam7cnmxq34clqhmc83yp2gi63sx20c74rcw3p6v";
}; };
buildInputs = [ ponyc ]; buildInputs = [ ponyc ];
@ -20,7 +21,7 @@ stdenv.mkDerivation {
description = "A simple dependency manager for the Pony language."; description = "A simple dependency manager for the Pony language.";
homepage = http://www.ponylang.org; homepage = http://www.ponylang.org;
license = stdenv.lib.licenses.bsd2; license = stdenv.lib.licenses.bsd2;
maintainers = [ stdenv.lib.maintainers.dipinhora ]; maintainers = with stdenv.lib.maintainers; [ dipinhora kamilchm ];
platforms = stdenv.lib.platforms.unix; platforms = stdenv.lib.platforms.unix;
}; };
} }

View File

@ -87,6 +87,11 @@ self: super: {
hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify; hinotify = if pkgs.stdenv.isLinux then self.hinotify else self.fsnotify;
}; };
# Fix test trying to access /home directory
shell-conduit = (overrideCabal super.shell-conduit (drv: {
postPatch = "sed -i s/home/tmp/ test/Spec.hs";
}));
# https://github.com/froozen/kademlia/issues/2 # https://github.com/froozen/kademlia/issues/2
kademlia = dontCheck super.kademlia; kademlia = dontCheck super.kademlia;
@ -417,6 +422,9 @@ self: super: {
# https://github.com/basvandijk/threads/issues/10 # https://github.com/basvandijk/threads/issues/10
threads = dontCheck super.threads; threads = dontCheck super.threads;
# https://github.com/purescript/purescript/pull/3041
purescript = doJailbreak super.purescript;
# Missing module. # Missing module.
rematch = dontCheck super.rematch; # https://github.com/tcrayford/rematch/issues/5 rematch = dontCheck super.rematch; # https://github.com/tcrayford/rematch/issues/5
rematch-text = dontCheck super.rematch-text; # https://github.com/tcrayford/rematch/issues/6 rematch-text = dontCheck super.rematch-text; # https://github.com/tcrayford/rematch/issues/6

View File

@ -0,0 +1,92 @@
{ stdenv, stdenv_32bit, pkgsi686Linux, fetchFromGitHub, fetchurl }:
stdenv.mkDerivation rec {
name = "red-v${version}";
version = "0.6.3";
src = fetchFromGitHub {
rev = "6a43c767fa2e85d668b83f749158a18e62c30f70";
owner = "red";
repo = "red";
sha256 = "1zh6xc728bs7r4v5jz1jjrdk0xd838xsxmvy9gfg75a3zffm0slr";
};
rebol = fetchurl {
url = "http://www.rebol.com/downloads/v278/rebol-core-278-4-2.tar.gz";
sha256 = "1c1v0pyhf3d8z98qc93a5zmx0bbl0qq5lr8mbkdgygqsq2bv2xbz";
};
buildInputs = [ pkgsi686Linux.curl stdenv_32bit ];
r2 = "./rebol/releases/rebol-core/rebol";
configurePhase = ''
# Download rebol
mkdir rebol/
tar -xzvf ${rebol} -C rebol/
patchelf --set-interpreter \
${stdenv_32bit.cc.libc.out}/lib/32/ld-linux.so.2 \
${r2}
'';
buildPhase = ''
# Do tests
#${r2} -qw run-all.r
# Build test
${r2} -qw red.r tests/hello.red
# Compiling the Red console...
${r2} -qw red.r -r environment/console/console.red
# Generating docs...
cd docs
../${r2} -qw makedoc2.r red-system-specs.txt
../${r2} -qw makedoc2.r red-system-quick-test.txt
cd ../
'';
installPhase = ''
mkdir $out
# Install
install -d $out/opt/red
find quick-test -type f -executable -print0 | xargs -0 rm
cp -R * $out/opt/red/
rm -rf $out/opt/red/rebol
install -Dm755 console $out/bin/red
install -Dm644 BSD-3-License.txt \
$out/share/licenses/${name}/BSD-3-License.txt
install -Dm644 BSL-License.txt \
$out/share/licenses/${name}/BSL-License.txt
install -Dm644 docs/red-system-quick-test.html \
$out/share/doc/${name}/red-system-quick-test.html
install -Dm644 docs/red-system-specs.html \
$out/share/doc/${name}/red-system-specs.html
# PathElf
patchelf --set-interpreter \
${stdenv_32bit.cc.libc.out}/lib/32/ld-linux.so.2 \
$out/opt/red/console
patchelf --set-rpath ${pkgsi686Linux.curl.out}/lib \
$out/opt/red/console
patchelf --set-interpreter \
${stdenv_32bit.cc.libc.out}/lib/32/ld-linux.so.2 \
$out/bin/red
patchelf --set-rpath ${pkgsi686Linux.curl.out}/lib \
$out/bin/red
'';
meta = with stdenv.lib; {
description = ''
New programming language strongly inspired by Rebol, but with a
broader field of usage thanks to its native-code compiler, from system
programming to high-level scripting, while providing modern support for
concurrency and multi-core CPUs
'';
maintainers = with maintainers; [ uralbash ];
platforms = [ "i686-linux" "x86_64-linux" ];
license = licenses.bsd3;
homepage = http://www.red-lang.org/;
};
}

View File

@ -10,6 +10,29 @@ stdenv.mkDerivation rec {
sha256 = "1afzm7jx34jhqn32clc5xghyjglccam2728yxlx37yj2y0lkkwqz"; sha256 = "1afzm7jx34jhqn32clc5xghyjglccam2728yxlx37yj2y0lkkwqz";
}; };
patches = [
# CVE-2017-12562
(fetchurl {
url = "https://github.com/erikd/libsndfile/commit/cf7a8182c2642c50f1cf90dddea9ce96a8bad2e8.patch";
sha256 = "1jg3wq30wdn9nv52mcyv6jyi4d80h4r1h9p96czcria7l91yh4sy";
})
# CVE-2017-6892
(fetchurl {
url = "https://github.com/erikd/libsndfile/commit/f833c53cb596e9e1792949f762e0b33661822748.patch";
sha256 = "05xkmz2ihc1zcj73sbmj1ikrv9qlcym2bkp1v6ak7w53ky619mwq";
})
# CVE-2017-8361, CVE-2017-8363, CVE-2017-8363
(fetchurl {
url = "https://github.com/erikd/libsndfile/commit/fd0484aba8e51d16af1e3a880f9b8b857b385eb3.patch";
sha256 = "0ccndnvjzx5fw18zvy03vnb29rr81h5vsh1m16msqbxk8ibndln2";
})
# CVE-2017-8362
(fetchurl {
url = "https://github.com/erikd/libsndfile/commit/ef1dbb2df1c0e741486646de40bd638a9c4cd808.patch";
sha256 = "1xyv30ga71cpy4wx5f76sc4dma91la2lcc6s9f3pk9rndyi7gj9x";
})
];
buildInputs = [ pkgconfig flac libogg libvorbis ] buildInputs = [ pkgconfig flac libogg libvorbis ]
++ stdenv.lib.optionals stdenv.isDarwin [ Carbon AudioToolbox ]; ++ stdenv.lib.optionals stdenv.isDarwin [ Carbon AudioToolbox ];

View File

@ -17,7 +17,14 @@ stdenv.mkDerivation rec {
sha256 = "1klh81xbm9ppzgqk339097i39b7fnpmlj8lzn8bpczl3aww6x5xm"; sha256 = "1klh81xbm9ppzgqk339097i39b7fnpmlj8lzn8bpczl3aww6x5xm";
}; };
patches = stdenv.lib.optional stdenv.isSunOS ./patch-ah.patch; patches = [
(fetchpatch {
name = "CVE-2017-5029";
url = "https://git.gnome.org/browse/libxslt/"
+ "patch/?id=08ab2774b870de1c7b5a48693df75e8154addae5";
sha256 = "10azfmyffjf9d7b5js4ipxw9f20qi0kw3zq34bpqmbcpq3l338ky";
})
] ++ stdenv.lib.optional stdenv.isSunOS ./patch-ah.patch;
# fixes: can't build x86_64-unknown-cygwin shared library unless -no-undefined is specified # fixes: can't build x86_64-unknown-cygwin shared library unless -no-undefined is specified
postPatch = optionalString hostPlatform.isCygwin '' postPatch = optionalString hostPlatform.isCygwin ''

View File

@ -17,6 +17,7 @@
, enableEigen ? false, eigen , enableEigen ? false, eigen
, enableOpenblas ? false, openblas , enableOpenblas ? false, openblas
, enableCuda ? false, cudatoolkit, gcc5 , enableCuda ? false, cudatoolkit, gcc5
, enableTesseract ? false, tesseract, leptonica
, AVFoundation, Cocoa, QTKit , AVFoundation, Cocoa, QTKit
}: }:
@ -44,6 +45,9 @@ let
sha256 = "11dsq8dwh1k6f7zglbc26xwsjw184ggf2531mhf7v77kd72k19fm"; sha256 = "11dsq8dwh1k6f7zglbc26xwsjw184ggf2531mhf7v77kd72k19fm";
}; };
# Contrib must be built in order to enable Tesseract support:
buildContrib = enableContrib || enableTesseract;
vggFiles = fetchFromGitHub { vggFiles = fetchFromGitHub {
owner = "opencv"; owner = "opencv";
repo = "opencv_3rdparty"; repo = "opencv_3rdparty";
@ -66,7 +70,7 @@ stdenv.mkDerivation rec {
inherit version src; inherit version src;
postUnpack = postUnpack =
(lib.optionalString enableContrib '' (lib.optionalString buildContrib ''
cp --no-preserve=mode -r "${contribSrc}/modules" "$NIX_BUILD_TOP/opencv_contrib" cp --no-preserve=mode -r "${contribSrc}/modules" "$NIX_BUILD_TOP/opencv_contrib"
# This fixes the build on macOS. # This fixes the build on macOS.
@ -118,7 +122,7 @@ stdenv.mkDerivation rec {
ln -s "${ippicv}" "${dir}/${name}" ln -s "${ippicv}" "${dir}/${name}"
'' ''
) + ) +
(lib.optionalString enableContrib '' (lib.optionalString buildContrib ''
cmakeFlagsArray+=("-DOPENCV_EXTRA_MODULES_PATH=$NIX_BUILD_TOP/opencv_contrib") cmakeFlagsArray+=("-DOPENCV_EXTRA_MODULES_PATH=$NIX_BUILD_TOP/opencv_contrib")
''); '');
@ -137,8 +141,12 @@ stdenv.mkDerivation rec {
++ lib.optionals enableGStreamer (with gst_all_1; [ gstreamer gst-plugins-base ]) ++ lib.optionals enableGStreamer (with gst_all_1; [ gstreamer gst-plugins-base ])
++ lib.optional enableEigen eigen ++ lib.optional enableEigen eigen
++ lib.optional enableOpenblas openblas ++ lib.optional enableOpenblas openblas
# There is seemingly no compile-time flag for Tesseract. It's
# simply enabled automatically if contrib is built, and it detects
# tesseract & leptonica.
++ lib.optionals enableTesseract [ tesseract leptonica ]
++ lib.optionals enableCuda [ cudatoolkit gcc5 ] ++ lib.optionals enableCuda [ cudatoolkit gcc5 ]
++ lib.optional enableContrib protobuf3_1 ++ lib.optional buildContrib protobuf3_1
++ lib.optionals stdenv.isDarwin [ AVFoundation Cocoa QTKit ]; ++ lib.optionals stdenv.isDarwin [ AVFoundation Cocoa QTKit ];
propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy; propagatedBuildInputs = lib.optional enablePython pythonPackages.numpy;
@ -158,7 +166,7 @@ stdenv.mkDerivation rec {
(opencvFlag "CUDA" enableCuda) (opencvFlag "CUDA" enableCuda)
(opencvFlag "CUBLAS" enableCuda) (opencvFlag "CUBLAS" enableCuda)
] ++ lib.optionals enableCuda [ "-DCUDA_FAST_MATH=ON" ] ] ++ lib.optionals enableCuda [ "-DCUDA_FAST_MATH=ON" ]
++ lib.optional enableContrib "-DBUILD_PROTOBUF=off" ++ lib.optional buildContrib "-DBUILD_PROTOBUF=off"
++ lib.optionals stdenv.isDarwin ["-DWITH_OPENCL=OFF" "-DWITH_LAPACK=OFF"]; ++ lib.optionals stdenv.isDarwin ["-DWITH_OPENCL=OFF" "-DWITH_LAPACK=OFF"];
enableParallelBuilding = true; enableParallelBuilding = true;

View File

@ -1,15 +1,15 @@
{ stdenv, fetchurl, alsaLib, pkgconfig { stdenv, fetchurl, alsaLib, pkgconfig, libjack2
, AudioUnit, AudioToolbox, CoreAudio, CoreServices, Carbon }: , AudioUnit, AudioToolbox, CoreAudio, CoreServices, Carbon }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "portaudio-19-20140130"; name = "portaudio-190600-20161030";
src = fetchurl { src = fetchurl {
url = http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz; url = http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz;
sha256 = "0mwddk4qzybaf85wqfhxqlf0c5im9il8z03rd4n127k8y2jj9q4g"; sha256 = "04qmin6nj144b8qb9kkd9a52xfvm0qdgm8bg8jbl7s3frmyiv8pm";
}; };
buildInputs = [ pkgconfig ] buildInputs = [ pkgconfig libjack2 ]
++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib; ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
configureFlags = [ "--disable-mac-universal" ]; configureFlags = [ "--disable-mac-universal" ];

View File

@ -20,6 +20,7 @@ let
echo "export NIX_LDFLAGS='$NIX_LDFLAGS'\"\''${NIX_LDFLAGS:+ \$NIX_LDFLAGS}\"" >> "$config_script" echo "export NIX_LDFLAGS='$NIX_LDFLAGS'\"\''${NIX_LDFLAGS:+ \$NIX_LDFLAGS}\"" >> "$config_script"
echo "export NIX_LISP_COMMAND='$NIX_LISP_COMMAND'" >> "$config_script" echo "export NIX_LISP_COMMAND='$NIX_LISP_COMMAND'" >> "$config_script"
echo "export NIX_LISP_ASDF='$NIX_LISP_ASDF'" >> "$config_script" echo "export NIX_LISP_ASDF='$NIX_LISP_ASDF'" >> "$config_script"
set | grep NIX_CC_WRAPPER_ | sed -e 's@^NIX_CC_WRAPPER@export &@' >> "$config_script"
echo "export PATH=\"\''${PATH:+\$PATH:}$PATH\"" >> "$config_script" echo "export PATH=\"\''${PATH:+\$PATH:}$PATH\"" >> "$config_script"
echo "echo \"\$ASDF_OUTPUT_TRANSLATIONS\" | grep -E '(^|:)$store_translation(:|\$)' >/dev/null || export ASDF_OUTPUT_TRANSLATIONS=\"\''${ASDF_OUTPUT_TRANSLATIONS:+\$ASDF_OUTPUT_TRANSLATIONS:}\"'$store_translation'" >> "$config_script" echo "echo \"\$ASDF_OUTPUT_TRANSLATIONS\" | grep -E '(^|:)$store_translation(:|\$)' >/dev/null || export ASDF_OUTPUT_TRANSLATIONS=\"\''${ASDF_OUTPUT_TRANSLATIONS:+\$ASDF_OUTPUT_TRANSLATIONS:}\"'$store_translation'" >> "$config_script"
echo "source '$path_config_script'" >> "$config_script" echo "source '$path_config_script'" >> "$config_script"

View File

@ -12,7 +12,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ docutils six sphinx ]; propagatedBuildInputs = [ docutils six sphinx ];
disabled = isPy3k; doCheck = !isPy3k;
meta = { meta = {
homepage = https://github.com/michaeljones/breathe; homepage = https://github.com/michaeljones/breathe;

View File

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchurl, pytest }:
buildPythonPackage rec {
name = "hyperlink-${version}";
version = "17.3.0";
src = fetchurl {
url = "mirror://pypi/h/hyperlink/${name}.tar.gz";
sha256 = "06mgnxwjzx8hv34bifc7jvgxz21ixhk5s6xy2kd84hdrlbfvpbfx";
};
checkInputs = [ pytest ];
checkPhase = ''
py.test $out
'';
meta = with stdenv.lib; {
description = "A featureful, correct URL for Python";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ apeschar ];
};
}

View File

@ -0,0 +1,44 @@
{ stdenv, buildPythonPackage, fetchFromGitHub, libxml2
, m2crypto, ply, pyyaml, six
, httpretty, lxml, mock, pytest, requests
}:
buildPythonPackage rec {
name = "pywbem-${version}";
version = "0.10.0";
src = fetchFromGitHub {
owner = "pywbem";
repo = "pywbem";
rev = "v${version}";
sha256 = "0jcwklip03xcni0dvsk9va8ilqz21g4fxwqd5kzvv91slaadfcym";
};
propagatedBuildInputs = [ m2crypto ply pyyaml six ];
checkInputs = [ httpretty lxml mock pytest requests ];
# 1 test fails because it doesn't like running in our sandbox. Deleting the
# whole file is admittedly a little heavy-handed but at least the vast
# majority of tests are run.
checkPhase = ''
rm testsuite/testclient/networkerror.yaml
substituteInPlace makefile \
--replace "PYTHONPATH=." "" \
--replace '--cov $(package_name) --cov-config coveragerc' ""
for f in testsuite/test_cim_xml.py testsuite/validate.py ; do
substituteInPlace $f --replace "'xmllint" "'${stdenv.lib.getBin libxml2}/bin/xmllint"
done
make PATH=$PATH:${stdenv.lib.getBin libxml2}/bin test
'';
meta = with stdenv.lib; {
description = "Support for the WBEM standard for systems management.";
homepage = http://pywbem.github.io/pywbem/;
license = licenses.gpl2;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@ -1,12 +1,12 @@
{ lib, python3Packages }: { lib, python3Packages }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
version = "0.40.0"; version = "0.41.2";
pname = "meson"; pname = "meson";
name = "${pname}-${version}"; name = "${pname}-${version}";
src = python3Packages.fetchPypi { src = python3Packages.fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1hb6y5phzd5738rlpz78w8hfzk7sbxj81551mb7bbkkqz8ql1gjw"; sha256 = "0p69hir68ar3nzrjn0zjsnyzq181b0kq6arrcmxqpzl7g5qhf5xd";
}; };
postFixup = '' postFixup = ''

View File

@ -1,16 +1,16 @@
{ lib, buildGoPackage, fetchFromGitLab, fetchurl, go-bindata }: { lib, buildGoPackage, fetchFromGitLab, fetchurl, go-bindata }:
let let
version = "9.3.0"; version = "9.4.2";
# Gitlab runner embeds some docker images these are prebuilt for arm and x86_64 # Gitlab runner embeds some docker images these are prebuilt for arm and x86_64
docker_x86_64 = fetchurl { docker_x86_64 = fetchurl {
url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-x86_64.tar.xz"; url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-x86_64.tar.xz";
sha256 = "1svml4k1zkmnw49sg4ipzl4fzvxx9rbj0643lwf6vm55j8xykhrq"; sha256 = "1cf8iasn47dlnbchh389ishzx5dqbyzg94w83j1w2ik4z0na6b7g";
}; };
docker_arm = fetchurl { docker_arm = fetchurl {
url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-arm.tar.xz"; url = "https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/v${version}/docker/prebuilt-arm.tar.xz";
sha256 = "0xbbbjd7hvhlzi47rzf09fzcpkd7jrf80xk1y736px75yyvq3jr2"; sha256 = "120rvxlksza9zpjin0awq8gnnplnv6qmqlidgnxs63c71kyjiwf3";
}; };
in in
buildGoPackage rec { buildGoPackage rec {
@ -29,7 +29,7 @@ buildGoPackage rec {
owner = "gitlab-org"; owner = "gitlab-org";
repo = "gitlab-ci-multi-runner"; repo = "gitlab-ci-multi-runner";
rev = "v${version}"; rev = "v${version}";
sha256 = "0ddsh31sqjp9xs6mv5jbmqvjq2hcy6j21grrn1m73z8blk4ylxsd"; sha256 = "06g4y6vn99b0g0k2als7fz5y2f87pg1cfwsxs8psqgl7nxmhw3i6";
}; };
patches = [ ./fix-shell-path.patch ]; patches = [ ./fix-shell-path.patch ];

View File

@ -11,13 +11,13 @@ let
elasticArch = archOverrides."${arch}" or arch; elasticArch = archOverrides."${arch}" or arch;
plat = elemAt info 1; plat = elemAt info 1;
shas = { shas = {
"x86_64-linux" = "1md3y3a8rxvf37lnfc56kbirv2rjl68pa5672yxhfmjngrr20rcw"; "x86_64-linux" = "1wnnrhhpgc58s09p99cmi8r2jmwsd5lmh2inb0k8nmizz5v1sjz0";
"i686-linux" = "0d77a2v14pg5vr711hzbva8jjy0sxw9w889f2r1vhwngrhcfz4pf"; "i686-linux" = "0sdx59jlfrf7r9793xpn2vxaxjdczgn3qfw8yny03dcs6fjaxi2y";
"x86_64-darwin" = "1cajljx13h8bncmayzvlzsynwambz61cspjnsn2h19zghn2vj2c9"; "x86_64-darwin" = "0rmp536kn001g52lxngpj6x6d0j3qj0r11d4djbz7h6s5ml03kza";
}; };
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
name = "kibana-${version}"; name = "kibana-${version}";
version = "4.6.0"; version = "4.6.5";
src = fetchurl { src = fetchurl {
url = "https://download.elastic.co/kibana/kibana/${name}-${plat}-${elasticArch}.tar.gz"; url = "https://download.elastic.co/kibana/kibana/${name}-${plat}-${elasticArch}.tar.gz";

View File

@ -1,51 +1,49 @@
{ stdenv, lib, fetchurl, php }: { stdenv, lib, fetchurl, writeScript, writeText, php }:
let let
version = "1.2.1"; name = "wp-cli-${version}";
version = "1.3.0";
bin = "bin/wp"; src = fetchurl {
ini = "etc/php/wp-cli.ini"; url = "https://github.com/wp-cli/wp-cli/releases/download/v${version}/${name}.phar";
phar = "share/wp-cli/wp-cli.phar"; sha256 = "0q5d32jq7a6rba77sr1yyj6ib6x838hw14mm186ah1xxgnn7rnry";
};
completion = fetchurl { completion = fetchurl {
url = "https://raw.githubusercontent.com/wp-cli/wp-cli/v${version}/utils/wp-completion.bash"; url = "https://raw.githubusercontent.com/wp-cli/wp-cli/v${version}/utils/wp-completion.bash";
sha256 = "15d330x6d3fizrm6ckzmdknqg6wjlx5fr87bmkbd5s6a1ihs0g24"; sha256 = "15d330x6d3fizrm6ckzmdknqg6wjlx5fr87bmkbd5s6a1ihs0g24";
}; };
in stdenv.mkDerivation rec { bin = writeScript "wp" ''
name = "wp-cli-${version}"; #! ${stdenv.shell}
src = fetchurl { set -euo pipefail
url = "https://github.com/wp-cli/wp-cli/releases/download/v${version}/${name}.phar";
sha256 = "1ds9nhm0akajwykblg0s131vki02k3rpf72a851r3wjw2qv116wz";
};
buildCommand = '' exec ${lib.getBin php}/bin/php \
mkdir -p $out/bin $out/etc/php -c ${ini} \
-f ${src} -- "$@"
'';
cat <<_EOF > $out/${bin} ini = writeText "wp-cli.ini" ''
#! ${stdenv.shell} -eu
exec ${lib.getBin php}/bin/php \\
-c $out/${ini} \\
-f $out/${phar} "\$@"
_EOF
chmod 755 $out/${bin}
cat <<_EOF > $out/${ini}
[Phar] [Phar]
phar.readonly = Off phar.readonly = Off
_EOF '';
chmod 644 $out/${ini}
install -Dm644 ${src} $out/${phar} in stdenv.mkDerivation rec {
inherit name version;
buildCommand = ''
mkdir -p $out/{bin,share/bash-completion/completions}
ln -s ${bin} $out/bin/wp
install -Dm644 ${completion} $out/share/bash-completion/completions/wp install -Dm644 ${completion} $out/share/bash-completion/completions/wp
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A command line interface for WordPress"; description = "A command line interface for WordPress";
homepage = https://wp-cli.org;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ]; maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.all; platforms = platforms.all;
homepage = https://wp-cli.org;
license = licenses.mit;
}; };
} }

View File

@ -10,7 +10,7 @@ assert releaseType == "alpha" || releaseType == "headless" || releaseType == "de
with stdenv.lib; with stdenv.lib;
let let
version = if releaseType != "demo" then "0.15.31" else "0.15.31"; version = if releaseType != "demo" then "0.15.33" else "0.15.33";
arch = if stdenv.system == "x86_64-linux" then { arch = if stdenv.system == "x86_64-linux" then {
inUrl = "linux64"; inUrl = "linux64";
@ -26,9 +26,9 @@ let
url = "https://www.factorio.com/get-download/${version}/${releaseType}/${arch.inUrl}"; url = "https://www.factorio.com/get-download/${version}/${releaseType}/${arch.inUrl}";
name = "factorio_${releaseType}_${arch.inTar}-${version}.tar.xz"; name = "factorio_${releaseType}_${arch.inTar}-${version}.tar.xz";
x64 = { x64 = {
headless = fetchurl { inherit name url; sha256 = "1kbf6pj0rdiydx7g3xaqhnvvjr01g1afys2flw8x5myanffhql9x"; }; headless = fetchurl { inherit name url; sha256 = "17x0dlmfd7jwmpmn5i8wag28rl01iysqz3ri6g6msxjnvj5l6byn"; };
alpha = authenticatedFetch { inherit name url; sha256 = "0mz7x0hc3kvs6l1isnryld08sfy8gkgq81vvmmssa3ayp5y67rh4"; }; alpha = authenticatedFetch { inherit name url; sha256 = "1m2r0n99ngqq47s9fzr09d347i15an6x9v1qlij8yf8w7lyrdy4z"; };
demo = fetchurl { inherit name url; sha256 = "0zsjlgys96qlqs79m634wh36vx5d7faq4749i9lsxm88b6fylfaf"; }; demo = fetchurl { inherit name url; sha256 = "03nwn4838yhqq0r76pf2m4wxi32rsq0knsxmq3qq4ycji89q1dyc"; };
}; };
i386 = { i386 = {
headless = abort "Factorio 32-bit headless binaries are not available for download."; headless = abort "Factorio 32-bit headless binaries are not available for download.";

View File

@ -27,11 +27,11 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "busybox-1.26.2"; name = "busybox-1.27.1";
src = fetchurl { src = fetchurl {
url = "http://busybox.net/downloads/${name}.tar.bz2"; url = "http://busybox.net/downloads/${name}.tar.bz2";
sha256 = "05mg6rh5smkzfwqfcazkpwy6h6555llsazikqnvwkaf17y8l8gns"; sha256 = "0dprylmcignrp29g41nkwr1b30v7i5x21lwymp3b93i1zd9sr468";
}; };
hardeningDisable = [ "format" ] ++ lib.optional enableStatic [ "fortify" ]; hardeningDisable = [ "format" ] ++ lib.optional enableStatic [ "fortify" ];

View File

@ -1,9 +1,9 @@
{ stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args: { stdenv, hostPlatform, fetchFromGitHub, perl, buildLinux, ... } @ args:
let let
version = "4.12.5"; version = "4.12.7";
revision = "a"; revision = "a";
sha256 = "03cyh9fsbd95gdd477k1jmk3f9aj5dnw5wr8041y51v8f63vzbpk"; sha256 = "1kj0s5r7fx2d0crak7576jv9r6q7yx4aqmxpib6mhj1zfhsczdp0";
in in
import ./generic.nix (args // { import ./generic.nix (args // {

View File

@ -20,13 +20,13 @@ in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "shadow-${version}"; name = "shadow-${version}";
version = "4.4"; version = "4.5";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "shadow-maint"; owner = "shadow-maint";
repo = "shadow"; repo = "shadow";
rev = "${version}"; rev = "${version}";
sha256 = "005qk3n86chc8mlg86qhrns2kpl52n5f3las3m5s6266xij3qwka"; sha256 = "1aj7s2arnsfqf34ak40is2zmwm666l28pay6rv1ffx46j0wj4hws";
}; };
buildInputs = stdenv.lib.optional (pam != null && stdenv.isLinux) pam; buildInputs = stdenv.lib.optional (pam != null && stdenv.isLinux) pam;
@ -37,10 +37,6 @@ stdenv.mkDerivation rec {
patches = patches =
[ ./keep-path.patch [ ./keep-path.patch
dots_in_usernames dots_in_usernames
(fetchpatch {
url = https://github.com/shadow-maint/shadow/commit/507f96cdeb54079fb636c7ce21e371f7a16a520e.patch;
sha256 = "10k70fx3z051f83p1k7ljjaawbykhn7cy6fg1zy04jp3xkvdwxc7";
})
]; ];
# The nix daemon often forbids even creating set[ug]id files. # The nix daemon often forbids even creating set[ug]id files.

View File

@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig utillinux man ] ++ stdenv.lib.optional enableCgiScripts gd; buildInputs = [ pkgconfig utillinux man ] ++ stdenv.lib.optional enableCgiScripts gd;
prePatch = ''
sed -e "s,\$(INSTALL_PROGRAM) \$(STRIP),\$(INSTALL_PROGRAM)," \
-i ./src/apcagent/Makefile ./autoconf/targets.mak
'';
# ./configure ignores --prefix, so we must specify some paths manually # ./configure ignores --prefix, so we must specify some paths manually
# There is no real reason for a bin/sbin split, so just use bin. # There is no real reason for a bin/sbin split, so just use bin.
preConfigure = '' preConfigure = ''

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn { stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn
, systemd, nettle, libedit, zlib, libiconv, fetchpatch , systemd, nettle, libedit, zlib, libiconv, libintlOrEmpty
}: }:
let inherit (stdenv.lib) optional optionals; in let inherit (stdenv.lib) optional optionals; in
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
] ]
# Use embedded lmdb there for now, as detection is broken on Darwin somehow. # Use embedded lmdb there for now, as detection is broken on Darwin somehow.
++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ] ++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
++ libintlOrEmpty
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls ++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
# Not ideal but seems to work on Linux. # Not ideal but seems to work on Linux.

View File

@ -1,36 +0,0 @@
{ stdenv, fetchurl, openssh, openssl }:
stdenv.mkDerivation rec {
name = "nagios-plugins-${version}";
version = "2.2.0";
src = fetchurl {
url = "http://nagios-plugins.org/download/${name}.tar.gz";
sha256 = "074yia04py5y07sbgkvri10dv8nf41kqq1x6kmwqcix5vvm9qyy3";
};
# !!! Awful hack. Grrr... this of course only works on NixOS.
# Anyway the check that configure performs to figure out the ping
# syntax is totally impure, because it runs an actual ping to
# localhost (which won't work for ping6 if IPv6 support isn't
# configured on the build machine).
preConfigure= "
configureFlagsArray=(
--with-ping-command='/run/wrappers/bin/ping -4 -n -U -w %d -c %d %s'
--with-ping6-command='/run/wrappers/bin/ping -6 -n -U -w %d -c %d %s'
)
";
postInstall = "ln -s libexec $out/bin";
# !!! make openssh a runtime dependency only
buildInputs = [ openssh openssl ];
meta = {
description = "Official plugins for Nagios";
homepage = http://www.nagios.org/download/plugins;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice relrod ];
};
}

View File

@ -0,0 +1,71 @@
{ stdenv, fetchFromGitHub, autoreconfHook
, coreutils, gnugrep, gnused, lm_sensors, net_snmp, openssh, openssl, perl }:
with stdenv.lib;
let
majorVersion = "2.2";
minorVersion = ".0";
binPath = makeBinPath [ coreutils gnugrep gnused lm_sensors net_snmp ];
in stdenv.mkDerivation rec {
name = "monitoring-plugins-${majorVersion}${minorVersion}";
src = fetchFromGitHub {
owner = "monitoring-plugins";
repo = "monitoring-plugins";
rev = "v${majorVersion}";
sha256 = "1pw7i6d2cnb5nxi2lbkwps2qzz04j9zd86fzpv9ka896b4aqrwv1";
};
# !!! Awful hack. Grrr... this of course only works on NixOS.
# Anyway the check that configure performs to figure out the ping
# syntax is totally impure, because it runs an actual ping to
# localhost (which won't work for ping6 if IPv6 support isn't
# configured on the build machine).
preConfigure= ''
substituteInPlace po/Makefile.in.in \
--replace /bin/sh ${stdenv.shell}
sed -i configure.ac \
-e 's|^DEFAULT_PATH=.*|DEFAULT_PATH=\"\$out/bin:/run/wrappers/bin:${binPath}\"|'
configureFlagsArray=(
--with-ping-command='/run/wrappers/bin/ping -4 -n -U -w %d -c %d %s'
--with-ping6-command='/run/wrappers/bin/ping -6 -n -U -w %d -c %d %s'
)
'';
# !!! make openssh a runtime dependency only
buildInputs = [ net_snmp openssh openssl perl ];
nativeBuildInputs = [ autoreconfHook ];
enableParallelBuilding = true;
# For unknown reasons the installer tries executing $out/share and fails if
# it doesn't succeed.
# So we create it and remove it again later.
preBuild = ''
mkdir -p $out
cat <<_EOF > $out/share
#!${stdenv.shell}
exit 0
_EOF
chmod 755 $out/share
'';
postInstall = ''
rm $out/share
ln -s libexec $out/bin
'';
meta = {
description = "Official monitoring plugins for Nagios/Ichinga/Sensu and others.";
homepage = https://www.monitoring-plugins.org;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ thoughtpolice relrod ];
};
}

View File

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, python2Packages }:
let
bName = "check_esxi_hardware";
pName = stdenv.lib.replaceStrings [ "_" ] [ "-" ] "${bName}";
in python2Packages.buildPythonApplication rec {
name = "${pName}-${version}";
version = "20161013";
src = fetchFromGitHub {
owner = "Napsty";
repo = bName;
rev = version;
sha256 = "19zybcg62dqcinixnp1p8zw916x3w7xvy6dlsmn347iigfa5s55s";
};
dontBuild = true;
doCheck = false;
installPhase = ''
runHook preInstall
install -Dm755 -t $out/bin ${bName}.py
install -Dm644 -t $out/share/doc/${pName} README.md
runHook postInstall
'';
propagatedBuildInputs = with python2Packages; [ pywbem ];
meta = with stdenv.lib; {
homepage = https://www.claudiokuenzler.com/nagios-plugins/;
license = licenses.gpl2;
maintainer = with maintainers; [ peterhoeg ];
};
}

View File

@ -0,0 +1,72 @@
{ stdenv, fetchFromGitHub, buildPerlPackage, autoreconfHook, makeWrapper
, perl, NetSNMP, coreutils, gnused, gnugrep }:
let
owner = "lausser";
glplugin = fetchFromGitHub {
repo = "GLPlugin";
rev = "b92a261ca4bf84e5b20d3025cc9a31ade03c474b";
sha256 = "0kflnmpjmklq8fy2vf2h8qyvaiznymdi09z2h5qscrfi51xc9gmh";
inherit owner;
};
generic = { pname, version, rev, sha256, description, ... } @ attrs:
let
attrs' = builtins.removeAttrs attrs [ "pname" "version" "rev" "sha256"];
in perl.stdenv.mkDerivation rec {
name = stdenv.lib.replaceStrings [ "-" ] [ "_" ] "${pname}-${version}";
src = fetchFromGitHub {
repo = pname;
inherit owner rev sha256;
};
buildInputs = [ perl NetSNMP ];
nativeBuildInputs = [ autoreconfHook makeWrapper ];
prePatch = with stdenv.lib; ''
ln -s ${glplugin}/* GLPlugin
substituteInPlace plugins-scripts/Makefile.am \
--replace /bin/cat ${getBin coreutils}/bin/cat \
--replace /bin/echo ${getBin coreutils}/bin/echo \
--replace /bin/grep ${getBin gnugrep}/bin/grep \
--replace /bin/sed ${getBin gnused}/bin/sed
'';
postInstall = ''
test -d $out/libexec && ln -sr $out/libexec $out/bin
'';
postFixup = ''
for f in $out/bin/* ; do
wrapProgram $f --prefix PERL5LIB : $PERL5LIB
done
'';
meta = with stdenv.lib; {
homepage = https://labs.consol.de/;
license = licenses.gpl2;
maintainer = with maintainers; [ peterhoeg ];
inherit description;
};
};
in {
check-nwc-health = generic {
pname = "check_nwc_health";
version = "20170804";
rev = "e959b412b5cf027c82a446668e026214fdcf8df3";
sha256 = "11l74xw62g15rqrbf9ff2bfd5iw159gwhhgbkxwdqi8sp9j6navk";
description = "Check plugin for network equipment.";
};
check-ups-health = generic {
pname = "check_ups_health";
version = "20170804";
rev = "32a8a359ea46ec0d6f3b7aea19ddedaad63b04b9";
sha256 = "05na48dxfxrg0i9185j1ck2795p0rw1zwcs8ra0f14cm0qw0lp4l";
description = "Check plugin for UPSs.";
};
}

View File

@ -21,8 +21,8 @@ rec {
enableMinimal = true; enableMinimal = true;
extraConfig = '' extraConfig = ''
CONFIG_ASH y CONFIG_ASH y
CONFIG_ASH_BUILTIN_ECHO y CONFIG_ASH_ECHO y
CONFIG_ASH_BUILTIN_TEST y CONFIG_ASH_TEST y
CONFIG_ASH_OPTIMIZE_FOR_SIZE y CONFIG_ASH_OPTIMIZE_FOR_SIZE y
CONFIG_MKDIR y CONFIG_MKDIR y
CONFIG_TAR y CONFIG_TAR y

View File

@ -4,13 +4,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "maim-${version}"; name = "maim-${version}";
version = "5.4.67"; version = "5.4.68";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "naelstrof"; owner = "naelstrof";
repo = "maim"; repo = "maim";
rev = "v${version}"; rev = "v${version}";
sha256 = "1p72pkfnzhxxmlnryjyvgr6cgjm5ww10xr35si9mx9s4b9pz38jd"; sha256 = "12jvfxzfhh6cbk6ygliwnkvm3mb7rca60k6x9qdzm17jsz65xhh0";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];

View File

@ -17,6 +17,12 @@ stdenv.mkDerivation rec {
buildInputs = [ libpng ]; buildInputs = [ libpng ];
LDFLAGS = optional static "-static"; LDFLAGS = optional static "-static";
# Workaround for crash in cexcept.h. See
# https://github.com/NixOS/nixpkgs/issues/28106
preConfigure = ''
export LD=$CC
'';
configureFlags = [ configureFlags = [
"--with-system-zlib" "--with-system-zlib"
"--with-system-libpng" "--with-system-libpng"

View File

@ -1,26 +1,32 @@
{ stdenv, fetchFromGitHub, go, bash, writeText}: { stdenv, fetchFromGitHub, buildGoPackage, bash, writeText}:
stdenv.mkDerivation rec { buildGoPackage rec {
name = "direnv-${version}"; name = "direnv-${version}";
version = "2.10.0"; version = "2.12.2";
goPackagePath = "github.com/direnv/direnv";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "direnv"; owner = "direnv";
repo = "direnv"; repo = "direnv";
rev = "v${version}"; rev = "v${version}";
sha256 = "04b098i8dlr6frks67ik0kbc281c6j8lkb6v0y33iwqv45n233q3"; sha256 = "0i8fnxhcl1zin714wxk93x8fi36z4fibapfn4jl3qkwbczkj8c8b";
}; };
buildInputs = [ go ]; postConfigure = ''
cd $NIX_BUILD_TOP/go/src/$goPackagePath
'';
buildPhase = '' buildPhase = ''
make BASH_PATH=${bash}/bin/bash make BASH_PATH=${bash}/bin/bash
''; '';
installPhase = '' installPhase = ''
make install DESTDIR=$out mkdir -p $out
mkdir -p $out/share/fish/vendor_conf.d make install DESTDIR=$bin
echo "eval ($out/bin/direnv hook fish)" > $out/share/fish/vendor_conf.d/direnv.fish mkdir -p $bin/share/fish/vendor_conf.d
echo "eval ($bin/bin/direnv hook fish)" > $bin/share/fish/vendor_conf.d/direnv.fish
'' + stdenv.lib.optionalString (stdenv.isDarwin) ''
install_name_tool -delete_rpath $out/lib $bin/bin/direnv
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -39,6 +45,5 @@ stdenv.mkDerivation rec {
homepage = http://direnv.net; homepage = http://direnv.net;
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ zimbatm ]; maintainers = with maintainers; [ zimbatm ];
inherit (go.meta) platforms;
}; };
} }

View File

@ -9,22 +9,28 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fontforge-${version}"; name = "fontforge-${version}";
version = "20160404"; version = "20170730";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fontforge"; owner = "fontforge";
repo = "fontforge"; repo = "fontforge";
rev = version; rev = version;
sha256 = "15nacq84n9gvlzp3slpmfrrbh57kfb6lbdlc46i7aqgci4qv6fg0"; sha256 = "15k6x97383p8l40jvcivalhwgbbcdg5vciyjz6m9r0lrlnjqkv99";
}; };
patches = [(fetchpatch { patches = [ ./fontforge-20140813-use-system-uthash.patch ];
name = "use-system-uthash.patch";
url = "http://pkgs.fedoraproject.org/cgit/fontforge.git/plain/" # use $SOURCE_DATE_EPOCH instead of non-determenistic timestamps
+ "fontforge-20140813-use-system-uthash.patch?id=8bdf933"; postPatch = ''
sha256 = "0n8i62qv2ygfii535rzp09vvjx4qf9zp5qq7qirrbzm1l9gykcjy"; find . -type f -name '*.c' -exec sed -r -i 's#\btime\(&(.+)\)#if (getenv("SOURCE_DATE_EPOCH")) \1=atol(getenv("SOURCE_DATE_EPOCH")); else &#g' {} \;
})]; sed -r -i 's#author\s*!=\s*NULL#& \&\& !getenv("SOURCE_DATE_EPOCH")#g' fontforge/cvexport.c fontforge/dumppfa.c fontforge/print.c fontforge/svg.c fontforge/splineutil2.c
patchFlags = "-p0"; sed -r -i 's#\bb.st_mtime#getenv("SOURCE_DATE_EPOCH") ? atol(getenv("SOURCE_DATE_EPOCH")) : &#g' fontforge/parsepfa.c fontforge/sfd.c fontforge/svg.c
sed -r -i 's#^\s*ttf_fftm_dump#if (!getenv("SOURCE_DATE_EPOCH")) ttf_fftm_dump#g' fontforge/tottf.c
sed -r -i 's#sprintf\(.+ author \);#if (!getenv("SOURCE_DATE_EPOCH")) &#g' fontforgeexe/fontinfo.c
'';
# do not use x87's 80-bit arithmetic, rouding errors result in very different font binaries
NIX_CFLAGS_COMPILE = lib.optionals stdenv.isi686 [ "-msse2" "-mfpmath=sse" ];
buildInputs = [ buildInputs = [
autoconf automake gnum4 libtool perl pkgconfig gettext uthash autoconf automake gnum4 libtool perl pkgconfig gettext uthash
@ -41,6 +47,9 @@ stdenv.mkDerivation rec {
# work-around: git isn't really used, but configuration fails without it # work-around: git isn't really used, but configuration fails without it
preConfigure = '' preConfigure = ''
# The way $version propagates to $version of .pe-scripts (https://github.com/dejavu-fonts/dejavu-fonts/blob/358190f/scripts/generate.pe#L19)
export SOURCE_DATE_EPOCH=$(date -d ${version} +%s)
export GIT="$(type -P true)" export GIT="$(type -P true)"
cp -r "${gnulib}" ./gnulib cp -r "${gnulib}" ./gnulib
chmod +w -R ./gnulib chmod +w -R ./gnulib

View File

@ -0,0 +1,30 @@
--- a/Makefile.am.old 2014-08-12 10:07:32.000000000 +0530
+++ b/Makefile.am 2014-09-08 16:23:56.046996941 +0530
@@ -43,7 +43,6 @@
AM_CPPFLAGS =
AM_LDFLAGS =
-BUILT_SOURCES = uthash/src
EXTRA_DIST =
CLEANFILES =
MOSTLYCLEANFILES =
@@ -113,7 +112,6 @@
Packaging/FontForge-doc.spec \
Packaging/FontForge.spec \
Packaging/FontForge.static.spec \
- uthash/src \
$(NULL)
#--------------------------------------------------------------------------
@@ -129,11 +127,6 @@
#--------------------------------------------------------------------------
-uthash/src:
- if [ ! -e uthash/src ]; then \
- if [ -e uthash ] ; then rm -r uthash ; fi ; \
- git clone https://github.com/troydhanson/uthash ; \
- fi ;
# We import a selection of targets from Frank's standard packaging Makefile.

View File

@ -1,7 +1,15 @@
{stdenv, fontforge, zlib}: {stdenv, fetchFromGitHub, zlib}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "fontforge-fonttools-${fontforge.version}"; version = "20160404";
src = fontforge.src; name = "fontforge-fonttools-${version}";
src = fetchFromGitHub {
owner = "fontforge";
repo = "fontforge";
rev = version;
sha256 = "15nacq84n9gvlzp3slpmfrrbh57kfb6lbdlc46i7aqgci4qv6fg0";
};
buildInputs = [zlib]; buildInputs = [zlib];
@ -17,7 +25,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = ''Small font tools shipped in FontForge contrib''; description = ''Small font tools shipped in FontForge contrib'';
license = fontforge.meta.license; license = licenses.bsd3;
maintainers = with maintainers; [ raskin ]; maintainers = with maintainers; [ raskin ];
platforms = with platforms; unix; platforms = with platforms; unix;
}; };

View File

@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, pythonPackages, httpie }: { stdenv, fetchFromGitHub, pythonPackages, httpie }:
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
version = "0.9.1"; version = "0.10.2";
name = "http-prompt"; name = "http-prompt";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
repo = "http-prompt"; repo = "http-prompt";
owner = "eliangcs"; owner = "eliangcs";
sha256 = "0s2syjjz5n7256a4hn8gv3xfr0zd3qqimf4w8l188dbfvx8b8s06"; sha256 = "0c03n1ll61zd4f60kzih3skl0hspck5hhpcf74h5l6v5as7qdbi2";
}; };
propagatedBuildInputs = with pythonPackages; [ propagatedBuildInputs = with pythonPackages; [

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "keepalived-${version}"; name = "keepalived-${version}";
version = "1.3.5"; version = "1.3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "acassen"; owner = "acassen";
repo = "keepalived"; repo = "keepalived";
rev = "v${version}"; rev = "v${version}";
sha256 = "0lbzbw5giddr4rrhppdpsswh88x86ywxrl01vm8z5am7acixn1zr"; sha256 = "05088vv510dlflzyg8sh8l8qfscnvxl6n6pw9ycp27zhb6r5cr5y";
}; };
buildInputs = [ buildInputs = [

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dpkg-${version}"; name = "dpkg-${version}";
version = "1.18.18"; version = "1.18.24";
src = fetchurl { src = fetchurl {
url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz"; url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz";
sha256 = "1xbgjdazcxb9iqrz6jcmy8qwgwggvf6rws2265sh01b6skin32y8"; sha256 = "1d6p22vk1b9v16q96mwaz9w2xr4ly28yamkh49md9gq67qfhhlyq";
}; };
configureFlags = [ configureFlags = [

View File

@ -2,7 +2,7 @@
buildGoPackage rec { buildGoPackage rec {
name = "keybase-${version}"; name = "keybase-${version}";
version = "1.0.22"; version = "1.0.27";
goPackagePath = "github.com/keybase/client"; goPackagePath = "github.com/keybase/client";
subPackages = [ "go/keybase" ]; subPackages = [ "go/keybase" ];
@ -13,7 +13,7 @@ buildGoPackage rec {
owner = "keybase"; owner = "keybase";
repo = "client"; repo = "client";
rev = "v${version}"; rev = "v${version}";
sha256 = "1642d11gjgkdklppmm1j3vwc2r3qg9qqw5x07jnqs819i57mr47f"; sha256 = "0s68awgaq32hl5rvcrnhn9i98dwh23kws0l4czcghyn6imx8h89i";
}; };
buildFlags = [ "-tags production" ]; buildFlags = [ "-tags production" ];

View File

@ -2,12 +2,12 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "das_watchdog-${version}"; name = "das_watchdog-${version}";
version = "git-2015-04-02"; version = "git-2015-09-12";
src = fetchgit { src = fetchgit {
url = "https://github.com/kmatheussen/das_watchdog.git"; url = "https://github.com/kmatheussen/das_watchdog.git";
rev = "1c203d9a55455c4670c164f945ea2dd9fd197ba9"; rev = "5ac0db0b98e5b4e690aca0aa7fb6ec60ceddcb06";
sha256 = "c817491d67d31297dcd6177b9c33b5c3977c1c383eac588026631dd6961ba6bf"; sha256 = "02y1vfb3wh4908xjj1kpyf8kgxk29x8dw7yl3pnl220qz2gi99vr";
}; };
buildInputs = [ libgtop xmessage which pkgconfig ]; buildInputs = [ libgtop xmessage which pkgconfig ];

View File

@ -5541,7 +5541,8 @@ with pkgs;
sha256 = "1r0rqbnw7rf94f5bsa3gi8bick4xb7qnp1dkvdjfbvqjvysvc44r"; sha256 = "1r0rqbnw7rf94f5bsa3gi8bick4xb7qnp1dkvdjfbvqjvysvc44r";
ncurses = pkgsi686Linux.ncurses5; ncurses = pkgsi686Linux.ncurses5;
}; };
gcc-arm-embedded = gcc-arm-embedded-5; gcc-arm-embedded-6 = callPackage ../development/compilers/gcc-arm-embedded/6 {};
gcc-arm-embedded = gcc-arm-embedded-6;
gforth = callPackage ../development/compilers/gforth {}; gforth = callPackage ../development/compilers/gforth {};
@ -6417,6 +6418,8 @@ with pkgs;
rascal = callPackage ../development/interpreters/rascal { }; rascal = callPackage ../development/interpreters/rascal { };
red = callPackage ../development/interpreters/red { };
regina = callPackage ../development/interpreters/regina { }; regina = callPackage ../development/interpreters/regina { };
inherit (ocamlPackages) reason; inherit (ocamlPackages) reason;
@ -9650,7 +9653,7 @@ with pkgs;
opencollada = callPackage ../development/libraries/opencollada { }; opencollada = callPackage ../development/libraries/opencollada { };
opencore-amr = callPackage ../development/libraries/opencore-amr { }; opencore-amr = callPackage ../development/libraries/opencore-amr { };
opencsg = callPackage ../development/libraries/opencsg { }; opencsg = callPackage ../development/libraries/opencsg { };
openct = callPackage ../development/libraries/openct { }; openct = callPackage ../development/libraries/openct { };
@ -11361,12 +11364,19 @@ with pkgs;
munin = callPackage ../servers/monitoring/munin { }; munin = callPackage ../servers/monitoring/munin { };
nagiosPluginsOfficial = callPackage ../servers/monitoring/nagios/plugins/official-2.x.nix { }; monitoring-plugins = callPackage ../servers/monitoring/plugins { };
nagiosPluginsOfficial = monitoring-plugins;
inherit (callPackage ../servers/monitoring/plugins/labs_consol_de.nix { inherit (perlPackages) NetSNMP; })
check-nwc-health
check-ups-health;
checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { }; checkSSLCert = callPackage ../servers/monitoring/nagios/plugins/check_ssl_cert.nix { };
neo4j = callPackage ../servers/nosql/neo4j { }; neo4j = callPackage ../servers/nosql/neo4j { };
check-esxi-hardware = callPackage ../servers/monitoring/plugins/esxi.nix {};
net_snmp = callPackage ../servers/monitoring/net-snmp { net_snmp = callPackage ../servers/monitoring/net-snmp {
# https://sourceforge.net/p/net-snmp/bugs/2712/ # https://sourceforge.net/p/net-snmp/bugs/2712/
# remove after net-snmp > 5.7.3 # remove after net-snmp > 5.7.3
@ -12006,17 +12016,7 @@ with pkgs;
linuxHeaders_4_4 = callPackage ../os-specific/linux/kernel-headers/4.4.nix { linuxHeaders_4_4 = callPackage ../os-specific/linux/kernel-headers/4.4.nix {
cross = if targetPlatform != hostPlatform then targetPlatform else null; cross = if targetPlatform != hostPlatform then targetPlatform else null;
}; };
linuxHeaders = linuxHeaders_4_4;
# We can choose:
linuxHeaders =
if targetPlatform != hostPlatform
then
{ # switch
"4.4" = linuxHeaders_4_4;
}.${targetPlatform.platform.kernelMajor}
or (throw "Unknown linux kernel version")
else
linuxHeaders_4_4;
kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { }; kernelPatches = callPackage ../os-specific/linux/kernel/patches.nix { };
@ -13278,6 +13278,8 @@ with pkgs;
tcl = tcl-8_5; tcl = tcl-8_5;
}; };
msgviewer = callPackage ../applications/networking/mailreaders/msgviewer { };
amarok = kde4.callPackage ../applications/audio/amarok { amarok = kde4.callPackage ../applications/audio/amarok {
ffmpeg = ffmpeg_2; ffmpeg = ffmpeg_2;
}; };
@ -14478,6 +14480,8 @@ with pkgs;
graphicsmagick = callPackage ../applications/graphics/graphicsmagick { }; graphicsmagick = callPackage ../applications/graphics/graphicsmagick { };
graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; }; graphicsmagick_q16 = callPackage ../applications/graphics/graphicsmagick { quantumdepth = 16; };
grisbi = callPackage ../applications/office/grisbi { gtk = gtk2; };
gtkpod = callPackage ../applications/audio/gtkpod { gtkpod = callPackage ../applications/audio/gtkpod {
gnome = gnome3; gnome = gnome3;
inherit (gnome2) libglade; inherit (gnome2) libglade;
@ -15893,6 +15897,7 @@ with pkgs;
rxvt_unicode-with-plugins = callPackage ../applications/misc/rxvt_unicode/wrapper.nix { rxvt_unicode-with-plugins = callPackage ../applications/misc/rxvt_unicode/wrapper.nix {
plugins = [ plugins = [
urxvt_autocomplete_all_the_things
urxvt_perl urxvt_perl
urxvt_perls urxvt_perls
urxvt_tabbedex urxvt_tabbedex
@ -15903,6 +15908,7 @@ with pkgs;
}; };
# urxvt plugins # urxvt plugins
urxvt_autocomplete_all_the_things = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-autocomplete-all-the-things { };
urxvt_perl = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-perl { }; urxvt_perl = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-perl { };
urxvt_perls = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-perls { }; urxvt_perls = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-perls { };
urxvt_tabbedex = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-tabbedex { }; urxvt_tabbedex = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-tabbedex { };
@ -16190,6 +16196,8 @@ with pkgs;
syncthing-inotify = callPackage ../applications/networking/syncthing/inotify.nix { }; syncthing-inotify = callPackage ../applications/networking/syncthing/inotify.nix { };
syncthing-tray = callPackage ../applications/misc/syncthing-tray { };
# linux only by now # linux only by now
synergy = callPackage ../applications/misc/synergy { }; synergy = callPackage ../applications/misc/synergy { };

View File

@ -946,15 +946,15 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
Carp = buildPerlPackage { Carp = buildPerlPackage rec {
name = "Carp-1.36"; name = "Carp-1.38";
src = fetchurl { src = fetchurl {
url = mirror://cpan/authors/id/R/RJ/RJBS/Carp-1.36.tar.gz; url = "mirror://cpan/authors/id/R/RJ/RJBS/${name}.tar.gz";
sha256 = "dcc789935126461c80df0653f98c1d8d0b936dcc3d04174287cb02767eca123c"; sha256 = "00bijwwc0ix27h2ma3lvsf3b56biar96bl9dikxgx7cmpcycxad5";
}; };
meta = { meta = with stdenv.lib; {
description = "Alternative warn and die for modules"; description = "Alternative warn and die for modules";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; license = with licenses; [ artistic1 gpl1Plus ];
}; };
}; };
@ -4667,6 +4667,26 @@ let self = _self // overrides; _self = with self; {
}; };
}; };
EmailOutlookMessage = buildPerlPackage rec {
name = "Email-Outlook-Message-${version}";
version = "0.918";
src = fetchurl {
url = "mirror://cpan/authors/id/M/MV/MVZ/${name}.tar.gz";
sha256 = "1w1s858xzp3vbi91qa01qnmk4n78fmvl4a7axrx2r15vr3s2k2pv";
};
propagatedBuildInputs = [
Carp Encode EmailMIME EmailMIMEContentType EmailSender
EmailSimple GetoptLong IOString OLEStorage_Lite PodUsage
];
buildInputs = [ TestMore IOAll ];
meta = with stdenv.lib; {
homepage = http://www.matijs.net/software/msgconv/;
description = "A .MSG to mbox converter";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
maintainers = with maintainers; [ peterhoeg ];
};
};
EmailSender = buildPerlPackage rec { EmailSender = buildPerlPackage rec {
name = "Email-Sender-1.300028"; name = "Email-Sender-1.300028";
src = fetchurl { src = fetchurl {

View File

@ -8357,6 +8357,7 @@ in {
}; };
}; };
hyperlink = callPackage ../development/python-modules/hyperlink {};
zope_copy = buildPythonPackage rec { zope_copy = buildPythonPackage rec {
name = "zope.copy-4.0.2"; name = "zope.copy-4.0.2";
@ -28589,6 +28590,9 @@ EOF
}; };
}; };
# We need "normal" libxml2 and not the python package by the same name.
pywbem = callPackage ../development/python-modules/pywbem { libxml2 = pkgs.libxml2; };
unicorn = buildPythonPackage rec { unicorn = buildPythonPackage rec {
name = "unicorn-${version}"; name = "unicorn-${version}";
version = "1.0.1"; version = "1.0.1";

View File

@ -108,24 +108,6 @@ let
#rPackages = packagePlatforms pkgs.rPackages; #rPackages = packagePlatforms pkgs.rPackages;
ocamlPackages = { }; ocamlPackages = { };
perlPackages = { }; perlPackages = { };
pythonPackages = {
blaze = unix;
pandas = unix;
scikitlearn = unix;
};
python2Packages = { };
python27Packages = { };
python3Packages = { };
python35Packages = {
blaze = unix;
pandas = unix;
scikitlearn = unix;
};
python36Packages = {
blaze = unix;
pandas = unix;
scikitlearn = unix;
};
# hack around broken eval of non-linux packages for now. # hack around broken eval of non-linux packages for now.
tests.macOSSierraShared = darwin; tests.macOSSierraShared = darwin;