Merge master into staging-next

This commit is contained in:
Frederik Rietdijk 2019-10-20 16:22:45 +02:00
commit ad8bd84fc9
193 changed files with 1984 additions and 1864 deletions

4
.github/CODEOWNERS vendored
View File

@ -52,9 +52,9 @@
# Python-related code and docs
/maintainers/scripts/update-python-libraries @FRidh
/pkgs/top-level/python-packages.nix @FRidh
/pkgs/top-level/python-packages.nix @FRidh @jonringer
/pkgs/development/interpreters/python @FRidh
/pkgs/development/python-modules @FRidh
/pkgs/development/python-modules @FRidh @jonringer
/doc/languages-frameworks/python.section.md @FRidh
# Haskell

View File

@ -591,6 +591,12 @@
fingerprint = "3D2B B230 F9FA F0C5 1832 46DD 4FDC 96F1 61E7 BA8A";
}];
};
arthur = {
email = "me@arthur.li";
github = "arthurl";
githubId = 3965744;
name = "Arthur Lee";
};
artuuge = {
email = "artuuge@gmail.com";
github = "artuuge";

View File

@ -10,9 +10,9 @@
contents
, # In addition to `contents', the closure of the store paths listed
# in `packages' are also placed in the Nix store of the CD. This is
# a list of attribute sets {object, symlink} where `object' if a
# store path whose closure will be copied, and `symlink' is a
# in `storeContents' are also placed in the Nix store of the CD.
# This is a list of attribute sets {object, symlink} where `object'
# is a store path whose closure will be copied, and `symlink' is a
# symlink to `object' that will be added to the CD.
storeContents ? []

View File

@ -80,10 +80,12 @@ in {
configItems = mkOption {
default = {};
type = types.attrsOf types.str;
example = {
"auth_backends.1.authn" = "rabbit_auth_backend_ldap";
"auth_backends.1.authz" = "rabbit_auth_backend_internal";
};
example = literalExample ''
{
"auth_backends.1.authn" = "rabbit_auth_backend_ldap";
"auth_backends.1.authz" = "rabbit_auth_backend_internal";
}
'';
description = ''
Configuration options in RabbitMQ's new config file format,
which is a simple key-value format that can not express nested

View File

@ -649,7 +649,7 @@ in {
"d ${cfg.statePath} 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/builds 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/config 0750 ${cfg.user} ${cfg.group} -"
"D ${cfg.statePath}/config/initializers 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/config/initializers 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/db 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/log 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/repositories 2770 ${cfg.user} ${cfg.group} -"

View File

@ -24,9 +24,6 @@ let
enableIwd = cfg.wifi.backend == "iwd";
# /var/lib/misc is for dnsmasq.leases.
stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc";
configFile = pkgs.writeText "NetworkManager.conf" ''
[main]
plugins=keyfile
@ -472,17 +469,25 @@ in {
systemd.packages = cfg.packages;
systemd.tmpfiles.rules = [
"d /etc/NetworkManager/system-connections 0700 root root -"
"d /etc/ipsec.d 0700 root root -"
"d /var/lib/NetworkManager-fortisslvpn 0700 root root -"
"d /var/lib/dhclient 0755 root root -"
"d /var/lib/misc 0755 root root -" # for dnsmasq.leases
];
systemd.services.NetworkManager = {
wantedBy = [ "network.target" ];
restartTriggers = [ configFile ];
preStart = ''
mkdir -m 700 -p /etc/NetworkManager/system-connections
mkdir -m 700 -p /etc/ipsec.d
mkdir -m 755 -p ${stateDirs}
'';
aliases = [ "dbus-org.freedesktop.NetworkManager.service" ];
serviceConfig = {
StateDirectory = "NetworkManager";
StateDirectoryMode = 755; # not sure if this really needs to be 755
};
};
systemd.services.NetworkManager-wait-online = {

View File

@ -30,6 +30,10 @@ let
cp -f ${pkgs.gnome3.gnome-shell}/share/gsettings-schemas/*/glib-2.0/schemas/*.gschema.override $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
${optionalString flashbackEnabled ''
cp -f ${pkgs.gnome3.gnome-flashback}/share/gsettings-schemas/*/glib-2.0/schemas/*.gschema.override $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
''}
chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides
cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF
[org.gnome.desktop.background]

View File

@ -88,10 +88,7 @@ in
systemd.services.plymouth-kexec.wantedBy = [ "kexec.target" ];
systemd.services.plymouth-halt.wantedBy = [ "halt.target" ];
systemd.services.plymouth-quit-wait.wantedBy = [ "multi-user.target" ];
systemd.services.plymouth-quit = {
wantedBy = [ "multi-user.target" ];
after = [ "display-manager.service" ];
};
systemd.services.plymouth-quit.wantedBy = [ "multi-user.target" ];
systemd.services.plymouth-poweroff.wantedBy = [ "poweroff.target" ];
systemd.services.plymouth-reboot.wantedBy = [ "reboot.target" ];
systemd.services.plymouth-read-write.wantedBy = [ "sysinit.target" ];

View File

@ -28,6 +28,11 @@ let
url = "https://github.com/clementine-player/Clementine/pull/5630.patch";
sha256 = "0px7xp1m4nvrncx8sga1qlxppk562wrk2qqk19iiry84nxg20mk4";
})
(fetchpatch {
# Fixes compilation with chromaprint >= 1.4
url = "https://github.com/clementine-player/Clementine/commit/d3ea0c8482dfd3f6264a30cfceb456076d76e6cd.patch";
sha256 = "1ifrs5aqdzw16jbnf0z1ilir20chdnr9k5n21r99miq9hzjpbh12";
})
];
nativeBuildInputs = [ cmake pkgconfig ];

View File

@ -0,0 +1,43 @@
{ lib, fetchFromGitHub, rustPlatform, pkg-config, ncurses, openssl
, withALSA ? true, alsaLib ? null
, withPulseAudio ? false, libpulseaudio ? null
, withPortAudio ? false, portaudio ? null
}:
let
features = [ "cursive/pancurses-backend" ]
++ lib.optional withALSA "alsa_backend"
++ lib.optional withPulseAudio "pulseaudio_backend"
++ lib.optional withPortAudio "portaudio_backend";
in
rustPlatform.buildRustPackage rec {
pname = "ncspot-unstable";
version = "2019-10-12";
src = fetchFromGitHub {
owner = "hrkfdn";
repo = "ncspot";
rev = "4defded54646958268a20787917e4721ae96407d";
sha256 = "1w3cmilwjzk3pfnq97qgz6hzxgjgi27dm8jq7maw87qyl3v17gyg";
};
cargoSha256 = "1w1fk39pragfy2i2myw99mqf63w6fw4nr2kri8ily2iqc6g9xpgw";
cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ ncurses openssl ]
++ lib.optional withALSA alsaLib
++ lib.optional withPulseAudio libpulseaudio
++ lib.optional withPortAudio portaudio;
doCheck = false;
meta = with lib; {
description = "Cross-platform ncurses Spotify client written in Rust, inspired by ncmpc and the likes";
homepage = "https://github.com/hrkfdn/ncspot";
license = licenses.bsd2;
maintainers = [ maintainers.marsam ];
};
}

View File

@ -2,13 +2,13 @@
rustPlatform.buildRustPackage rec {
pname = "spotify-tui";
version = "0.5.0";
version = "0.6.2";
src = fetchFromGitHub {
owner = "Rigellute";
repo = "spotify-tui";
rev = "v${version}";
sha256 = "1spnr67fb2wjjf9sfkk3vps6q45w0zrk47an79bhv4imziy4dbs3";
rev = "v${version}";
sha256 = "0ksrdavnvjpph7h0lcc2hvxhygfbn0dmsabq2ilslvpa80ph2c53";
};
cargoSha256 = "029g80mcqvmckszpbzm4hxs5w63n41ah4rc1b93i9c1nzvncd811";

View File

@ -10,16 +10,16 @@
rustPlatform.buildRustPackage rec {
pname = "jormungandr";
version = "0.6.1";
version = "0.6.5";
src = fetchgit {
url = "https://github.com/input-output-hk/${pname}";
rev = "v${version}";
sha256 = "1w0xcx1h09wv25qdyybamxxl8sqd2npja12n3vpvz0sgv88c3mix";
sha256 = "16s6ks63194w35xlgzbhjdb3h606hkj049bap52sd6qf637bw2p7";
fetchSubmodules = true;
};
cargoSha256 = "0pflam5am760z4pz3j1ga4arsixmay2487sgpqrhrkiaws4nxy57";
cargoSha256 = "1kba65rnm2vyqsjhcnfwy1m44x1w3xxlzinykmb89jy6qr8gvp42";
nativeBuildInputs = [ pkgconfig protobuf ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];

View File

@ -11,13 +11,13 @@ let
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
sha256 = {
x86_64-linux = "06yrcn7857fw1dvwj0fhj6b2pb224i0r1m2diqg49a0jaj15mnak";
x86_64-darwin = "0gq2lazjlzf7wmmdlpg5zg60lmwlmq5rm65lb815r0dpqqj0dizn";
x86_64-linux = "0p4ah1bbz0njl2bk783gq5z1gxfzapa65qzhrkn216v07rba29jm";
x86_64-darwin = "162bqdhi2dx74q5f56bhs5phz9az66lb4lvfcj1sdygp51xsb93y";
}.${system};
in
callPackage ./generic.nix rec {
version = "1.39.1";
version = "1.39.2";
pname = "vscode";
executableName = "code" + lib.optionalString isInsiders "-insiders";

View File

@ -11,8 +11,8 @@ let
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
sha256 = {
x86_64-linux = "1vhrfz36ay67laa5159jcnxyl4prgm8v1mp6anv1s7bppazigg2n";
x86_64-darwin = "0cxsl0qpk223khndfwwgxl8az4rz4ap657yrkvws9bh8k4vv473h";
x86_64-linux = "013jhmc29angqh9qb8jj0jqk4whqb59id61njm8gwz977sdgpf9l";
x86_64-darwin = "09jfii132cib1kn3bghwchdlvi4cfjqz5hvw6j5gr53h7j35k37j";
}.${system};
sourceRoot = {
@ -23,7 +23,7 @@ in
callPackage ./generic.nix rec {
inherit sourceRoot;
version = "1.39.1";
version = "1.39.2";
pname = "vscodium";
executableName = "codium";

View File

@ -23,13 +23,13 @@
stdenv.mkDerivation rec {
pname = "xournalpp";
version = "1.0.12";
version = "1.0.15";
src = fetchFromGitHub {
owner = "xournalpp";
repo = "xournalpp";
repo = pname;
rev = version;
sha256 = "0yg70hsx58s3wb5kzccivrqa7kvmdapygxmif1j64hddah2rqcn9";
sha256 = "1q716hn2ajkxfba0dxp7vcnqfa31hx36ax09yz4d13sdw43rfjf4";
};
nativeBuildInputs = [ cmake gettext pkgconfig wrapGAppsHook ];

View File

@ -1,11 +1,9 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoPackage rec {
buildGoModule rec {
pname = "exercism";
version = "3.0.12";
goPackagePath = "github.com/exercism/cli";
src = fetchFromGitHub {
owner = "exercism";
repo = "cli";
@ -13,7 +11,9 @@ buildGoPackage rec {
sha256 = "1xvxcl7j5izx5lgmjd97zd28lg2sydwgbgn2cnisz5r0d27pj3ra";
};
goDeps = ./deps.nix;
modSha256 = "0pg0hxrr6jjd03wbjn5y65x02md3h352mnm1gr6vyiv7hn4ws14m";
subPackages = [ "./exercism" ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;

View File

@ -1,201 +0,0 @@
# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
[
{
goPackagePath = "github.com/blang/semver";
fetch = {
type = "git";
url = "https://github.com/blang/semver";
rev = "2ee87856327ba09384cabd113bc6b5d174e9ec0f";
sha256 = "13ws259bwcibkclbr82ilhk6zadm63kxklxhk12wayklj8ghhsmy";
};
}
{
goPackagePath = "github.com/davecgh/go-spew";
fetch = {
type = "git";
url = "https://github.com/davecgh/go-spew";
rev = "346938d642f2ec3594ed81d874461961cd0faa76";
sha256 = "0d4jfmak5p6lb7n2r6yvf5p1zcw0l8j74kn55ghvr7zr7b7axm6c";
};
}
{
goPackagePath = "github.com/fsnotify/fsnotify";
fetch = {
type = "git";
url = "https://github.com/fsnotify/fsnotify";
rev = "629574ca2a5df945712d3079857300b5e4da0236";
sha256 = "06wfg1mmzjj04z7d0q1x2fai9k6hm957brngsaf02fa9a3qqanv3";
};
}
{
goPackagePath = "github.com/hashicorp/hcl";
fetch = {
type = "git";
url = "https://github.com/hashicorp/hcl";
rev = "392dba7d905ed5d04a5794ba89f558b27e2ba1ca";
sha256 = "1rfm67kma2hpakabf7hxlj196jags4rpjpcirwg4kan4g9b6j0kb";
};
}
{
goPackagePath = "github.com/inconshreveable/go-update";
fetch = {
type = "git";
url = "https://github.com/inconshreveable/go-update";
rev = "8152e7eb6ccf8679a64582a66b78519688d156ad";
sha256 = "07czhspakpi7al004rm669cmf4h5l0vnygsm11280nkfn2zxqdi3";
};
}
{
goPackagePath = "github.com/inconshreveable/mousetrap";
fetch = {
type = "git";
url = "https://github.com/inconshreveable/mousetrap";
rev = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75";
sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
};
}
{
goPackagePath = "github.com/magiconair/properties";
fetch = {
type = "git";
url = "https://github.com/magiconair/properties";
rev = "be5ece7dd465ab0765a9682137865547526d1dfb";
sha256 = "0spk58x9b0hj29cw6wy6rlvc6s9xk4r0gmlxgsc194pkzqcg1my8";
};
}
{
goPackagePath = "github.com/mitchellh/mapstructure";
fetch = {
type = "git";
url = "https://github.com/mitchellh/mapstructure";
rev = "d0303fe809921458f417bcf828397a65db30a7e4";
sha256 = "1fjwi5ghc1ibyx93apz31n4hj6gcq1hzismpdfbg2qxwshyg0ya8";
};
}
{
goPackagePath = "github.com/pelletier/go-buffruneio";
fetch = {
type = "git";
url = "https://github.com/pelletier/go-buffruneio";
rev = "c37440a7cf42ac63b919c752ca73a85067e05992";
sha256 = "0l83p1gg6g5mmhmxjisrhfimhbm71lwn1r2w7d6siwwqm9q08sd2";
};
}
{
goPackagePath = "github.com/pelletier/go-toml";
fetch = {
type = "git";
url = "https://github.com/pelletier/go-toml";
rev = "5ccdfb18c776b740aecaf085c4d9a2779199c279";
sha256 = "1jl44j58y62rhnwkzw3mvcj725gdyzs45pq4ga81qqxwqxs3czsq";
};
}
{
goPackagePath = "github.com/pmezard/go-difflib";
fetch = {
type = "git";
url = "https://github.com/pmezard/go-difflib";
rev = "792786c7400a136282c1664665ae0a8db921c6c2";
sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
};
}
{
goPackagePath = "github.com/spf13/afero";
fetch = {
type = "git";
url = "https://github.com/spf13/afero";
rev = "9be650865eab0c12963d8753212f4f9c66cdcf12";
sha256 = "12dhh6d07304lsjv7c4p95hkip0hnshqhwivdw39pbypgg0p8y34";
};
}
{
goPackagePath = "github.com/spf13/cast";
fetch = {
type = "git";
url = "https://github.com/spf13/cast";
rev = "acbeb36b902d72a7a4c18e8f3241075e7ab763e4";
sha256 = "0w25s6gjbbwv47b9208hysyqqphd6pib3d2phg24mjy4wigkm050";
};
}
{
goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
rev = "b26b538f693051ac6518e65672de3144ce3fbedc";
sha256 = "0pm3qlw35xygz9zz7hizlmin76wrfac8vsxvsd9i0zpnijbkmjv6";
};
}
{
goPackagePath = "github.com/spf13/jwalterweatherman";
fetch = {
type = "git";
url = "https://github.com/spf13/jwalterweatherman";
rev = "0efa5202c04663c757d84f90f5219c1250baf94f";
sha256 = "1sfd72zvw9lrzfc8haswhqf93bzm20q4yhbynm6n5fnnc56zn4gs";
};
}
{
goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
rev = "e57e3eeb33f795204c1ca35f56c44f83227c6e66";
sha256 = "13mhx4i913jil32j295m3a36jzvq1y64xig0naadiz7q9ja011r2";
};
}
{
goPackagePath = "github.com/spf13/viper";
fetch = {
type = "git";
url = "https://github.com/spf13/viper";
rev = "15738813a09db5c8e5b60a19d67d3f9bd38da3a4";
sha256 = "1mjfzg8zvnxckaq6l8gw99i2msrfqn9yr04dc3b7kd5bpxi6zr4v";
};
}
{
goPackagePath = "github.com/stretchr/testify";
fetch = {
type = "git";
url = "https://github.com/stretchr/testify";
rev = "69483b4bd14f5845b5a1e55bca19e954e827f1d0";
sha256 = "11lzrwkdzdd8yyag92akncc008h2f9d1bpc489mxiwp0jrmz4ivb";
};
}
{
goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
rev = "f5079bd7f6f74e23c4d65efa0f4ce14cbd6a3c0f";
sha256 = "0sck2mq4bwyh5iv51jpbywzwhc47ci1q5yd7pqr68xnsz7b3b55k";
};
}
{
goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
rev = "d8f5ea21b9295e315e612b4bcf4bedea93454d4d";
sha256 = "1gy2y20glqqqcmmrcx2wrvk4h74h8im1nxvzi91i1mxjk7p185mv";
};
}
{
goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
rev = "3bd178b88a8180be2df394a1fbb81313916f0e7b";
sha256 = "137pp3gz8ll08q0q434dn6472bbkv81h72qqqm9idhf7cc6f51w9";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
url = "https://github.com/go-yaml/yaml";
rev = "25c4ec802a7d637f88d584ab26798e94ad14c13b";
sha256 = "053mknsl3xhjscmd552005xnwbfcg0z2iphvbvj3wi0w3pvmlw44";
};
}
]

View File

@ -379,7 +379,11 @@ stdenv.mkDerivation rec {
cp $desktopItem/share/applications"/"* $out/share/applications
sed -i $out/share/applications/torbrowser.desktop \
-e "s,Exec=.*,Exec=$out/bin/tor-browser," \
-e "s,Icon=.*,Icon=web-browser,"
-e "s,Icon=.*,Icon=tor-browser,"
for i in 16 32 48 64 128; do
mkdir -p $out/share/icons/hicolor/''${i}x''${i}/apps/
ln -s $out/share/tor-browser/browser/chrome/icons/default/default$i.png $out/share/icons/hicolor/''${i}x''${i}/apps/tor-browser.png
done
# Check installed apps
echo "Checking bundled Tor ..."

View File

@ -1,6 +1,6 @@
{ lib, buildGoPackage, fetchFromGitHub, ... }:
let version = "0.12.5"; in
let version = "0.13.1"; in
buildGoPackage {
pname = "kubecfg";
@ -10,7 +10,7 @@ buildGoPackage {
owner = "bitnami";
repo = "kubecfg";
rev = "v${version}";
sha256 = "0pn37qkwn3kdsd0z3qxk95lqjn2zak7gkk0pwlqp26jmrx0vv18l";
sha256 = "0x2mg13p8r1sgqr1bbzh57kfymb8z392y43djgks2agc7rjnd45f";
};
goPackagePath = "github.com/bitnami/kubecfg";

View File

@ -11,7 +11,7 @@ bundlerApp {
meta = with lib; {
description = "Improve Terraform's plan output to be easier to read and understand";
homepage = https://github.com/coinbase/terraform-landscape;
license = with licenses; apsl20;
license = with licenses; asl20;
maintainers = with maintainers; [ mbode manveru nicknovitski ];
platforms = platforms.unix;
};

View File

@ -5,20 +5,20 @@ buildGoPackage rec {
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.10.4";
version = "0.10.13";
src = fetchFromGitHub {
owner = "windmilleng";
repo = pname;
rev = "v${version}";
sha256 = "0nxgmldbcaj91jq47qxpf6jqwvi9bhg243qchdkiliphybvilcrg";
sha256 = "02xlqgmmn1a7pz6sliharz8l9fbn2raxqkm75qxdqs1ncbvgc65k";
};
goPackagePath = "github.com/windmilleng/tilt";
subPackages = [ "cmd/tilt" ];
buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2019-08-14");
buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2019-10-04");
meta = with stdenv.lib; {
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";

View File

@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://github.com/wee-slack/wee-slack;
license = licenses.mit;
maintainers = with maintainers; [ ma27 ];
maintainers = with maintainers; [ willibutz ];
description = ''
A WeeChat plugin for Slack.com. Synchronizes read markers, provides typing notification, search, etc..
'';

View File

@ -2,7 +2,7 @@
, fetchFromGitHub
, cmake
, pkgconfig
, vala
, vala_0_40
, pantheon
, curl
, glib
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
vala
vala_0_40 # https://github.com/davidmhewitt/torrential/issues/135
pkgconfig
wrapGAppsHook
];

View File

@ -8,8 +8,7 @@ stdenv.mkDerivation {
src = base.src;
buildInputs = [ rsync ];
nativeBuildInputs = [perl];
buildInputs = [ rsync perl ];
# Skip configure and build phases.
# We just want something from the support directory

View File

@ -3,19 +3,19 @@
let
common = { stname, target, postInstall ? "" }:
buildGoModule rec {
version = "1.2.2";
version = "1.3.0";
name = "${stname}-${version}";
src = fetchFromGitHub {
owner = "syncthing";
repo = "syncthing";
rev = "v${version}";
sha256 = "0zkyjnjrla0vpvidwwr4z4kxc9cyjcfbjdzsr34xz7rw3jswswm9";
sha256 = "14k1acap9y1z8sj28gcn72lkfxdzpcqj9d27hk8vzm47zjaxgp8l";
};
goPackagePath = "github.com/syncthing/syncthing";
modSha256 = "0pp2gjx227crggph924q7sg6ak8nyl8nlsffpmawq4zl1908lsrd";
modSha256 = "17np8ym84ql7hwzsqfx2l6yiy9hag7h96q8ysvarlfg9l95g1m64";
patches = [
./add-stcli-target.patch

View File

@ -1,72 +0,0 @@
{ stdenv
, fetchFromGitHub
, meson
, ninja
, vala
, pkgconfig
, gtk3
, python3
, pantheon
, gnome3
, libxml2
, gettext
, gobject-introspection
, appstream-glib
, desktop-file-utils
, magic-wormhole
, wrapGAppsHook }:
let
pname = "Transporter";
version = "1.3.3";
in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "bleakgrey";
repo = pname;
rev = version;
sha256 = "19zb2yqmyyhk5vgh6p278b76shlq0r8ykk1ks8zzr187nr5lf5k1";
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
vala
gettext
gobject-introspection # For setup hook
libxml2
meson
ninja
pkgconfig
python3
wrapGAppsHook
];
buildInputs = [
pantheon.elementary-icon-theme
gnome3.libgee
pantheon.granite
gtk3
magic-wormhole
];
prePatch = ''
# The paths were hardcoded
substituteInPlace ./src/WormholeInterface.vala \
--replace /bin/wormhole ${magic-wormhole}/bin/wormhole
'';
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
meta = with stdenv.lib; {
description = "Simple magic-wormhole client";
homepage = https://github.com/bleakgrey/Transporter;
license = licenses.gpl3;
maintainers = with maintainers; [ worldofpeace ];
platforms = platforms.linux;
};
}

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation {
pname = "symbiyosys";
version = "2019.08.13";
version = "2019.10.11";
src = fetchFromGitHub {
owner = "yosyshq";
repo = "symbiyosys";
rev = "9cb542ac7a310b3dfa626349db53bed6236b670c";
sha256 = "0c7nz740738ybk33zzlfl00cq86n31wvra8pqqkpl4ygxnwca1d6";
rev = "23f89011b678daa9da406d4f45f790e45f8f68ca";
sha256 = "01596yvfj79iywwczjwlb2l9qnh7bsj7jff66jdk1ybjnxf841f0";
};
buildInputs = [ python3 yosys ];

View File

@ -13,11 +13,11 @@ let
in
stdenv.mkDerivation rec {
pname = "gitkraken";
version = "6.2.1";
version = "6.3.0";
src = fetchurl {
url = "https://release.axocdn.com/linux/GitKraken-v${version}.deb";
sha256 = "1l1w8gr4ss0g2k7bfslnc7df4ls1av59jjjc8mrx97wsndrm3vxg";
sha256 = "06hjzkkrg2f9lb72ik16zgv813cxsv679szfdzrfygbb6wxnkjyp";
};
libPath = makeLibraryPath [
@ -69,8 +69,8 @@ stdenv.mkDerivation rec {
comment = "Graphical Git client from Axosoft";
};
nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
buildInputs = [ dpkg gtk3 gnome3.adwaita-icon-theme ];
nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
buildInputs = [ gtk3 gnome3.adwaita-icon-theme ];
unpackCmd = ''
mkdir out
@ -78,6 +78,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
runHook preInstall
mkdir $out
pushd usr
pushd share
@ -89,6 +90,7 @@ stdenv.mkDerivation rec {
popd
ln -s $out/share/gitkraken/gitkraken $out/bin/gitkraken
runHook postInstall
'';
postFixup = ''

View File

@ -1,5 +1,6 @@
{ stdenv, fetchurl, substituteAll, python3, gst_all_1, wrapGAppsHook, gobject-introspection
, gtk3, libwnck3, keybinder3, intltool, libcanberra-gtk3, libappindicator-gtk3, libpulseaudio }:
, gtk3, libwnck3, keybinder3, intltool, libcanberra-gtk3, libappindicator-gtk3, libpulseaudio
, fetchpatch }:
python3.pkgs.buildPythonApplication rec {
name = "kazam-${version}";
@ -18,6 +19,9 @@ python3.pkgs.buildPythonApplication rec {
];
propagatedBuildInputs = with python3.pkgs; [ pygobject3 pyxdg pycairo dbus-python ];
# workaround https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
patches = [
# Fix paths
@ -26,10 +30,10 @@ python3.pkgs.buildPythonApplication rec {
libcanberra = libcanberra-gtk3;
inherit libpulseaudio;
})
# Fix compability with Python 3.4
(fetchurl {
url = https://sources.debian.org/data/main/k/kazam/1.4.5-2/debian/patches/configparser_api_changes.patch;
sha256 = "0yvmipnh98s7y07cp1f113l0qqfw65k13an96byq707z3ymv1c2h";
# https://github.com/hzbd/kazam/pull/21
(fetchpatch {
url = https://github.com/hzbd/kazam/commit/37e53a5aa61f4223a9ea03ceeda26eeba2b9d37b.patch;
sha256 = "1q5dpmdm6cvgzw8xa7bwclnqa05xc73ja1lszwmwv5glyik0fk4z";
})
];

View File

@ -1,4 +1,4 @@
{ fetchFromGitHub, stdenv, autoreconfHook }:
{ fetchFromGitHub, fetchpatch, stdenv, autoreconfHook }:
with stdenv.lib;
@ -13,6 +13,15 @@ stdenv.mkDerivation {
sha256 = "1fx4230lmqa5rpzph68dwnpcjfaaqv5gfkradcr85hd1z8d1qp1b";
};
patches = [
# XDG_CONFIG_DIRS can contain multiple elements separated by colons, which should be searched in order.
(fetchpatch {
# https://github.com/vivien/i3blocks/pull/405
url = https://github.com/edef1c/i3blocks/commit/d57b32f9a364aeaf36869efdd54240433c737e57.patch;
sha256 = "102xb0ax0hmg82dz2gzfag470dkckzf2yizai0izacvrz0d3ngj1";
})
];
nativeBuildInputs = [ autoreconfHook ];
meta = {

View File

@ -19,10 +19,6 @@ in {
# mostly for moving and deleting files from the build directory
# : lines
, postInstall
# packages with setup hooks that should be run
# (see definition of `makeSetupHook`)
# : list drv
, setupHooks ? []
# : list Maintainer
, maintainers ? []
@ -67,8 +63,6 @@ in stdenv.mkDerivation {
dontDisableStatic = true;
enableParallelBuilding = true;
nativeBuildInputs = setupHooks;
configureFlags = configureFlags ++ [
"--enable-absolute-paths"
(if stdenv.isDarwin

View File

@ -1,6 +1,6 @@
{ fetchurl }:
fetchurl {
url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/93bcfb09798da885d29304fa4dab1e234e3b728e.tar.gz";
sha256 = "1mv5kxqldakapzbmch2b88mynng268njq3dxbkmyzli8fwnllra2";
url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/dea2fba9b43636a3ca1898b710560e4368e9e4cf.tar.gz";
sha256 = "1cmkiqfmhg8ch2qiwbpsagy8iimd551gapg661g07xq7sjrxbipn";
}

View File

@ -1,16 +1,47 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, vala, glib, gjs, mutter
, pango, gtk3, gnome3, dbus, clutter, appstream-glib, wrapGAppsHook, gobject-introspection }:
{ stdenv
, fetchFromGitHub
, fetchpatch
, appstream-glib
, clutter
, gjs
, glib
, gnome3
, gobject-introspection
, gtk3
, meson
, mutter
, ninja
, pango
, pkgconfig
, vala
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
version = "3.34.0";
version = "3.34.1";
pname = "gpaste";
src = fetchurl {
url = "https://github.com/Keruspe/GPaste/archive/v${version}.tar.gz";
sha256 = "0mih07b3mb0m1bk8ng9175fgvdbmvsacl4v4kvdnnlnql6rh47gv";
src = fetchFromGitHub {
owner = "Keruspe";
repo = "GPaste";
rev = "v${version}";
sha256 = "1jcj0kgxhad8rblyqhwa2yhkf0010k80w9bm2rajanad2c3bqaxa";
};
patches = [
# Meson fixes
# https://github.com/Keruspe/GPaste/pull/283
# install systemd units
(fetchpatch {
url = "https://github.com/Keruspe/GPaste/commit/a474d8c1f2bd600476ba52dc19f517787845533b.patch";
sha256 = "19m1ar61l2n0vb5a5qfhdny8giivqlyq04l3j9i8llv16vx80rg2";
})
# apply symbol versioning
(fetchpatch {
url = "https://github.com/Keruspe/GPaste/commit/08047752e8dba9363673ddefd422c43075f08006.patch";
sha256 = "0jvcs1a17sijvb2wqyn3y8shdxrhv4kwzxs39kmh9y8nyx2dzhpf";
})
./fix-paths.patch
];
@ -26,24 +57,37 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [
autoreconfHook pkgconfig vala appstream-glib wrapGAppsHook
appstream-glib
gobject-introspection
meson
ninja
pkgconfig
vala
wrapGAppsHook
];
buildInputs = [
glib gjs mutter gtk3 dbus
clutter pango gobject-introspection
clutter # required by mutter-clutter
gjs
glib
gtk3
mutter
pango
];
configureFlags = [
"--with-controlcenterdir=${placeholder "out"}/share/gnome-control-center/keybindings"
"--with-dbusservicesdir=${placeholder "out"}/share/dbus-1/services"
"--with-systemduserunitdir=${placeholder "out"}/etc/systemd/user"
mesonFlags = [
"-Dcontrol-center-keybindings-dir=${placeholder "out"}/share/gnome-control-center/keybindings"
"-Ddbus-services-dir=${placeholder "out"}/share/dbus-1/services"
"-Dsystemd-user-unit-dir=${placeholder "out"}/etc/systemd/user"
];
enableParallelBuilding = true;
postInstall = ''
${glib.dev}/bin/glib-compile-schemas "$out/share/glib-2.0/schemas"
'';
meta = with stdenv.lib; {
homepage = https://github.com/Keruspe/GPaste;
description = "Clipboard management system with GNOME3 integration";
homepage = "https://github.com/Keruspe/GPaste";
description = "Clipboard management system with GNOME 3 integration";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = gnome3.maintainers;

View File

@ -4,7 +4,7 @@
}:
assert lib.versionAtLeast ocamlPackages.ocaml.version "4.02";
assert lib.versionAtLeast coq.coq-version "8.6.1";
assert lib.versionAtLeast coq.coq-version "8.8.0";
let
ocaml-pkgs = with ocamlPackages; [ ocaml findlib menhir ];
@ -12,13 +12,13 @@ let
in
stdenv.mkDerivation rec {
pname = "compcert";
version = "3.5";
version = "3.6";
src = fetchFromGitHub {
owner = "AbsInt";
repo = "CompCert";
rev = "v${version}";
sha256 = "1g8067a5x3vd0l47d04gjvy5yx49nghh55am5d1fbrjirfsnsz8j";
sha256 = "1k9xhj7fgllhf7bn7rp3w6zfvs4clglnc4w39zp4678hrwvdcpha";
};
nativeBuildInputs = [ makeWrapper ];
@ -27,7 +27,6 @@ stdenv.mkDerivation rec {
patchPhase = ''
substituteInPlace ./configure \
--replace '|8.9.0' '|8.9.0|8.9.1' \
--replace '{toolprefix}gcc' '{toolprefix}cc'
'';

View File

@ -14,15 +14,26 @@ let
in
with stdenv; mkDerivation rec {
pname = "nextpnr";
version = "2019.09.28";
version = "2019.10.13";
src = fetchFromGitHub {
owner = "yosyshq";
repo = "nextpnr";
rev = "7cd1e0495122847611b17a8d1f007d97a05b288c";
sha256 = "13y739l92plb22g73jf35pyh3y94b2vq0i65r9c31r2rb7fw4bbl";
fetchSubmodules = true;
};
srcs = [
(fetchFromGitHub {
owner = "YosysHQ";
repo = "nextpnr";
rev = "c365dd1cabc3a4308ab9110534918623622c246b";
sha256 = "1344pyq9xb5y1vxsnfgr488drfjsa6ls1jck0z9hwam6vg55s10r";
name = "nextpnr";
})
(fetchFromGitHub {
owner = "YosysHQ";
repo = "nextpnr-tests";
rev = "8f93e7e0f897b1b5da469919c9a43ba28b623b2a";
sha256 = "0zpd0w49k9l7rs3wmi2v8z5s4l4lad5rprs5l83w13667himpzyc";
name = "nextpnr-tests";
})
];
sourceRoot = "nextpnr";
nativeBuildInputs
= [ cmake ]
@ -51,13 +62,17 @@ with stdenv; mkDerivation rec {
# but works ok. We should probably make this overrideable upstream.
patchPhase = with builtins; ''
substituteInPlace ./CMakeLists.txt \
--replace 'git log -1 --format=%h' 'echo ${substring 0 11 src.rev}'
--replace 'git log -1 --format=%h' 'echo ${substring 0 11 (elemAt srcs 0).rev}'
# use PyPy for icestorm if enabled
substituteInPlace ./ice40/family.cmake \
--replace ''\'''${PYTHON_EXECUTABLE}' '${icestorm.pythonInterp}'
'';
preBuild = ''
ln -s ../nextpnr-tests tests
'';
doCheck = true;
postFixup = lib.optionalString enableGui ''

View File

@ -9,14 +9,14 @@ with builtins;
stdenv.mkDerivation rec {
pname = "yosys";
version = "2019.09.27";
version = "2019.10.18";
srcs = [
(fetchFromGitHub {
owner = "yosyshq";
repo = "yosys";
rev = "c372e7baf9c48d41ebdbea4486a72e8dfaaddd3d";
sha256 = "18cyz900haf8lkpddqn0sns0a3hc8fqndzz7gg391671hzvy820k";
rev = "3c41599ee1f62e4d77ba630fa1a245ef3fe236fa";
sha256 = "0jg2g8v08ax1q6qlvn8c1h147m03adzrgf21043xwbh4c7s5k137";
name = "yosys";
})
@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
(fetchFromGitHub {
owner = "berkeley-abc";
repo = "abc";
rev = "5776ad07e7247993976bffed4802a5737c456782";
sha256 = "1la4idmssg44rp6hd63sd5vybvs3vr14yzvwcg03ls37p39cslnl";
rev = "623b5e82513d076a19f864c01930ad1838498894";
sha256 = "1mrfqwsivflqdzc3531r6mzp33dfyl6dnqjdwfcq137arqh36m67";
name = "yosys-abc";
})
];

View File

@ -73,6 +73,8 @@ let
installPhase = args.modInstallPhase or ''
runHook preInstall
# remove cached lookup results and tiles
rm -rf "''${GOPATH}/pkg/mod/cache/download/sumdb"
cp -r "''${GOPATH}/pkg/mod/cache/download" $out
runHook postInstall

View File

@ -15,6 +15,11 @@ with haskellLib;
self: super: {
# Arion's test suite needs a Nixpkgs, which is cumbersome to do from Nixpkgs
# itself. For instance, pkgs.path has dirty sources and puts a huge .git in the
# store. Testing is done upstream.
arion-compose = dontCheck super.arion-compose;
# This used to be a core package provided by GHC, but then the compiler
# dropped it. We define the name here to make sure that old packages which
# depend on this library still evaluate (even though they won't compile
@ -69,7 +74,7 @@ self: super: {
name = "git-annex-${super.git-annex.version}-src";
url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + super.git-annex.version;
sha256 = "0v3wgx3qbillmnn3amnl568ls113y3qlyf3k7y5b9lmz22k93680";
sha256 = "1dawd7cxqgzv1irzgl9smzdw7b4v59k8xa5gbldkbww0ashyb8qv";
};
}).override {
dbus = if pkgs.stdenv.isLinux then self.dbus else null;
@ -1137,11 +1142,6 @@ self: super: {
# Jailbreak tasty < 1.2: https://github.com/phadej/tdigest/issues/30
tdigest = doJailbreak super.tdigest; # until tdigest > 0.2.1
uri-bytestring = appendPatch super.uri-bytestring (pkgs.fetchpatch {
url = "https://github.com/Soostone/uri-bytestring/commit/e5c5602a97160a6a6304a24947e33e47c9155460.patch";
sha256 = "1qwy8bj6vywhp0075dza8j90zrzsm3144qz3c703s9c4n6pg3gw4";
});
# Requires pg_ctl command during tests
beam-postgres = overrideCabal super.beam-postgres (drv: {
testToolDepends = (drv.testToolDepends or []) ++ [pkgs.postgresql];
@ -1236,36 +1236,37 @@ self: super: {
# The LTS-14.x version of optparse-applicative is too old.
cabal-plan = super.cabal-plan.override { optparse-applicative = self.optparse-applicative_0_15_1_0; };
# https://github.com/gtk2hs/gtk2hs/issues/276
glib = appendPatch super.glib (pkgs.fetchpatch {
url = https://github.com/gtk2hs/gtk2hs/pull/282/commits/4bb428e144ef2de9390f0f2239dcc50b7fc9a259.patch;
sha256 = "1s72s683p2n5ri1a030zywciq0020ms64cmsy48axndp6dp9vri7";
stripLen = 1;
});
pango = appendPatch super.pango (pkgs.fetchpatch {
url = https://github.com/gtk2hs/gtk2hs/pull/282/commits/0a6016e89ce98415bb395ca0cfafeaacf3b3fce6.patch;
sha256 = "1n9spriinyif4h1h9mfj9k87b80kcs39qlym5yxnxxg0yszqqcpc";
stripLen = 1;
});
gtk3 = appendPatch super.gtk3 (pkgs.fetchpatch {
url = https://github.com/gtk2hs/gtk2hs/pull/282/commits/cc0d8e8ef9bdffc776182a1f92225750bfea8f57.patch;
sha256 = "175zs694d04d7jfj8xq33rizw38bc3ninr00n26jyrg39vgkmc5j";
stripLen = 1;
});
gio = appendPatch super.gio (pkgs.fetchpatch {
url = https://github.com/gtk2hs/gtk2hs/pull/282/commits/f0f7cf524f1beaf227d8cce140abdf7c45efc8c6.patch;
sha256 = "1fadmibpk0q38fzp6a8ss6b1kh7v5d5mw3s9i45cd4dsg86hqb0i";
stripLen = 1;
});
gtk = appendPatch super.gtk (pkgs.fetchpatch {
url = https://github.com/gtk2hs/gtk2hs/pull/282/commits/a09720ae8fdc2f9391ba88308312e42d091a4f88.patch;
sha256 = "12ja6sprzl9si51rng8s2xx66ihpm6d6p00qi5czkpkrhr0457n7";
stripLen = 1;
postFetch = "sed -i -e s,gtk.cabal-renamed,gtk.cabal, $out";
});
# Version bounds for http-client are too strict:
# https://github.com/bitnomial/prometheus/issues/34
prometheus = doJailbreak super.prometheus;
# Tasty-tap tests are out-of-date with TAP format
# https://github.com/MichaelXavier/tasty-tap/issues/2
tasty-tap = appendPatch super.tasty-tap (pkgs.fetchpatch {
url = https://patch-diff.githubusercontent.com/raw/MichaelXavier/tasty-tap/pull/3.diff;
sha256 = "0l8zbc56dy8ilxl3k49aiknmfhgpcg3jhs72lh3dk51d0a09d9sv";
});
# The doctests in universum-1.5.0 are broken. The doctests in versions of universum after
# 1.5.0 should be fixed, so this should be able to be removed.
universum = dontCheck super.universum;
# https://github.com/erikd/hjsmin/issues/32
hjsmin = dontCheck super.hjsmin;
# https://github.com/blamario/grampa/issues/19
rank2classes = dontCheck super.rank2classes;
nix-tools = super.nix-tools.overrideScope (self: super: {
# Needs https://github.com/peti/hackage-db/pull/9
hackage-db = super.hackage-db.overrideAttrs (old: {
src = pkgs.fetchFromGitHub {
owner = "ElvishJerricco";
repo = "hackage-db";
rev = "84ca9fc75ad45a71880e938e0d93ea4bde05f5bd";
sha256 = "0y3kw1hrxhsqmyx59sxba8npj4ya8dpgjljc21gkgdvdy9628q4c";
};
});
});
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View File

@ -64,8 +64,11 @@ self: super: {
tasty-hedgehog = doJailbreak super.tasty-hedgehog;
test-framework = doJailbreak super.test-framework;
th-expand-syns = doJailbreak super.th-expand-syns;
# TODO: remove when upstream accepts https://github.com/snapframework/io-streams-haproxy/pull/17
io-streams-haproxy = doJailbreak super.io-streams-haproxy; # base >=4.5 && <4.13
# use latest version to fix the build
generics-sop = self.generics-sop_0_5_0_0;
hackage-db = self.hackage-db_2_1_0;
lens = self.lens_4_18_1;
memory = self.memory_0_15_0;
@ -77,7 +80,8 @@ self: super: {
regex-posix = self.regex-posix_0_96_0_0;
regex-tdfa = self.regex-tdfa_1_3_0;
shelly = self.shelly_1_9_0;
tls = self.tls_1_5_1;
sop-core = self.sop-core_0_5_0_0;
tls = self.tls_1_5_2;
xmonad-contrib = self.xmonad-contrib_0_16;
# These packages don't work and need patching and/or an update.

View File

@ -43,7 +43,7 @@ core-packages:
- ghcjs-base-0
default-package-overrides:
# LTS Haskell 14.8
# LTS Haskell 14.10
- abstract-deque ==0.3
- abstract-deque-tests ==0.3
- abstract-par ==0.3.3
@ -247,7 +247,7 @@ default-package-overrides:
- butcher ==1.3.2.3
- butter ==0.1.0.6
- bv ==0.5
- bv-little ==1.1.0
- bv-little ==1.1.1
- byteable ==0.1.1
- bytedump ==1.0
- byteorder ==1.0.4
@ -423,7 +423,7 @@ default-package-overrides:
- crypto-cipher-tests ==0.0.11
- crypto-cipher-types ==0.0.9
- cryptocompare ==0.1.1
- crypto-enigma ==0.1.1.5
- crypto-enigma ==0.1.1.6
- cryptohash ==0.11.9
- cryptohash-cryptoapi ==0.1.4
- cryptohash-md5 ==0.11.100.1
@ -625,7 +625,7 @@ default-package-overrides:
- eventful-sqlite ==0.2.0
- eventful-test-helpers ==0.2.0
- event-list ==0.1.2
- eventstore ==1.3.2
- eventstore ==1.3.3
- every ==0.0.1
- exact-combinatorics ==0.2.0.9
- exact-pi ==0.5.0.1
@ -770,7 +770,7 @@ default-package-overrides:
- ghc-compact ==0.1.0.0
- ghc-core ==0.5.6
- ghc-exactprint ==0.6.1
- ghcid ==0.7.5
- ghcid ==0.7.6
- ghci-hexcalc ==0.1.1.0
- ghcjs-codemirror ==0.0.0.2
- ghc-lib ==8.8.0.20190424
@ -875,7 +875,7 @@ default-package-overrides:
- haskell-src-meta ==0.8.3
- haskey-btree ==0.3.0.1
- haskintex ==0.8.0.0
- haskoin-core ==0.9.1
- haskoin-core ==0.9.2
- hasql ==1.4
- hasql-optparse-applicative ==0.3.0.5
- hasql-pool ==0.5.1
@ -915,7 +915,7 @@ default-package-overrides:
- hinfo ==0.0.3.0
- hinotify ==0.4
- hint ==0.9.0.2
- hjsmin ==0.2.0.2
- hjsmin ==0.2.0.3
- hkgr ==0.2.4
- hlibgit2 ==0.18.0.16
- hlibsass ==0.1.8.0
@ -1011,7 +1011,7 @@ default-package-overrides:
- http-client ==0.6.4
- http-client-tls ==0.3.5.3
- http-common ==0.8.2.0
- http-conduit ==2.3.7.2
- http-conduit ==2.3.7.3
- http-date ==0.0.8
- http-directory ==0.1.5
- http-download ==0.1.0.0
@ -1028,30 +1028,30 @@ default-package-overrides:
- hvect ==0.4.0.0
- hvega ==0.3.0.1
- hw-balancedparens ==0.2.0.4
- hw-bits ==0.7.0.7
- hw-conduit ==0.2.0.5
- hw-bits ==0.7.0.8
- hw-conduit ==0.2.0.6
- hw-conduit-merges ==0.2.0.0
- hw-diagnostics ==0.0.0.7
- hw-dsv ==0.3.5
- hweblib ==0.6.3
- hw-eliasfano ==0.1.1.0
- hw-excess ==0.2.2.0
- hw-fingertree ==0.1.1.0
- hw-fingertree-strict ==0.1.1.2
- hw-hedgehog ==0.1.0.3
- hw-hspec-hedgehog ==0.1.0.8
- hw-int ==0.0.0.3
- hw-ip ==2.3.4.1
- hw-excess ==0.2.2.1
- hw-fingertree ==0.1.1.1
- hw-fingertree-strict ==0.1.1.3
- hw-hedgehog ==0.1.0.5
- hw-hspec-hedgehog ==0.1.0.9
- hw-int ==0.0.0.4
- hw-ip ==2.3.4.2
- hw-json ==1.0.0.2
- hw-json-simd ==0.1.0.3
- hw-mquery ==0.2.0.1
- hw-json-simd ==0.1.0.4
- hw-mquery ==0.2.0.2
- hw-packed-vector ==0.0.0.3
- hw-parser ==0.1.0.1
- hw-prim ==0.6.2.35
- hw-parser ==0.1.0.2
- hw-prim ==0.6.2.36
- hw-rankselect ==0.13.0.0
- hw-rankselect-base ==0.3.2.1
- hw-simd ==0.1.1.4
- hw-streams ==0.0.0.10
- hw-rankselect-base ==0.3.2.3
- hw-simd ==0.1.1.5
- hw-streams ==0.0.0.12
- hw-string-parse ==0.0.0.4
- hw-succinct ==0.1.0.1
- hxt ==9.3.1.18
@ -1080,7 +1080,7 @@ default-package-overrides:
- Imlib ==0.1.2
- immortal ==0.3
- include-file ==0.1.0.4
- incremental-parser ==0.3.2.2
- incremental-parser ==0.3.3
- indentation-core ==0.0.0.2
- indentation-parsec ==0.0.0.2
- indents ==0.5.0.1
@ -1103,7 +1103,7 @@ default-package-overrides:
- integration ==0.2.1
- intern ==0.9.2
- interpolate ==0.2.0
- interpolatedstring-perl6 ==1.0.1
- interpolatedstring-perl6 ==1.0.2
- interpolatedstring-qq2 ==0.1.0.0
- interpolation ==0.1.1.1
- interpolator ==1.0.0
@ -1283,7 +1283,7 @@ default-package-overrides:
- massiv-test ==0.1.1
- mathexpr ==0.3.0.0
- math-functions ==0.3.3.0
- matplotlib ==0.7.4
- matplotlib ==0.7.5
- matrices ==0.5.0
- matrix ==0.3.6.1
- matrix-market-attoparsec ==0.1.0.8
@ -1517,7 +1517,7 @@ default-package-overrides:
- pantry ==0.1.1.2
- parallel ==3.2.2.0
- parallel-io ==0.3.3
- paripari ==0.6.0.0
- paripari ==0.6.0.1
- parseargs ==0.2.0.9
- parsec ==3.1.14.0
- parsec-class ==1.0.0.0
@ -1554,7 +1554,7 @@ default-package-overrides:
- percent-format ==0.0.1
- peregrin ==0.3.0
- perfect-hash-generator ==0.2.0.6
- persist ==0.1.1.3
- persist ==0.1.1.4
- persistable-record ==0.6.0.4
- persistable-types-HDBC-pg ==0.0.3.5
- persistent ==2.9.2
@ -1716,7 +1716,7 @@ default-package-overrides:
- Ranged-sets ==0.4.0
- range-set-list ==0.1.3.1
- rank1dynamic ==0.4.0
- rank2classes ==1.3.1
- rank2classes ==1.3.1.1
- Rasterific ==0.7.4.4
- rasterific-svg ==0.3.3.2
- ratel ==1.0.8
@ -1733,7 +1733,7 @@ default-package-overrides:
- read-editor ==0.1.0.2
- read-env-var ==1.0.0.0
- reanimate ==0.1.8.0
- reanimate-svg ==0.9.3.0
- reanimate-svg ==0.9.3.1
- rebase ==1.3.1.1
- record-dot-preprocessor ==0.2
- record-hasfield ==1.0
@ -1769,8 +1769,6 @@ default-package-overrides:
- repa ==3.4.1.4
- repa-algorithms ==3.4.1.3
- repa-io ==3.4.1.1
- replace-attoparsec ==1.0.2.0
- replace-megaparsec ==1.1.4.0
- repline ==0.2.1.0
- req ==2.1.0
- req-conduit ==1.0.0
@ -1781,7 +1779,7 @@ default-package-overrides:
- resourcet ==1.2.2
- result ==0.2.6.0
- rethinkdb-client-driver ==0.0.25
- retry ==0.8.0.2
- retry ==0.8.1.0
- rev-state ==0.1.2
- rfc1751 ==0.1.2
- rfc5051 ==0.1.0.4
@ -1883,14 +1881,13 @@ default-package-overrides:
- servant-mock ==0.8.5
- servant-multipart ==0.11.4
- servant-pipes ==0.15.1
- servant-rawm ==0.3.2.0
- servant-ruby ==0.9.0.0
- servant-server ==0.16.2
- servant-static-th ==0.2.2.1
- servant-swagger ==1.1.7.1
- servant-swagger-ui ==0.3.4.3.22.2
- servant-swagger-ui ==0.3.4.3.23.11
- servant-swagger-ui-core ==0.3.3
- servant-swagger-ui-redoc ==0.3.3.1.22.2
- servant-swagger-ui-redoc ==0.3.3.1.22.3
- servant-tracing ==0.1.0.2
- servant-xml ==1.0.1.4
- servant-yaml ==0.1.0.1
@ -1905,7 +1902,7 @@ default-package-overrides:
- sexpr-parser ==0.1.1.2
- SHA ==1.6.4.4
- shake-language-c ==0.12.0
- shakespeare ==2.0.21
- shakespeare ==2.0.22
- shared-memory ==0.2.0.0
- shell-conduit ==4.7.0
- shell-escape ==0.2.0
@ -2208,7 +2205,7 @@ default-package-overrides:
- TypeCompose ==0.9.14
- typed-process ==0.2.6.0
- type-errors ==0.2.0.0
- type-errors-pretty ==0.0.0.0
- type-errors-pretty ==0.0.1.0
- type-fun ==0.1.1
- type-hint ==0.1
- type-level-integers ==0.0.1
@ -2267,7 +2264,7 @@ default-package-overrides:
- unordered-containers ==0.2.10.0
- unordered-intmap ==0.1.1
- unsafe ==0.0
- uri-bytestring ==0.3.2.1
- uri-bytestring ==0.3.2.2
- uri-bytestring-aeson ==0.1.0.7
- uri-encode ==1.5.0.5
- uri-templater ==0.3.1.0
@ -2448,7 +2445,7 @@ default-package-overrides:
- yesod-recaptcha2 ==0.3.0
- yesod-sitemap ==1.6.0
- yesod-static ==1.6.0.1
- yesod-test ==1.6.6.2
- yesod-test ==1.6.7
- yesod-text-markdown ==0.1.10
- yesod-websockets ==0.3.0.2
- yes-precure5-command ==5.5.3
@ -2584,6 +2581,8 @@ package-maintainers:
- shakespeare
abbradar:
- Agda
roberth:
- arion-compose
unsupported-platforms:
alsa-mixer: [ x86_64-darwin ]
@ -2972,7 +2971,6 @@ broken-packages:
- arguedit
- ariadne
- arion
- arion-compose
- arith-encode
- armada
- armor
@ -3623,10 +3621,7 @@ broken-packages:
- clarifai
- CLASE
- clash
- clash-ghc
- clash-lib
- clash-multisignal
- clash-prelude
- Clash-Royale-Hack-Cheats
- clash-systemverilog
- clash-verilog
@ -4398,7 +4393,6 @@ broken-packages:
- ekg-elasticsearch
- ekg-influxdb
- ekg-log
- ekg-prometheus-adapter
- ekg-push
- ekg-rrd
- elevator
@ -5694,6 +5688,9 @@ broken-packages:
- hgen
- hgeometric
- hgeometry
- hgeometry-combinatorial
- hgeometry-ipe
- hgeometry-svg
- hgeos
- hgettext
- hgis
@ -6943,7 +6940,6 @@ broken-packages:
- ls-usb
- lscabal
- LslPlus
- lsp-test
- lsystem
- ltext
- ltk
@ -8078,7 +8074,6 @@ broken-packages:
- projectile
- prolog-graph
- prolog-graph-lib
- prometheus
- prometheus-effect
- promise
- pronounce
@ -9349,7 +9344,6 @@ broken-packages:
- tasty-laws
- tasty-lens
- tasty-stats
- tasty-tap
- Taxonomy
- TaxonomyTools
- TBC
@ -9755,7 +9749,6 @@ broken-packages:
- unity-testresult-parser
- unitym-yesod
- universe-th
- universum
- unix-fcntl
- unix-handle
- unix-process-conduit
@ -10225,6 +10218,7 @@ broken-packages:
- yaya-hedgehog
- yaya-unsafe
- ycextra
- yeamer
- yeller
- yeshql-postgresql-simple
- yesod-angular

View File

@ -444,6 +444,14 @@ self: super: builtins.intersectAttrs super {
[ pkgs.darwin.apple_sdk.frameworks.OpenCL ];
});
# depends on 'hie' executable
lsp-test = dontCheck super.lsp-test;
# tests depend on executable
ghcide = overrideCabal super.ghcide (drv: {
preCheck = ''export PATH="$PWD/dist/build/ghcide:$PATH"'';
});
# GLUT uses `dlopen` to link to freeglut, so we need to set the RUNPATH correctly for
# it to find `libglut.so` from the nix store. We do this by patching GLUT.cabal to pkg-config
# depend on freeglut, which provides GHC to necessary information to generate a correct RPATH.

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,86 @@
{ stdenv, fetchurl, fetchFromGitHub, cmake, pkgconfig
, cudatoolkit, opencl-clhpp, ocl-icd, fftw, fftwFloat, mkl
, blas, openblas, boost, mesa, libGLU_combined
, freeimage, python
}:
let
version = "3.6.4";
clfftSource = fetchFromGitHub {
owner = "arrayfire";
repo = "clFFT";
rev = "16925fb93338b3cac66490b5cf764953d6a5dac7";
sha256 = "0y35nrdz7w4n1l17myhkni3hwm37z775xn6f76xmf1ph7dbkslsc";
fetchSubmodules = true;
};
clblasSource = fetchFromGitHub {
owner = "arrayfire";
repo = "clBLAS";
rev = "1f3de2ae5582972f665c685b18ef0df43c1792bb";
sha256 = "154mz52r5hm0jrp5fqrirzzbki14c1jkacj75flplnykbl36ibjs";
fetchSubmodules = true;
};
cl2hppSource = fetchurl {
url = "https://github.com/KhronosGroup/OpenCL-CLHPP/releases/download/v2.0.10/cl2.hpp";
sha256 = "1v4q0g6b6mwwsi0kn7kbjn749j3qafb9r4ld3zdq1163ln9cwnvw";
};
in stdenv.mkDerivation {
pname = "arrayfire";
inherit version;
src = fetchurl {
url = "http://arrayfire.com/arrayfire_source/arrayfire-full-${version}.tar.bz2";
sha256 = "1fin7a9rliyqic3z83agkpb8zlq663q6gdxsnm156cs8s7f7rc9h";
};
cmakeFlags = [
"-DAF_BUILD_OPENCL=OFF"
"-DAF_BUILD_EXAMPLES=OFF"
"-DBUILD_TESTING=OFF"
"-DCMAKE_LIBRARY_PATH=${cudatoolkit}/lib/stubs"
];
patches = [ ./no-download.patch ];
postPatch = ''
mkdir -p ./build/third_party/clFFT/src
cp -R --no-preserve=mode,ownership ${clfftSource}/ ./build/third_party/clFFT/src/clFFT-ext/
mkdir -p ./build/third_party/clBLAS/src
cp -R --no-preserve=mode,ownership ${clblasSource}/ ./build/third_party/clBLAS/src/clBLAS-ext/
mkdir -p ./build/include/CL
cp -R --no-preserve=mode,ownership ${cl2hppSource} ./build/include/CL/cl2.hpp
'';
preBuild = ''
export CUDA_PATH="${cudatoolkit}"
'';
enableParallelBuilding = true;
nativeBuildInputs = [
cmake
pkgconfig
];
buildInputs = [
opencl-clhpp fftw fftwFloat
mkl
openblas
libGLU_combined
mesa freeimage
boost.out boost.dev python
] ++ (stdenv.lib.optional stdenv.isLinux [ cudatoolkit ocl-icd ]);
meta = with stdenv.lib; {
description = "A general-purpose library that simplifies the process of developing software that targets parallel and massively-parallel architectures including CPUs, GPUs, and other hardware acceleration devices";
license = licenses.bsd3;
homepage = https://arrayfire.com/ ;
platforms = platforms.linux ++ platforms.darwin;
maintainers = with stdenv.lib.maintainers; [ chessai ];
inherit version;
};
}

View File

@ -0,0 +1,28 @@
diff --git a/CMakeModules/build_clBLAS.cmake b/CMakeModules/build_clBLAS.cmake
index 8de529e8..6361b613 100644
--- a/CMakeModules/build_clBLAS.cmake
+++ b/CMakeModules/build_clBLAS.cmake
@@ -14,8 +14,7 @@ find_package(OpenCL)
ExternalProject_Add(
clBLAS-ext
- GIT_REPOSITORY https://github.com/arrayfire/clBLAS.git
- GIT_TAG arrayfire-release
+ DOWNLOAD_COMMAND true
BUILD_BYPRODUCTS ${clBLAS_location}
PREFIX "${prefix}"
INSTALL_DIR "${prefix}"
diff --git a/CMakeModules/build_clFFT.cmake b/CMakeModules/build_clFFT.cmake
index 28be38a3..85e3915e 100644
--- a/CMakeModules/build_clFFT.cmake
+++ b/CMakeModules/build_clFFT.cmake
@@ -20,8 +20,7 @@ ENDIF()
ExternalProject_Add(
clFFT-ext
- GIT_REPOSITORY https://github.com/arrayfire/clFFT.git
- GIT_TAG arrayfire-release
+ DOWNLOAD_COMMAND true
PREFIX "${prefix}"
INSTALL_DIR "${prefix}"
UPDATE_COMMAND ""

View File

@ -2,18 +2,18 @@
stdenv.mkDerivation rec {
pname = "chromaprint";
version = "1.3.2";
version = "1.4.3";
src = fetchurl {
url = "https://bitbucket.org/acoustid/chromaprint/downloads/${pname}-${version}.tar.gz";
sha256 = "0lln8dh33gslb9cbmd1hcv33pr6jxdwipd8m8gbsyhksiq6r1by3";
url = "https://github.com/acoustid/chromaprint/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "10kz8lncal4s2rp2rqpgc6xyjp0jzcrihgkx7chf127vfs5n067a";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ boost ffmpeg ];
cmakeFlags = [ "-DBUILD_EXAMPLES=ON" ];
cmakeFlags = [ "-DBUILD_EXAMPLES=ON" "-DBUILD_TOOLS=ON" ];
meta = with stdenv.lib; {
homepage = https://acoustid.org/chromaprint;

View File

@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "C library for working with MaxMind geolocation DB files";
homepage = https://github.com/maxmind/libmaxminddb;
license = licenses.apsl20;
license = licenses.asl20;
platforms = platforms.all;
maintainers = [ maintainers.vcunat ];
};

View File

@ -4,12 +4,12 @@
stdenv.mkDerivation rec {
pname = "liburing";
version = "0.2pre246_${builtins.substring 0 8 src.rev}";
version = "0.2pre252_${builtins.substring 0 8 src.rev}";
src = fetchgit {
url = "http://git.kernel.dk/liburing";
rev = "08bd815170ab4352d71019f4d3e532cd3f6f0489";
sha256 = "1wqraxj9mzph3wgfq4ld4bxa8ya2db65cwzyh9fmhvhhlsivi6wr";
rev = "a9bb08db3f8795eb58239d5dbb888e9c1d424011";
sha256 = "0gv06fcgqhfkqgiqzjb4qzpxh3h595ypw01a0kmhqnmsnvmb624n";
};
separateDebugInfo = true;

View File

@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
pname = "libwhereami";
version = "0.2.2";
version = "0.3.0";
src = fetchFromGitHub {
sha256 = "084n153jaq8fmhjififk0xlx1d1i3lclnw2j3ly8bixvc392vzly";
sha256 = "0yq6m4kh06idp3l8cp7kswn5k8vcaip1zqhypbhszybqa0afb5az";
rev = version;
repo = "libwhereami";
owner = "puppetlabs";

View File

@ -1,6 +1,5 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, docbook_xml_dtd_43
, docbook_xsl
, glib
@ -17,7 +16,7 @@
stdenv.mkDerivation rec {
pname = "libxmlb";
version = "0.1.11";
version = "0.1.13";
outputs = [ "out" "lib" "dev" "devdoc" "installedTests" ];
@ -25,17 +24,10 @@ stdenv.mkDerivation rec {
owner = "hughsie";
repo = "libxmlb";
rev = version;
sha256 = "1503v76w7543snqyjxykiqa5va62zb0ccn3jlw0gpdx8973v80mr";
sha256 = "14bk7bk08mjbildak1l7jq7idcyask7384vigpq9zmwai1gax4s7";
};
patches = [
# Fix installed tests
# https://github.com/hughsie/libxmlb/pull/2
(fetchpatch {
url = "https://github.com/hughsie/libxmlb/commit/78850c8b0f644f729fa21e2bf9ebed0d9d6010f3.diff";
sha256 = "0zw7c6vy8hscln7za7ijqd9svirach3zdskvbzyxxcsm3xcwxpjm";
})
./installed-tests-path.patch
];

View File

@ -1,5 +1,5 @@
@name@ () {
export G4@envvar@DATA="@out@/data"
export G4@envvar@DATA="@datadir@"
}
postHooks+=(@name@)

View File

@ -1,12 +1,13 @@
{ stdenv, fetchurl, }:
{ stdenv, fetchurl, geant_version }:
let
mkDataset = { name, version, sha256, envvar}:
mkDataset = { name, version, sha256, envvar }:
stdenv.mkDerivation {
inherit name version;
inherit geant_version;
src = fetchurl {
url = "https://geant4-data.web.cern.ch/geant4-data/datasets/${name}.${version}.tar.gz";
url = "https://cern.ch/geant4-data/datasets/${name}.${version}.tar.gz";
inherit sha256;
};
@ -14,9 +15,10 @@ let
dontBuild = true;
dontConfigure = true;
datadir = "${placeholder "out"}/share/Geant4-${geant_version}/data/${name}${version}";
installPhase = ''
mkdir -p $out/data
mv ./* $out/data
mkdir -p $datadir
mv ./* $datadir
'';
inherit envvar;
@ -40,37 +42,37 @@ in
{
name = "G4EMLOW";
version = "7.3";
sha256 = "583aa7f34f67b09db7d566f904c54b21e95a9ac05b60e2bfb794efb569dba14e";
version = "7.7";
sha256 = "16dec6adda6477a97424d749688d73e9bd7d0b84d0137a67cf341f1960984663";
envvar = "LE";
}
{
name = "G4PhotonEvaporation";
version = "5.2";
sha256 = "83607f8d36827b2a7fca19c9c336caffbebf61a359d0ef7cee44a8bcf3fc2d1f";
version = "5.3";
sha256 = "d47ababc8cbe548065ef644e9bd88266869e75e2f9e577ebc36bc55bf7a92ec8";
envvar = "LEVELGAMMA";
}
{
name = "G4RadioactiveDecay";
version = "5.2";
sha256 = "99c038d89d70281316be15c3c98a66c5d0ca01ef575127b6a094063003e2af5d";
version = "5.3";
sha256 = "5c8992ac57ae56e66b064d3f5cdfe7c2fee76567520ad34a625bfb187119f8c1";
envvar = "RADIOACTIVE";
}
{
name = "G4SAIDDATA";
version = "1.1";
sha256 = "a38cd9a83db62311922850fe609ecd250d36adf264a88e88c82ba82b7da0ed7f";
version = "2.0";
sha256 = "1d26a8e79baa71e44d5759b9f55a67e8b7ede31751316a9e9037d80090c72e91";
envvar = "SAIDXS";
}
{
name = "G4NEUTRONXS";
version = "1.4";
sha256 = "57b38868d7eb060ddd65b26283402d4f161db76ed2169437c266105cca73a8fd";
envvar = "NEUTRONXS";
name = "G4PARTICLEXS";
version = "1.1";
sha256 = "100a11c9ed961152acfadcc9b583a9f649dda4e48ab314fcd4f333412ade9d62";
envvar = "PARTICLEXS";
}
{
@ -80,6 +82,13 @@ in
envvar = "ABLA";
}
{
name = "G4INCL";
version = "1.0";
sha256 = "716161821ae9f3d0565fbf3c2cf34f4e02e3e519eb419a82236eef22c2c4367d";
envvar = "INCL";
}
{
name = "G4PII";
version = "1.3";

View File

@ -35,13 +35,13 @@
, libXmu
}:
stdenv.mkDerivation {
version = "10.4.1";
stdenv.mkDerivation rec {
version = "10.5.1";
pname = "geant4";
src = fetchurl{
url = "http://cern.ch/geant4-data/releases/geant4.10.04.p01.tar.gz";
sha256 = "a3eb13e4f1217737b842d3869dc5b1fb978f761113e74bd4eaf6017307d234dd";
url = "http://cern.ch/geant4-data/releases/geant4.10.05.p01.tar.gz";
sha256 = "f4a292220500fad17e0167ce3153e96e3410ecbe96284e572dc707f63523bdff";
};
cmakeFlags = [
@ -78,7 +78,10 @@ stdenv.mkDerivation {
setupHook = ./geant4-hook.sh;
passthru = {
data = import ./datasets.nix { inherit stdenv fetchurl; };
data = import ./datasets.nix {
inherit stdenv fetchurl;
geant_version = version;
};
};
# Set the myriad of envars required by Geant4 if we use a nix-shell.
@ -95,7 +98,7 @@ stdenv.mkDerivation {
'';
homepage = http://www.geant4.org;
license = licenses.g4sl;
maintainers = with maintainers; [ tmplt ];
maintainers = with maintainers; [ tmplt omnipotententity ];
platforms = platforms.linux;
};
}

View File

@ -18,7 +18,7 @@ stdenv.mkDerivation {
inherit (geant4_nomt) version src;
pname = "g4py";
sourceRoot = "geant4.10.04.p01/environments/g4py";
sourceRoot = "geant4.10.05.p01/environments/g4py";
nativeBuildInputs = [ cmake ];
buildInputs = [ geant4_nomt xercesc boost_python python ];

View File

@ -0,0 +1,40 @@
{ stdenv
, fetchgit
}:
stdenv.mkDerivation rec {
pname = "PStreams";
version = "1.0.1";
src = fetchgit {
url = https://git.code.sf.net/p/pstreams/code;
rev = let dot2Underscore = stdenv.lib.strings.stringAsChars (c: if c == "." then "_" else c);
in "RELEASE_${dot2Underscore version}";
sha256 = "0r8aj0nh5mkf8cvnzl8bdy4nm7i74vs83axxfimcd74kjfn0irys";
};
makeFlags = [ "prefix=${placeholder "out"}" ];
dontBuild = true;
doCheck = true;
preInstall = "rm INSTALL";
# `make install` fails on case-insensitive file systems (e.g. APFS by
# default) because this target exists
meta = with stdenv.lib; {
description = "POSIX Process Control in C++";
longDescription = ''
PStreams allows you to run another program from your C++ application and
to transfer data between the two programs similar to shell pipelines.
In the simplest case, a PStreams class is like a C++ wrapper for the
POSIX.2 functions popen(3) and pclose(3), using C++ iostreams instead of
C's stdio library.
'';
homepage = http://pstreams.sourceforge.net/;
downloadPage = http://pstreams.sourceforge.net/download/;
maintainers = with maintainers; [ arthur ];
license = licenses.boost;
platforms = platforms.all;
};
}

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec {
pname = "symengine";
version = "0.4.1";
version = "0.5.0";
src = fetchFromGitHub {
owner = "symengine";
repo = "symengine";
rev = "v${version}";
sha256 = "0qqxr7l5lr81k6fs2h5isr43x0dw07rwg3ivl6vd8zmmcgsp9ygd";
sha256 = "1zgfhqv43qcfkfdyf1p82bcfv05n6iix6yw6qx1y5bnb7dv74irw";
};
nativeBuildInputs = [ cmake ];

View File

@ -27,13 +27,16 @@ let
];
cmakeFlags = [
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
"-DWT_CPP_11_MODE=-std=c++11"
"-DGM_PREFIX=${graphicsmagick}"
"-DMYSQL_PREFIX=${libmysqlclient}"
"-DHARFBUZZ_INCLUDE_DIR=${harfbuzz.dev}/include"
"--no-warn-unused-cli"
];
]
++ stdenv.lib.optionals (graphicsmagick != null) [
"-DWT_WRASTERIMAGE_IMPLEMENTATION=GraphicsMagick"
"-DGM_PREFIX=${graphicsmagick}"
]
++ stdenv.lib.optional (libmysqlclient != null)
"-DMYSQL_PREFIX=${libmysqlclient}";
meta = with stdenv.lib; {
homepage = "https://www.webtoolkit.eu/wt";

View File

@ -1,12 +0,0 @@
--- a/src/_tags 2014-10-01 16:19:35.000000000 +0100
+++ b/src/_tags 2014-11-09 16:55:34.470663377 +0000
@@ -40,7 +40,7 @@
<lib/server/monitor/*.ml{,i}>:I(src/lib/server)
<syntax/pa_*.*>: syntax(camlp4o),package(camlp4.quotations.o,camlp4.extend,bytes)
-<syntax/pa_*.ml{,i}>: I(+camlp4/Camlp4Parsers)
+<syntax/pa_*.ml{,i}>: use_camlp4_full
<ppx/**/*>: package(ppx_tools, compiler-libs.common, ppx_tools.metaquot)

View File

@ -1,33 +1,35 @@
{ stdenv, fetchzip, which, ocsigen_server, ocsigen_deriving, ocaml, lwt_camlp4,
{ stdenv, fetchzip, which, ocsigen_server, ocaml,
lwt_react,
opaline, ppx_tools, ppx_deriving, findlib
, ppx_tools_versioned
, js_of_ocaml-ocamlbuild, js_of_ocaml-ppx, js_of_ocaml-ppx_deriving_json
, js_of_ocaml-lwt
, js_of_ocaml-tyxml
, lwt_ppx
}:
if !stdenv.lib.versionAtLeast ocaml.version "4.07"
then throw "eliom is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec
{
pname = "eliom";
version = "6.7.0";
version = "6.8.0";
src = fetchzip {
url = "https://github.com/ocsigen/eliom/archive/${version}.tar.gz";
sha256 = "0mrlpvjaihpsf2xr6p1gs0sz4cwzkknf5b1s32bhmqq5qzsh4j8k";
sha256 = "0di4q0wzbnk9sxlaj97ivghzh8qvjb8n17h80y4nmqhys97pldif";
};
patches = [ ./camlp4.patch ];
buildInputs = [ ocaml which findlib js_of_ocaml-ocamlbuild js_of_ocaml-ppx_deriving_json opaline ppx_tools
ocsigen_deriving
ppx_tools_versioned
];
propagatedBuildInputs = [
js_of_ocaml-lwt
js_of_ocaml-ppx
js_of_ocaml-tyxml
lwt_camlp4
lwt_ppx
lwt_react
ocsigen_server
@ -40,7 +42,7 @@ stdenv.mkDerivation rec
meta = {
homepage = http://ocsigen.org/eliom/;
description = "Ocaml Framework for programming Web sites and client/server Web applications";
description = "OCaml Framework for programming Web sites and client/server Web applications";
longDescription =''Eliom is a framework for programming Web sites
and client/server Web applications. It introduces new concepts to

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild
, version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20181113" else "20140422"
, version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20190626" else "20140422"
}@args:
let
@ -7,6 +7,7 @@ let
if version == "20140422" then { url = "http://cristal.inria.fr/~fpottier/menhir/menhir-20140422.tar.gz"; sha256 = "1ki1f2id6a14h9xpv2k8yb6px7dyw8cvwh39csyzj4qpzx7wia0d"; }
else if version == "20170712" then { url = "http://gallium.inria.fr/~fpottier/menhir/menhir-20170712.tar.gz"; sha256 = "006hq3bwj81j67f2k9cgzj5wr4hai8j36925p5n3sd2j01ljsj6a"; }
else if version == "20181113" then { url = "https://gitlab.inria.fr/fpottier/menhir/repository/20181113/archive.tar.gz"; sha256 = "0hl611l0gyl7b2bm7m0sk7vjz14m0i7znrnjq3gw58pylj934dx4"; }
else if version == "20190626" then { url = "https://gitlab.inria.fr/fpottier/menhir/repository/20190626/archive.tar.gz"; sha256 = "0nigjnskg89knyi2zj1w211mb1pvkrwfqpz9a0qbw80k3hm8gg0h"; }
else throw ("menhir: unknown version " ++ version)
);
in

View File

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, ocsigen-toolkit, eliom, ocaml_pcre, pgocaml, macaque, safepass, yojson, ocsigen_deriving, ocsigen_server
, js_of_ocaml-camlp4
, js_of_ocaml-camlp4, lwt_camlp4
, resource-pooling
}:
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ocsigen-start-${version}";
version = "1.8.0";
buildInputs = [ ocaml findlib eliom js_of_ocaml-camlp4 ];
buildInputs = [ ocaml findlib eliom js_of_ocaml-camlp4 lwt_camlp4 ];
propagatedBuildInputs = [ pgocaml macaque safepass ocaml_pcre ocsigen-toolkit yojson ocsigen_deriving ocsigen_server resource-pooling ];
patches = [ ./templates-dir.patch ];

View File

@ -25,7 +25,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Application Insights Client Library";
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-applicotioninsights;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Batch Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/batch?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure common code";
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-common;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ olcai mwilsoninsight ];
};

View File

@ -21,7 +21,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Azure Cosmos DB API";
homepage = https://github.com/Azure/azure-cosmos-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};

View File

@ -22,7 +22,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure CosmosDB namespace package";
homepage = https://github.com/Azure/azure-cosmos-table-python/tree/master/azure-cosmosdb-nspkg;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -32,7 +32,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Log Analytics Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/cosmosdb?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -32,7 +32,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This project is the Python filesystem library for Azure Data Lake Store";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/data-lake-store?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/event-grid?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Graph RBAC Client Library";
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-graphrbac;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Key Vault Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/key-vault?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -25,7 +25,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Log Analytics Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/loganalytics/client?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Advisor Client Library";
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-advisor;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Application Insights Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-applicationinsights;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Authorization Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-authorization;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Batch Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-batch;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -29,7 +29,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Batch AI Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-batchai;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -34,7 +34,7 @@ buildPythonPackage {
meta = with lib; {
description = "This is the Microsoft Azure Billing Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-billing;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure CDN Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-cdn;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Cognitive Services Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-cognitiveservices;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -34,7 +34,7 @@ buildPythonPackage {
meta = with lib; {
description = "This is the Microsoft Azure Commerce Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-commerce;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -35,7 +35,7 @@ buildPythonPackage rec {
meta = with pkgs.lib; {
description = "This is the Microsoft Azure Resource Management common code";
homepage = https://pypi.org/project/azure-mgmt-common;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ olcai mwilsoninsight ];
};

View File

@ -30,7 +30,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Compute Management Client Library";
homepage = https://github.com/Azure/azure-sdk-for-python/tree/master/azure-mgmt-compute;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ olcai mwilsoninsight ];
};

View File

@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Consumption Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-consumption;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Container Instance Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-containerinstance;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Container Service Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-containerservice;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Cosmos DB Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-cosmosdb;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Data Factory Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-datafactory;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Data Lake Analytics Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-datalake-analytics;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -23,7 +23,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Data Lake Management namespace package";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-datalake-nspkg;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Data Lake Store Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-datalake-store;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Data Migration Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-datamigration;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -27,7 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure Dev Spaces Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-devspaces;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure DevTestLabs Management Client Library";
homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-devtestlabs;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure DNS Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/dns?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure EventGrid Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/event-grid?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure EventHub Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/event-hub?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure SAP Hana on Azure Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/hanaonazure?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure IoTCentral Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/iot?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure IoTHub Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/iot?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

View File

@ -29,7 +29,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "This is the Microsoft Azure IoTHub Provisioning Services Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/iot?view=azure-python;
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};

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