Merge master into staging-next
This commit is contained in:
commit
a41ea4ced3
|
@ -5797,6 +5797,16 @@
|
|||
githubId = 20658981;
|
||||
name = "Jarosław Wygoda";
|
||||
};
|
||||
jyooru = {
|
||||
email = "joel@joel.tokyo";
|
||||
github = "jyooru";
|
||||
githubId = 63786778;
|
||||
name = "Joel";
|
||||
keys = [{
|
||||
longkeyid = "rsa4096/18550BD205E9EF64";
|
||||
fingerprint = "9148 DC9E F4D5 3EB6 A30E 8EF0 1855 0BD2 05E9 EF64";
|
||||
}];
|
||||
};
|
||||
jyp = {
|
||||
email = "jeanphilippe.bernardy@gmail.com";
|
||||
github = "jyp";
|
||||
|
|
|
@ -86,7 +86,7 @@ mapAttrs (channel: chromiumPkg: makeTest rec {
|
|||
options.append("--use-gl=swiftshader")
|
||||
# Launch the process:
|
||||
options.append("file://${startupHTML}")
|
||||
machine.succeed(ru(f'ulimit -c unlimited; {binary} {shlex.join(options)} & disown'))
|
||||
machine.succeed(ru(f'ulimit -c unlimited; {binary} {shlex.join(options)} >&2 & disown'))
|
||||
if binary.startswith("google-chrome"):
|
||||
# Need to click away the first window:
|
||||
machine.wait_for_text("Make Google Chrome the default browser")
|
||||
|
|
|
@ -51,7 +51,7 @@ import ./make-test-python.nix ({ pkgs, lib, ...} :
|
|||
machine.wait_for_window("plank")
|
||||
|
||||
with subtest("Open elementary terminal"):
|
||||
machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.terminal &'")
|
||||
machine.execute("su - ${user.name} -c 'DISPLAY=:0 io.elementary.terminal >&2 &'")
|
||||
machine.wait_for_window("io.elementary.terminal")
|
||||
machine.sleep(20)
|
||||
machine.screenshot("screen")
|
||||
|
|
|
@ -24,7 +24,7 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
|||
machine.succeed(
|
||||
"""
|
||||
mkdir -p /run/nginx /var/log/nginx /var/cache/nginx
|
||||
${nodes.machine.config.systemd.services.nginx.runner} &
|
||||
${nodes.machine.config.systemd.services.nginx.runner} >&2 &
|
||||
echo $!>my-nginx.pid
|
||||
"""
|
||||
)
|
||||
|
|
|
@ -38,7 +38,7 @@ import ./make-test-python.nix ({ pkgs, ...} : {
|
|||
# Check that logging in has given the user ownership of devices.
|
||||
machine.succeed("getfacl -p /dev/snd/timer | grep -q ${user.name}")
|
||||
|
||||
machine.succeed("su - ${user.name} -c 'DISPLAY=:0.0 xfce4-terminal &'")
|
||||
machine.succeed("su - ${user.name} -c 'DISPLAY=:0.0 xfce4-terminal >&2 &'")
|
||||
machine.wait_for_window("Terminal")
|
||||
machine.sleep(10)
|
||||
machine.screenshot("screen")
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, sqlite, xdg-utils}:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security, sqlite, xdg-utils}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "anup";
|
||||
|
@ -14,6 +14,8 @@ rustPlatform.buildRustPackage rec {
|
|||
buildInputs = [
|
||||
sqlite
|
||||
xdg-utils
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
Security
|
||||
];
|
||||
|
||||
cargoSha256 = "sha256-1TA2HDHKA3twFtlAWaC2zcRzS8TJwcbBt1OTQ3hC3qM=";
|
||||
|
|
10
pkgs/applications/misc/mkgmap/deps.nix
generated
10
pkgs/applications/misc/mkgmap/deps.nix
generated
|
@ -9,23 +9,23 @@
|
|||
sha256 = "0zb4pqkwly5z30ww66qhhasdhdrzwmrw00347yrbgyk2ii4wjad3";
|
||||
};
|
||||
protobuf = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar";
|
||||
url = "mirror://maven/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar";
|
||||
sha256 = "0x6c4pbsizvk3lm6nxcgi1g2iqgrxcna1ip74lbn01f0fm2wdhg0";
|
||||
};
|
||||
xpp3 = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar";
|
||||
url = "mirror://maven/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar";
|
||||
sha256 = "1f9ifnxxj295xb1494jycbfm76476xm5l52p7608gf0v91d3jh83";
|
||||
};
|
||||
jaxb-api = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar";
|
||||
url = "mirror://maven/javax/xml/bind/jaxb-api/2.3.0/jaxb-api-2.3.0.jar";
|
||||
sha256 = "00rxpc0m30d3jc572ni01ryxq8gcbnr955xsabrijg9pknc0fc48";
|
||||
};
|
||||
junit = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/junit/junit/4.11/junit-4.11.jar";
|
||||
url = "mirror://maven/junit/junit/4.11/junit-4.11.jar";
|
||||
sha256 = "1zh6klzv8w30dx7jg6pkhllk4587av4znflzhxz8x97c7rhf3a4h";
|
||||
};
|
||||
hamcrest-core = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar";
|
||||
url = "mirror://maven/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar";
|
||||
sha256 = "1sfqqi8p5957hs9yik44an3lwpv8ln2a6sh9gbgli4vkx68yzzb6";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
version = "0.21.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://prdownloads.sourceforge.net/${pname}/${pname}-${version}.tar.bz2";
|
||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "0svff8rc3j2p47snaq1hx9mv4ydmxawpb0hf3d165g1ccjwvmm6m";
|
||||
};
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
libXft libXpm libXrandr libXrender xorgproto libXinerama ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.debian.org/debian/pool/main/o/oroborus/oroborus_${version}.tar.gz";
|
||||
url = "mirror://debian/pool/main/o/oroborus/oroborus_${version}.tar.gz";
|
||||
sha256 = "12bvk8x8rfnymbfbwmdcrd9g8m1zxbcq7rgvfdkjr0gnpi0aa82j";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Content-addressable Nix mirrors.
|
||||
hashedMirrors = [
|
||||
"http://tarballs.nixos.org"
|
||||
"https://tarballs.nixos.org"
|
||||
];
|
||||
|
||||
# Mirrors for mirror://site/filename URIs, where "site" is
|
||||
|
@ -11,7 +11,7 @@
|
|||
luarocks = [
|
||||
"https://luarocks.org/"
|
||||
"https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/"
|
||||
"http://luafr.org/moonrocks/"
|
||||
"https://luafr.org/moonrocks/"
|
||||
"http://luarocks.logiceditor.com/rocks/"
|
||||
];
|
||||
|
||||
|
@ -41,21 +41,22 @@
|
|||
# mirror.
|
||||
"https://ftpmirror.gnu.org/"
|
||||
|
||||
"http://ftp.nluug.nl/pub/gnu/"
|
||||
"http://mirrors.kernel.org/gnu/"
|
||||
"http://mirror.ibcp.fr/pub/gnu/"
|
||||
"http://mirror.dogado.de/gnu/"
|
||||
"http://mirror.tochlab.net/pub/gnu/"
|
||||
"ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/"
|
||||
"https://ftp.nluug.nl/pub/gnu/"
|
||||
"https://mirrors.kernel.org/gnu/"
|
||||
"https://mirror.ibcp.fr/pub/gnu/"
|
||||
"https://mirror.dogado.de/gnu/"
|
||||
"https://mirror.tochlab.net/pub/gnu/"
|
||||
|
||||
# This one is the master repository, and thus it's always up-to-date.
|
||||
"http://ftp.gnu.org/pub/gnu/"
|
||||
"https://ftp.gnu.org/pub/gnu/"
|
||||
|
||||
"ftp://ftp.funet.fi/pub/mirrors/ftp.gnu.org/gnu/"
|
||||
];
|
||||
|
||||
# GCC.
|
||||
gcc = [
|
||||
"https://bigsearcher.com/mirrors/gcc/"
|
||||
"http://mirror.koddos.net/gcc/"
|
||||
"https://mirror.koddos.net/gcc/"
|
||||
"ftp://ftp.nluug.nl/mirror/languages/gcc/"
|
||||
"ftp://ftp.fu-berlin.de/unix/languages/gcc/"
|
||||
"ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/"
|
||||
|
@ -65,18 +66,16 @@
|
|||
# GnuPG.
|
||||
gnupg = [
|
||||
"https://gnupg.org/ftp/gcrypt/"
|
||||
"https://mirrors.dotsrc.org/gcrypt/"
|
||||
"https://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/"
|
||||
"https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/"
|
||||
"http://www.ring.gr.jp/pub/net/"
|
||||
"http://mirrors.dotsrc.org/gcrypt/"
|
||||
"http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/"
|
||||
"http://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/"
|
||||
];
|
||||
|
||||
# kernel.org's /pub (/pub/{linux,software}) tree.
|
||||
kernel = [
|
||||
"http://cdn.kernel.org/pub/"
|
||||
"http://ramses.wh2.tu-dresden.de/pub/mirrors/kernel.org/"
|
||||
"https://cdn.kernel.org/pub/"
|
||||
"http://linux-kernel.uio.no/pub/"
|
||||
"http://kernel.osuosl.org/pub/"
|
||||
"ftp://ftp.funet.fi/pub/mirrors/ftp.kernel.org/pub/"
|
||||
];
|
||||
|
||||
|
@ -85,52 +84,46 @@
|
|||
"https://download.kde.org/download.php?url="
|
||||
"https://ftp.gwdg.de/pub/linux/kde/"
|
||||
"https://mirrors.ocf.berkeley.edu/kde/"
|
||||
"http://mirrors.mit.edu/kde/"
|
||||
"https://mirrors.mit.edu/kde/"
|
||||
"https://mirrors.ustc.edu.cn/kde/"
|
||||
"http://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/"
|
||||
"https://ftp.funet.fi/pub/mirrors/ftp.kde.org/pub/kde/"
|
||||
];
|
||||
|
||||
# Gentoo files.
|
||||
gentoo = [
|
||||
"http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
|
||||
"http://distfiles.gentoo.org/"
|
||||
"ftp://mirrors.kernel.org/gentoo/"
|
||||
"https://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
|
||||
"https://distfiles.gentoo.org/"
|
||||
"https://mirrors.kernel.org/gentoo/"
|
||||
];
|
||||
|
||||
savannah = [
|
||||
# Mirrors from https://download-mirror.savannah.gnu.org/releases/00_MIRRORS.html
|
||||
"http://mirror.easyname.at/nongnu/"
|
||||
"https://mirror.easyname.at/nongnu/"
|
||||
"https://savannah.c3sl.ufpr.br/"
|
||||
"https://mirror.csclub.uwaterloo.ca/nongnu/"
|
||||
"https://mirror.cedia.org.ec/nongnu/"
|
||||
"https://ftp.igh.cnrs.fr/pub/nongnu/"
|
||||
"https://mirror6.layerjet.com/nongnu"
|
||||
"https://mirror.netcologne.de/savannah/"
|
||||
"https://ftp.cc.uoc.gr/mirrors/nongnu.org/"
|
||||
"https://nongnu.uib.no/"
|
||||
"https://ftp.acc.umu.se/mirror/gnu.org/savannah/"
|
||||
"http://mirror2.klaus-uwe.me/nongnu/"
|
||||
"http://savannah.c3sl.ufpr.br/"
|
||||
"http://mirror.csclub.uwaterloo.ca/nongnu/"
|
||||
"http://mirror.cedia.org.ec/nongnu/"
|
||||
"http://ftp.igh.cnrs.fr/pub/nongnu/"
|
||||
"http://mirror6.layerjet.com/nongnu"
|
||||
"http://mirror.netcologne.de/savannah/"
|
||||
"http://ftp.cc.uoc.gr/mirrors/nongnu.org/"
|
||||
"http://nongnu.uib.no/"
|
||||
"http://mirrors.fe.up.pt/pub/nongnu/"
|
||||
"http://ftp.acc.umu.se/mirror/gnu.org/savannah/"
|
||||
"http://ftp.twaren.net/Unix/NonGNU/"
|
||||
"http://ftp.yzu.edu.tw/pub/nongnu/"
|
||||
"http://mirror.rackdc.com/savannah/"
|
||||
"http://savannah-nongnu-org.ip-connect.vn.ua/"
|
||||
"http://www.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
|
||||
"http://gnu.mirrors.pair.com/savannah/savannah/"
|
||||
"ftp://mirror.easyname.at/nongnu/"
|
||||
"ftp://mirror2.klaus-uwe.me/nongnu/"
|
||||
"ftp://savannah.c3sl.ufpr.br/savannah-nongnu/"
|
||||
"ftp://mirror.csclub.uwaterloo.ca/nongnu/"
|
||||
"ftp://mirror.cedia.org.ec/nongnu"
|
||||
"ftp://ftp.igh.cnrs.fr/pub/nongnu/"
|
||||
"ftp://mirror.netcologne.de/savannah/"
|
||||
"ftp://nongnu.uib.no/pub/nongnu/"
|
||||
"ftp://mirrors.fe.up.pt/pub/nongnu/"
|
||||
"ftp://ftp.twaren.net/Unix/NonGNU/"
|
||||
"ftp://ftp.yzu.edu.tw/pub/nongnu/"
|
||||
"ftp://savannah-nongnu-org.ip-connect.vn.ua/mirror/savannah.nongnu.org/"
|
||||
"ftp://ftp.mirrorservice.org/sites/download.savannah.gnu.org/releases/"
|
||||
"ftp://spinellicreations.com/gnu_dot_org_savannah_mirror/"
|
||||
];
|
||||
|
||||
samba = [
|
||||
|
@ -140,8 +133,8 @@
|
|||
|
||||
# BitlBee mirrors, see https://www.bitlbee.org/main.php/mirrors.html .
|
||||
bitlbee = [
|
||||
"http://get.bitlbee.org/"
|
||||
"http://ftp.snt.utwente.nl/pub/software/bitlbee/"
|
||||
"https://get.bitlbee.org/"
|
||||
"https://ftp.snt.utwente.nl/pub/software/bitlbee/"
|
||||
"http://bitlbee.intergenia.de/"
|
||||
];
|
||||
|
||||
|
@ -150,109 +143,92 @@
|
|||
"https://www.imagemagick.org/download/"
|
||||
"https://mirror.checkdomain.de/imagemagick/"
|
||||
"https://ftp.nluug.nl/ImageMagick/"
|
||||
"ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/" # also contains older versions removed from most mirrors
|
||||
"http://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/"
|
||||
"ftp://ftp.imagemagick.org/pub/ImageMagick/"
|
||||
"http://ftp.fifi.org/ImageMagick/"
|
||||
"ftp://ftp.fifi.org/ImageMagick/"
|
||||
"https://ftp.sunet.se/mirror/imagemagick.org/ftp/"
|
||||
"ftp://ftp.sunet.se/mirror/imagemagick.org/ftp/" # also contains older versions removed from most mirrors
|
||||
];
|
||||
|
||||
# CPAN mirrors.
|
||||
cpan = [
|
||||
"https://cpan.metacpan.org/"
|
||||
"https://cpan.perl.org/"
|
||||
"http://backpan.perl.org/" # for old releases
|
||||
"https://backpan.perl.org/" # for old releases
|
||||
];
|
||||
|
||||
# CentOS.
|
||||
centos = [
|
||||
"http://mirror.centos.org/centos/"
|
||||
# For old releases
|
||||
"http://vault.centos.org/"
|
||||
"https://vault.centos.org/"
|
||||
"https://archive.kernel.org/centos-vault/"
|
||||
"http://ftp.jaist.ac.jp/pub/Linux/CentOS-vault/"
|
||||
"http://mirrors.aliyun.com/centos-vault/"
|
||||
"https://ftp.jaist.ac.jp/pub/Linux/CentOS-vault/"
|
||||
"https://mirrors.aliyun.com/centos-vault/"
|
||||
"https://mirror.chpc.utah.edu/pub/vault.centos.org/"
|
||||
"https://mirror.math.princeton.edu/pub/centos-vault/"
|
||||
"https://mirrors.tripadvisor.com/centos-vault/"
|
||||
"http://mirror.centos.org/centos/"
|
||||
];
|
||||
|
||||
# Debian.
|
||||
debian = [
|
||||
"http://httpredir.debian.org/debian/"
|
||||
"https://httpredir.debian.org/debian/"
|
||||
"https://ftp.debian.org/debian/"
|
||||
"ftp://ftp.de.debian.org/debian/"
|
||||
"ftp://ftp.fr.debian.org/debian/"
|
||||
"ftp://ftp.nl.debian.org/debian/"
|
||||
"ftp://ftp.ru.debian.org/debian/"
|
||||
"http://ftp.debian.org/debian/"
|
||||
"http://archive.debian.org/debian-archive/debian/"
|
||||
"ftp://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian/"
|
||||
];
|
||||
|
||||
# Ubuntu.
|
||||
ubuntu = [
|
||||
"http://nl.archive.ubuntu.com/ubuntu/"
|
||||
"https://nl.archive.ubuntu.com/ubuntu/"
|
||||
"https://old-releases.ubuntu.com/ubuntu/"
|
||||
"http://de.archive.ubuntu.com/ubuntu/"
|
||||
"http://archive.ubuntu.com/ubuntu/"
|
||||
"http://old-releases.ubuntu.com/ubuntu/"
|
||||
];
|
||||
|
||||
# Fedora (please only add full mirrors that carry old Fedora distributions as well).
|
||||
# See: https://mirrors.fedoraproject.org/publiclist (but not all carry old content).
|
||||
fedora = [
|
||||
"http://archives.fedoraproject.org/pub/fedora/"
|
||||
"http://fedora.osuosl.org/"
|
||||
"https://archives.fedoraproject.org/pub/fedora/"
|
||||
"https://fedora.osuosl.org/"
|
||||
"https://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/"
|
||||
"https://ftp.linux.cz/pub/linux/fedora/"
|
||||
"https://archives.fedoraproject.org/pub/archive/fedora/"
|
||||
"http://ftp.nluug.nl/pub/os/Linux/distr/fedora/"
|
||||
"http://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/"
|
||||
"http://fedora.bhs.mirrors.ovh.net/"
|
||||
"http://mirror.csclub.uwaterloo.ca/fedora/"
|
||||
"http://ftp.linux.cz/pub/linux/fedora/"
|
||||
"http://ftp.heanet.ie/pub/fedora/"
|
||||
"http://mirror.1000mbps.com/fedora/"
|
||||
"http://archives.fedoraproject.org/pub/archive/fedora/"
|
||||
];
|
||||
|
||||
# openSUSE.
|
||||
opensuse = [
|
||||
"http://opensuse.hro.nl/opensuse/distribution/"
|
||||
"http://ftp.funet.fi/pub/linux/mirrors/opensuse/distribution/"
|
||||
"http://ftp.belnet.be/mirror/ftp.opensuse.org/distribution/"
|
||||
"http://ftp.uni-kassel.de/opensuse/distribution/"
|
||||
"http://ftp.opensuse.org/pub/opensuse/distribution/"
|
||||
"http://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/"
|
||||
"https://opensuse.hro.nl/opensuse/distribution/"
|
||||
"https://ftp.funet.fi/pub/linux/mirrors/opensuse/distribution/"
|
||||
"https://ftp.opensuse.org/pub/opensuse/distribution/"
|
||||
"https://ftp5.gwdg.de/pub/opensuse/discontinued/distribution/"
|
||||
"http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/"
|
||||
"http://opensuse.mirror.server4you.net/distribution/"
|
||||
"http://ftp.nsysu.edu.tw/Linux/OpenSuSE/distribution/"
|
||||
];
|
||||
|
||||
# Gnome (see http://ftp.gnome.org/pub/GNOME/MIRRORS).
|
||||
gnome = [
|
||||
# This one redirects to some mirror closeby, so it should be all you need.
|
||||
"http://download.gnome.org/"
|
||||
"https://download.gnome.org/"
|
||||
|
||||
"http://ftp.unina.it/pub/linux/GNOME/"
|
||||
"http://fr2.rpmfind.net/linux/gnome.org/"
|
||||
"ftp://ftp.dit.upm.es/pub/GNOME/"
|
||||
"http://ftp.acc.umu.se/pub/GNOME/"
|
||||
"http://ftp.belnet.be/mirror/ftp.gnome.org/"
|
||||
"http://linorg.usp.br/gnome/"
|
||||
"http://mirror.aarnet.edu.au/pub/GNOME/"
|
||||
"https://fr2.rpmfind.net/linux/gnome.org/"
|
||||
"https://ftp.acc.umu.se/pub/GNOME/"
|
||||
"https://ftp.belnet.be/mirror/ftp.gnome.org/"
|
||||
"ftp://ftp.cse.buffalo.edu/pub/Gnome/"
|
||||
"ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/"
|
||||
];
|
||||
|
||||
xfce = [
|
||||
"http://archive.xfce.org/"
|
||||
"http://mirror.netcologne.de/xfce/"
|
||||
"https://archive.xfce.org/"
|
||||
"https://mirror.netcologne.de/xfce/"
|
||||
"https://archive.be.xfce.org/xfce/"
|
||||
"https://archive.al-us.xfce.org/"
|
||||
"http://archive.se.xfce.org/xfce/"
|
||||
"http://archive.be.xfce.org/xfce/"
|
||||
"http://mirror.perldude.de/archive.xfce.org/"
|
||||
"http://archive.be2.xfce.org/"
|
||||
"http://ftp.udc.es/xfce/"
|
||||
"http://archive.al-us.xfce.org/"
|
||||
"http://mirror.yongbok.net/X11/xfce-mirror/"
|
||||
"http://mirrors.tummy.com/pub/archive.xfce.org/"
|
||||
"http://xfce.mirror.uber.com.au/"
|
||||
];
|
||||
|
||||
# X.org.
|
||||
|
@ -261,24 +237,19 @@
|
|||
"https://ftp.x.org/archive/"
|
||||
];
|
||||
|
||||
# Apache mirrors (see http://www.apache.org/mirrors/).
|
||||
apache = [
|
||||
"https://www-eu.apache.org/dist/"
|
||||
"https://ftp.wayne.edu/apache/"
|
||||
"http://www.eu.apache.org/dist/"
|
||||
"ftp://ftp.fu-berlin.de/unix/www/apache/"
|
||||
"http://ftp.tudelft.nl/apache/"
|
||||
"http://mirror.cc.columbia.edu/pub/software/apache/"
|
||||
"https://www.apache.org/dist/"
|
||||
"https://archive.apache.org/dist/" # fallback for old releases
|
||||
"https://apache.cs.uu.nl/"
|
||||
"https://apache.cs.utah.edu/"
|
||||
"http://ftp.tudelft.nl/apache/"
|
||||
"ftp://ftp.funet.fi/pub/mirrors/apache.org/"
|
||||
"http://apache.cs.uu.nl/"
|
||||
"http://apache.cs.utah.edu/"
|
||||
];
|
||||
|
||||
postgresql = [
|
||||
"http://ftp.postgresql.org/pub/"
|
||||
"ftp://ftp.postgresql.org/pub/"
|
||||
"https://ftp.postgresql.org/pub/"
|
||||
];
|
||||
|
||||
metalab = [
|
||||
|
@ -286,7 +257,7 @@
|
|||
"ftp://ftp.metalab.unc.edu/pub/linux/"
|
||||
];
|
||||
|
||||
# Bioconductor mirrors (from http://bioconductor.org/about/mirrors)
|
||||
# Bioconductor mirrors (from https://bioconductor.org/about/mirrors/)
|
||||
# The commented-out ones don't seem to allow direct package downloads;
|
||||
# they serve error messages that result in hash mismatches instead.
|
||||
bioc = [
|
||||
|
@ -295,82 +266,80 @@
|
|||
# http://bioconductor.fmrp.usp.br/
|
||||
# http://mirror.aarnet.edu.au/pub/bioconductor/
|
||||
# http://watson.nci.nih.gov/bioc_mirror/
|
||||
"https://bioconductor.statistik.tu-dortmund.de/packages/"
|
||||
"https://mirrors.ustc.edu.cn/bioc/"
|
||||
"http://bioconductor.jp/packages/"
|
||||
"http://bioconductor.statistik.tu-dortmund.de/packages/"
|
||||
"http://mirrors.ustc.edu.cn/bioc/"
|
||||
];
|
||||
|
||||
# Hackage mirrors
|
||||
hackage = [
|
||||
"http://hackage.haskell.org/package/"
|
||||
"http://hdiff.luite.com/packages/archive/package/"
|
||||
"http://hackage.fpcomplete.com/package/"
|
||||
"http://objects-us-east-1.dream.io/hackage-mirror/package/"
|
||||
"https://hackage.haskell.org/package/"
|
||||
];
|
||||
|
||||
# Roy marples mirrors
|
||||
roy = [
|
||||
"http://roy.marples.name/downloads/"
|
||||
"http://cflags.cc/roy/"
|
||||
"https://roy.marples.name/downloads/"
|
||||
"https://cflags.cc/roy/"
|
||||
];
|
||||
|
||||
# Sage mirrors (http://www.sagemath.org/mirrors.html)
|
||||
# Sage mirrors (https://www.sagemath.org/mirrors.html)
|
||||
sageupstream = [
|
||||
# Africa
|
||||
"ftp://ftp.sun.ac.za/pub/mirrors/www.sagemath.org/spkg/upstream/"
|
||||
"http://sagemath.mirror.ac.za/spkg/upstream/"
|
||||
"https://ftp.leg.uct.ac.za/pub/packages/sage/spkg/upstream/"
|
||||
"http://mirror.ufs.ac.za/sagemath/spkg/upstream/"
|
||||
# Africa (HTTPS)
|
||||
"https://sagemath.mirror.ac.za/spkg/upstream/"
|
||||
"https://mirror.ufs.ac.za/sagemath/spkg/upstream/"
|
||||
|
||||
# America, North
|
||||
"http://mirrors-usa.go-parts.com/sage/sagemath/spkg/upstream/"
|
||||
"http://mirrors.mit.edu/sage/spkg/upstream/"
|
||||
"http://www.cecm.sfu.ca/sage/spkg/upstream/"
|
||||
"http://files.sagemath.org/spkg/upstream/"
|
||||
"http://mirror.clibre.uqam.ca/sage/spkg/upstream/"
|
||||
# America, North (HTTPS)
|
||||
"https://mirrors.mit.edu/sage/spkg/upstream/"
|
||||
"https://mirrors.xmission.com/sage/spkg/upstream/"
|
||||
|
||||
# America, South
|
||||
"http://sagemath.c3sl.ufpr.br/spkg/upstream/"
|
||||
"http://linorg.usp.br/sage/spkg/upstream"
|
||||
|
||||
# Asia
|
||||
"http://mirror.hust.edu.cn/sagemath/spkg/upstream/"
|
||||
"https://ftp.iitm.ac.in/sage/spkg/upstream/"
|
||||
"http://ftp.kaist.ac.kr/sage/spkg/upstream/"
|
||||
"http://ftp.riken.jp/sagemath/spkg/upstream/"
|
||||
# Asia (HTTPS)
|
||||
"https://mirrors.tuna.tsinghua.edu.cn/sagemath/spkg/upstream/"
|
||||
"https://mirrors.ustc.edu.cn/sagemath/spkg/upstream/"
|
||||
"http://ftp.tsukuba.wide.ad.jp/software/sage/spkg/upstream/"
|
||||
"http://ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/"
|
||||
"https://ftp.yz.yamagata-u.ac.jp/pub/math/sage/spkg/upstream/"
|
||||
"https://mirror.yandex.ru/mirrors/sage.math.washington.edu/spkg/upstream/"
|
||||
|
||||
# Australia
|
||||
"http://mirror.aarnet.edu.au/pub/sage/spkg/upstream/"
|
||||
# Australia (HTTPS)
|
||||
"https://mirror.aarnet.edu.au/pub/sage/spkg/upstream/"
|
||||
|
||||
# Europe
|
||||
"http://sage.mirror.garr.it/mirrors/sage/spkg/upstream/"
|
||||
"http://mirror.switch.ch/mirror/sagemath/spkg/upstream/"
|
||||
# Europe (HTTPS)
|
||||
"https://sage.mirror.garr.it/mirrors/sage/spkg/upstream/"
|
||||
"https://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/"
|
||||
|
||||
# Africa (non-HTTPS)
|
||||
"ftp://ftp.sun.ac.za/pub/mirrors/www.sagemath.org/spkg/upstream/"
|
||||
|
||||
# America, North (non-HTTPS)
|
||||
"http://www.cecm.sfu.ca/sage/spkg/upstream/"
|
||||
|
||||
# America, South (non-HTTPS)
|
||||
"http://sagemath.c3sl.ufpr.br/spkg/upstream/"
|
||||
"http://linorg.usp.br/sage/spkg/upstream"
|
||||
|
||||
# Asia (non-HTTPS)
|
||||
"http://ftp.kaist.ac.kr/sage/spkg/upstream/"
|
||||
"http://ftp.riken.jp/sagemath/spkg/upstream/"
|
||||
|
||||
# Europe (non-HTTPS)
|
||||
"http://mirrors.fe.up.pt/pub/sage/spkg/upstream/"
|
||||
"http://www-ftp.lip6.fr/pub/math/sagemath/spkg/upstream/"
|
||||
"http://ftp.ntua.gr/pub/sagemath/spkg/upstream/"
|
||||
];
|
||||
|
||||
# MySQL mirrors
|
||||
mysql = [
|
||||
"http://cdn.mysql.com/Downloads/"
|
||||
"https://cdn.mysql.com/Downloads/"
|
||||
];
|
||||
|
||||
# OpenBSD mirrors
|
||||
openbsd = [
|
||||
"http://ftp.openbsd.org/pub/OpenBSD/"
|
||||
"https://ftp.openbsd.org/pub/OpenBSD/"
|
||||
"ftp://ftp.nluug.nl/pub/OpenBSD/"
|
||||
"ftp://ftp-stud.fht-esslingen.de/pub/OpenBSD/"
|
||||
];
|
||||
|
||||
# Steam Runtime mirrors
|
||||
steamrt = [
|
||||
"http://repo.steampowered.com/steamrt/"
|
||||
"https://repo.steampowered.com/steamrt/"
|
||||
"https://public.abbradar.moe/steamrt/"
|
||||
];
|
||||
|
||||
|
@ -389,7 +358,7 @@
|
|||
|
||||
# Mozilla projects.
|
||||
mozilla = [
|
||||
"http://download.cdn.mozilla.net/pub/mozilla.org/"
|
||||
"https://download.cdn.mozilla.net/pub/mozilla.org/"
|
||||
"https://archive.mozilla.org/pub/"
|
||||
];
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ in {
|
|||
arphic-ukai = fetchzip {
|
||||
name = "arphic-ukai-${version}";
|
||||
|
||||
url = "http://archive.ubuntu.com/ubuntu/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_${version}.orig.tar.bz2";
|
||||
url = "mirror://ubuntu/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_${version}.orig.tar.bz2";
|
||||
|
||||
postFetch = ''
|
||||
tar -xjvf $downloadedFile --strip-components=1
|
||||
|
@ -31,7 +31,7 @@ in {
|
|||
arphic-uming = fetchzip {
|
||||
name = "arphic-uming-${version}";
|
||||
|
||||
url = "http://archive.ubuntu.com/ubuntu/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_${version}.orig.tar.bz2";
|
||||
url = "mirror://ubuntu/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_${version}.orig.tar.bz2";
|
||||
|
||||
postFetch = ''
|
||||
tar -xjvf $downloadedFile --strip-components=1
|
||||
|
|
|
@ -11,7 +11,7 @@ in stdenv.mkDerivation rec {
|
|||
version = "4.16.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.apache.org/dist/flex/${version}/binaries/${pname}-${version}-bin.tar.gz";
|
||||
url = "mirror://apache/flex/${version}/binaries/${pname}-${version}-bin.tar.gz";
|
||||
sha256 = "13iq16dqvgcpb0p35x66hzxsq5pkbr2lbwr766nnqiryinnagz8p";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "20210808";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/com/google/javascript/closure-compiler/v${version}/closure-compiler-v${version}.jar";
|
||||
url = "mirror://maven/com/google/javascript/closure-compiler/v${version}/closure-compiler-v${version}.jar";
|
||||
sha256 = "1cvibvm8l4mp64ml6lpsh3w62bgbr42pi3i7ga8ss0prhr0dsk3y";
|
||||
};
|
||||
|
||||
|
|
11
pkgs/development/dhall-modules/dhall-grafana.nix
Normal file
11
pkgs/development/dhall-modules/dhall-grafana.nix
Normal file
|
@ -0,0 +1,11 @@
|
|||
{ dhallPackages, buildDhallGitHubPackage }:
|
||||
|
||||
buildDhallGitHubPackage {
|
||||
name = "grafana";
|
||||
owner = "weeezes";
|
||||
repo = "dhall-grafana";
|
||||
# 2021-11-05
|
||||
rev = "bf2f8c8ab44682c8cef4fdce2d2f7fbeb0cfe162";
|
||||
sha256 = "0h1l39kj49yvadpbw6jw3mc7qzsmhxlqqpx3cgnr9f063nh73f96";
|
||||
dependencies = [ dhallPackages.Prelude ];
|
||||
}
|
|
@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
postPatch = ''
|
||||
# Flaky on Hydra
|
||||
rm aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp
|
||||
# Includes aws-c-auth private headers, so only works with submodule build
|
||||
rm aws-cpp-sdk-core-tests/aws/auth/AWSAuthSignerTest.cpp
|
||||
'' + lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||
|
@ -66,7 +68,6 @@ stdenv.mkDerivation rec {
|
|||
# fix build with gcc9, can be removed after bumping to current version
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
|
||||
|
||||
# aws-cpp-sdk-core-tests/aws/auth/AWSCredentialsProviderTest.cpp
|
||||
# aws-cpp-sdk-core-tests/aws/client/AWSClientTest.cpp
|
||||
# seem to have a datarace
|
||||
enableParallelChecking = false;
|
||||
|
|
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
|||
version = "1.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://archive.mozilla.org/pub/opus/opus-${version}.tar.gz";
|
||||
url = "mirror://mozilla/opus/opus-${version}.tar.gz";
|
||||
sha256 = "17gz8kxs4i7icsc1gj713gadiapyklynlwqlf0ai98dj4lg8xdb5";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "0.2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://archive.mozilla.org/pub/opus/libopusenc-${version}.tar.gz";
|
||||
url = "mirror://mozilla/opus/libopusenc-${version}.tar.gz";
|
||||
sha256 = "1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642";
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
|||
version = "1.1.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://archive.ubuntu.com/ubuntu/pool/main/libu/libutempter/libutempter_${version}.orig.tar.bz2";
|
||||
url = "mirror://ubuntu/pool/main/libu/libutempter/libutempter_${version}.orig.tar.bz2";
|
||||
sha256 = "15y3xbgznjxnfmix4xg3bwmqdvghdw7slbhazb0ybmyf65gmd65q";
|
||||
};
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ in stdenv.mkDerivation rec {
|
|||
version = "5.15.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://downloads.sourceforge.net/project/${pname}/${pname}/${version}%20Source/${pname}-${version}.tar.gz";
|
||||
url = "mirror://sourceforge/project/${pname}/${pname}/${version}%20Source/${pname}-${version}.tar.gz";
|
||||
sha256 = "0ywccb6bs1389zjfmc9zwdvdsvlpm7vg957whh6b5a96yvcf8bdr";
|
||||
};
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
|||
version = "1.3.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.apache.org/dist/serf/${pname}-${version}.tar.bz2";
|
||||
url = "mirror://apache/serf/${pname}-${version}.tar.bz2";
|
||||
sha256 = "1k47gbgpp52049andr28y28nbwh9m36bbb0g8p0aka3pqlhjv72l";
|
||||
};
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
version = "10.01.0000";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.postgresql.org/pub/odbc/versions/src/${pname}-${version}.tar.gz";
|
||||
url = "mirror://postgresql/odbc/versions/src/${pname}-${version}.tar.gz";
|
||||
sha256 = "1cyams7157f3gry86x64xrplqi2vyqrq3rqka59gv4lb4rpl7jl7";
|
||||
};
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ in stdenv.mkDerivation rec {
|
|||
version = "1.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.eu.apache.org/dist/xalan/xalan-c/sources/xalan_c-${version}-src.tar.gz";
|
||||
url = "mirror://apache/xalan/xalan-c/sources/xalan_c-${version}-src.tar.gz";
|
||||
sha256 = "0a3a2b15vpacnqgpp6fiy1pwyc8q6ywzvyb5445f6wixfdspypjg";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "2.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.apache.org/dist/santuario/c-library/${pname}-${version}.tar.gz";
|
||||
url = "mirror://apache/santuario/c-library/${pname}-${version}.tar.gz";
|
||||
sha256 = "1prh5sxzipkqglpsh53iblbr7rxi54wbijxdjiahzjmrijqa40y3";
|
||||
};
|
||||
|
||||
|
|
|
@ -15,23 +15,23 @@ let
|
|||
proguardVersion = "5.3.3";
|
||||
|
||||
proguardGradlePOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.pom";
|
||||
sha256 = "03v9zm3ykfkyb5cs5ald07ph103fh68d5c33rv070r29p71dwszj";
|
||||
};
|
||||
proguardGradleJAR = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.jar";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.jar";
|
||||
sha256 = "0shhpsjfc5gam15jnv1hk718v5c7vi7dwdc3gvmnid6dc85kljzk";
|
||||
};
|
||||
proguardParentPOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-parent/${proguardVersion}/proguard-parent-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-parent/${proguardVersion}/proguard-parent-${proguardVersion}.pom";
|
||||
sha256 = "0mv0zbwyw8xa4mkc5kw69y5xqashkz9gp123akfvh9f6152l3202";
|
||||
};
|
||||
proguardBasePOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.pom";
|
||||
sha256 = "1jnr6zsxfimb8wglqlwa6rrdc3g3nqf1dyw0k2dq9cj0q4pgn7p5";
|
||||
};
|
||||
proguardBaseJAR = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.jar";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.jar";
|
||||
sha256 = "11nwdb9y84cghcx319nsjjf9m035s4s1184zrhzpvaxq2wvqhbhx";
|
||||
};
|
||||
|
||||
|
|
|
@ -15,23 +15,23 @@ let
|
|||
proguardVersion = "5.3.3";
|
||||
|
||||
proguardGradlePOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.pom";
|
||||
sha256 = "03v9zm3ykfkyb5cs5ald07ph103fh68d5c33rv070r29p71dwszj";
|
||||
};
|
||||
proguardGradleJAR = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.jar";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.jar";
|
||||
sha256 = "0shhpsjfc5gam15jnv1hk718v5c7vi7dwdc3gvmnid6dc85kljzk";
|
||||
};
|
||||
proguardParentPOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-parent/${proguardVersion}/proguard-parent-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-parent/${proguardVersion}/proguard-parent-${proguardVersion}.pom";
|
||||
sha256 = "0mv0zbwyw8xa4mkc5kw69y5xqashkz9gp123akfvh9f6152l3202";
|
||||
};
|
||||
proguardBasePOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.pom";
|
||||
sha256 = "1jnr6zsxfimb8wglqlwa6rrdc3g3nqf1dyw0k2dq9cj0q4pgn7p5";
|
||||
};
|
||||
proguardBaseJAR = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.jar";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.jar";
|
||||
sha256 = "11nwdb9y84cghcx319nsjjf9m035s4s1184zrhzpvaxq2wvqhbhx";
|
||||
};
|
||||
|
||||
|
|
|
@ -15,23 +15,23 @@ let
|
|||
proguardVersion = "5.3.3";
|
||||
|
||||
proguardGradlePOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.pom";
|
||||
sha256 = "03v9zm3ykfkyb5cs5ald07ph103fh68d5c33rv070r29p71dwszj";
|
||||
};
|
||||
proguardGradleJAR = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.jar";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-gradle/${proguardVersion}/proguard-gradle-${proguardVersion}.jar";
|
||||
sha256 = "0shhpsjfc5gam15jnv1hk718v5c7vi7dwdc3gvmnid6dc85kljzk";
|
||||
};
|
||||
proguardParentPOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-parent/${proguardVersion}/proguard-parent-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-parent/${proguardVersion}/proguard-parent-${proguardVersion}.pom";
|
||||
sha256 = "0mv0zbwyw8xa4mkc5kw69y5xqashkz9gp123akfvh9f6152l3202";
|
||||
};
|
||||
proguardBasePOM = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.pom";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.pom";
|
||||
sha256 = "1jnr6zsxfimb8wglqlwa6rrdc3g3nqf1dyw0k2dq9cj0q4pgn7p5";
|
||||
};
|
||||
proguardBaseJAR = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.jar";
|
||||
url = "mirror://maven/net/sf/proguard/proguard-base/${proguardVersion}/proguard-base-${proguardVersion}.jar";
|
||||
sha256 = "11nwdb9y84cghcx319nsjjf9m035s4s1184zrhzpvaxq2wvqhbhx";
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ stdenv.mkDerivation {
|
|||
name = "ocaml${ocaml.version}-inifiles-1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://archive.ubuntu.com/ubuntu/pool/universe/o/ocaml-inifiles/ocaml-inifiles_1.2.orig.tar.gz";
|
||||
url = "mirror://ubuntu/pool/universe/o/ocaml-inifiles/ocaml-inifiles_1.2.orig.tar.gz";
|
||||
sha256 = "0jhzgiypmh6hwsv1zpiq77fi0cvcmwbiy5x0yg7mz6p3dh1dmkns";
|
||||
};
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
, asyncio-dgram
|
||||
, asynctest
|
||||
, buildPythonPackage
|
||||
, docutils
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pytest-aiohttp
|
||||
|
@ -15,13 +16,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "aioguardian";
|
||||
version = "2021.10.0";
|
||||
version = "2021.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bachya";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-LKtuBMbpaVnp/eQ5hW1RQiArEBw4Lw+29y/q6Dq/tyI=";
|
||||
sha256 = "sha256-jQIRACm0d0a5mQqlwxSTgLZfJFvGLWuJTb/MacppmS4=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
@ -34,6 +35,7 @@ buildPythonPackage rec {
|
|||
aiohttp
|
||||
async-timeout
|
||||
asyncio-dgram
|
||||
docutils
|
||||
voluptuous
|
||||
];
|
||||
|
||||
|
@ -45,9 +47,18 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [ "examples/" ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'docutils = "<0.18"' 'docutils = "*"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "aioguardian" ];
|
||||
disabledTestPaths = [
|
||||
"examples/"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aioguardian"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = " Python library to interact with Elexa Guardian devices";
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
, appdirs
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, importlib-metadata
|
||||
, poetry-core
|
||||
, pyee
|
||||
, pytest-xdist
|
||||
|
@ -16,9 +17,10 @@
|
|||
buildPythonPackage rec {
|
||||
pname = "pyppeteer";
|
||||
version = "0.2.6";
|
||||
disabled = pythonOlder "3.6";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
|
@ -32,6 +34,7 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
importlib-metadata
|
||||
pyee
|
||||
tqdm
|
||||
urllib3
|
||||
|
@ -44,6 +47,11 @@ buildPythonPackage rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'websockets = "^9.1"' 'websockets = "*"'
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
# Requires network access
|
||||
"tests/test_browser.py"
|
||||
|
@ -71,12 +79,14 @@ buildPythonPackage rec {
|
|||
"TestPDF"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pyppeteer" ];
|
||||
pythonImportsCheck = [
|
||||
"pyppeteer"
|
||||
];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Headless chrome/chromium automation library (unofficial port of puppeteer)";
|
||||
homepage = "https://github.com/pyppeteer/pyppeteer";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ kmein ];
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ kmein ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
src = fetchurl {
|
||||
url =
|
||||
"https://repo1.maven.org/maven2/org/apache/avro/avro-tools/${version}/${pname}-${version}.jar";
|
||||
"mirror://maven/org/apache/avro/avro-tools/${version}/${pname}-${version}.jar";
|
||||
sha256 = "169cv4fjsj69fa2s87gh1i7wk0xzh3l7sx5yyz3cgyjalg4a12n1";
|
||||
};
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ stdenv.mkDerivation rec{
|
|||
pname = "flyway";
|
||||
version = "7.13.0";
|
||||
src = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz";
|
||||
url = "mirror://maven/org/flywaydb/flyway-commandline/${version}/flyway-commandline-${version}.tar.gz";
|
||||
sha256 = "sha256-rZUVxswJdCFKwuXlzko+t+ZO1plRgH2VcZFJ5kkiM2s=";
|
||||
};
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
|
@ -4,7 +4,7 @@ let
|
|||
version = "1.2-0";
|
||||
|
||||
libstdcpp5 = fetchurl {
|
||||
url = "http://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb";
|
||||
url = "mirror://ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb";
|
||||
sha256 = "10f8zcmqaa7skvg2bz94mnlgqpan4iscvi8913r6iawjh7hiisjy";
|
||||
};
|
||||
in
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "1.3.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://distfiles.gentoo.org/distfiles/${pname}-${version}.tar.xz";
|
||||
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-7sp/vZi8Zr6tSncADCAl2fF+qCAbhCRYgkBs4AubaxQ=";
|
||||
};
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
|||
version = "0.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.metalab.unc.edu/pub/linux/system/network/finger/bsd-finger-${version}.tar.gz";
|
||||
url = "mirror://metalab/system/network/finger/bsd-finger-${version}.tar.gz";
|
||||
sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244";
|
||||
};
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
|
|||
pname = "jetty";
|
||||
version = "9.4.43.v20210629";
|
||||
src = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-distribution/${version}/jetty-distribution-${version}.tar.gz";
|
||||
url = "mirror://maven/org/eclipse/jetty/jetty-distribution/${version}/jetty-distribution-${version}.tar.gz";
|
||||
sha256 = "sha256-AfrmVLCZMuRGAZqoWeevbgXifbreErVM17rjJJ/HI9k=";
|
||||
};
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ in stdenv.mkDerivation rec {
|
|||
pname = "brasero";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.gnome.org/sources/brasero/${major}/${pname}-${version}.tar.xz";
|
||||
url = "mirror://gnome/sources/brasero/${major}/${pname}-${version}.tar.xz";
|
||||
sha256 = "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8";
|
||||
};
|
||||
|
||||
|
|
31
pkgs/tools/misc/octofetch/default.nix
Normal file
31
pkgs/tools/misc/octofetch/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, openssl
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "octofetch";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "azur1s";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-ciBFTVdHotjifNAoXJjI9CumyK98OkMmfWMbrEldlNI=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-Gzemm5HY6YwlxesQlil6R+34OtAeU2k7f/9+Lll3i8k=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Github user information on terminal";
|
||||
homepage = "https://github.com/azur1s/octofetch";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jyooru ];
|
||||
};
|
||||
}
|
|
@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
|
|||
version = "0.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.metalab.unc.edu/pub/linux/system/network/finger/bsd-finger-${version}.tar.gz";
|
||||
url = "mirror://metalab/system/network/finger/bsd-finger-${version}.tar.gz";
|
||||
sha256 = "1yhkiv0in588il7f84k2xiy78g9lv12ll0y7047gazhiimk5v244";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "1.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://archive.ubuntu.com/ubuntu/pool/universe/d/dhcpdump/dhcpdump_${version}.orig.tar.gz";
|
||||
url = "mirror://ubuntu/pool/universe/d/dhcpdump/dhcpdump_${version}.orig.tar.gz";
|
||||
sha256 = "143iyzkqvhj4dscwqs75jvfr4wvzrs11ck3fqn5p7yv2h50vjpkd";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "0.9.26";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://repo1.maven.org/maven2/com/aestasit/infrastructure/${pname}/${pname}/${version}/${pname}-${version}.zip";
|
||||
url = "mirror://maven/com/aestasit/infrastructure/${pname}/${pname}/${version}/${pname}-${version}.zip";
|
||||
sha256 = "134qlx90y82g1rfxhyn12z9r2imm1l3fz09hrrn3pgcdcq5jz2s1";
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/io/swagger/${pname}-cli/${version}/${jarfilename}";
|
||||
url = "mirror://maven/io/swagger/${pname}-cli/${version}/${jarfilename}";
|
||||
sha256 = "04wl5k8k1ziqz7k5w0g7i6zdfn41pbh3k0m8vq434k1886inf8yn";
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://repo1.maven.org/maven2/io/swagger/codegen/v3/${pname}-cli/${version}/${jarfilename}";
|
||||
url = "mirror://maven/io/swagger/codegen/v3/${pname}-cli/${version}/${jarfilename}";
|
||||
sha256 = "sha256-sEwqUmtWaoBV0QmdP8ibm3neqWHk7+tWLAuO2FaCUtQ=";
|
||||
};
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
|||
version = "2.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.samba.org/ftp/paulus/${pname}-${version}.tar.gz";
|
||||
url = "mirror://samba/paulus/${pname}-${version}.tar.gz";
|
||||
sha256 = "0lljd8av68j70733yshzzhxjr1lm0vgmbqsm8f02g03qsma3cdyb";
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
patchsrc = fetchurl {
|
||||
url = "http://ftp.debian.org/debian/pool/main/j/jade/jade_${version}-${debpatch}.diff.gz";
|
||||
url = "mirror://debian/pool/main/j/jade/jade_${version}-${debpatch}.diff.gz";
|
||||
sha256 = "8e94486898e3503308805f856a65ba5b499a6f21994151270aa743de48305464";
|
||||
};
|
||||
|
||||
|
|
|
@ -8035,6 +8035,8 @@ with pkgs;
|
|||
|
||||
ocserv = callPackage ../tools/networking/ocserv { };
|
||||
|
||||
octofetch = callPackage ../tools/misc/octofetch { };
|
||||
|
||||
oha = callPackage ../tools/networking/oha {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
@ -23760,7 +23762,9 @@ with pkgs;
|
|||
|
||||
antiword = callPackage ../applications/office/antiword {};
|
||||
|
||||
anup = callPackage ../applications/misc/anup {};
|
||||
anup = callPackage ../applications/misc/anup {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
anytype = callPackage ../applications/misc/anytype { };
|
||||
|
||||
|
|
|
@ -27,6 +27,9 @@ let
|
|||
|
||||
lib = import ../development/dhall-modules/lib.nix { inherit lib; };
|
||||
|
||||
dhall-grafana =
|
||||
callPackage ../development/dhall-modules/dhall-grafana.nix { };
|
||||
|
||||
dhall-kubernetes =
|
||||
callPackage ../development/dhall-modules/dhall-kubernetes.nix { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue