Merge master into staging-next
This commit is contained in:
commit
9c5e7367d1
@ -313,6 +313,12 @@
|
||||
githubId = 2387841;
|
||||
name = "Alexander Bakker";
|
||||
};
|
||||
alexbiehl = {
|
||||
email = "alexbiehl@gmail.com";
|
||||
github = "alexbiehl";
|
||||
githubId = 1876617;
|
||||
name = "Alex Biehl";
|
||||
};
|
||||
alexchapman = {
|
||||
email = "alex@farfromthere.net";
|
||||
github = "AJChapman";
|
||||
@ -5008,6 +5014,10 @@
|
||||
github = "mdlayher";
|
||||
githubId = 1926905;
|
||||
name = "Matt Layher";
|
||||
keys = [{
|
||||
longkeyid = "rsa2048/0x77BFE531397EDE94";
|
||||
fingerprint = "D709 03C8 0BE9 ACDC 14F0 3BFB 77BF E531 397E DE94";
|
||||
}];
|
||||
};
|
||||
meditans = {
|
||||
email = "meditans@gmail.com";
|
||||
|
@ -32,7 +32,10 @@ in {
|
||||
|
||||
environment.systemPackages = [ pkgs.tuptime ];
|
||||
|
||||
users.users.tuptime.description = "tuptime database owner";
|
||||
users = {
|
||||
groups._tuptime.members = [ "_tuptime" ];
|
||||
users._tuptime.description = "tuptime database owner";
|
||||
};
|
||||
|
||||
systemd = {
|
||||
services = {
|
||||
@ -45,7 +48,7 @@ in {
|
||||
serviceConfig = {
|
||||
StateDirectory = "tuptime";
|
||||
Type = "oneshot";
|
||||
User = "tuptime";
|
||||
User = "_tuptime";
|
||||
RemainAfterExit = true;
|
||||
ExecStart = "${pkgs.tuptime}/bin/tuptime -x";
|
||||
ExecStop = "${pkgs.tuptime}/bin/tuptime -xg";
|
||||
@ -57,7 +60,7 @@ in {
|
||||
serviceConfig = {
|
||||
StateDirectory = "tuptime";
|
||||
Type = "oneshot";
|
||||
User = "tuptime";
|
||||
User = "_tuptime";
|
||||
ExecStart = "${pkgs.tuptime}/bin/tuptime -x";
|
||||
};
|
||||
};
|
||||
|
@ -20,10 +20,10 @@ let
|
||||
in valueType;
|
||||
dynamicConfigFile = if cfg.dynamicConfigFile == null then
|
||||
pkgs.runCommand "config.toml" {
|
||||
buildInputs = [ pkgs.remarshal ];
|
||||
buildInputs = [ pkgs.yj ];
|
||||
preferLocalBuild = true;
|
||||
} ''
|
||||
remarshal -if json -of toml \
|
||||
yj -jt -i \
|
||||
< ${
|
||||
pkgs.writeText "dynamic_config.json"
|
||||
(builtins.toJSON cfg.dynamicConfigOptions)
|
||||
|
@ -128,7 +128,10 @@ in
|
||||
Nice = 19;
|
||||
IOSchedulingClass = "idle";
|
||||
ExecStart = "${pkgs.btrfs-progs}/bin/btrfs scrub start -B ${fs}";
|
||||
ExecStop = "${pkgs.btrfs-progs}/bin/btrfs scrub cancel ${fs}";
|
||||
# if the service is stopped before scrub end, cancel it
|
||||
ExecStop = pkgs.writeShellScript "btrfs-scrub-maybe-cancel" ''
|
||||
(${pkgs.btrfs-progs}/bin/btrfs scrub status ${fs} | ${pkgs.gnugrep}/bin/grep finished) || ${pkgs.btrfs-progs}/bin/btrfs scrub cancel ${fs}
|
||||
'';
|
||||
};
|
||||
};
|
||||
in listToAttrs (map scrubService cfgScrub.fileSystems);
|
||||
|
@ -42,6 +42,20 @@ import ./make-test-python.nix ({ pkgs, ... }: {
|
||||
"docker rmi ${examples.nix.imageName}",
|
||||
)
|
||||
|
||||
with subtest("The nix binary symlinks are intact"):
|
||||
docker.succeed(
|
||||
"docker load --input='${examples.nix}'",
|
||||
"docker run --rm ${examples.nix.imageName} ${pkgs.bash}/bin/bash -c 'test nix == $(readlink ${pkgs.nix}/bin/nix-daemon)'",
|
||||
"docker rmi ${examples.nix.imageName}",
|
||||
)
|
||||
|
||||
with subtest("The nix binary symlinks are intact when the image is layered"):
|
||||
docker.succeed(
|
||||
"docker load --input='${examples.nixLayered}'",
|
||||
"docker run --rm ${examples.nixLayered.imageName} ${pkgs.bash}/bin/bash -c 'test nix == $(readlink ${pkgs.nix}/bin/nix-daemon)'",
|
||||
"docker rmi ${examples.nixLayered.imageName}",
|
||||
)
|
||||
|
||||
with subtest("The pullImage tool works"):
|
||||
docker.succeed(
|
||||
"docker load --input='${examples.nixFromDockerHub}'",
|
||||
|
49
pkgs/applications/audio/librespot/default.nix
Normal file
49
pkgs/applications/audio/librespot/default.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl
|
||||
, withRodio ? true
|
||||
, withALSA ? true, alsaLib ? null
|
||||
, withPulseAudio ? false, libpulseaudio ? null
|
||||
, withPortAudio ? false, portaudio ? null
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "librespot";
|
||||
version = "0.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "librespot-org";
|
||||
repo = "librespot";
|
||||
rev = "v${version}";
|
||||
sha256 = "1sdbjv8w2mfpv82rx5iy4s532l1767vmlrg9d8khnvh8vrm2lshy";
|
||||
};
|
||||
|
||||
cargoSha256 = "0zi50imjvalwl6pxl35qrmbg74j5xdfaws8v69am4g9agbfjvlms";
|
||||
|
||||
cargoBuildFlags = with stdenv.lib; [
|
||||
"--no-default-features"
|
||||
"--features"
|
||||
(concatStringsSep "," (filter (x: x != "") [
|
||||
(optionalString withRodio "rodio-backend")
|
||||
(optionalString withALSA "alsa-backend")
|
||||
(optionalString withPulseAudio "pulseaudio-backend")
|
||||
(optionalString withPortAudio "portaudio-backend")
|
||||
|
||||
]))
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ stdenv.lib.optional withALSA alsaLib
|
||||
++ stdenv.lib.optional withPulseAudio libpulseaudio
|
||||
++ stdenv.lib.optional withPortAudio portaudio;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Open Source Spotify client library and playback daemon";
|
||||
homepage = "https://github.com/librespot-org/librespot";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ bennofs ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -8,15 +8,15 @@
|
||||
|
||||
assert stdenv ? glibc;
|
||||
|
||||
# http://download.eclipse.org/eclipse/downloads/ is the main place to
|
||||
# https://download.eclipse.org/eclipse/downloads/ is the main place to
|
||||
# find the downloads needed for new versions
|
||||
|
||||
let
|
||||
platform_major = "4";
|
||||
platform_minor = "15";
|
||||
platform_minor = "16";
|
||||
year = "2020";
|
||||
month = "03";
|
||||
timestamp = "${year}${month}050155";
|
||||
month = "06";
|
||||
timestamp = "${year}${month}040540";
|
||||
gtk = gtk3;
|
||||
in rec {
|
||||
|
||||
@ -33,8 +33,8 @@ in rec {
|
||||
description = "Eclipse IDE for C/C++ Developers";
|
||||
src =
|
||||
fetchurl {
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-incubation-linux-gtk-x86_64.tar.gz";
|
||||
sha512 = "2wy4a3p347fajr9zsfz1zlvz6jpy3vficdry27m5fs0azfmxmy2cfns5hh18sin4xqq3jvqppfqxh41rzcpcmiq12zhc6cz42brqgxw";
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
|
||||
sha512 = "0vfxzsvfv9zmd0ckrdpziijzskh13g8kgk8ibkwmhmqmj14a3visk6yvn5q2s0knkswl1zy9arinw0mxvqh72dfj63vwc01vhp06lyr";
|
||||
};
|
||||
};
|
||||
|
||||
@ -46,7 +46,7 @@ in rec {
|
||||
src =
|
||||
fetchurl {
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-modeling-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
|
||||
sha512 = "0qccsclay9000sqrymm8hkg70a4jcvd70vymw1kkxsklcs7dnrhch55an98gbzf9r0jgd1ap62a4hyxlnm6hdqqniwcgdza0i4nwwgj";
|
||||
sha512 = "29nr1x3fgdw5ygrppfma6yi1iaqvad24jyb58sag735z1nz4ymajcwakg52mlv3s19d4w8cxpskh1r459mwz7j769qplymspqifvlkd";
|
||||
};
|
||||
};
|
||||
|
||||
@ -58,7 +58,7 @@ in rec {
|
||||
src =
|
||||
fetchurl {
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-platform-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz";
|
||||
sha512 = "01rv5x7qqm0a2p30828z2snms3nb2kjx9si63sr5rdkdgr3vbh6xq8n8fn757dqazmpz9zskmwxxmbxnwycfllhgb8msb77pcy3fpg7";
|
||||
sha512 = "2pm4xam0jn9x34k1hr5rn67fpvc6snlkpcfn4bzdcf2xjv9f3dr2039mkcrhri5nv2bj6fkbai6aga6fmmrb3na33b7ir7sqlqqn61b";
|
||||
};
|
||||
};
|
||||
|
||||
@ -83,7 +83,7 @@ in rec {
|
||||
src =
|
||||
fetchurl {
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-SDK-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz";
|
||||
sha512 = "33ra8qslwz73240xzjvr751lpl94drlcf425a7kxngq1qla2cda7gxr71bxlr9fm2hrqq0h097ihmg0ix9hv2dmwnc76gp4hwwrlk41";
|
||||
sha512 = "195c07yabmi2a42qxfmpbv6ychpj15bbpgyp40s1pcdb3p875vcqjinq9dqy2sixzwjhfdrggpvwihav87rkih9arzmk2s4cm31mjqd";
|
||||
};
|
||||
};
|
||||
|
||||
@ -95,7 +95,7 @@ in rec {
|
||||
src =
|
||||
fetchurl {
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-java-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
|
||||
sha512 = "0ffa1q19z31j8i552mp9zg4v0p4iv002cvlzh49ia8hi0hgk75pbkp6vxlr75jz0as03n71f0ww8xbflji31qgwfmy6rs1rzqihfff9";
|
||||
sha512 = "3n8jllgxarrxgz16n7zb4bgaqxk0m9frcxrgdxvy25ar2iw8js4q4ir3cc20y4ri3ii74rf3jy6n4ndhm57miwqh4p2wqzhfjlinirb";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -254,12 +254,13 @@ rec {
|
||||
|
||||
cdt = buildEclipseUpdateSite rec {
|
||||
name = "cdt-${version}";
|
||||
version = "9.11.0";
|
||||
# find current version at https://www.eclipse.org/cdt/downloads.php
|
||||
version = "9.11.1";
|
||||
|
||||
src = fetchzip {
|
||||
stripRoot = false;
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/tools/cdt/releases/9.11/${name}/${name}.zip";
|
||||
sha256 = "1730w6rbv649nzfalfd10p2ph0z9rbrrcflga0n1dpmg181xh9lk";
|
||||
sha256 = "00cpaal6jm9xb4nbkljrf381r3lf1rb1p06vrbn4l0lxnbckb9df";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
@ -474,12 +475,12 @@ rec {
|
||||
|
||||
jdt = buildEclipseUpdateSite rec {
|
||||
name = "jdt-${version}";
|
||||
version = "4.15";
|
||||
version = "4.16";
|
||||
|
||||
src = fetchzip {
|
||||
stripRoot = false;
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-${version}-202003050155/org.eclipse.jdt-${version}.zip";
|
||||
sha256 = "1dm4qgfb6rm7w0dk8br071c7wy0ybp7zrwvr3i02c2bxzy2psz7q";
|
||||
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-${version}-202006040540/org.eclipse.jdt-${version}.zip";
|
||||
sha256 = "0g349hg2nv1y628daxf84396wpf33z52wxv0gawlgrirbbizaznd";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kdev-php";
|
||||
version = "5.5.1";
|
||||
version = "5.5.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
|
||||
sha256 = "1z3mmlg5srzff0y1pjd4wfdf9k4rzk7gfdvbvzizkiy395qw1phv";
|
||||
sha256 = "0z32x0297g078jk3jhzb4vrf8jhw0qprvqzm9p097h8x0026w42l";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake extra-cmake-modules ];
|
||||
|
@ -1,12 +1,12 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
backports (3.17.0)
|
||||
backports (3.17.2)
|
||||
concurrent-ruby (1.1.6)
|
||||
crass (1.0.6)
|
||||
execjs (2.7.0)
|
||||
ffi (1.12.2)
|
||||
gemojione (4.3.2)
|
||||
ffi (1.13.1)
|
||||
gemojione (4.3.3)
|
||||
json
|
||||
github-markup (3.0.4)
|
||||
gollum (5.0.1)
|
||||
@ -25,28 +25,28 @@ GEM
|
||||
therubyrhino (~> 2.1.0)
|
||||
uglifier (~> 3.2)
|
||||
useragent (~> 0.16.2)
|
||||
gollum-lib (5.0.3)
|
||||
gollum-lib (5.0.4)
|
||||
gemojione (~> 4.1)
|
||||
github-markup (~> 3.0)
|
||||
gollum-rugged_adapter (~> 0.99.4, >= 0.99.4)
|
||||
gollum-rugged_adapter (~> 1.0)
|
||||
loofah (~> 2.3)
|
||||
nokogiri (~> 1.8)
|
||||
octicons (~> 8.5)
|
||||
rouge (~> 3.1)
|
||||
twitter-text (= 1.14.7)
|
||||
gollum-rugged_adapter (0.99.4)
|
||||
gollum-rugged_adapter (1.0)
|
||||
mime-types (>= 1.15)
|
||||
rugged (~> 0.99)
|
||||
json (2.3.0)
|
||||
kramdown (2.1.0)
|
||||
kramdown-parser-gfm (1.0.1)
|
||||
kramdown (~> 2.0)
|
||||
loofah (2.5.0)
|
||||
loofah (2.6.0)
|
||||
crass (~> 1.0.2)
|
||||
nokogiri (>= 1.5.9)
|
||||
mime-types (3.3.1)
|
||||
mime-types-data (~> 3.2015)
|
||||
mime-types-data (3.2019.1009)
|
||||
mime-types-data (3.2020.0512)
|
||||
mini_portile2 (2.4.0)
|
||||
multi_json (1.14.1)
|
||||
mustache (0.99.8)
|
||||
@ -56,14 +56,14 @@ GEM
|
||||
mini_portile2 (~> 2.4.0)
|
||||
octicons (8.5.0)
|
||||
nokogiri (>= 1.6.3.1)
|
||||
rack (2.2.2)
|
||||
rack (2.2.3)
|
||||
rack-protection (2.0.8.1)
|
||||
rack
|
||||
rb-fsevent (0.10.3)
|
||||
rb-fsevent (0.10.4)
|
||||
rb-inotify (0.10.1)
|
||||
ffi (~> 1.0)
|
||||
rexml (3.2.4)
|
||||
rouge (3.17.0)
|
||||
rouge (3.20.0)
|
||||
rss (0.2.9)
|
||||
rexml
|
||||
ruby2_keywords (0.0.2)
|
||||
@ -88,7 +88,7 @@ GEM
|
||||
sprockets (3.7.2)
|
||||
concurrent-ruby (~> 1.0)
|
||||
rack (> 1, < 3)
|
||||
sprockets-helpers (1.2.3)
|
||||
sprockets-helpers (1.3.0)
|
||||
sprockets (>= 2.2)
|
||||
therubyrhino (2.1.2)
|
||||
therubyrhino_jar (>= 1.7.4, < 1.7.9)
|
||||
|
@ -4,10 +4,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "13ywgyyxzlgks7nb17gwqjmdqjjmhc8si3iliv8jhf51lb3s865v";
|
||||
sha256 = "0rg58rd3hgk8wz4fbapn3szwgymk1q9lv4ywg37bkbcflsbi70iy";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.17.0";
|
||||
version = "3.17.2";
|
||||
};
|
||||
concurrent-ruby = {
|
||||
groups = ["default"];
|
||||
@ -44,10 +44,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "10lfhahnnc91v63xpvk65apn61pib086zha3z5sp1xk9acfx12h4";
|
||||
sha256 = "12lpwaw82bb0rm9f52v1498bpba8aj2l2q359mkwbxsswhpga5af";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.12.2";
|
||||
version = "1.13.1";
|
||||
};
|
||||
gemojione = {
|
||||
dependencies = ["json"];
|
||||
@ -55,10 +55,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "097mrsahv1h67kjrk1cpiqc1cbrfgvlp2rqwmzdzxrq0kx50461w";
|
||||
sha256 = "0fwd523pgr72w3w6jwpz9i6sggvz52d7831a1s4y3lv8m50j6ima";
|
||||
type = "gem";
|
||||
};
|
||||
version = "4.3.2";
|
||||
version = "4.3.3";
|
||||
};
|
||||
github-markup = {
|
||||
groups = ["default"];
|
||||
@ -87,10 +87,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0r59fyf7i4rlp6wj9ilnqd9pmgpkafv0yl4jmrxa6hr2p4cmnf1g";
|
||||
sha256 = "0pr3djmawqpmifyadw1vfzdkq720dsaqih1wf8k2vksw0lr9la74";
|
||||
type = "gem";
|
||||
};
|
||||
version = "5.0.3";
|
||||
version = "5.0.4";
|
||||
};
|
||||
gollum-rugged_adapter = {
|
||||
dependencies = ["mime-types" "rugged"];
|
||||
@ -98,10 +98,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0016yfac3b3sy34k9wrqg422mjm8cpd1jd1m4gdn4x2d4jxhxkzq";
|
||||
sha256 = "0ln12976vm1ks74yyrssdx576b1z0hs8r82fivr366knv5hlcrdm";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.99.4";
|
||||
version = "1.0";
|
||||
};
|
||||
json = {
|
||||
groups = ["default"];
|
||||
@ -140,10 +140,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0jk9fgn5ayzbqvzqm11gbkqvas77zdbpkvynlylyiwynclgrn040";
|
||||
sha256 = "1s9hq8bpn6g5vqr3nzyirn3agn7x8agan6151zvq5vmkf6rvmyb2";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.5.0";
|
||||
version = "2.6.0";
|
||||
};
|
||||
mime-types = {
|
||||
dependencies = ["mime-types-data"];
|
||||
@ -161,10 +161,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "18x61fc36951vw7f74gq8cyybdpxvyg5d0azvqhrs82ddw3v16xh";
|
||||
sha256 = "1z75svngyhsglx0y2f9rnil2j08f9ab54b3l95bpgz67zq2if753";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.2019.1009";
|
||||
version = "3.2020.0512";
|
||||
};
|
||||
mini_portile2 = {
|
||||
groups = ["default"];
|
||||
@ -234,10 +234,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "10mp9s48ssnw004aksq90gvhdvwczh8j6q82q2kqiqq92jd1zxbp";
|
||||
sha256 = "0i5vs0dph9i5jn8dfc6aqd6njcafmb20rwqngrf759c9cvmyff16";
|
||||
type = "gem";
|
||||
};
|
||||
version = "2.2.2";
|
||||
version = "2.2.3";
|
||||
};
|
||||
rack-protection = {
|
||||
dependencies = ["rack"];
|
||||
@ -255,10 +255,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1lm1k7wpz69jx7jrc92w3ggczkjyjbfziq5mg62vjnxmzs383xx8";
|
||||
sha256 = "1k9bsj7ni0g2fd7scyyy1sk9dy2pg9akniahab0iznvjmhn54h87";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.10.3";
|
||||
version = "0.10.4";
|
||||
};
|
||||
rb-inotify = {
|
||||
dependencies = ["ffi"];
|
||||
@ -286,10 +286,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "0xl7k5paf66p57sphm4nfa4k86yf93lhdzzr0cv0l4divq12g2pr";
|
||||
sha256 = "1r5npy9a95qh5v74lw7ir3nhaq4xrzyhfdixd7c5xy295i92nnic";
|
||||
type = "gem";
|
||||
};
|
||||
version = "3.17.0";
|
||||
version = "3.20.0";
|
||||
};
|
||||
rss = {
|
||||
dependencies = ["rexml"];
|
||||
@ -383,10 +383,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1hy67dwz76n5db00d9n3qy59ici96c2g25c9xpmp2nh8ilvha338";
|
||||
sha256 = "14iq8v16l31bfq7pikfmgcv5x6pkc5lbdmwwg6zlzcy1bibcliar";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.2.3";
|
||||
version = "1.3.0";
|
||||
};
|
||||
therubyrhino = {
|
||||
dependencies = ["therubyrhino_jar"];
|
||||
|
36
pkgs/applications/misc/openrgb/default.nix
Normal file
36
pkgs/applications/misc/openrgb/default.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ mkDerivation, lib, fetchFromGitHub, qmake, libusb1, hidapi }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "openrgb";
|
||||
version = "0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CalcProgrammer1";
|
||||
repo = "OpenRGB";
|
||||
rev = "release_${version}";
|
||||
sha256 = "0b1mkp4ca4gdzk020kp6dkd3i9a13h4ikrn3417zscsvv5y9kv0s";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
buildInputs = [ libusb1 hidapi ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp OpenRGB $out/bin
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
$out/bin/OpenRGB --help > /dev/null
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open source RGB lighting control";
|
||||
homepage = "https://gitlab.com/CalcProgrammer1/OpenRGB";
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rambox-pro";
|
||||
version = "1.3.1";
|
||||
version = "1.3.2";
|
||||
|
||||
dontBuild = true;
|
||||
dontStrip = true;
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ramboxapp/download/releases/download/v${version}/RamboxPro-${version}-linux-x64.tar.gz";
|
||||
sha256 = "1cy4h2yzrpr3gxd16p4323w06i67d82jjlyx737c3ngzw7aahmq1";
|
||||
sha256 = "010v5i8lxfz77cb5cn9va5cbnfa28nzdymk5k2fcpi65jldw1pxx";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
@ -1,18 +1,18 @@
|
||||
{ stdenv, fetchFromGitHub, gettext, makeWrapper, tcl, which, writeScript
|
||||
, ncurses, perl , cyrus_sasl, gss, gpgme, kerberos, libidn, libxml2, notmuch, openssl
|
||||
, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, mailcap, runtimeShell, sqlite, zlib
|
||||
, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, elinks, mailcap, runtimeShell, sqlite, zlib
|
||||
, glibcLocales
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20200501";
|
||||
version = "20200619";
|
||||
pname = "neomutt";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neomutt";
|
||||
repo = "neomutt";
|
||||
rev = version;
|
||||
sha256 = "1xrs2bagrcg489zp7g39l3rrpgz8n1ji9cbr21wrnasfbhqcsmnx";
|
||||
sha256 = "0dhdpd0wdk5bam0q7cvjy4f451ai0mapmyrar7r7m5dnn6lcwvfv";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
docbook_xsl docbook_xml_dtd_42 gettext libxml2 libxslt.bin makeWrapper tcl which zlib
|
||||
docbook_xsl docbook_xml_dtd_42 gettext libxml2 libxslt.bin makeWrapper tcl which zlib elinks
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -42,12 +42,10 @@ stdenv.mkDerivation rec {
|
||||
# and use a far more comprehensive list than the one shipped with neomutt
|
||||
substituteInPlace sendlib.c \
|
||||
--replace /etc/mime.types ${mailcap}/etc/mime.types
|
||||
'';
|
||||
|
||||
# The string conversion tests all fail with the first version of neomutt
|
||||
# that has tests (20180223) as well as 20180716 so we disable them for now.
|
||||
# I don't know if that is related to the tests or our build environment.
|
||||
# Try again with a later release.
|
||||
sed -i '/rfc2047/d' test/Makefile.autosetup test/main.c
|
||||
preBuild = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
@ -60,6 +58,9 @@ stdenv.mkDerivation rec {
|
||||
"--sasl"
|
||||
"--with-homespool=mailbox"
|
||||
"--with-mailpath="
|
||||
# To make it not reference .dev outputs. See:
|
||||
# https://github.com/neomutt/neomutt/pull/2367
|
||||
"--disable-include-path-in-cflags"
|
||||
# Look in $PATH at runtime, instead of hardcoding /usr/bin/sendmail
|
||||
"ac_cv_path_SENDMAIL=sendmail"
|
||||
"--zlib"
|
||||
@ -80,16 +81,15 @@ stdenv.mkDerivation rec {
|
||||
cp -r ${fetchFromGitHub {
|
||||
owner = "neomutt";
|
||||
repo = "neomutt-test-files";
|
||||
rev = "1ee274e9ae1330fb901eb7b8275b3079d7869222";
|
||||
sha256 = "0dhilz4rr7616jh8jcvh50a3rr09in43nsv72mm6f3vfklcqincp";
|
||||
rev = "8629adab700a75c54e8e28bf05ad092503a98f75";
|
||||
sha256 = "1ci04nqkab9mh60zzm66sd6mhsr6lya8wp92njpbvafc86vvwdlr";
|
||||
}} $(pwd)/test-files
|
||||
chmod -R +w test-files
|
||||
(cd test-files && ./setup.sh)
|
||||
|
||||
export NEOMUTT_TEST_DIR=$(pwd)/test-files
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
'';
|
||||
|
||||
checkInputs = [ glibcLocales ];
|
||||
checkTarget = "test";
|
||||
postCheck = "unset NEOMUTT_TEST_DIR";
|
||||
|
||||
|
@ -7,8 +7,8 @@ let
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
srcVersion = "feb20a";
|
||||
version = "20200201_a";
|
||||
srcVersion = "jun20b";
|
||||
version = "20200601_b";
|
||||
pname = "gildas";
|
||||
|
||||
src = fetchurl {
|
||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
# source code of the previous release to a different directory
|
||||
urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz"
|
||||
"http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ];
|
||||
sha256 = "05f34kpi3pfgf4dsyka7mkcln26yzb2mixnnc306krq0isjm7m26";
|
||||
sha256 = "190na9p9kaif4hviraksig6hsq35i1q3nlrm50l00kpj2n8knisk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig groff perl getopt gfortran which ];
|
||||
|
@ -1,12 +1,13 @@
|
||||
diff --new-file -r -u gildas-src-feb17d.orig/admin/wrapper.sh gildas-src-feb17d/admin/wrapper.sh
|
||||
--- gildas-src-feb17d.orig/admin/wrapper.sh 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ gildas-src-feb17d/admin/wrapper.sh 2017-05-18 21:00:01.660778782 +0200
|
||||
@@ -0,0 +1,15 @@
|
||||
@@ -0,0 +1,16 @@
|
||||
+#!/bin/sh -e
|
||||
+
|
||||
+export GAG_ROOT_DIR="%%OUT%%"
|
||||
+export GAG_PATH="${GAG_ROOT_DIR}/etc"
|
||||
+export GAG_EXEC_SYSTEM="libexec"
|
||||
+export GAG_GAG="${HOME}/.gag"
|
||||
+export PYTHONHOME="%%PYTHONHOME%%"
|
||||
+if [ -z "\$PYTHONPATH" ]; then
|
||||
+ PYTHONPATH="${GAG_ROOT_DIR}/${GAG_EXEC_SYSTEM}/python"
|
||||
|
@ -35,6 +35,7 @@ let
|
||||
"8.11.0" = "1rfdic6mp7acx2zfwz7ziqk12g95bl9nyj68z4n20a5bcjv2pxpn";
|
||||
"8.11.1" = "0qriy9dy36dajsv5qmli8gd6v55mah02ya334nw49ky19v7518m0";
|
||||
"8.11.2" = "0f77ccyxdgbf1nrj5fa8qvrk1cyfy06fv8gj9kzfvlcgn0cf48sa";
|
||||
"8.12+beta1" = "0jbm8am9j926s0h4fi0cjl95l37l6p7i03spcryyrd4sg5xrddr7";
|
||||
}.${version};
|
||||
coq-version = stdenv.lib.versions.majorMinor version;
|
||||
versionAtLeast = stdenv.lib.versionAtLeast coq-version;
|
||||
|
@ -14,13 +14,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "cri-o";
|
||||
version = "1.18.1";
|
||||
version = "1.18.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cri-o";
|
||||
repo = "cri-o";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fd7ix329kqimysqfh8yl29c0hwrddlirq9bnz95mrllhsgn8kw2";
|
||||
sha256 = "0p6gprbs54v3n09fjpyfxnzxs680ms8924wdim4q9qw52wc6sbdz";
|
||||
};
|
||||
vendorSha256 = null;
|
||||
outputs = [ "out" "man" ];
|
||||
|
@ -121,6 +121,7 @@ rec {
|
||||
# the image env variable NIX_PAGER.
|
||||
pkgs.coreutils
|
||||
pkgs.nix
|
||||
pkgs.bash
|
||||
];
|
||||
config = {
|
||||
Env = [
|
||||
@ -313,4 +314,25 @@ rec {
|
||||
)
|
||||
];
|
||||
};
|
||||
|
||||
nixLayered = pkgs.dockerTools.buildLayeredImageWithNixDb {
|
||||
name = "nix-layered";
|
||||
tag = "latest";
|
||||
contents = [
|
||||
# nix-store uses cat program to display results as specified by
|
||||
# the image env variable NIX_PAGER.
|
||||
pkgs.coreutils
|
||||
pkgs.nix
|
||||
pkgs.bash
|
||||
];
|
||||
config = {
|
||||
Env = [
|
||||
"NIX_PAGER=cat"
|
||||
# A user is required by nix
|
||||
# https://github.com/NixOS/nix/blob/9348f9291e5d9e4ba3c4347ea1b235640f54fd79/src/libutil/util.cc#L478
|
||||
"USER=nobody"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -16,7 +16,11 @@ mkdir -p "$layerPath"
|
||||
# when there are other things being added to the
|
||||
# nix store, tar could fail, saying,
|
||||
# "tar: /nix/store: file changed as we read it"
|
||||
mkdir -p nix/store
|
||||
#
|
||||
# In addition, we use `__Nix__` instead of `nix` to avoid renaming
|
||||
# relative symlink destinations like
|
||||
# /nix/store/...-nix-2.3.4/bin/nix-daemon -> nix
|
||||
mkdir -p __Nix__/store
|
||||
|
||||
# Then we change into the /nix/store in order to
|
||||
# avoid a similar "file changed as we read it" error
|
||||
@ -35,8 +39,8 @@ tarhash=$(
|
||||
--hard-dereference --sort=name \
|
||||
--mtime="@$SOURCE_DATE_EPOCH" \
|
||||
--owner=0 --group=0 \
|
||||
--transform 's,^nix$,/\0,' \
|
||||
--transform 's,^nix/store$,/\0,' \
|
||||
--transform 's,^__Nix__$,/nix,' \
|
||||
--transform 's,^__Nix__/store$,/nix/store,' \
|
||||
--transform 's,^[^/],/nix/store/\0,rS' |
|
||||
tee "$layerPath/layer.tar" |
|
||||
tarsum
|
||||
|
@ -1,6 +1,6 @@
|
||||
{ fetchurl }:
|
||||
|
||||
fetchurl {
|
||||
url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/e8df5568f80e6230e29c2381e842db35fe11cd71.tar.gz";
|
||||
sha256 = "1fz4iax88pmlqpb4zp3l6mb6bmkzzha0q6mm3xasabh5yl83dbhy";
|
||||
url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/65a280e01c4f90470959f0423a5450d2831f845a.tar.gz";
|
||||
sha256 = "0m5zg7hswch702gprlfsjmp2xk6hs828c1489d1c85w9kxiyqkdq";
|
||||
}
|
||||
|
@ -76,8 +76,8 @@ let
|
||||
};
|
||||
# versions of coq compatible with released mathcomp versions
|
||||
coq-versions = {
|
||||
"1.11.0" = flip elem [ "8.7" "8.8" "8.9" "8.10" "8.11" ];
|
||||
"1.11+beta1" = flip elem [ "8.7" "8.8" "8.9" "8.10" "8.11" ];
|
||||
"1.11.0" = flip elem [ "8.7" "8.8" "8.9" "8.10" "8.11" "8.12" ];
|
||||
"1.11+beta1" = flip elem [ "8.7" "8.8" "8.9" "8.10" "8.11" "8.12" ];
|
||||
"1.10.0" = flip elem [ "8.7" "8.8" "8.9" "8.10" "8.11" ];
|
||||
"1.9.0" = flip elem [ "8.7" "8.8" "8.9" "8.10" ];
|
||||
"1.8.0" = flip elem [ "8.7" "8.8" "8.9" ];
|
||||
|
@ -26,6 +26,12 @@ self: super: {
|
||||
# successfully with recent versions of the compiler).
|
||||
bin-package-db = null;
|
||||
|
||||
# waiting for release: https://github.com/jwiegley/c2hsc/issues/41
|
||||
c2hsc = appendPatch super.c2hsc (pkgs.fetchpatch {
|
||||
url = "https://github.com/jwiegley/c2hsc/commit/490ecab202e0de7fc995eedf744ad3cb408b53cc.patch";
|
||||
sha256 = "1c7knpvxr7p8c159jkyk6w29653z5yzgjjqj11130bbb8mk9qhq7";
|
||||
});
|
||||
|
||||
# Some Hackage packages reference this attribute, which exists only in the
|
||||
# GHCJS package set. We provide a dummy version here to fix potential
|
||||
# evaluation errors.
|
||||
@ -346,7 +352,6 @@ self: super: {
|
||||
pwstore-cli = dontCheck super.pwstore-cli;
|
||||
quantities = dontCheck super.quantities;
|
||||
redis-io = dontCheck super.redis-io;
|
||||
reflex = dontCheck super.reflex; # test suite uses hlint, which has different haskell-src-exts version
|
||||
rethinkdb = dontCheck super.rethinkdb;
|
||||
Rlang-QQ = dontCheck super.Rlang-QQ;
|
||||
safecopy = dontCheck super.safecopy;
|
||||
@ -1027,6 +1032,7 @@ self: super: {
|
||||
# 2020-06-04: HACK: dontCheck - The test suite attempts to use the network.
|
||||
# Should be solved when: https://github.com/dhall-lang/dhall-haskell/issues/1837
|
||||
dhall = generateOptparseApplicativeCompletion "dhall" (dontCheck super.dhall);
|
||||
dhall_1_30_0 = dontCheck super.dhall_1_30_0;
|
||||
|
||||
dhall-json =
|
||||
generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"]
|
||||
@ -1045,8 +1051,7 @@ self: super: {
|
||||
|
||||
# Generate shell completion.
|
||||
cabal2nix = generateOptparseApplicativeCompletion "cabal2nix" super.cabal2nix;
|
||||
stack = generateOptparseApplicativeCompletion "stack" (super.stack.overrideScope (self: super: { http-download = self.http-download_0_2_0_0; }));
|
||||
http-download_0_2_0_0 = dontCheck super.http-download_0_2_0_0;
|
||||
stack = generateOptparseApplicativeCompletion "stack" super.stack;
|
||||
|
||||
# musl fixes
|
||||
# dontCheck: use of non-standard strptime "%s" which musl doesn't support; only used in test
|
||||
@ -1115,8 +1120,12 @@ self: super: {
|
||||
# });
|
||||
libnix = dontCheck super.libnix;
|
||||
|
||||
# Jailbreak: https://github.com/jaor/xmobar/issues/463
|
||||
# The test suite tries to mess with ALSA, which doesn't work in the build sandbox.
|
||||
xmobar = dontCheck super.xmobar;
|
||||
xmobar = appendPatch (dontCheck super.xmobar) (pkgs.fetchpatch {
|
||||
url = "https://github.com/jaor/xmobar/pull/464.patch";
|
||||
sha256 = "0y1dd878yzy1cx0cjj0ijd3dmywr7jdmk68vxdjimxzblrdw1al6";
|
||||
});
|
||||
|
||||
# https://github.com/mgajda/json-autotype/issues/25
|
||||
json-autotype = dontCheck super.json-autotype;
|
||||
@ -1244,9 +1253,6 @@ self: super: {
|
||||
];
|
||||
});
|
||||
|
||||
# Needs the corresponding version of haskell-src-exts.
|
||||
haskell-src-exts-simple = super.haskell-src-exts-simple.override { haskell-src-exts = self.haskell-src-exts_1_23_1; };
|
||||
|
||||
# https://github.com/Daniel-Diaz/HaTeX/issues/144
|
||||
HaTeX = dontCheck super.HaTeX;
|
||||
|
||||
@ -1411,11 +1417,6 @@ self: super: {
|
||||
# haskell-ci-0.8 needs cabal-install-parsers ==0.1, but we have 0.2.
|
||||
haskell-ci = doJailbreak super.haskell-ci;
|
||||
|
||||
# Needs the latest version of vty.
|
||||
matterhorn = super.matterhorn.overrideScope (self: super: {
|
||||
vty = self.vty_5_28_2;
|
||||
});
|
||||
|
||||
# Test suite requires database
|
||||
persistent-mysql = dontCheck super.persistent-mysql;
|
||||
persistent-postgresql = dontCheck super.persistent-postgresql;
|
||||
@ -1440,16 +1441,11 @@ self: super: {
|
||||
sha256 = "097wqn8hxsr50b9mhndg5pjim5jma2ym4ylpibakmmb5m98n17zp";
|
||||
});
|
||||
|
||||
# Needs a version that's newer than LTS-15.x provides.
|
||||
weeder = super.weeder.override { generic-lens = self.generic-lens_2_0_0_0; };
|
||||
|
||||
# polysemy-plugin 0.2.5.0 has constraint ghc-tcplugins-extra (==0.3.*)
|
||||
# This upstream issue is relevant:
|
||||
# https://github.com/polysemy-research/polysemy/issues/322
|
||||
polysemy-plugin = super.polysemy-plugin.override {
|
||||
# polysemy-plugin 0.2.5.0 has constraint ghc-tcplugins-extra (==0.3.*)
|
||||
# This upstream issue is relevant:
|
||||
# https://github.com/polysemy-research/polysemy/issues/322
|
||||
ghc-tcplugins-extra = self.ghc-tcplugins-extra_0_3_2;
|
||||
# version of Polysemy the plugin goes with
|
||||
polysemy = self.polysemy_1_3_0_0;
|
||||
};
|
||||
|
||||
# Test suite requires running a database server. Testing is done upstream.
|
||||
@ -1465,38 +1461,9 @@ self: super: {
|
||||
sha256 = "0xbfhzhzg94b4r5qy5dg1c40liswwpqarrc2chcwgfbfnrmwkfc2";
|
||||
});
|
||||
|
||||
# Depends on selective >= 0.4, but the default of selective is 0.3
|
||||
headed-megaparsec = super.headed-megaparsec.override {
|
||||
selective = self.selective_0_4_1;
|
||||
};
|
||||
|
||||
# Needed for ghcide
|
||||
haskell-lsp_0_22_0_0 = super.haskell-lsp_0_22_0_0.override {
|
||||
haskell-lsp-types = self.haskell-lsp-types_0_22_0_0;
|
||||
};
|
||||
|
||||
# this will probably need to get updated with every ghcide update,
|
||||
# we need an override because ghcide is tracking haskell-lsp closely.
|
||||
ghcide = dontCheck (super.ghcide.override rec {
|
||||
haskell-lsp-types = self.haskell-lsp-types_0_22_0_0;
|
||||
haskell-lsp = self.haskell-lsp_0_22_0_0;
|
||||
hie-bios = self.hie-bios_0_5_0;
|
||||
ghc-check = self.ghc-check_0_3_0_1;
|
||||
});
|
||||
|
||||
# stackage right now is not new enough for hlint-3.0
|
||||
ghc-lib-parser-ex_8_10_0_13 = super.ghc-lib-parser-ex_8_10_0_13.override {
|
||||
ghc-lib-parser = self.ghc-lib-parser_8_10_1_20200523;
|
||||
};
|
||||
|
||||
hlint = super.hlint.override {
|
||||
ghc-lib-parser = self.ghc-lib-parser_8_10_1_20200523;
|
||||
ghc-lib-parser-ex = self.ghc-lib-parser-ex_8_10_0_13;
|
||||
extra = self.extra_1_7_3;
|
||||
filepattern = self.filepattern.override {
|
||||
extra = self.extra_1_7_3;
|
||||
};
|
||||
};
|
||||
ghcide = dontCheck (super.ghcide.override { ghc-check = self.ghc-check_0_3_0_1; });
|
||||
|
||||
# hasn‘t bumped upper bounds
|
||||
# upstream: https://github.com/obsidiansystems/which/pull/6
|
||||
@ -1506,4 +1473,88 @@ self: super: {
|
||||
# through $PATH but they aren't in $PATH
|
||||
dhall-lsp-server = dontCheck super.dhall-lsp-server;
|
||||
|
||||
# https://github.com/ocharles/weeder/issues/15
|
||||
weeder = doJailbreak super.weeder;
|
||||
|
||||
# Requested version bump on upstream https://github.com/obsidiansystems/constraints-extras/issues/32
|
||||
constraints-extras = doJailbreak super.constraints-extras;
|
||||
# Requested version bump on upstream https://github.com/srid/rib/issues/160
|
||||
rib = doJailbreak (super.rib.override {
|
||||
dhall = self.dhall_1_30_0;
|
||||
});
|
||||
# Necessary for neuron 0.4.0
|
||||
neuron = super.neuron.override {
|
||||
dhall = self.dhall_1_30_0;
|
||||
};
|
||||
|
||||
# Necessary for stack
|
||||
# x509-validation test suite hangs: upstream https://github.com/vincenthz/hs-certificate/issues/120
|
||||
# tls test suite fails: upstream https://github.com/vincenthz/hs-tls/issues/434
|
||||
x509-validation = dontCheck super.x509-validation;
|
||||
tls = dontCheck super.tls;
|
||||
|
||||
# Upstream PR: https://github.com/bgamari/monoidal-containers/pull/62
|
||||
# Bump these version bound
|
||||
monoidal-containers = appendPatch super.monoidal-containers (pkgs.fetchpatch {
|
||||
url = "https://github.com/bgamari/monoidal-containers/pull/62/commits/715093b22a015398a1390f636be6f39a0de83254.patch";
|
||||
sha256="1lfxvwp8g55ljxvj50acsb0wjhrvp2hvir8y0j5pfjkd1kq628ng";
|
||||
});
|
||||
|
||||
patch = appendPatches super.patch [
|
||||
# Upstream PR: https://github.com/reflex-frp/patch/pull/20
|
||||
# Makes tests work with hlint 3
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/reflex-frp/patch/pull/20/commits/3ed23a4e4049ee17e64a1a5bbebf1990cdbe033a.patch";
|
||||
sha256 ="1hfa980wln8kzbqw1lr8ddszgcibw25xf12ki2jb9xkl464aynzf";
|
||||
})
|
||||
# Upstream PR: https://github.com/reflex-frp/patch/pull/17
|
||||
# Bumps version dependencies
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/reflex-frp/patch/pull/17/commits/a191ed9ded708ed7ff0cf53ad6dafaf54db5b95a.patch";
|
||||
sha256 ="1x9w5fimhk3a0l2aa5z91nqaa6s2irz1775iidd0191m6w25vszp";
|
||||
})
|
||||
];
|
||||
|
||||
reflex = appendPatches super.reflex [
|
||||
# Upstream PR: https://github.com/reflex-frp/reflex/pull/434
|
||||
# Bump version bounds
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/reflex-frp/reflex/pull/434/commits/e6104bdfd7f664f524b6765275490722e376df4d.patch";
|
||||
sha256 ="1awp5p4640cnhfd50dplsvp0kzy6h8r0hpbw1s40blni74r3dhzr";
|
||||
})
|
||||
# Upstream PR: https://github.com/reflex-frp/reflex/pull/436
|
||||
# Fix build with newest dependent-map version
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/reflex-frp/reflex/pull/436/commits/dc3bf44d822d70594e3c474fe3869261776c3554.patch";
|
||||
sha256 ="0rbjfj9b8p6zkvd5j4pak5kpgard6cyfvzk750s4xwpc1v84iiqd";
|
||||
})
|
||||
# Upstream PR: https://github.com/reflex-frp/reflex/pull/437
|
||||
# Fix tests with newer dep versions
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/reflex-frp/reflex/pull/437/commits/87c74a1b9d9098eae8a56148c59ed4963a5232c2.patch";
|
||||
sha256 ="0qhjjgd6n4fms1hpbblny78c95bfh74izhx9dvrdlnhz6q7xlm9q";
|
||||
})
|
||||
];
|
||||
|
||||
# Tests disabled and broken override needed because of missing lib chrome-test-utils: https://github.com/reflex-frp/reflex-dom/issues/392
|
||||
# Tests disabled because of very old dep: https://github.com/reflex-frp/reflex-dom/issues/393
|
||||
reflex-dom-core = unmarkBroken (dontCheck (appendPatches super.reflex-dom-core [
|
||||
# Upstream PR: https://github.com/reflex-frp/reflex-dom/pull/388
|
||||
# Fix upper bounds
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/reflex-frp/reflex-dom/pull/388/commits/5ef04d8e478f410d2c63603b84af052c9273a533.patch";
|
||||
sha256 ="0d0b819yh8mqw8ih5asdi9qcca2kmggfsi8gf22akfw1n7xvmavi";
|
||||
stripLen = 2;
|
||||
extraPrefix = "";
|
||||
})
|
||||
# Upstream PR: https://github.com/reflex-frp/reflex-dom/pull/394
|
||||
# Bump dependent-map
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/reflex-frp/reflex-dom/pull/394/commits/695bd17d5dcdb1bf321ee8858670731637f651db.patch";
|
||||
sha256 ="0llky3i37rakgsw9vqaqmwryv7s91w8ph8xjkh83nxjs14p5zfyk";
|
||||
stripLen = 2;
|
||||
extraPrefix = "";
|
||||
})
|
||||
]));
|
||||
|
||||
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
|
||||
|
@ -62,6 +62,7 @@ self: super: {
|
||||
|
||||
# Jailbreak to fix the build.
|
||||
async = doJailbreak super.async;
|
||||
base-noprelude = doJailbreak super.base-noprelude;
|
||||
ChasingBottoms = doJailbreak super.ChasingBottoms;
|
||||
ed25519 = doJailbreak super.ed25519;
|
||||
email-validate = doJailbreak super.email-validate; # https://github.com/Porges/email-validate-hs/issues/51
|
||||
@ -84,8 +85,6 @@ self: super: {
|
||||
zlib = doJailbreak super.zlib;
|
||||
|
||||
# Use the latest version to fix the build.
|
||||
dhall = self.dhall_1_32_0;
|
||||
ghc-lib-parser-ex = self.ghc-lib-parser-ex_8_10_0_4;
|
||||
lens = self.lens_4_19_2;
|
||||
optics-core = self.optics-core_0_3;
|
||||
repline = self.repline_0_3_0_0;
|
||||
@ -97,7 +96,7 @@ self: super: {
|
||||
# multiple verions of `ghc-lib-parser(-ex)` available, and the default ones
|
||||
# are older ones, those older ones will complain. Because we have a newer
|
||||
# GHC, we can just set the dependency to `null` as it is not used.
|
||||
ghc-lib-parser-ex_8_10_0_4 = super.ghc-lib-parser-ex_8_10_0_4.override { ghc-lib-parser = null; };
|
||||
ghc-lib-parser-ex = super.ghc-lib-parser-ex.override { ghc-lib-parser = null; };
|
||||
|
||||
# Jailbreak to fix the build.
|
||||
aeson-diff = doJailbreak super.aeson-diff;
|
||||
@ -111,8 +110,6 @@ self: super: {
|
||||
serialise = doJailbreak super.serialise;
|
||||
setlocale = doJailbreak super.setlocale;
|
||||
shellmet = doJailbreak super.shellmet;
|
||||
weeder = doJailbreak super.weeder; # https://github.com/ocharles/weeder/issues/15
|
||||
xmobar = doJailbreak super.xmobar;
|
||||
|
||||
# The shipped Setup.hs file is broken.
|
||||
csv = overrideCabal super.csv (drv: { preCompileBuildDriver = "rm Setup.hs"; });
|
||||
|
@ -74,7 +74,6 @@ self: super: {
|
||||
# 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
|
||||
snap-server = doJailbreak super.snap-server;
|
||||
xmobar = doJailbreak super.xmobar;
|
||||
exact-pi = doJailbreak super.exact-pi;
|
||||
time-compat = doJailbreak super.time-compat;
|
||||
http-media = doJailbreak super.http-media;
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -639,17 +639,14 @@ self: super: builtins.intersectAttrs super {
|
||||
spago =
|
||||
let
|
||||
# Spago needs a small patch to work with the latest versions of rio.
|
||||
# https://github.com/purescript/spago/pull/616
|
||||
# This can probably be removed when a version after spago-0.15.1 is released.
|
||||
# https://github.com/purescript/spago/pull/647
|
||||
spagoWithPatches = appendPatch super.spago (pkgs.fetchpatch {
|
||||
url = "https://github.com/purescript/spago/pull/616/commits/95b5fa0f1d3bfb07972d1ef5004b8bee8a070667.patch";
|
||||
sha256 = "0v3890lwhddfrq9mhbq92962pkxra8kwbin97wg3s0b02dk65ysc";
|
||||
url = "https://github.com/purescript/spago/pull/647/commits/917ee541a966db74f0f5d11f2f86df0030c35dd7.patch";
|
||||
sha256 = "1nspqgcjk6z90cl9zhard0rn2q979kplcqz72x8xv5mh57zabk0w";
|
||||
});
|
||||
|
||||
# Spago basically compiles with LTS-14, but it requires a newer version
|
||||
# of directory. This is to work around a bug only present on windows, so
|
||||
# we can safely jailbreak spago and use the older directory package from
|
||||
# LTS-14.
|
||||
# spago requires an older version of megaparsec, but it appears to work
|
||||
# fine with newer versions.
|
||||
spagoWithOverrides = doJailbreak spagoWithPatches;
|
||||
|
||||
# This defines the version of the purescript-docs-search release we are using.
|
||||
@ -755,18 +752,6 @@ self: super: builtins.intersectAttrs super {
|
||||
'';
|
||||
});
|
||||
|
||||
postgresql-syntax = super.postgresql-syntax.override {
|
||||
rerebase = self.rerebase_1_6_1;
|
||||
};
|
||||
|
||||
rerebase_1_6_1 = super.rerebase_1_6_1.override {
|
||||
rebase = self.rebase_1_6_1;
|
||||
};
|
||||
|
||||
rebase_1_6_1 = super.rebase_1_6_1.override {
|
||||
selective = super.selective_0_4_1;
|
||||
};
|
||||
|
||||
# Fix compilation of Setup.hs by removing the module declaration.
|
||||
# See: https://github.com/tippenein/guid/issues/1
|
||||
guid = overrideCabal (super.guid) (drv: {
|
||||
@ -777,4 +762,10 @@ self: super: builtins.intersectAttrs super {
|
||||
# Tests disabled as recommended at https://github.com/luke-clifton/shh/issues/39
|
||||
shh = dontCheck super.shh;
|
||||
|
||||
# The test suites fail because there's no PostgreSQL database running in our
|
||||
# build sandbox.
|
||||
hasql-queue = dontCheck super.hasql-queue;
|
||||
postgresql-libpq-notify = dontCheck super.postgresql-libpq-notify;
|
||||
postgresql-pure = dontCheck super.postgresql-pure;
|
||||
|
||||
}
|
||||
|
6347
pkgs/development/haskell-modules/hackage-packages.nix
generated
6347
pkgs/development/haskell-modules/hackage-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -1,23 +0,0 @@
|
||||
--- a/clojure
|
||||
+++ b/clojure
|
||||
@@ -317,17 +317,17 @@ if "$stale" || "$pom"; then
|
||||
tools_args+=("--threads" "$threads")
|
||||
fi
|
||||
if "$trace"; then
|
||||
tools_args+=("--trace")
|
||||
fi
|
||||
fi
|
||||
|
||||
# If stale, run make-classpath to refresh cached classpath
|
||||
-if [[ "$stale" = true && "$describe" = false ]]; then
|
||||
+if [[ "$stale" = true && "$describe" = false && -z "$force_cp" ]]; then
|
||||
if "$verbose"; then
|
||||
echo "Refreshing classpath"
|
||||
fi
|
||||
|
||||
"$JAVA_CMD" -classpath "$tools_cp" clojure.main -m clojure.tools.deps.alpha.script.make-classpath2 --config-user "$config_user" --config-project "$config_project" --libs-file "$libs_file" --cp-file "$cp_file" --jvm-file "$jvm_file" --main-file "$main_file" "${tools_args[@]}"
|
||||
fi
|
||||
|
||||
if "$describe"; then
|
||||
--
|
||||
2.25.0
|
@ -2,15 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clojure";
|
||||
version = "1.10.1.507";
|
||||
version = "1.10.1.547";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
|
||||
sha256 = "1k0jwa3481g3mkalwlb9gkcz9aq9zjpwmzckv823fr2d8djp41cc";
|
||||
sha256 = "06lg4z3q0fzxlbmx92g5qb0w3nw83dbwkzh3zjdy9ixrpm7b84i0";
|
||||
};
|
||||
|
||||
patches = [ ./TDEPS-150.patch ];
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
installPhase =
|
||||
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-iconv=${libiconv}"
|
||||
"--with-dbm=gdbm"
|
||||
"--with-zlib=${zlib}"
|
||||
"--with-ca-bundle=$NIX_SSL_CERT_FILE"
|
||||
"--with-ca-bundle=${cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||
# TODO: Enable slib
|
||||
# Current slib in nixpkgs is specialized to Guile
|
||||
# "--with-slib=${slibGuile}/lib/slib"
|
||||
|
@ -2,17 +2,17 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wasmtime";
|
||||
version = "0.16.0";
|
||||
version = "0.17.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bytecodealliance";
|
||||
repo = "${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "1zlljqkkcw8h94ff1w47sqn9pn0zal06s06i8nciv5i2d1xaqg5n";
|
||||
sha256 = "18kmxc53jz1rlbmgdvffpvvsr8m399lgv62kwhciv5pif857qbb4";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
cargoSha256 = "1hb7l7a76lgbji0qm9qd80m35cp346hyi4rphfk6p80v142cw8hh";
|
||||
cargoSha256 = "149nav392wf4sr50dpdlnvfq3vfrrl9lqgr98g5dyzfjrf5jbzm3";
|
||||
|
||||
nativeBuildInputs = [ python cmake clang ];
|
||||
buildInputs = [ llvmPackages.libclang ] ++
|
||||
|
@ -1,6 +0,0 @@
|
||||
{callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
version = "1.12.1";
|
||||
sha256 = "0nln45662kg799ykvqx5m9z9qcsmadmgg6r5najryls7x16in2d9";
|
||||
})
|
6
pkgs/development/libraries/asio/default.nix
Normal file
6
pkgs/development/libraries/asio/default.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
version = "1.16.1";
|
||||
sha256 = "1333ca6lnsdck4fsgjpbqf4lagxsnbg9970wxlsrinmwvdvdnwg2";
|
||||
})
|
@ -21,7 +21,7 @@ stdenv.mkDerivation {
|
||||
homepage = "http://asio.sourceforge.net/";
|
||||
description = "Cross-platform C++ library for network and low-level I/O programming";
|
||||
license = licenses.boost;
|
||||
broken = stdenv.isDarwin; # test when updating to >=1.12.1
|
||||
broken = stdenv.isDarwin && stdenv.lib.versionOlder version "1.16.1";
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Object oriented C++ wrapper for CURL";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ juliendehos rszibele ];
|
||||
maintainers = with maintainers; [ rszibele ];
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -63,20 +63,13 @@ let
|
||||
};
|
||||
|
||||
in {
|
||||
|
||||
libressl_2_9 = generic {
|
||||
version = "2.9.2";
|
||||
sha256 = "1m6mz515dcbrbnyz8hrpdfjzdmj1c15vbgnqxdxb89g3z9kq3iy4";
|
||||
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/libressl-portable/portable/pull/529/commits/a747aacc23607c993cc481378782b2c7dd5bc53b.patch";
|
||||
sha256 = "0wbrcscdkjpk4mhh7f3saghi4smia4lhf7fl6la3ahhgx1krn5zm";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
libressl_3_0 = generic {
|
||||
version = "3.0.2";
|
||||
sha256 = "13ir2lpxz8y1m151k7lrx306498nzfhwlvgkgv97v5cvywmifyyz";
|
||||
};
|
||||
|
||||
libressl_3_1 = generic {
|
||||
version = "3.1.3";
|
||||
sha256 = "184znscbkww65aavy2p4v4xncalp1ni19c2w5yvfq4pnmhb06sy7";
|
||||
};
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
, "@antora/cli"
|
||||
, "@antora/site-generator-default"
|
||||
, "@bitwarden/cli"
|
||||
, "@nestjs/cli"
|
||||
, "@vue/cli"
|
||||
, "@webassemblyjs/cli"
|
||||
, "@webassemblyjs/repl"
|
||||
|
2863
pkgs/development/node-packages/node-packages.nix
generated
2863
pkgs/development/node-packages/node-packages.nix
generated
File diff suppressed because it is too large
Load Diff
@ -4,11 +4,11 @@ buildDunePackage rec {
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
pname = "mirage-crypto";
|
||||
version = "0.7.0";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-crypto/releases/download/v${version}/mirage-crypto-v${version}.tbz";
|
||||
sha256 = "0k7kllv3bh192yj6p9dk2z81r56w7x2kyr46pxygb5gnhqqxcncf";
|
||||
sha256 = "1wb2923v17z179v866ragil0r601w5b3kvpnbkmkwlijp4i5grih";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
18
pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
Normal file
18
pkgs/development/ocaml-modules/mirage-crypto/rng-mirage.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ buildDunePackage, mirage-crypto-rng, duration, cstruct, mirage-runtime
|
||||
, mirage-time, mirage-clock, mirage-unix, mirage-time-unix, mirage-clock-unix }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-crypto-rng-mirage";
|
||||
|
||||
inherit (mirage-crypto-rng) version src useDune2 minimumOCamlVersion;
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ mirage-unix mirage-clock-unix mirage-time-unix ];
|
||||
|
||||
propagatedBuildInputs = [ duration cstruct mirage-crypto-rng mirage-runtime
|
||||
mirage-time mirage-clock ];
|
||||
|
||||
meta = mirage-crypto-rng.meta // {
|
||||
description = "Entropy collection for a cryptographically secure PRNG";
|
||||
};
|
||||
}
|
@ -1,6 +1,5 @@
|
||||
{ buildDunePackage, mirage-crypto, ounit, randomconv, dune-configurator
|
||||
, cstruct, duration, logs, mtime, ocaml_lwt, mirage-runtime, mirage-time
|
||||
, mirage-clock, mirage-time-unix, mirage-clock-unix, mirage-unix }:
|
||||
, cstruct, duration, logs, mtime, ocaml_lwt }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-crypto-rng";
|
||||
@ -11,9 +10,7 @@ buildDunePackage {
|
||||
checkInputs = [ ounit randomconv ];
|
||||
|
||||
nativeBuildInputs = [ dune-configurator ];
|
||||
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt
|
||||
mirage-runtime mirage-time mirage-clock mirage-time-unix
|
||||
mirage-clock-unix mirage-unix ];
|
||||
propagatedBuildInputs = [ cstruct mirage-crypto duration logs mtime ocaml_lwt ];
|
||||
|
||||
meta = mirage-crypto.meta // {
|
||||
description = "A cryptographically secure PRNG";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytz, requests, pytest }:
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytz, requests, pytest, freezegun }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "astral";
|
||||
@ -10,7 +10,7 @@ buildPythonPackage rec {
|
||||
sha256 = "e41d9967d5c48be421346552f0f4dedad43ff39a83574f5ff2ad32b6627b6fbe";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pytz requests ];
|
||||
propagatedBuildInputs = [ pytz requests freezegun ];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkPhase = ''
|
||||
|
@ -17,6 +17,9 @@ buildPythonPackage rec {
|
||||
--replace "test_events_watched_outside_test_are_ignored" "xtest_events_watched_outside_test_are_ignored"
|
||||
'';
|
||||
|
||||
# https://github.com/Martiusweb/asynctest/issues/132
|
||||
doCheck = pythonOlder "3.8";
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} -m unittest test
|
||||
'';
|
||||
|
@ -1,15 +1,14 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, paver
|
||||
, python
|
||||
, isPyPy
|
||||
, six
|
||||
, pathlib
|
||||
, python_magic
|
||||
, lib
|
||||
, filetype
|
||||
, deprecation
|
||||
, dataclasses
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -22,18 +21,13 @@ buildPythonPackage rec {
|
||||
sha256 = "faf5806197f2093e82c2830d41f2378f07b3a9da07a16fafb14fc6fbdebac50a";
|
||||
};
|
||||
|
||||
# https://github.com/nicfit/eyeD3/pull/284
|
||||
postPatch = lib.optionalString (pythonAtLeast "3.4") ''
|
||||
sed -ie '/pathlib/d' requirements/requirements.yml
|
||||
'';
|
||||
|
||||
buildInputs = [ paver ];
|
||||
|
||||
# requires special test data:
|
||||
# https://github.com/nicfit/eyeD3/blob/103198e265e3279384f35304e8218be6717c2976/Makefile#L97
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ six python_magic ] ++ lib.optional (pythonOlder "3.4") pathlib;
|
||||
propagatedBuildInputs = [
|
||||
six filetype deprecation
|
||||
] ++ lib.optional (pythonOlder "3.7") dataclasses;
|
||||
|
||||
postInstall = ''
|
||||
for prog in "$out/bin/"*; do
|
||||
@ -55,5 +49,4 @@ buildPythonPackage rec {
|
||||
and v2.3/v2.4.
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -2,28 +2,32 @@
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fsspec";
|
||||
version = "0.6.2";
|
||||
version = "0.7.4";
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intake";
|
||||
repo = "filesystem_spec";
|
||||
rev = version;
|
||||
sha256 = "1y3d6xw14rcldz9779ir6mjaff4rk82ch6ahn4y9mya0qglpc31i";
|
||||
sha256 = "0ylslmkzc803050yh8dl6cagabb9vrygz6w2zsmglzn4v9sz6jgd";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestCheckHook
|
||||
numpy
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
disabledTests = [
|
||||
# Test assumes user name is part of $HOME
|
||||
# AssertionError: assert 'nixbld' in '/homeless-shelter/foo/bar'
|
||||
"test_strip_protocol_expanduser"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A specification that python filesystems should adhere to";
|
||||
|
@ -1,28 +1,40 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, fetchpatch
|
||||
, acme, aiohttp, snitun, attrs, pycognito, warrant
|
||||
, pytest-aiohttp, asynctest, pytest }:
|
||||
, pytest-aiohttp, asynctest, atomicwrites, pytest, pythonOlder }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hass-nabucasa";
|
||||
version = "0.32.2";
|
||||
version = "0.34.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nabucasa";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1hfi5q222kgbgrj5yvr4lbhca49hcs6sc2yhxc4pjxqsc12bv1f1";
|
||||
sha256 = "1lkqwj58qr0vn7zf5mhrhaz973ahj9wjp4mgzvyja1gcdh6amv34";
|
||||
};
|
||||
|
||||
# upstreamed in https://github.com/NabuCasa/hass-nabucasa/pull/119
|
||||
postPatch = ''
|
||||
sed -i 's/"acme.*/"acme>=0.40.0,<2.0"/' setup.py
|
||||
cat setup.py
|
||||
sed -i 's/"acme.*"/"acme"/' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ acme aiohttp snitun attrs warrant pycognito ];
|
||||
patches = [
|
||||
# relax pytz dependency
|
||||
(fetchpatch {
|
||||
url = "https://github.com/NabuCasa/hass-nabucasa/commit/419e80feddc36c68384c032feda0057515b53eaa.patch";
|
||||
sha256 = "14dgwci8615cwcf27hg7b42s7da50xhyjys3yx446q7ipk8zw4x6";
|
||||
})
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
acme aiohttp atomicwrites snitun attrs warrant pycognito
|
||||
];
|
||||
|
||||
checkInputs = [ pytest pytest-aiohttp asynctest ];
|
||||
|
||||
# Asynctest's mocking is broken with python3.8
|
||||
# https://github.com/Martiusweb/asynctest/issues/132
|
||||
doCheck = pythonOlder "3.8";
|
||||
|
||||
checkPhase = ''
|
||||
pytest tests/
|
||||
'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, pytest, pythonOlder }:
|
||||
{ lib, buildPythonPackage, fetchPypi, pytestCheckHook, pythonOlder, pytest-asyncio }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "janus";
|
||||
@ -11,7 +11,10 @@ buildPythonPackage rec {
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkInputs = [ pytest-asyncio pytestCheckHook ];
|
||||
|
||||
# also fails upstream: https://github.com/aio-libs/janus/pull/258
|
||||
disabledTests = [ "test_format" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Mixed sync-async queue";
|
||||
|
@ -8,6 +8,7 @@
|
||||
, hypothesis
|
||||
, glibcLocales
|
||||
, pathlib ? null
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -29,6 +30,9 @@ buildPythonPackage rec {
|
||||
sha256 = "a633464dc3a22b305df0f27abcb3e83515898aa1fd0ed2f9726c3571a27258cf";
|
||||
};
|
||||
|
||||
# Does not support Python 2
|
||||
disabled = !isPy3k;
|
||||
|
||||
# testing based on project's tox.ini
|
||||
# natsort_keygen has pytest mock issues
|
||||
checkPhase = ''
|
||||
|
@ -12,13 +12,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pycognito";
|
||||
version = "0.1.2";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pvizeli";
|
||||
repo = "pycognito";
|
||||
rev = version;
|
||||
sha256 = "01zns522awm5yp5cbk1y7k7px534i5akiivip709i1naph3hvnfk";
|
||||
sha256 = "0wy6d274xda7v6dazv10h2vwig2avfyz8mh2lpd1a5k7i06r335r";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -13,13 +13,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-engineio";
|
||||
version = "3.10.0";
|
||||
version = "3.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "miguelgrinberg";
|
||||
repo = "python-engineio";
|
||||
rev = "v${version}";
|
||||
sha256 = "1495r55177c38wq88pb28l50dfd4213iyxwq1k5rmsgp66vww09s";
|
||||
sha256 = "1fgfrgcvjg3fyza5lhl1l9cfq073xrwwhh3xs178csrjz4s8s378";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
39
pkgs/development/python-modules/skein/default.nix
Normal file
39
pkgs/development/python-modules/skein/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ buildPythonPackage
|
||||
, callPackage
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, jre
|
||||
, lib
|
||||
, pythonPackages
|
||||
, stdenv
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "skein";
|
||||
version = "0.8.0";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0nb64p1hzshgi1kfc2jx1v9vn8b0wzs50460wfra3fsxh0ap66ab";
|
||||
};
|
||||
skeinJar = callPackage ./skeinjar.nix { inherit src version; };
|
||||
in
|
||||
buildPythonPackage rec {
|
||||
inherit pname version src;
|
||||
disabled = isPy27;
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ cryptography grpcio grpcio-tools jupyter pytest pyyaml requests jre ];
|
||||
|
||||
preBuild = ''
|
||||
# Ensure skein.jar exists skips the maven build in setup.py
|
||||
mkdir -p skein/java
|
||||
ln -s ${skeinJar} skein/java/skein.jar
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://jcristharif.com/skein";
|
||||
description = "A tool and library for easily deploying applications on Apache YARN";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ alexbiehl ];
|
||||
};
|
||||
|
||||
}
|
21
pkgs/development/python-modules/skein/skeinjar.nix
Normal file
21
pkgs/development/python-modules/skein/skeinjar.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ callPackage, stdenv, maven, src, version }:
|
||||
|
||||
let
|
||||
skeinRepo = callPackage ./skeinrepo.nix { inherit src version; };
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "skein-${version}.jar";
|
||||
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ maven ];
|
||||
|
||||
buildPhase = ''
|
||||
mvn --offline -f java/pom.xml package -Dmaven.repo.local="${skeinRepo}" -Dskein.version=${version} -Dversion=${version}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
# Making sure skein.jar exists skips the maven build in setup.py
|
||||
mv java/target/skein-*.jar $out
|
||||
'';
|
||||
}
|
46
pkgs/development/python-modules/skein/skeinrepo.nix
Normal file
46
pkgs/development/python-modules/skein/skeinrepo.nix
Normal file
@ -0,0 +1,46 @@
|
||||
{ autoPatchelfHook, lib, maven, stdenv, src, version }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "skein-${version}-maven-repo";
|
||||
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ maven ] ++ lib.optional stdenv.isLinux autoPatchelfHook;
|
||||
|
||||
doBuild = false;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
|
||||
archs="${
|
||||
if stdenv.isLinux
|
||||
then "linux-x86_32 linux-x86_64"
|
||||
else "osx-x86_64"
|
||||
}"
|
||||
|
||||
for arch in $archs
|
||||
do
|
||||
mvn -Dmaven.repo.local=$out dependency:get -Dartifact=com.google.protobuf:protoc:3.0.0:exe:$arch
|
||||
mvn -Dmaven.repo.local=$out dependency:get -Dartifact=io.grpc:protoc-gen-grpc-java:1.16.0:exe:$arch
|
||||
done
|
||||
|
||||
if ${ lib.boolToString stdenv.isLinux }
|
||||
then
|
||||
autoPatchelf $out
|
||||
fi
|
||||
|
||||
# We have to use maven package here as dependency:go-offline doesn't
|
||||
# fetch every required jar.
|
||||
mvn -f java/pom.xml -Dmaven.repo.local=$out package
|
||||
|
||||
rm $(find $out -name _remote.repositories)
|
||||
rm $(find $out -name resolver-status.properties)
|
||||
'';
|
||||
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = if stdenv.isLinux
|
||||
then "12f0q3444qw6y4f6qsa9540a0fz4cgi844zzi8z1phqn3k4dnl6v"
|
||||
else "0bjbwiv17cary1isxca0m2hsvgs1i5fh18z247h1hky73lnhbrz8";
|
||||
|
||||
} // lib.optionalAttrs stdenv.isLinux { dontAutoPatchelf = true; }
|
@ -1,6 +1,7 @@
|
||||
{ lib, fetchPypi, buildPythonPackage, pytestCheckHook
|
||||
, isPy3k
|
||||
, backports_functools_lru_cache
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -14,7 +15,7 @@ buildPythonPackage rec {
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
propagatedBuildInputs = lib.optionals (!isPy3k) [
|
||||
propagatedBuildInputs = [ setuptools ] ++ lib.optionals (!isPy3k) [
|
||||
backports_functools_lru_cache
|
||||
];
|
||||
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mill";
|
||||
version = "0.7.1";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lihaoyi/mill/releases/download/${version}/${version}";
|
||||
sha256 = "1fa7cjrp16618hj6xzrxiy44ghxvzgkvygzdzyi8jj2y5jnwxf10";
|
||||
sha256 = "10rjhkncxswbh30jsq7j4is5ngp1r737j45xdwl9z1frmwz6l67d";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -0,0 +1,37 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
with lib;
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "fcct";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coreos";
|
||||
repo = "fcct";
|
||||
rev = "v${version}";
|
||||
sha256 = "18hmnip1s0smp58q500p8dfbrmi4i3nsyq22ri5cs53wbvz3ih1l";
|
||||
};
|
||||
|
||||
deleteVendor = true;
|
||||
vendorSha256 = "0qqkaskmyxgwv9qg3y5lckqf6nchn3bxp69fyqdbvki65p445608";
|
||||
|
||||
subPackages = [ "internal" ];
|
||||
|
||||
buildFlagsArray = ''
|
||||
-ldflags=-X github.com/coreos/fcct/internal/version.Raw=v${version}
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/{internal,fcct}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Translates Fedora CoreOS configs into Ignition configs";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/coreos/fcct";
|
||||
maintainers = with maintainers; [ elijahcaine ruuda ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -11,11 +11,11 @@
|
||||
}:
|
||||
mkDerivation {
|
||||
pname = "spago";
|
||||
version = "0.15.1";
|
||||
version = "0.15.3";
|
||||
src = fetchgit {
|
||||
url = "https://github.com/purescript/spago.git";
|
||||
sha256 = "09ypbm03ap8xfhq803ra3cc01dxcavckn7nis6hi80dk2xxlhc3d";
|
||||
rev = "d5d206ff0f5c686f8b609fb4bc2e866959cc0144";
|
||||
sha256 = "0spc7r531kmh9magaxzy4jls3bzfazwf8sq3qzk6f292d7ky6n8y";
|
||||
rev = "da6d91c19b23f06f3ede793f78599a6589c9e7cd";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
isLibrary = true;
|
||||
|
24
pkgs/development/tools/the-way/default.nix
Normal file
24
pkgs/development/tools/the-way/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "the-way";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "out-of-cheese-error";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "02aa4iwwi89r6sj1q5sj74n2cy1rj94yfh39cp97zlx4lam9pj6b";
|
||||
};
|
||||
|
||||
cargoSha256 = "09d9gaa83djfkfdx3m4d3kkq550q8y67wb292mrj4xb0kcfrhnpq";
|
||||
checkFlags = "--test-threads=1";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Terminal code snippets manager";
|
||||
homepage = "https://github.com/out-of-cheese-error/the-way";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ numkem ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -1,29 +1,29 @@
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
, fetchFromGitHub
|
||||
, gradle_5
|
||||
, perl
|
||||
, jre
|
||||
, xorg
|
||||
, openal
|
||||
, libpulseaudio
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "shattered-pixel-dungeon";
|
||||
version = "0.7.5f";
|
||||
version = "0.8.0b";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "00-Evan";
|
||||
repo = "shattered-pixel-dungeon-gdx";
|
||||
repo = "shattered-pixel-dungeon";
|
||||
rev = "v${version}";
|
||||
sha256 = "05awbbc7np9li50shdbpv9dgdgry6lra8d5gibwn578m2g9srbxx";
|
||||
sha256 = "1qi90qw2xp56wai4gn39rpwh3gs3kx2zcpbni861f7hl9hnf87bf";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# disable gradle plugins with native code and their targets
|
||||
perl -i.bak1 -pe "s#(^\s*id '.+' version '.+'$)#// \1#" build.gradle
|
||||
perl -i.bak2 -pe "s#(.*)#// \1# if /^(buildscript|task portable|task nsis|task proguard|task tgz|task\(afterEclipseImport\)|launch4j|macAppBundle|buildRpm|buildDeb|shadowJar)/ ... /^}/" build.gradle
|
||||
# Remove unbuildable android stuff
|
||||
rm android/build.gradle
|
||||
'';
|
||||
|
||||
# fake build to pre-download deps into fixed-output derivation
|
||||
@ -33,7 +33,7 @@ let
|
||||
nativeBuildInputs = [ gradle_5 perl ];
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
gradle --no-daemon desktop:dist
|
||||
gradle --no-daemon desktop:release
|
||||
'';
|
||||
# perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar)
|
||||
installPhase = ''
|
||||
@ -43,7 +43,7 @@ let
|
||||
'';
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "1k0v5scadw9ziq4dw2rckmh8x2xlmxslfsxmpw79zg78n3hvwhf1";
|
||||
outputHash = "0ih10c6c85vhrqgilqmkzqjx3dc8cscvs9wkh90zgdj10qv0iba3";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
@ -54,21 +54,21 @@ in stdenv.mkDerivation rec {
|
||||
buildPhase = ''
|
||||
export GRADLE_USER_HOME=$(mktemp -d)
|
||||
# point to offline repo
|
||||
sed -ie "s#mavenLocal()#mavenLocal(); maven { url '${deps}' }#g" build.gradle
|
||||
gradle --offline --no-daemon desktop:dist
|
||||
sed -ie "s#repositories {#repositories { maven { url '${deps}' };#g" build.gradle
|
||||
gradle --offline --no-daemon desktop:release
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dm644 desktop/build/libs/desktop-${version}.jar $out/share/shattered-pixel-dungeon.jar
|
||||
mkdir $out/bin
|
||||
makeWrapper ${jre}/bin/java $out/bin/shattered-pixel-dungeon \
|
||||
--prefix LD_LIBRARY_PATH : ${xorg.libXxf86vm}/lib:${openal}/lib \
|
||||
--prefix LD_LIBRARY_PATH : ${libpulseaudio}/lib \
|
||||
--add-flags "-jar $out/share/shattered-pixel-dungeon.jar"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://shatteredpixel.com/";
|
||||
downloadPage = "https://github.com/00-Evan/shattered-pixel-dungeon-gdx/releases";
|
||||
downloadPage = "https://github.com/00-Evan/shattered-pixel-dungeon/releases";
|
||||
description = "Traditional roguelike game with pixel-art graphics and simple interface";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
|
@ -3,7 +3,7 @@
|
||||
with stdenv.lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "5.7.3";
|
||||
version = "5.7.4";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||
@ -13,6 +13,6 @@ buildLinux (args // rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||
sha256 = "1sgwdcyn9105lfgg25q41yj30sy9cqfdm8m4dmka8gzllxxyq407";
|
||||
sha256 = "06mm0bmjw54aypfhhbm9aaz5bmgymvygfak587iwv901635gb95w";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "coredns";
|
||||
version = "1.6.9";
|
||||
version = "1.7.0";
|
||||
|
||||
goPackagePath = "github.com/coredns/coredns";
|
||||
|
||||
@ -10,10 +10,10 @@ buildGoModule rec {
|
||||
owner = "coredns";
|
||||
repo = "coredns";
|
||||
rev = "v${version}";
|
||||
sha256 = "18c02ss0sxxg8lkhdmyaac2x5alfxsizf6jqhck8bqkf6hiyv5hc";
|
||||
sha256 = "1wayfr26gwgdl0sfrvskb4hkxfmxfy7idbrpw3z4r05fkr2886xj";
|
||||
};
|
||||
|
||||
vendorSha256 = "0ykhqsz4a7bkkxcg7w23jl3qs36law1f8l1b5r3i26qlamibqxl7";
|
||||
vendorSha256 = "17znl3vkg73hnrfl697rw201nsd5sijgalnbkljk1b4m0a01zik1";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://coredns.io";
|
||||
|
@ -2,14 +2,14 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "matterbridge";
|
||||
version = "1.17.1";
|
||||
version = "1.17.5";
|
||||
|
||||
goPackagePath = "github.com/42wim/matterbridge";
|
||||
vendorSha256 = null;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/42wim/matterbridge/archive/v${version}.tar.gz";
|
||||
sha256 = "0xf0s1bvlzqnxz2kvqx1h9gmgqxdlf34s27s3zradi8fwd8hriv6";
|
||||
sha256 = "1p89ik5zr1qq1abd9k1xfa4j62b11zdnl2gm52y0s5yx8slap4w0";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "apcupsd-exporter";
|
||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "09x8y8pmgfn897hvnk122ry460y12b8a7y5fafri5wn9vxab9r82";
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) apcupsd; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Provides a Prometheus exporter for the apcupsd Network Information Server (NIS)";
|
||||
homepage = "https://github.com/mdlayher/apcupsd_exporter";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "bind_exporter";
|
||||
@ -14,6 +14,8 @@ buildGoPackage rec {
|
||||
sha256 = "1nd6pc1z627w4x55vd42zfhlqxxjmfsa9lyn0g6qq19k4l85v1qm";
|
||||
};
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Prometheus exporter for bind9 server";
|
||||
homepage = "https://github.com/digitalocean/bind_exporter";
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "blackbox_exporter";
|
||||
version = "0.16.0";
|
||||
version = "0.17.0";
|
||||
rev = version;
|
||||
|
||||
goPackagePath = "github.com/prometheus/blackbox_exporter";
|
||||
@ -11,17 +11,19 @@ buildGoPackage rec {
|
||||
rev = "v${version}";
|
||||
owner = "prometheus";
|
||||
repo = "blackbox_exporter";
|
||||
sha256 = "1zbf3ljasv0r91rrmk3mj5nhimaf7xg3aih1ldz27rh5yww7gyzg";
|
||||
sha256 = "00ganz6wfwyb9avkp2fr4bwpzvfiffsmpgndl8zp80bk7m1b3mnz";
|
||||
};
|
||||
|
||||
# dns-lookup is performed for the tests
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) blackbox; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Blackbox probing of endpoints over HTTP, HTTPS, DNS, TCP and ICMP";
|
||||
homepage = "https://github.com/prometheus/blackbox_exporter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ globin fpletz willibutz ];
|
||||
maintainers = with maintainers; [ globin fpletz willibutz Frostman ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "collectd-exporter";
|
||||
@ -14,6 +14,8 @@ buildGoPackage rec {
|
||||
sha256 = "1p0kb7c8g0r0sp5a6xrx8vnwbw14hhwlqzk4n2xx2y8pvnbivajz";
|
||||
};
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) collectd; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Relay server for exporting metrics from collectd to Prometheus";
|
||||
homepage = "https://github.com/prometheus/collectd_exporter";
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "consul_exporter";
|
||||
version = "0.3.0";
|
||||
version = "0.6.0";
|
||||
|
||||
goPackagePath = "github.com/prometheus/consul_exporter";
|
||||
|
||||
@ -10,7 +10,7 @@ buildGoPackage rec {
|
||||
owner = "prometheus";
|
||||
repo = "consul_exporter";
|
||||
rev = "v${version}";
|
||||
sha256 = "1zffbxyfmqpbdqkx5rb5vjgd9j4p4zcrh6jvn1zhbdzrcs7khnd9";
|
||||
sha256 = "0s30blb4d8zw9f6x7dsnc1rxmxzsaih9w3xxxgr6c9xsm347mj86";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, python3Packages }:
|
||||
{ lib, fetchFromGitHub, python3Packages, nixosTests }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "prometheus-cups-exporter-unstable";
|
||||
@ -26,6 +26,8 @@ python3Packages.buildPythonApplication rec {
|
||||
--add-flags "$out/share/cups_exporter.py"
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) cups; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple prometheus exporter for cups implemented in python";
|
||||
homepage = "https://github.com/ThoreKr/cups_exporter";
|
||||
|
@ -1,13 +1,13 @@
|
||||
{ lib, go, buildGoPackage, fetchFromGitHub, mkYarnPackage }:
|
||||
|
||||
let
|
||||
version = "2.18.1";
|
||||
version = "2.19.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "prometheus";
|
||||
repo = "prometheus";
|
||||
sha256 = "0ixgjp3j9dkdb0vv5n83h8w48xgi70m83im660z97y7mflr5s2cf";
|
||||
sha256 = "1isv66dnn61mm76r577qqafsn6w5msb0a6i9dykg4z7crcpsnq70";
|
||||
};
|
||||
|
||||
webui = mkYarnPackage {
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dnsmasq_exporter";
|
||||
@ -13,10 +13,12 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "1dqpa180pbdi2gcmp991d4cry560mx5rm5l9x065s9n9gnd38hvl";
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) dnsmasq; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "A dnsmasq exporter for Prometheus";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ willibutz globin ma27 ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "dovecot_exporter";
|
||||
@ -15,6 +15,8 @@ buildGoPackage rec {
|
||||
|
||||
goDeps = ./dovecot-exporter-deps.nix;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) dovecot; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Prometheus metrics exporter for Dovecot";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "fritzbox-exporter";
|
||||
@ -16,6 +16,8 @@ buildGoPackage rec {
|
||||
|
||||
goDeps = ./fritzbox-exporter-deps.nix;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) fritzbox; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Prometheus Exporter for FRITZ!Box (TR64 and UPnP)";
|
||||
homepage = "https://github.com/ndecker/fritzbox_exporter";
|
||||
|
@ -1,5 +1,5 @@
|
||||
# This file was generated by go2nix.
|
||||
{ buildGoPackage, fetchFromGitHub, fetchpatch, lib }:
|
||||
{ buildGoPackage, fetchFromGitHub, fetchpatch, lib, nixosTests }:
|
||||
|
||||
buildGoPackage {
|
||||
pname = "prometheus-json-exporter";
|
||||
@ -21,6 +21,8 @@ buildGoPackage {
|
||||
sha256 = "0mc5axhd2bykci41dgswl4r1552d70jsmb17lbih7czhsy6rgmrm";
|
||||
})];
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) json; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A prometheus exporter which scrapes remote JSON by JSONPath";
|
||||
homepage = "https://github.com/kawamuray/prometheus-json-exporter";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "keylight-exporter";
|
||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "0w065ls8dp687jmps4xdffcarss1wyls14dngr43g58xjw6519gb";
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) keylight; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/mdlayher/keylight_exporter";
|
||||
description = "Prometheus exporter for Elgato Key Light devices.";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "lndmon-unstable";
|
||||
@ -13,6 +13,8 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "083h2ksnqmcr48958r5pag9a28xvljpc3prip6wn70ifp2wpjpin";
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) lnd; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Prometheus exporter for lnd (Lightning Network Daemon)";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, installShellFiles, nixosTests }:
|
||||
|
||||
buildGoPackage {
|
||||
pname = "mailexporter";
|
||||
@ -22,6 +22,8 @@ buildGoPackage {
|
||||
installManPage $src/man/mailexporter.conf.5
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) mail; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Export Prometheus-style metrics about mail server functionality";
|
||||
homepage = "https://github.com/cherti/mailexporter";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mikrotik-exporter-unstable";
|
||||
@ -13,10 +13,12 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "0i5x4d3ra0s41knmybbg8gnjxgraxkid6y3gfkjwa65xcbp7hr7q";
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) mikrotik; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Prometheus MikroTik device(s) exporter";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ mmilata ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, buildGoPackage }:
|
||||
{ lib, fetchFromGitHub, buildGoPackage, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "prometheus-nextcloud-exporter";
|
||||
@ -17,6 +17,8 @@ buildGoPackage rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) nextcloud; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus exporter for Nextcloud servers.";
|
||||
homepage = "https://github.com/xperimental/nextcloud-exporter";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "nginx_exporter";
|
||||
@ -19,6 +19,8 @@ buildGoPackage rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) nginx; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "NGINX Prometheus Exporter for NGINX and NGINX Plus";
|
||||
homepage = "https://github.com/nginxinc/nginx-prometheus-exporter";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "node_exporter";
|
||||
@ -23,6 +23,8 @@ buildGoPackage rec {
|
||||
-X ${goPackagePath}/vendor/github.com/prometheus/common/version.Revision=${rev}
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) node; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Prometheus exporter for machine metrics";
|
||||
homepage = "https://github.com/prometheus/node_exporter";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, systemd, makeWrapper
|
||||
, withSystemdSupport ? true }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, nixosTests
|
||||
, systemd, withSystemdSupport ? true }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
@ -47,6 +47,8 @@ buildGoPackage rec {
|
||||
--prefix LD_LIBRARY_PATH : "${systemd.lib}/lib"
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) postfix; };
|
||||
|
||||
meta = {
|
||||
inherit (src.meta) homepage;
|
||||
description = "A Prometheus exporter for Postfix";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "postgres_exporter";
|
||||
@ -15,6 +15,8 @@ buildGoPackage rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) postgres; };
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "A Prometheus exporter for PostgreSQL";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "redis_exporter";
|
||||
@ -22,6 +22,8 @@ buildGoPackage rec {
|
||||
-X main.BuildDate=unknown
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) redis; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Prometheus exporter for Redis metrics";
|
||||
inherit (src.meta) homepage;
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, net-snmp }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, net-snmp, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "snmp_exporter";
|
||||
@ -17,6 +17,8 @@ buildGoPackage rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) snmp; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "SNMP Exporter for Prometheus";
|
||||
homepage = "https://github.com/prometheus/snmp_exporter";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "surfboard_exporter";
|
||||
@ -13,6 +13,8 @@ buildGoPackage rec {
|
||||
sha256 = "11qms26648nwlwslnaflinxcr5rnp55s908rm1qpnbz0jnxf5ipw";
|
||||
};
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) surfboard; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Arris Surfboard signal metrics exporter";
|
||||
homepage = "https://github.com/ipstatic/surfboard_exporter";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, fetchFromGitHub, python3Packages }:
|
||||
{ lib, fetchFromGitHub, python3Packages, nixosTests }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
name = "tor-exporter-${version}";
|
||||
@ -27,6 +27,8 @@ python3Packages.buildPythonApplication rec {
|
||||
--add-flags "$out/share/prometheus-tor-exporter.py"
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) tor; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prometheus exporter that exposes metrics from a Tor daemon";
|
||||
homepage = "https://github.com/atx/prometheus-tor_exporter";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, varnish }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper, varnish, nixosTests }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "prometheus_varnish_exporter";
|
||||
@ -22,10 +22,12 @@ buildGoModule rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) varnish; };
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/jonnenauha/prometheus_varnish_exporter";
|
||||
description = "Varnish exporter for Prometheus";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ MostAwesomeDude willibutz ];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@
|
||||
"fuzzy": "^0.1.3",
|
||||
"i": "^0.3.6",
|
||||
"jest-fetch-mock": "^2.1.2",
|
||||
"jquery": "^3.3.1",
|
||||
"jquery": "^3.5",
|
||||
"jquery.flot.tooltip": "^0.9.0",
|
||||
"jsdom": "^15.2.0",
|
||||
"moment": "^2.24.0",
|
||||
|
@ -6634,11 +6634,11 @@
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "jquery___jquery_3.4.1.tgz";
|
||||
name = "jquery___jquery_3.5.1.tgz";
|
||||
path = fetchurl {
|
||||
name = "jquery___jquery_3.4.1.tgz";
|
||||
url = "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz";
|
||||
sha1 = "714f1f8d9dde4bdfa55764ba37ef214630d80ef2";
|
||||
name = "jquery___jquery_3.5.1.tgz";
|
||||
url = "https://registry.yarnpkg.com/jquery/-/jquery-3.5.1.tgz";
|
||||
sha1 = "d7b4d08e1bfdb86ad2f1a3d039ea17304717abb5";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, lib, Security }:
|
||||
{ stdenv, rustPlatform, fetchFromGitHub, lib, Security, nixosTests }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wireguard-exporter";
|
||||
@ -15,6 +15,8 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) wireguard; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Prometheus exporter for WireGuard, written in Rust.";
|
||||
homepage = "https://github.com/MindFlavor/prometheus_wireguard_exporter";
|
||||
|
@ -8,13 +8,13 @@
|
||||
# server, and the FHS userenv and corresponding NixOS module should
|
||||
# automatically pick up the changes.
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.19.3.2852-219a9974e";
|
||||
version = "1.19.4.2935-79e214ead";
|
||||
pname = "plexmediaserver";
|
||||
|
||||
# Fetch the source
|
||||
src = fetchurl {
|
||||
url = "https://downloads.plex.tv/plex-media-server-new/${version}/redhat/plexmediaserver-${version}.x86_64.rpm";
|
||||
sha256 = "0sp7lnzf3zrwdmcg54mpvml89q1cbaq6s1cl9gj2z31xfiz07a26";
|
||||
sha256 = "0wzbdr89janyrbilvxrxfvhy02c1j5dsrcyjxnj4ryab0qc4sv04";
|
||||
};
|
||||
|
||||
outputs = [ "out" "basedb" ];
|
||||
|
@ -3,14 +3,14 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "teleport";
|
||||
version = "4.1.0";
|
||||
version = "4.2.10";
|
||||
|
||||
# This repo has a private submodule "e" which fetchgit cannot handle without failing.
|
||||
src = fetchFromGitHub {
|
||||
owner = "gravitational";
|
||||
repo = "teleport";
|
||||
rev = "v${version}";
|
||||
sha256 = "1yj4z9lzvwvv566d8c4351xj23vmw8zh9scx87dlf0qzqxri91wk";
|
||||
sha256 = "0y6qih4m8snzfj8ddbcfqx0cz4ric0i5vgz0rgqp6wpi2arwysnn";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/gravitational/teleport";
|
||||
|
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||
sed -e "/INSTALL.*initramfs\/hook/d" \
|
||||
-e "/INSTALL.*initcpio\/install/d" \
|
||||
-e "/INSTALL.*dracut\/module-setup.sh/d" \
|
||||
-e "s/pkg-config/$PKG_CONFIG/" \
|
||||
-i Makefile
|
||||
'';
|
||||
|
||||
@ -28,8 +29,12 @@ stdenv.mkDerivation rec {
|
||||
./fix-static.patch
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
"UDEVLIBDIR=${placeholder "out"}/lib/udev/"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
export makeFlags="$makeFlags PREFIX=\"$out\" UDEVLIBDIR=\"$out/lib/udev/\"";
|
||||
sed -e "s|/bin/sh|${bash}/bin/sh|" -i *.rules
|
||||
'';
|
||||
|
||||
|
@ -2,34 +2,27 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jhead";
|
||||
version = "3.03";
|
||||
version = "3.04";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.sentex.net/~mwandel/jhead/${pname}-${version}.tar.gz";
|
||||
sha256 = "1hn0yqcicq3qa20h1g313l1a671r8mccpb9gz0w1056r500lw6c2";
|
||||
sha256 = "1j831bqw1qpkbchdriwcy3sgzvbagaj45wlc124fs9bc9z7vp2gg";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2019-1010301.patch";
|
||||
url = "https://sources.debian.org/data/main/j/jhead/1:3.03-3/debian/patches/36_CVE-2019-1010301";
|
||||
sha256 = "1vvrg50z5y7sjhfi973wh1q1v79sqp7hk5d4z0dlnx3fqgkjrx7q";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "CVE-2019-1010302.patch";
|
||||
url = "https://sources.debian.org/data/main/j/jhead/1:3.03-3/debian/patches/37_CVE-2019-1010302";
|
||||
sha256 = "1h11mpsi7hpwbi8kpnkjwn6zpqf88f132h0rsg8sggcs3vva2x8y";
|
||||
url = "https://sources.debian.org/data/main/j/jhead/1:3.04-2/debian/patches/01_gpsinfo.c";
|
||||
sha256 = "0r8hdbfrdxip4dwz5wqsv47a29j33cx7w5zx4jdhp5l1ihg003lz";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ libjpeg ];
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace makefile \
|
||||
--replace /usr/local/bin $out/bin
|
||||
makeFlags = [ "CPPFLAGS=" "CFLAGS=-O3" "LDFLAGS=" ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i '/dpkg-buildflags/d' makefile
|
||||
substituteInPlace jhead.c \
|
||||
--replace "\" Compiled: \"__DATE__" "" \
|
||||
--replace "jpegtran -trim" "${libjpeg.bin}/bin/jpegtran -trim"
|
||||
'';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, runCommand, makeWrapper, python3Packages, docutils, help2man
|
||||
{ lib, stdenv, fetchurl, runCommand, makeWrapper, python3Packages, docutils, help2man
|
||||
, abootimg, acl, apktool, binutils-unwrapped, build-tools, bzip2, cbfstool, cdrkit, colord, colordiff, coreutils, cpio, db, diffutils, dtc
|
||||
, e2fsprogs, file, findutils, fontforge-fonttools, ffmpeg, fpc, gettext, ghc, ghostscriptX, giflib, gnumeric, gnupg, gnutar
|
||||
, gzip, hdf5, imagemagick, jdk, libarchive, libcaca, llvm, lz4, mono, openssh, openssl, pdftk, pgpdump, poppler_utils, qemu, R
|
||||
@ -16,11 +16,11 @@ let
|
||||
in
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "diffoscope";
|
||||
version = "147";
|
||||
version = "148";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
||||
sha256 = "1pichn3l10401cqk08zrys2ya9b6cjznk7ra28awnmvlg6l1cypj";
|
||||
sha256 = "1fx3wq5bv12pjcpkd7lvis0vg50apzwvxa5jvcs2dv1r8385wchz";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
@ -28,12 +28,6 @@ python3Packages.buildPythonApplication rec {
|
||||
patches = [
|
||||
./ignore_links.patch
|
||||
./skip-failing-test.patch
|
||||
|
||||
# Fix for CBFS comparator
|
||||
(fetchpatch {
|
||||
url = "https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/39ec527371c469d61e4afc04b3ee6ae3563f7b4c.patch";
|
||||
sha256 = "1mzdcbxg3ad5ynpf79phvif5hzckmhf7vzd82l1sffhlqxh0v4h3";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
|
@ -1,26 +1,32 @@
|
||||
{ stdenv, fetchFromGitHub, fetchurl, python3Packages }:
|
||||
{ stdenv, fetchFromGitHub, fetchurl, python3Packages, installShellFiles }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "unicode";
|
||||
version = "2.6";
|
||||
version = "2.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "garabik";
|
||||
repo = "unicode";
|
||||
rev = "v${version}";
|
||||
sha256 = "17hh4nwl5njsh7lnff583j2axn6rfvfbiqwp72n7vcsgkiszw4kg";
|
||||
sha256 = "15d9yvarxsiy0whx1mxzsjnnkrjdm3ga4qv2yy398mk0jh763q9v";
|
||||
};
|
||||
|
||||
ucdtxt = fetchurl {
|
||||
url = "http://www.unicode.org/Public/11.0.0/ucd/UnicodeData.txt";
|
||||
sha256 = "16b0jzvvzarnlxdvs2izd5ia0ipbd87md143dc6lv6xpdqcs75s9";
|
||||
url = "https://www.unicode.org/Public/13.0.0/ucd/UnicodeData.txt";
|
||||
sha256 = "1fz8fcd23lxyl97ay8h42zvkcgcg8l81b2dm05nklkddr2zzpgxx";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace "$out/bin/.unicode-wrapped" \
|
||||
--replace "/usr/share/unicode/UnicodeData.txt" "$ucdtxt"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage paracode.1 unicode.1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Display unicode character properties";
|
||||
homepage = "https://github.com/garabik/unicode";
|
||||
|
@ -4,13 +4,13 @@ with python3Packages;
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "reuse";
|
||||
version = "0.11.0";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fsfe";
|
||||
repo = "reuse-tool";
|
||||
rev = "v${version}";
|
||||
sha256 = "08dzvrv28ylbq1bm16lakwzyqq530fcbrl71k33zyb84mvgszy97";
|
||||
sha256 = "0wkk107s0bpvbknapns0qdzf8csrzc2j6gliy6pa8z208fcfzyy3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -1,12 +1,18 @@
|
||||
{ stdenv, fetchurl, makeWrapper, opencl-headers, ocl-icd, xxHash }:
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
, opencl-headers
|
||||
, ocl-icd
|
||||
, xxHash
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "hashcat";
|
||||
version = "5.1.0";
|
||||
version = "6.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://hashcat.net/files/hashcat-${version}.tar.gz";
|
||||
sha256 = "0f73y4cg8c7a6q7x34qvpfi4g3lw6j9bnn0a13g43aqyiskflfr8";
|
||||
sha256 = "118jxk4xh55m1vhaz5h2j2385mp4p397m16g9hi4x2k0b8m0zrz8";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
@ -1,28 +1,37 @@
|
||||
{ stdenv, fetchFromGitHub, python3 }:
|
||||
{ stdenv, fetchFromGitHub
|
||||
, makeWrapper, installShellFiles
|
||||
, python3, sqlite }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tuptime";
|
||||
version = "4.1.0";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rfrail3";
|
||||
repo = "tuptime";
|
||||
rev = version;
|
||||
sha256 = "0p5v1jp6bl0hjv04q3gh11q6dx9z0x61h6svcbvwp5ni0h1bkz1a";
|
||||
sha256 = "0izps85p8pxidfrzp7l4hp221fx3dcgapapsix1zavq6jrsl2qyh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper installShellFiles ];
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
install -m 755 src/tuptime $out/bin/
|
||||
install -m 755 $src/src/tuptime $out/bin/
|
||||
|
||||
mkdir -p $out/share/man/man1
|
||||
cp src/man/tuptime.1 $out/share/man/man1/
|
||||
installManPage $src/src/man/tuptime.1
|
||||
|
||||
# upstream only ships this, there are more scripts there...
|
||||
mkdir -p $out/usr/share/doc/tuptime/contrib
|
||||
cp misc/scripts/uptimed-to-tuptime.py $out/usr/share/doc/tuptime/contrib/
|
||||
install -Dm 0755 $src/misc/scripts/db-tuptime-migrate-4.0-to-5.0.sh \
|
||||
$out/share/tuptime/db-tuptime-migrate-4.0-to-5.0.sh
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram $out/share/tuptime/db-tuptime-migrate-4.0-to-5.0.sh \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ sqlite ]}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user