Merge master into staging-next
This commit is contained in:
commit
89a34c1cce
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
|
|
||||||
|
let inherit (pkgs) writeScript; in
|
||||||
|
|
||||||
let
|
let
|
||||||
pkgs2storeContents = l : map (x: { object = x; symlink = "none"; }) l;
|
pkgs2storeContents = l : map (x: { object = x; symlink = "none"; }) l;
|
||||||
|
|
||||||
@ -30,7 +32,12 @@ in {
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Some container managers like lxc need these
|
# Some container managers like lxc need these
|
||||||
extraCommands = "mkdir -p proc sys dev";
|
extraCommands =
|
||||||
|
let script = writeScript "extra-commands.sh" ''
|
||||||
|
rm etc
|
||||||
|
mkdir -p proc sys dev etc
|
||||||
|
'';
|
||||||
|
in script;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.isContainer = true;
|
boot.isContainer = true;
|
||||||
|
@ -81,8 +81,8 @@ in
|
|||||||
after = mkIf cfg.docker [ "docker.service" ];
|
after = mkIf cfg.docker [ "docker.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
# Taken from https://github.com/rancher/k3s/blob/v1.17.4+k3s1/contrib/ansible/roles/k3s/node/templates/k3s.service.j2
|
# See: https://github.com/rancher/k3s/blob/dddbd16305284ae4bd14c0aade892412310d7edc/install.sh#L197
|
||||||
Type = "notify";
|
Type = if cfg.role == "agent" then "exec" else "notify";
|
||||||
KillMode = "process";
|
KillMode = "process";
|
||||||
Delegate = "yes";
|
Delegate = "yes";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
|
@ -287,6 +287,7 @@ in
|
|||||||
snapper = handleTest ./snapper.nix {};
|
snapper = handleTest ./snapper.nix {};
|
||||||
solr = handleTest ./solr.nix {};
|
solr = handleTest ./solr.nix {};
|
||||||
spacecookie = handleTest ./spacecookie.nix {};
|
spacecookie = handleTest ./spacecookie.nix {};
|
||||||
|
spike = handleTest ./spike.nix {};
|
||||||
sonarr = handleTest ./sonarr.nix {};
|
sonarr = handleTest ./sonarr.nix {};
|
||||||
strongswan-swanctl = handleTest ./strongswan-swanctl.nix {};
|
strongswan-swanctl = handleTest ./strongswan-swanctl.nix {};
|
||||||
sudo = handleTest ./sudo.nix {};
|
sudo = handleTest ./sudo.nix {};
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dmenu-wayland-unstable";
|
pname = "dmenu-wayland-unstable";
|
||||||
version = "2020-02-28";
|
version = "2020-04-03";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nyyManni";
|
owner = "nyyManni";
|
||||||
repo = "dmenu-wayland";
|
repo = "dmenu-wayland";
|
||||||
rev = "68e08e8bcde10a10ac3290431f173c6c7fce4238";
|
rev = "550a7c39f3f925b803d51c616609c8cb6c0ea543";
|
||||||
sha256 = "10b1v2brgpgb6wkzn62haj56zmkf3aq6fs3p9rp6bxiw8bs2nvlm";
|
sha256 = "0az3w1csn4x6mjyacg6lf70kykdfqamic3hbr57mj83i5jjv0jlv";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
, imagemagick
|
, imagemagick
|
||||||
, netcat-gnu
|
, netcat-gnu
|
||||||
, p7zip
|
, p7zip
|
||||||
, python2Packages
|
, python2
|
||||||
, unzip
|
, unzip
|
||||||
, wget
|
, wget
|
||||||
, wine
|
, wine
|
||||||
@ -27,25 +27,25 @@
|
|||||||
let
|
let
|
||||||
version = "4.3.4";
|
version = "4.3.4";
|
||||||
|
|
||||||
binpath = stdenv.lib.makeBinPath
|
binpath = stdenv.lib.makeBinPath [
|
||||||
[ cabextract
|
cabextract
|
||||||
python2Packages.python
|
python
|
||||||
gettext
|
gettext
|
||||||
glxinfo
|
glxinfo
|
||||||
gnupg
|
gnupg
|
||||||
icoutils
|
icoutils
|
||||||
imagemagick
|
imagemagick
|
||||||
netcat-gnu
|
netcat-gnu
|
||||||
p7zip
|
p7zip
|
||||||
unzip
|
unzip
|
||||||
wget
|
wget
|
||||||
wine
|
wine
|
||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
xterm
|
xterm
|
||||||
which
|
which
|
||||||
curl
|
curl
|
||||||
jq
|
jq
|
||||||
];
|
];
|
||||||
|
|
||||||
ld32 =
|
ld32 =
|
||||||
if stdenv.hostPlatform.system == "x86_64-linux" then "${stdenv.cc}/nix-support/dynamic-linker-m32"
|
if stdenv.hostPlatform.system == "x86_64-linux" then "${stdenv.cc}/nix-support/dynamic-linker-m32"
|
||||||
@ -54,6 +54,11 @@ let
|
|||||||
ld64 = "${stdenv.cc}/nix-support/dynamic-linker";
|
ld64 = "${stdenv.cc}/nix-support/dynamic-linker";
|
||||||
libs = pkgs: stdenv.lib.makeLibraryPath [ xorg.libX11 libGL ];
|
libs = pkgs: stdenv.lib.makeLibraryPath [ xorg.libX11 libGL ];
|
||||||
|
|
||||||
|
python = python2.withPackages(ps: with ps; [
|
||||||
|
wxPython
|
||||||
|
setuptools
|
||||||
|
]);
|
||||||
|
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
pname = "playonlinux";
|
pname = "playonlinux";
|
||||||
inherit version;
|
inherit version;
|
||||||
@ -65,15 +70,13 @@ in stdenv.mkDerivation {
|
|||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs = [
|
||||||
[ python2Packages.python
|
xorg.libX11
|
||||||
python2Packages.wxPython
|
libGL
|
||||||
python2Packages.setuptools
|
python
|
||||||
xorg.libX11
|
];
|
||||||
libGL
|
|
||||||
];
|
|
||||||
|
|
||||||
patchPhase = ''
|
postPatch = ''
|
||||||
patchShebangs python tests/python
|
patchShebangs python tests/python
|
||||||
sed -i "s/ %F//g" etc/PlayOnLinux.desktop
|
sed -i "s/ %F//g" etc/PlayOnLinux.desktop
|
||||||
'';
|
'';
|
||||||
@ -85,7 +88,6 @@ in stdenv.mkDerivation {
|
|||||||
install -D -m644 etc/PlayOnLinux.desktop $out/share/applications/playonlinux.desktop
|
install -D -m644 etc/PlayOnLinux.desktop $out/share/applications/playonlinux.desktop
|
||||||
|
|
||||||
makeWrapper $out/share/playonlinux/playonlinux $out/bin/playonlinux \
|
makeWrapper $out/share/playonlinux/playonlinux $out/bin/playonlinux \
|
||||||
--prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath "$out") \
|
|
||||||
--prefix PATH : ${binpath}
|
--prefix PATH : ${binpath}
|
||||||
|
|
||||||
bunzip2 $out/share/playonlinux/bin/check_dd_x86.bz2
|
bunzip2 $out/share/playonlinux/bin/check_dd_x86.bz2
|
||||||
|
@ -4,19 +4,19 @@ assert stdenv.lib.versionAtLeast ocamlPackages.ocaml.version "4.07";
|
|||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "jackline";
|
pname = "jackline";
|
||||||
version = "unstable-2020-03-22";
|
version = "unstable-2020-04-24";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "hannesm";
|
owner = "hannesm";
|
||||||
repo = "jackline";
|
repo = "jackline";
|
||||||
rev = "52f84525c74c43e8d03fb1e6ff025ccb2699e4aa";
|
rev = "885b97b90d565f5f7c2b5f66f5edf14a82251b87";
|
||||||
sha256 = "0wir573ah1w16xzdn9rfwk3569zq4ff5frp0ywq70va4gdlb679c";
|
sha256 = "1mdn413ya2g0a1mrdbh1b65gnygrxb08k99z5lmidhh34kd1llsj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with ocamlPackages; [
|
buildInputs = with ocamlPackages; [
|
||||||
ocaml ocamlbuild findlib topkg ppx_sexp_conv ppx_deriving
|
ocaml ocamlbuild findlib topkg ppx_sexp_conv ppx_deriving
|
||||||
erm_xmpp tls mirage-crypto mirage-crypto-pk x509 domain-name
|
erm_xmpp tls mirage-crypto mirage-crypto-pk x509 domain-name
|
||||||
ocaml_lwt otr astring ptime mtime notty sexplib hex uutf
|
ocaml_lwt otr astring ptime notty sexplib hex uutf
|
||||||
dns-client base64
|
dns-client base64
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -25,11 +25,11 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gnucash";
|
pname = "gnucash";
|
||||||
version = "3.9";
|
version = "3.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/gnucash/${pname}-${version}.tar.bz2";
|
url = "mirror://sourceforge/gnucash/${pname}-${version}.tar.bz2";
|
||||||
sha256 = "1zxrgrjbs13vgr002rvl734w9f7zzxfq4xxmyhj777dwgkfds0ld";
|
sha256 = "05kgg7mhizndwn7icnarqk3c19xrzfawf90y9nb3jdm6fv1741xn";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig makeWrapper cmake gtest ];
|
nativeBuildInputs = [ pkgconfig makeWrapper cmake gtest ];
|
||||||
@ -69,7 +69,6 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# TODO: The following tests FAILED:
|
# TODO: The following tests FAILED:
|
||||||
# 61 - test-gnc-timezone (Failed)
|
|
||||||
# 70 - test-load-c (Failed)
|
# 70 - test-load-c (Failed)
|
||||||
# 71 - test-modsysver (Failed)
|
# 71 - test-modsysver (Failed)
|
||||||
# 72 - test-incompatdep (Failed)
|
# 72 - test-incompatdep (Failed)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "snakemake";
|
pname = "snakemake";
|
||||||
version = "5.13.0";
|
version = "5.15.0";
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
appdirs
|
appdirs
|
||||||
@ -22,13 +22,13 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
src = python3Packages.fetchPypi {
|
src = python3Packages.fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "11snr7sgv70d3y63s5svijfx8f4xpggh96g8chr6lccl4mi1s9x9";
|
sha256 = "10cd1k5vg8ra5fnpqpdbl04qwx6h2mmmqbn71pl8j69w9110dkys";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false; # Tests depend on Google Cloud credentials at ${HOME}/gcloud-service-key.json
|
doCheck = false; # Tests depend on Google Cloud credentials at ${HOME}/gcloud-service-key.json
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://snakemake.bitbucket.io";
|
homepage = "https://snakemake.readthedocs.io";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
description = "Python-based execution environment for make-like workflows";
|
description = "Python-based execution environment for make-like workflows";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
68
pkgs/applications/video/tartube/default.nix
Normal file
68
pkgs/applications/video/tartube/default.nix
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
{ stdenv
|
||||||
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, gdk-pixbuf
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk3
|
||||||
|
, libnotify
|
||||||
|
, pango
|
||||||
|
, python3Packages
|
||||||
|
, wrapGAppsHook
|
||||||
|
, youtube-dl
|
||||||
|
, glib
|
||||||
|
}:
|
||||||
|
|
||||||
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "tartube";
|
||||||
|
version = "2.0.016";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "axcore";
|
||||||
|
repo = "tartube";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1y77ykihyi4v6xlsm5xldbs9lzq229l574rxz6qfvrjcbbwajfj9";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
gobject-introspection
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
strictDeps = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3Packages; [
|
||||||
|
moviepy
|
||||||
|
pygobject3
|
||||||
|
pyxdg
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
gdk-pixbuf
|
||||||
|
gtk3
|
||||||
|
glib
|
||||||
|
libnotify
|
||||||
|
pango
|
||||||
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/{man/man1,applications,pixmaps}
|
||||||
|
cp pack/tartube.1 $out/share/man/man1
|
||||||
|
cp pack/tartube.desktop $out/share/applications
|
||||||
|
cp pack/tartube.{png,xpm} $out/share/pixmaps
|
||||||
|
'';
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
makeWrapperArgs = [
|
||||||
|
"--prefix PATH : ${stdenv.lib.makeBinPath [ youtube-dl ]}"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A GUI front-end for youtube-dl";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ mkg20001 luc65r ];
|
||||||
|
homepage = "https://tartube.sourceforge.io/";
|
||||||
|
};
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, dtc }:
|
{ stdenv, fetchgit, dtc, nixosTests }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "spike";
|
pname = "spike";
|
||||||
@ -20,6 +20,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
can-run-hello-world = nixosTests.spike;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A RISC-V ISA Simulator";
|
description = "A RISC-V ISA Simulator";
|
||||||
homepage = "https://github.com/riscv/riscv-isa-sim";
|
homepage = "https://github.com/riscv/riscv-isa-sim";
|
||||||
|
@ -43,13 +43,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "mutter";
|
pname = "mutter";
|
||||||
version = "3.34.4";
|
version = "3.34.5";
|
||||||
|
|
||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "18hbw98p4h3d4qz57415smwmfg72s9a0nk8mb04ds1gn2lsm2d01";
|
sha256 = "1i3r51ghfld1rf1rczzi3jhybz3mhywqcj2jyiqhfcyp1svlklfi";
|
||||||
};
|
};
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
@ -111,6 +111,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0imy2j8af9477jliwdq4jc40yw1cifsjjf196gnmwxr9rkj0hbrd";
|
sha256 = "0imy2j8af9477jliwdq4jc40yw1cifsjjf196gnmwxr9rkj0hbrd";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# gnome-3-34 2020-04-24
|
||||||
|
# also fixes https://mail.gnome.org/archives/distributor-list/2020-April/msg00001.html
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/GNOME/mutter/compare/3.34.5..3bafd234248fdcd84bc62fef5e31c29fbb613909.patch";
|
||||||
|
sha256 = "1a7krbdfmvx204p6av44rbp4ckp6ddg1mms8wkixxh2p871zq1pi";
|
||||||
|
})
|
||||||
|
|
||||||
# Drop inheritable cap_sys_nice, to prevent the ambient set from leaking
|
# Drop inheritable cap_sys_nice, to prevent the ambient set from leaking
|
||||||
# from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381
|
# from mutter/gnome-shell, see https://github.com/NixOS/nixpkgs/issues/71381
|
||||||
./drop-inheritable.patch
|
./drop-inheritable.patch
|
||||||
|
@ -5,14 +5,14 @@ let
|
|||||||
python = python3.withPackages (p: [ p.requests ]);
|
python = python3.withPackages (p: [ p.requests ]);
|
||||||
upperBoundFlag =
|
upperBoundFlag =
|
||||||
let
|
let
|
||||||
package = lib.getAttrFromPath (lib.splitString "." attrPath) pkgs;
|
package = lib.attrByPath (lib.splitString "." attrPath) (throw "Cannot find attribute ‘${attrPath}’.") pkgs;
|
||||||
packageVersion = lib.getVersion package;
|
packageVersion = lib.getVersion package;
|
||||||
versionComponents = lib.versions.splitVersion packageVersion;
|
versionComponents = lib.versions.splitVersion packageVersion;
|
||||||
minorVersion = lib.versions.minor packageVersion;
|
minorVersion = lib.versions.minor packageVersion;
|
||||||
minorAvailable = builtins.length versionComponents > 1 && builtins.match "[0-9]+" minorVersion != null;
|
minorAvailable = builtins.length versionComponents > 1 && builtins.match "[0-9]+" minorVersion != null;
|
||||||
nextMinor = builtins.fromJSON minorVersion + 1;
|
nextMinor = builtins.fromJSON minorVersion + 1;
|
||||||
upperBound = "${lib.versions.major packageVersion}.${builtins.toString nextMinor}";
|
upperBound = "${lib.versions.major packageVersion}.${builtins.toString nextMinor}";
|
||||||
in lib.optionalString (minorAvailable && freeze) ''--upper-bound="${upperBound}"'';
|
in lib.optionalString (freeze && minorAvailable) ''--upper-bound="${upperBound}"'';
|
||||||
updateScript = writeScript "gnome-update-script" ''
|
updateScript = writeScript "gnome-update-script" ''
|
||||||
#!${stdenv.shell}
|
#!${stdenv.shell}
|
||||||
set -o errexit
|
set -o errexit
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
{ mkXfceDerivation, gtk3, glib, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
|
{ mkXfceDerivation, gettext, gtk3, glib, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
|
||||||
|
|
||||||
mkXfceDerivation {
|
mkXfceDerivation {
|
||||||
category = "panel-plugins";
|
category = "panel-plugins";
|
||||||
pname = "xfce4-whiskermenu-plugin";
|
pname = "xfce4-whiskermenu-plugin";
|
||||||
version = "2.4.3";
|
version = "2.4.4";
|
||||||
rev-prefix = "v";
|
rev-prefix = "v";
|
||||||
sha256 = "1cs3fps1bj0dd5az7fwrvw1xl3y621qk4dma3n73p7rr19j7fpsn";
|
sha256 = "08b82j9xp3vzjlc740s9svcjkbsal71ggp23y7dvjqppch7sdxzw";
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ exo garcon gtk3 glib libxfce4ui libxfce4util xfce4-panel xfconf ];
|
buildInputs = [ gettext exo garcon gtk3 glib libxfce4ui libxfce4util xfce4-panel xfconf ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace panel-plugin/xfce4-popup-whiskermenu.in \
|
||||||
|
--replace gettext ${gettext}/bin/gettext
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/bin/xfce4-popup-whiskermenu \
|
substituteInPlace $out/bin/xfce4-popup-whiskermenu \
|
||||||
|
@ -4,18 +4,18 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "unison-code-manager";
|
pname = "unison-code-manager";
|
||||||
milestone_id = "M1h";
|
milestone_id = "M1j";
|
||||||
version = "1.0.${milestone_id}-alpha";
|
version = "1.0.${milestone_id}-alpha";
|
||||||
|
|
||||||
src = if (stdenv.isDarwin) then
|
src = if (stdenv.isDarwin) then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/unison-osx.tar.gz";
|
url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/unison-osx.tar.gz";
|
||||||
sha256 = "0iivm5gmbk0fq0zr3lvck6p1c2i7i54l3rf70z677529w9irzchp";
|
sha256 = "1pvdjmasgl22inbr8nlizsg8s5zagn8bzwhaxqmwafkpsskz0hsg";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/unison-linux64.tar.gz";
|
url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/unison-linux64.tar.gz";
|
||||||
sha256 = "0fb84c1yn8pidflh7kq696j3v4blkvbk1fsqp36h30p7vv676yci";
|
sha256 = "1xpblx405cp3mv0vrhcqwjlxvrhgmc77mxbvcy93srxja3qai1af";
|
||||||
};
|
};
|
||||||
|
|
||||||
# The tarball is just the prebuilt binary, in the archive root.
|
# The tarball is just the prebuilt binary, in the archive root.
|
||||||
|
@ -1457,11 +1457,8 @@ self: super: {
|
|||||||
cryptonite = dontCheck super.cryptonite;
|
cryptonite = dontCheck super.cryptonite;
|
||||||
|
|
||||||
# The test suite depends on an impure cabal-install installation in
|
# The test suite depends on an impure cabal-install installation in
|
||||||
# $HOME, which we don't have in our build sandbox, and it is keeping
|
# $HOME, which we don't have in our build sandbox.
|
||||||
# up with the most recent Cabal version.
|
cabal-install-parsers = dontCheck super.cabal-install-parsers;
|
||||||
cabal-install-parsers = dontCheck (super.cabal-install-parsers.overrideScope (self: super: {
|
|
||||||
Cabal = self.Cabal_3_2_0_0;
|
|
||||||
}));
|
|
||||||
|
|
||||||
# haskell-ci-0.8 needs cabal-install-parsers ==0.1, but we have 0.2.
|
# haskell-ci-0.8 needs cabal-install-parsers ==0.1, but we have 0.2.
|
||||||
haskell-ci = doJailbreak super.haskell-ci;
|
haskell-ci = doJailbreak super.haskell-ci;
|
||||||
|
@ -49,6 +49,7 @@ self: super: {
|
|||||||
async = doJailbreak super.async;
|
async = doJailbreak super.async;
|
||||||
ChasingBottoms = doJailbreak super.ChasingBottoms;
|
ChasingBottoms = doJailbreak super.ChasingBottoms;
|
||||||
hashable = doJailbreak super.hashable;
|
hashable = doJailbreak super.hashable;
|
||||||
|
pandoc = doJailbreak super.pandoc;
|
||||||
parallel = doJailbreak super.parallel;
|
parallel = doJailbreak super.parallel;
|
||||||
regex-base = doJailbreak super.regex-base;
|
regex-base = doJailbreak super.regex-base;
|
||||||
regex-compat = doJailbreak super.regex-compat;
|
regex-compat = doJailbreak super.regex-compat;
|
||||||
@ -56,6 +57,7 @@ self: super: {
|
|||||||
regex-posix = doJailbreak super.regex-posix;
|
regex-posix = doJailbreak super.regex-posix;
|
||||||
regex-tdfa = doJailbreak super.regex-tdfa;
|
regex-tdfa = doJailbreak super.regex-tdfa;
|
||||||
split = doJailbreak super.split;
|
split = doJailbreak super.split;
|
||||||
|
system-fileio = doJailbreak super.system-fileio;
|
||||||
tar = doJailbreak super.tar;
|
tar = doJailbreak super.tar;
|
||||||
tasty-expected-failure = doJailbreak super.tasty-expected-failure;
|
tasty-expected-failure = doJailbreak super.tasty-expected-failure;
|
||||||
unliftio-core = doJailbreak super.unliftio-core;
|
unliftio-core = doJailbreak super.unliftio-core;
|
||||||
@ -63,9 +65,12 @@ self: super: {
|
|||||||
zlib = doJailbreak super.zlib;
|
zlib = doJailbreak super.zlib;
|
||||||
|
|
||||||
# Use the latest version to fix the build.
|
# Use the latest version to fix the build.
|
||||||
|
dhall = self.dhall_1_31_1;
|
||||||
|
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;
|
optics-core = self.optics-core_0_3;
|
||||||
repline = self.repline_0_3_0_0;
|
repline = self.repline_0_3_0_0;
|
||||||
ghc-lib-parser-ex = self.ghc-lib-parser-ex_8_10_0_4;
|
singletons = self.singletons_2_7;
|
||||||
th-desugar = self.th-desugar_1_11;
|
th-desugar = self.th-desugar_1_11;
|
||||||
|
|
||||||
# `ghc-lib-parser-ex` (see conditionals in its `.cabal` file) does not need
|
# `ghc-lib-parser-ex` (see conditionals in its `.cabal` file) does not need
|
||||||
@ -77,14 +82,17 @@ self: super: {
|
|||||||
|
|
||||||
# Jailbreak to fix the build.
|
# Jailbreak to fix the build.
|
||||||
aeson-diff = doJailbreak super.aeson-diff;
|
aeson-diff = doJailbreak super.aeson-diff;
|
||||||
|
brick = doJailbreak super.brick;
|
||||||
cborg = doJailbreak super.cborg;
|
cborg = doJailbreak super.cborg;
|
||||||
cborg-json = doJailbreak super.cborg-json;
|
cborg-json = doJailbreak super.cborg-json;
|
||||||
exact-pi = doJailbreak super.exact-pi;
|
exact-pi = doJailbreak super.exact-pi;
|
||||||
|
policeman = doJailbreak super.policeman;
|
||||||
relude = dontCheck (doJailbreak super.relude);
|
relude = dontCheck (doJailbreak super.relude);
|
||||||
serialise = doJailbreak super.serialise;
|
serialise = doJailbreak super.serialise;
|
||||||
setlocale = doJailbreak super.setlocale;
|
setlocale = doJailbreak super.setlocale;
|
||||||
shellmet = doJailbreak super.shellmet;
|
shellmet = doJailbreak super.shellmet;
|
||||||
brick = doJailbreak super.brick;
|
weeder = doJailbreak super.weeder; # https://github.com/ocharles/weeder/issues/15
|
||||||
|
xmobar = doJailbreak super.xmobar;
|
||||||
|
|
||||||
# The shipped Setup.hs file is broken.
|
# The shipped Setup.hs file is broken.
|
||||||
csv = overrideCabal super.csv (drv: { preCompileBuildDriver = "rm Setup.hs"; });
|
csv = overrideCabal super.csv (drv: { preCompileBuildDriver = "rm Setup.hs"; });
|
||||||
@ -98,4 +106,18 @@ self: super: {
|
|||||||
|
|
||||||
# Only 0.8 is compatible with ghc 8.10 https://hackage.haskell.org/package/apply-refact/changelog
|
# Only 0.8 is compatible with ghc 8.10 https://hackage.haskell.org/package/apply-refact/changelog
|
||||||
apply-refact = super.apply-refact_0_8_0_0;
|
apply-refact = super.apply-refact_0_8_0_0;
|
||||||
|
|
||||||
|
# Apply patch to fix the build.
|
||||||
|
cabal-plan = appendPatch super.cabal-plan (pkgs.fetchpatch {
|
||||||
|
name = "cabal-plan-fix-for-ghc-8.10.x.patch";
|
||||||
|
url = "https://github.com/haskell-hvr/cabal-plan/pull/55.patch";
|
||||||
|
sha256 = "0lhs4vx5qg5ldhnyb9z7k0jmxhmd2f34x4xbwv6vsljs9vr02pd8";
|
||||||
|
});
|
||||||
|
dbus = appendPatch super.dbus ./patches/fix-dbus-for-ghc-8.10.x.patch;
|
||||||
|
|
||||||
|
# https://github.com/ndmitchell/hlint/issues/959
|
||||||
|
hlint = super.hlint.override {
|
||||||
|
ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex super.ghc-lib-parser;
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -102,4 +102,8 @@ self: super: {
|
|||||||
|
|
||||||
# Only 0.7 is compatible with ghc 8.7 https://hackage.haskell.org/package/apply-refact/changelog
|
# Only 0.7 is compatible with ghc 8.7 https://hackage.haskell.org/package/apply-refact/changelog
|
||||||
apply-refact = super.apply-refact_0_7_0_0;
|
apply-refact = super.apply-refact_0_7_0_0;
|
||||||
|
|
||||||
|
# The package needs the latest Cabal version.
|
||||||
|
cabal-install-parsers = super.cabal-install-parsers.overrideScope (self: super: { Cabal = self.Cabal_3_2_0_0; });
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -720,10 +720,9 @@ self: super: builtins.intersectAttrs super {
|
|||||||
# break infinite recursion with base-orphans
|
# break infinite recursion with base-orphans
|
||||||
primitive = dontCheck super.primitive;
|
primitive = dontCheck super.primitive;
|
||||||
|
|
||||||
# dhall-1.29.0 tests access the network. This override can be removed when
|
# dhall's tests access the network.
|
||||||
# dhall_1_29_0 is no longer used, since more recent versions of dhall don't
|
|
||||||
# access the network in checks.
|
|
||||||
dhall_1_29_0 = dontCheck super.dhall_1_29_0;
|
dhall_1_29_0 = dontCheck super.dhall_1_29_0;
|
||||||
|
dhall_1_31_1 = dontCheck super.dhall_1_31_1;
|
||||||
|
|
||||||
cut-the-crap =
|
cut-the-crap =
|
||||||
let path = pkgs.stdenv.lib.makeBinPath [ pkgs.ffmpeg ];
|
let path = pkgs.stdenv.lib.makeBinPath [ pkgs.ffmpeg ];
|
||||||
|
@ -0,0 +1,383 @@
|
|||||||
|
Only in dbus-1.2.13-new: .codeclimate.yml
|
||||||
|
diff -ur dbus-1.2.13-old/dbus.cabal dbus-1.2.13-new/dbus.cabal
|
||||||
|
--- dbus-1.2.13-old/dbus.cabal 2020-04-25 19:29:27.372272952 +0200
|
||||||
|
+++ dbus-1.2.13-new/dbus.cabal 2020-04-25 19:26:36.140991920 +0200
|
||||||
|
@@ -1,172 +1,180 @@
|
||||||
|
-cabal-version: >=1.8
|
||||||
|
name: dbus
|
||||||
|
version: 1.2.13
|
||||||
|
license: Apache-2.0
|
||||||
|
license-file: license.txt
|
||||||
|
-maintainer: Andrey Sverdlichenko <blaze@ruddy.ru>
|
||||||
|
author: John Millikin <john@john-millikin.com>
|
||||||
|
+maintainer: Andrey Sverdlichenko <blaze@ruddy.ru>
|
||||||
|
+build-type: Simple
|
||||||
|
+cabal-version: >= 1.8
|
||||||
|
+category: Network, Desktop
|
||||||
|
stability: experimental
|
||||||
|
homepage: https://github.com/rblaze/haskell-dbus#readme
|
||||||
|
+
|
||||||
|
synopsis: A client library for the D-Bus IPC system.
|
||||||
|
description:
|
||||||
|
- D-Bus is a simple, message-based protocol for inter-process
|
||||||
|
- communication, which allows applications to interact with other parts of
|
||||||
|
- the machine and the user's session using remote procedure calls.
|
||||||
|
- .
|
||||||
|
- D-Bus is a essential part of the modern Linux desktop, where it replaces
|
||||||
|
- earlier protocols such as CORBA and DCOP.
|
||||||
|
- .
|
||||||
|
- This library is an implementation of the D-Bus protocol in Haskell. It
|
||||||
|
- can be used to add D-Bus support to Haskell applications, without the
|
||||||
|
- awkward interfaces common to foreign bindings.
|
||||||
|
- .
|
||||||
|
- Example: connect to the session bus, and get a list of active names.
|
||||||
|
- .
|
||||||
|
- @
|
||||||
|
- {-\# LANGUAGE OverloadedStrings \#-}
|
||||||
|
- .
|
||||||
|
- import Data.List (sort)
|
||||||
|
- import DBus
|
||||||
|
- import DBus.Client
|
||||||
|
- .
|
||||||
|
- main = do
|
||||||
|
-   client <- connectSession
|
||||||
|
-   //
|
||||||
|
-   \-- Request a list of connected clients from the bus
|
||||||
|
-   reply <- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\")
|
||||||
|
-   { methodCallDestination = Just \"org.freedesktop.DBus\"
|
||||||
|
-   }
|
||||||
|
-   //
|
||||||
|
-   \-- org.freedesktop.DBus.ListNames() returns a single value, which is
|
||||||
|
-   \-- a list of names (here represented as [String])
|
||||||
|
-   let Just names = fromVariant (methodReturnBody reply !! 0)
|
||||||
|
-   //
|
||||||
|
-   \-- Print each name on a line, sorted so reserved names are below
|
||||||
|
-   \-- temporary names.
|
||||||
|
-   mapM_ putStrLn (sort names)
|
||||||
|
- @
|
||||||
|
- .
|
||||||
|
- >$ ghc --make list-names.hs
|
||||||
|
- >$ ./list-names
|
||||||
|
- >:1.0
|
||||||
|
- >:1.1
|
||||||
|
- >:1.10
|
||||||
|
- >:1.106
|
||||||
|
- >:1.109
|
||||||
|
- >:1.110
|
||||||
|
- >ca.desrt.dconf
|
||||||
|
- >org.freedesktop.DBus
|
||||||
|
- >org.freedesktop.Notifications
|
||||||
|
- >org.freedesktop.secrets
|
||||||
|
- >org.gnome.ScreenSaver
|
||||||
|
-category: Network, Desktop
|
||||||
|
-build-type: Simple
|
||||||
|
+ D-Bus is a simple, message-based protocol for inter-process
|
||||||
|
+ communication, which allows applications to interact with other parts of
|
||||||
|
+ the machine and the user's session using remote procedure calls.
|
||||||
|
+ .
|
||||||
|
+ D-Bus is a essential part of the modern Linux desktop, where it replaces
|
||||||
|
+ earlier protocols such as CORBA and DCOP.
|
||||||
|
+ .
|
||||||
|
+ This library is an implementation of the D-Bus protocol in Haskell. It
|
||||||
|
+ can be used to add D-Bus support to Haskell applications, without the
|
||||||
|
+ awkward interfaces common to foreign bindings.
|
||||||
|
+ .
|
||||||
|
+ Example: connect to the session bus, and get a list of active names.
|
||||||
|
+ .
|
||||||
|
+ @
|
||||||
|
+ {-\# LANGUAGE OverloadedStrings \#-}
|
||||||
|
+ .
|
||||||
|
+ import Data.List (sort)
|
||||||
|
+ import DBus
|
||||||
|
+ import DBus.Client
|
||||||
|
+ .
|
||||||
|
+ main = do
|
||||||
|
+   client <- connectSession
|
||||||
|
+  
|
||||||
|
+   -- Request a list of connected clients from the bus
|
||||||
|
+   reply <- call_ client (methodCall \"\/org\/freedesktop\/DBus\" \"org.freedesktop.DBus\" \"ListNames\")
|
||||||
|
+   { methodCallDestination = Just \"org.freedesktop.DBus\"
|
||||||
|
+   }
|
||||||
|
+  
|
||||||
|
+   -- org.freedesktop.DBus.ListNames() returns a single value, which is
|
||||||
|
+   -- a list of names (here represented as [String])
|
||||||
|
+   let Just names = fromVariant (methodReturnBody reply !! 0)
|
||||||
|
+  
|
||||||
|
+   -- Print each name on a line, sorted so reserved names are below
|
||||||
|
+   -- temporary names.
|
||||||
|
+   mapM_ putStrLn (sort names)
|
||||||
|
+ @
|
||||||
|
+ .
|
||||||
|
+ >$ ghc --make list-names.hs
|
||||||
|
+ >$ ./list-names
|
||||||
|
+ >:1.0
|
||||||
|
+ >:1.1
|
||||||
|
+ >:1.10
|
||||||
|
+ >:1.106
|
||||||
|
+ >:1.109
|
||||||
|
+ >:1.110
|
||||||
|
+ >ca.desrt.dconf
|
||||||
|
+ >org.freedesktop.DBus
|
||||||
|
+ >org.freedesktop.Notifications
|
||||||
|
+ >org.freedesktop.secrets
|
||||||
|
+ >org.gnome.ScreenSaver
|
||||||
|
+
|
||||||
|
+
|
||||||
|
extra-source-files:
|
||||||
|
- examples/dbus-monitor.hs
|
||||||
|
- examples/export.hs
|
||||||
|
- examples/introspect.hs
|
||||||
|
- examples/list-names.hs
|
||||||
|
- idlxml/dbus.xml
|
||||||
|
+ examples/dbus-monitor.hs
|
||||||
|
+ examples/export.hs
|
||||||
|
+ examples/introspect.hs
|
||||||
|
+ examples/list-names.hs
|
||||||
|
+ idlxml/dbus.xml
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
- type: git
|
||||||
|
- location: https://github.com/rblaze/haskell-dbus
|
||||||
|
+ type: git
|
||||||
|
+ location: https://github.com/rblaze/haskell-dbus
|
||||||
|
|
||||||
|
library
|
||||||
|
- exposed-modules:
|
||||||
|
- DBus
|
||||||
|
- DBus.Client
|
||||||
|
- DBus.Generation
|
||||||
|
- DBus.Internal.Address
|
||||||
|
- DBus.Internal.Message
|
||||||
|
- DBus.Internal.Types
|
||||||
|
- DBus.Internal.Wire
|
||||||
|
- DBus.Introspection
|
||||||
|
- DBus.Introspection.Parse
|
||||||
|
- DBus.Introspection.Render
|
||||||
|
- DBus.Introspection.Types
|
||||||
|
- DBus.Socket
|
||||||
|
- DBus.TH
|
||||||
|
- DBus.Transport
|
||||||
|
- hs-source-dirs: lib
|
||||||
|
- ghc-options: -W -Wall
|
||||||
|
- build-depends:
|
||||||
|
- base ==4.*,
|
||||||
|
- bytestring <0.11,
|
||||||
|
- cereal <0.6,
|
||||||
|
- conduit >=1.3.0 && <1.4,
|
||||||
|
- containers <0.7,
|
||||||
|
- deepseq <1.5,
|
||||||
|
- exceptions <0.11,
|
||||||
|
- filepath <1.5,
|
||||||
|
- lens <4.20,
|
||||||
|
- network >=3.0.1.0 && <3.2,
|
||||||
|
- parsec <3.2,
|
||||||
|
- random <1.2,
|
||||||
|
- split <0.3,
|
||||||
|
- template-haskell <2.16.0.0,
|
||||||
|
- text <1.3,
|
||||||
|
- th-lift <0.9,
|
||||||
|
- transformers <0.6,
|
||||||
|
- unix <2.8,
|
||||||
|
- vector <0.13,
|
||||||
|
- xml-conduit >=1.9.0.0 && <1.10.0.0,
|
||||||
|
- xml-types <0.4
|
||||||
|
+ ghc-options: -W -Wall
|
||||||
|
+ hs-source-dirs: lib
|
||||||
|
+
|
||||||
|
+ build-depends:
|
||||||
|
+ base >=4 && <5
|
||||||
|
+ , bytestring
|
||||||
|
+ , cereal
|
||||||
|
+ , conduit >= 1.3.0
|
||||||
|
+ , containers
|
||||||
|
+ , deepseq
|
||||||
|
+ , exceptions
|
||||||
|
+ , filepath
|
||||||
|
+ , lens < 4.20
|
||||||
|
+ , network >= 3.0.1.0 && < 3.2
|
||||||
|
+ , parsec
|
||||||
|
+ , random
|
||||||
|
+ , split
|
||||||
|
+ , template-haskell < 2.17.0.0
|
||||||
|
+ , text
|
||||||
|
+ , th-lift < 0.9
|
||||||
|
+ , transformers
|
||||||
|
+ , unix
|
||||||
|
+ , vector
|
||||||
|
+ , xml-conduit >= 1.9.0.0 && < 1.10.0.0
|
||||||
|
+ , xml-types
|
||||||
|
+
|
||||||
|
+ exposed-modules:
|
||||||
|
+ DBus
|
||||||
|
+ DBus.Client
|
||||||
|
+ DBus.Generation
|
||||||
|
+ DBus.Internal.Address
|
||||||
|
+ DBus.Internal.Message
|
||||||
|
+ DBus.Internal.Types
|
||||||
|
+ DBus.Internal.Wire
|
||||||
|
+ DBus.Introspection
|
||||||
|
+ DBus.Introspection.Parse
|
||||||
|
+ DBus.Introspection.Render
|
||||||
|
+ DBus.Introspection.Types
|
||||||
|
+ DBus.Socket
|
||||||
|
+ DBus.TH
|
||||||
|
+ DBus.Transport
|
||||||
|
|
||||||
|
test-suite dbus_tests
|
||||||
|
- type: exitcode-stdio-1.0
|
||||||
|
- main-is: DBusTests.hs
|
||||||
|
- hs-source-dirs: tests
|
||||||
|
- other-modules:
|
||||||
|
- DBusTests.Address
|
||||||
|
- DBusTests.BusName
|
||||||
|
- DBusTests.Client
|
||||||
|
- DBusTests.ErrorName
|
||||||
|
- DBusTests.Generation
|
||||||
|
- DBusTests.Integration
|
||||||
|
- DBusTests.InterfaceName
|
||||||
|
- DBusTests.Introspection
|
||||||
|
- DBusTests.MemberName
|
||||||
|
- DBusTests.Message
|
||||||
|
- DBusTests.ObjectPath
|
||||||
|
- DBusTests.Serialization
|
||||||
|
- DBusTests.Signature
|
||||||
|
- DBusTests.Socket
|
||||||
|
- DBusTests.TH
|
||||||
|
- DBusTests.Transport
|
||||||
|
- DBusTests.Util
|
||||||
|
- DBusTests.Variant
|
||||||
|
- DBusTests.Wire
|
||||||
|
- ghc-options: -W -Wall -fno-warn-orphans
|
||||||
|
- build-depends:
|
||||||
|
- dbus -any,
|
||||||
|
- base ==4.*,
|
||||||
|
- bytestring <0.11,
|
||||||
|
- cereal <0.6,
|
||||||
|
- containers <0.7,
|
||||||
|
- directory <1.4,
|
||||||
|
- extra <1.8,
|
||||||
|
- filepath <1.5,
|
||||||
|
- network >=3.0.1.0 && <3.2,
|
||||||
|
- parsec <3.2,
|
||||||
|
- process <1.7,
|
||||||
|
- QuickCheck <2.15,
|
||||||
|
- random <1.2,
|
||||||
|
- resourcet <1.3,
|
||||||
|
- tasty <1.3,
|
||||||
|
- tasty-hunit <0.11,
|
||||||
|
- tasty-quickcheck <0.11,
|
||||||
|
- text <1.3,
|
||||||
|
- transformers <0.6,
|
||||||
|
- unix <2.8,
|
||||||
|
- vector <0.13
|
||||||
|
+ type: exitcode-stdio-1.0
|
||||||
|
+ main-is: DBusTests.hs
|
||||||
|
+ hs-source-dirs: tests
|
||||||
|
+ ghc-options: -W -Wall -fno-warn-orphans
|
||||||
|
+
|
||||||
|
+ build-depends:
|
||||||
|
+ dbus
|
||||||
|
+ , base >=4 && <5
|
||||||
|
+ , bytestring
|
||||||
|
+ , cereal
|
||||||
|
+ , containers
|
||||||
|
+ , directory
|
||||||
|
+ , extra < 1.8
|
||||||
|
+ , filepath
|
||||||
|
+ , network >= 3.0.1.0 && < 3.2
|
||||||
|
+ , parsec
|
||||||
|
+ , process
|
||||||
|
+ , QuickCheck < 2.15
|
||||||
|
+ , random
|
||||||
|
+ , resourcet
|
||||||
|
+ , tasty
|
||||||
|
+ , tasty-hunit
|
||||||
|
+ , tasty-quickcheck
|
||||||
|
+ , text
|
||||||
|
+ , transformers
|
||||||
|
+ , unix
|
||||||
|
+ , vector
|
||||||
|
+
|
||||||
|
+ other-modules:
|
||||||
|
+ DBusTests.Address
|
||||||
|
+ DBusTests.BusName
|
||||||
|
+ DBusTests.Client
|
||||||
|
+ DBusTests.ErrorName
|
||||||
|
+ DBusTests.Generation
|
||||||
|
+ DBusTests.Integration
|
||||||
|
+ DBusTests.InterfaceName
|
||||||
|
+ DBusTests.Introspection
|
||||||
|
+ DBusTests.MemberName
|
||||||
|
+ DBusTests.Message
|
||||||
|
+ DBusTests.ObjectPath
|
||||||
|
+ DBusTests.Serialization
|
||||||
|
+ DBusTests.Signature
|
||||||
|
+ DBusTests.Socket
|
||||||
|
+ DBusTests.TH
|
||||||
|
+ DBusTests.Transport
|
||||||
|
+ DBusTests.Util
|
||||||
|
+ DBusTests.Variant
|
||||||
|
+ DBusTests.Wire
|
||||||
|
|
||||||
|
benchmark dbus_benchmarks
|
||||||
|
- type: exitcode-stdio-1.0
|
||||||
|
- main-is: DBusBenchmarks.hs
|
||||||
|
- hs-source-dirs: benchmarks
|
||||||
|
- ghc-options: -Wall -fno-warn-orphans
|
||||||
|
- build-depends:
|
||||||
|
- dbus -any,
|
||||||
|
- base ==4.*,
|
||||||
|
- criterion <1.6
|
||||||
|
+ type: exitcode-stdio-1.0
|
||||||
|
+ main-is: DBusBenchmarks.hs
|
||||||
|
+ hs-source-dirs: benchmarks
|
||||||
|
+ ghc-options: -Wall -fno-warn-orphans
|
||||||
|
+
|
||||||
|
+ build-depends:
|
||||||
|
+ dbus
|
||||||
|
+ , base >=4 && <5
|
||||||
|
+ , criterion
|
||||||
|
Only in dbus-1.2.13-new: .git
|
||||||
|
Only in dbus-1.2.13-new: .gitignore
|
||||||
|
diff -ur dbus-1.2.13-old/lib/DBus/Generation.hs dbus-1.2.13-new/lib/DBus/Generation.hs
|
||||||
|
--- dbus-1.2.13-old/lib/DBus/Generation.hs 2019-02-14 16:37:47.000000000 +0100
|
||||||
|
+++ dbus-1.2.13-new/lib/DBus/Generation.hs 2020-04-25 19:26:36.144991997 +0200
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
+{-# LANGUAGE CPP #-}
|
||||||
|
{-# LANGUAGE OverloadedStrings #-}
|
||||||
|
{-# LANGUAGE TemplateHaskell #-}
|
||||||
|
module DBus.Generation where
|
||||||
|
@@ -26,6 +27,13 @@
|
||||||
|
import Prelude hiding (mapM)
|
||||||
|
import System.Posix.Types (Fd(..))
|
||||||
|
|
||||||
|
+-- | Compatibility helper to create (total) tuple expressions
|
||||||
|
+mkTupE :: [Exp] -> Exp
|
||||||
|
+mkTupE = TupE
|
||||||
|
+#if MIN_VERSION_template_haskell(2,16,0)
|
||||||
|
+ . map Just
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
type ClientBusPathR a = ReaderT (Client, T.BusName, T.ObjectPath) IO a
|
||||||
|
|
||||||
|
dbusInvoke :: (Client -> T.BusName -> T.ObjectPath -> a) -> ClientBusPathR a
|
||||||
|
@@ -232,8 +240,8 @@
|
||||||
|
finalOutputNames <- buildOutputNames
|
||||||
|
let variantListExp = map makeToVariantApp methodArgNames
|
||||||
|
mapOrHead' = mapOrHead outputLength
|
||||||
|
- fromVariantExp = mapOrHead' makeFromVariantApp fromVariantOutputNames TupE
|
||||||
|
- finalResultTuple = mapOrHead' VarE finalOutputNames TupE
|
||||||
|
+ fromVariantExp = mapOrHead' makeFromVariantApp fromVariantOutputNames mkTupE
|
||||||
|
+ finalResultTuple = mapOrHead' VarE finalOutputNames mkTupE
|
||||||
|
maybeExtractionPattern = mapOrHead' makeJustPattern finalOutputNames TupP
|
||||||
|
getMethodCallDefDec = [d|
|
||||||
|
$( varP methodCallDefN ) =
|
||||||
|
@@ -432,7 +440,7 @@
|
||||||
|
}
|
||||||
|
|]
|
||||||
|
let mapOrHead' = mapOrHead argCount
|
||||||
|
- fromVariantExp = mapOrHead' makeFromVariantApp fromVariantOutputNames TupE
|
||||||
|
+ fromVariantExp = mapOrHead' makeFromVariantApp fromVariantOutputNames mkTupE
|
||||||
|
maybeExtractionPattern = mapOrHead' makeJustPattern toHandlerOutputNames TupP
|
||||||
|
applyToName toApply n = AppE toApply $ VarE n
|
||||||
|
finalApplication = foldl applyToName (VarE handlerArgN)
|
@ -38,21 +38,22 @@ let
|
|||||||
is_nixenv = "False";
|
is_nixenv = "False";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
} // lib.optionalAttrs (python.pythonAtLeast "3.8") {
|
||||||
# Venv built using Python Nix environment (python.buildEnv)
|
# Venv built using Python Nix environment (python.buildEnv)
|
||||||
# TODO: Cannot create venv from a nix env
|
# TODO: Cannot create venv from a nix env
|
||||||
# Error: Command '['/nix/store/ddc8nqx73pda86ibvhzdmvdsqmwnbjf7-python3-3.7.6-venv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
|
# Error: Command '['/nix/store/ddc8nqx73pda86ibvhzdmvdsqmwnbjf7-python3-3.7.6-venv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
|
||||||
# nixenv-venv = rec {
|
nixenv-venv = rec {
|
||||||
# env = runCommand "${python.name}-venv" {} ''
|
env = runCommand "${python.name}-venv" {} ''
|
||||||
# ${pythonEnv.interpreter} -m venv $out
|
${pythonEnv.interpreter} -m venv $out
|
||||||
# '';
|
'';
|
||||||
# interpreter = "${env}/bin/${pythonEnv.executable}";
|
interpreter = "${env}/bin/${pythonEnv.executable}";
|
||||||
# is_venv = "True";
|
is_venv = "True";
|
||||||
# is_nixenv = "True";
|
is_nixenv = "True";
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# All PyPy package builds are broken at the moment
|
# All PyPy package builds are broken at the moment
|
||||||
integrationTests = lib.optionalAttrs (python.isPy3k && (!python.isPyPy)) rec {
|
integrationTests = lib.optionalAttrs (python.pythonAtLeast "3.7" && (!python.isPyPy)) rec {
|
||||||
# Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages
|
# Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages
|
||||||
nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix {
|
nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix {
|
||||||
interpreter = python;
|
interpreter = python;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ buildPythonPackage }:
|
{ buildPythonPackage, pythonOlder }:
|
||||||
|
|
||||||
|
|
||||||
buildPythonPackage {
|
buildPythonPackage {
|
||||||
@ -8,4 +8,6 @@ buildPythonPackage {
|
|||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome3.updateScript {
|
updateScript = gnome3.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
|
attrPath = "goocanvasmm2";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
|
, fetchpatch
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
@ -72,6 +73,13 @@ stdenv.mkDerivation rec {
|
|||||||
vulkan-loader
|
vulkan-loader
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
];
|
];
|
||||||
|
patches = [
|
||||||
|
# fix SIGILL in fmt-ops: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/227
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/1b3aaba206f48e75bb34ff0cd00321bd3d6db2b4.patch";
|
||||||
|
sha256 = "08bmr9k2r0q4r7vhhm28k558nk3mz3jfnqswvq9mcj7p0srmfb4x";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Ddocs=true"
|
"-Ddocs=true"
|
||||||
|
@ -1,30 +1,29 @@
|
|||||||
{ stdenv, fetchFromGitHub, ocaml, findlib
|
{ lib, fetchurl, buildDunePackage, alcotest
|
||||||
, ocamlbuild, topkg
|
|
||||||
, uri, xmlm, omd, ezjsonm }:
|
, uri, xmlm, omd, ezjsonm }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
buildDunePackage rec {
|
||||||
version = "2.2.0";
|
minimumOCamlVersion = "4.02.3";
|
||||||
pname = "ocaml-cow";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
version = "2.4.0";
|
||||||
owner = "mirage";
|
pname = "cow";
|
||||||
repo = "ocaml-cow";
|
|
||||||
rev = "v${version}";
|
src = fetchurl {
|
||||||
sha256 = "0snhabg7rfrrcq2ksr3qghiawd61cw3y4kp6rl7vs87j4cnk3kr2";
|
url = "https://github.com/mirage/ocaml-cow/releases/download/v${version}/cow-v${version}.tbz";
|
||||||
|
sha256 = "1x77lwpskda4zyikwxh500xjn90pgdwz6jm7ca7f36pyav4vl6zx";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml ocamlbuild findlib topkg ];
|
|
||||||
propagatedBuildInputs = [ xmlm uri ezjsonm omd ];
|
propagatedBuildInputs = [ xmlm uri ezjsonm omd ];
|
||||||
|
checkInputs = [ alcotest ];
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
inherit (topkg) buildPhase installPhase;
|
meta = with lib; {
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
|
||||||
description = "Caml on the Web";
|
description = "Caml on the Web";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Caml on the Web (COW) is a set of parsers and syntax extensions to let you manipulate HTML, CSS, XML, JSON and Markdown directly from OCaml code.
|
Writing web-applications requires a lot of skills: HTML, XML, JSON and
|
||||||
|
Markdown, to name but a few! This library provides OCaml combinators
|
||||||
|
for these web formats.
|
||||||
'';
|
'';
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
maintainers = [ maintainers.sternenseemann ];
|
maintainers = [ maintainers.sternenseemann ];
|
||||||
inherit (ocaml.meta) platforms;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,14 @@
|
|||||||
{ lib, buildDunePackage, dns, ocaml_lwt, mirage-clock, mirage-random, mirage-stack, mtime, randomconv }:
|
{ lib, buildDunePackage, dns, ocaml_lwt, mirage-clock, mirage-time
|
||||||
|
, mirage-random, mirage-stack, mirage-crypto-rng, mtime, randomconv }:
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "dns-client";
|
pname = "dns-client";
|
||||||
inherit (dns) src version;
|
inherit (dns) src version;
|
||||||
|
|
||||||
propagatedBuildInputs = [ dns mtime ocaml_lwt mirage-clock mirage-random mirage-stack randomconv ];
|
useDune2 = true;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ dns mtime ocaml_lwt randomconv mirage-clock mirage-time
|
||||||
|
mirage-random mirage-stack mirage-crypto-rng ];
|
||||||
|
|
||||||
meta = dns.meta // {
|
meta = dns.meta // {
|
||||||
description = "Pure DNS resolver API";
|
description = "Pure DNS resolver API";
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "dns";
|
pname = "dns";
|
||||||
version = "4.4.1";
|
version = "4.5.0";
|
||||||
|
|
||||||
minimumOCamlVersion = "4.07";
|
minimumOCamlVersion = "4.07";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-v${version}.tbz";
|
url = "https://github.com/mirage/ocaml-dns/releases/download/v${version}/dns-v${version}.tbz";
|
||||||
sha256 = "18c09jf0kicv2xz40n367y774rg8qs07rr1vdk8bx8f7hnaa9cn8";
|
sha256 = "10jrnnxvp06rvzk285wibyi9hn15qhjnqjy9xsfbwl8yhmzzqnq0";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ cstruct domain-name duration gmap ipaddr logs lru metrics ptime rresult ];
|
propagatedBuildInputs = [ cstruct domain-name duration gmap ipaddr logs lru metrics ptime rresult ];
|
||||||
|
22
pkgs/development/ocaml-modules/mirage-time/default.nix
Normal file
22
pkgs/development/ocaml-modules/mirage-time/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ lib, buildDunePackage, fetchurl, ocaml_lwt }:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
minimumOCamlVersion = "4.06";
|
||||||
|
|
||||||
|
pname = "mirage-time";
|
||||||
|
version = "2.0.1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/mirage/mirage-time/releases/download/v${version}/mirage-time-v${version}.tbz";
|
||||||
|
sha256 = "1w6mm4g7fc19cs0ncs0s9fsnb1k1s04qqzs9bsqvq8ngsb90cbh0";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ ocaml_lwt ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/mirage/mirage-time";
|
||||||
|
description = "Time operations for MirageOS";
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ sternenseemann ];
|
||||||
|
};
|
||||||
|
}
|
13
pkgs/development/ocaml-modules/mirage-time/unix.nix
Normal file
13
pkgs/development/ocaml-modules/mirage-time/unix.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{ buildDunePackage, fetchurl, mirage-time, ocaml_lwt, duration }:
|
||||||
|
|
||||||
|
buildDunePackage {
|
||||||
|
pname = "mirage-time-unix";
|
||||||
|
|
||||||
|
inherit (mirage-time) src version minimumOCamlVersion;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ mirage-time ocaml_lwt duration ];
|
||||||
|
|
||||||
|
meta = mirage-time.meta // {
|
||||||
|
description = "Time operations for MirageOS on Unix";
|
||||||
|
};
|
||||||
|
}
|
@ -1,4 +1,6 @@
|
|||||||
{ lib, stdenv, buildPythonPackage, python, fetchFromGitHub, attrs, cryptography, async-timeout, pytest-aiohttp, pytest }:
|
{ lib, stdenv, buildPythonPackage, python, fetchFromGitHub
|
||||||
|
, attrs, cryptography, async-timeout, pytest-aiohttp, pytestCheckHook
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "snitun";
|
pname = "snitun";
|
||||||
@ -13,12 +15,14 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ attrs cryptography async-timeout ];
|
propagatedBuildInputs = [ attrs cryptography async-timeout ];
|
||||||
|
|
||||||
checkInputs = [ pytest pytest-aiohttp ];
|
checkInputs = [ pytestCheckHook pytest-aiohttp ];
|
||||||
|
|
||||||
checkPhase = ''
|
disabledTests = lib.optionals stdenv.isDarwin [
|
||||||
# https://github.com/NabuCasa/snitun/issues/61
|
"test_multiplexer_data_channel_abort_full" # https://github.com/NabuCasa/snitun/issues/61
|
||||||
pytest ${lib.optionalString stdenv.isDarwin "-k 'not test_multiplexer_data_channel_abort_full'"} tests/
|
# port binding conflicts
|
||||||
'';
|
"test_snitun_single_runner_timeout"
|
||||||
|
"test_snitun_single_runner_throttling"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/nabucasa/snitun";
|
homepage = "https://github.com/nabucasa/snitun";
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "epson-inkjet-printer-escpr2";
|
pname = "epson-inkjet-printer-escpr2";
|
||||||
version = "1.1.1";
|
version = "1.1.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
# To find new versions, visit
|
# To find new versions, visit
|
||||||
@ -11,10 +11,10 @@ stdenv.mkDerivation rec {
|
|||||||
# version.
|
# version.
|
||||||
# NOTE: Don't forget to update the webarchive link too!
|
# NOTE: Don't forget to update the webarchive link too!
|
||||||
urls = [
|
urls = [
|
||||||
"https://download3.ebz.epson.net/dsc/f/03/00/09/72/04/c6d928e83e558c4ba1e7e8bcb5c1fe080b8095eb/epson-inkjet-printer-escpr2-1.1.1-1lsb3.2.src.rpm"
|
"https://download3.ebz.epson.net/dsc/f/03/00/11/01/98/8ff121831d0a6be76e86b87c78178f3c93df6d0f/epson-inkjet-printer-escpr2-1.1.11-1lsb3.2.src.rpm"
|
||||||
"https://web.archive.org/web/https://download3.ebz.epson.net/dsc/f/03/00/09/72/04/c6d928e83e558c4ba1e7e8bcb5c1fe080b8095eb/epson-inkjet-printer-escpr2-1.1.1-1lsb3.2.src.rpm"
|
"https://web.archive.org/web/20200425154102/https://download3.ebz.epson.net/dsc/f/03/00/11/01/98/8ff121831d0a6be76e86b87c78178f3c93df6d0f/epson-inkjet-printer-escpr2-1.1.11-1lsb3.2.src.rpm"
|
||||||
];
|
];
|
||||||
sha256 = "02vdlhvinsx6vsjq172b2c1vrfzkg0w9j5lbsnjvj6yq3yqz5b5q";
|
sha256 = "1gcdzmqli7jycljm66mdssivb3lk223ih6zg0l3lyn7hj2gbkinm";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./cups-filter-ppd-dirs.patch ];
|
patches = [ ./cups-filter-ppd-dirs.patch ];
|
||||||
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||||||
Refer to the description of epson-escpr for usage.
|
Refer to the description of epson-escpr for usage.
|
||||||
'';
|
'';
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ ma9e ];
|
maintainers = with maintainers; [ ma9e ma27 ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -7,14 +7,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ell";
|
pname = "ell";
|
||||||
version = "0.30";
|
version = "0.31";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://git.kernel.org/pub/scm/libs/${pname}/${pname}.git";
|
url = "https://git.kernel.org/pub/scm/libs/${pname}/${pname}.git";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0kiglgc02a6hqi1nhnl4d8lxax8b1fljp50pvqswrnbh7pgb5676";
|
sha256 = "1qlpc906xd78fzxvvj2kxi3aikgnw0c0h3x620s131apax4qrnqa";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -17,7 +17,13 @@ stdenv.mkDerivation rec {
|
|||||||
# Note: fetchurl seems to be unhappy with openwrt git
|
# Note: fetchurl seems to be unhappy with openwrt git
|
||||||
# server's URLs containing semicolons. Using the github mirror instead.
|
# server's URLs containing semicolons. Using the github mirror instead.
|
||||||
url = "https://raw.githubusercontent.com/openwrt/openwrt/master/package/network/services/hostapd/patches/300-noscan.patch";
|
url = "https://raw.githubusercontent.com/openwrt/openwrt/master/package/network/services/hostapd/patches/300-noscan.patch";
|
||||||
sha256 = "04wg4yjc19wmwk6gia067z99gzzk9jacnwxh5wyia7k5wg71yj5k";})
|
sha256 = "04wg4yjc19wmwk6gia067z99gzzk9jacnwxh5wyia7k5wg71yj5k";
|
||||||
|
})
|
||||||
|
(fetchurl {
|
||||||
|
name = "CVE-2019-16275.patch";
|
||||||
|
url = "https://w1.fi/security/2019-7/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch";
|
||||||
|
sha256 = "15xjyy7crb557wxpx898b5lnyblxghlij0xby5lmj9hpwwss34dz";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
@ -13,12 +13,12 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "iwd";
|
pname = "iwd";
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
url = "https://git.kernel.org/pub/scm/network/wireless/iwd.git";
|
url = "https://git.kernel.org/pub/scm/network/wireless/iwd.git";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0c38c7a234cwdd5y1brq4w56xszs8zlp57rr3nvgp8z8djcy1qvx";
|
sha256 = "1qi25qav1rv8gm5lbrip8ayq5vwynmyv2q4ar7bbmnjh6cglvyh2";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From 80f39643bb4d25f8ffcbd92804844961b303f4d0 Mon Sep 17 00:00:00 2001
|
From 679364e1cd95dc7179dbd3114ec35b282fbcb0af Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
|
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
|
||||||
Date: Thu, 9 Apr 2020 07:20:46 +0100
|
Date: Thu, 9 Apr 2020 07:20:46 +0100
|
||||||
Subject: [PATCH] setup.py: relax dependencies
|
Subject: [PATCH] setup.py: relax dependencies
|
||||||
@ -8,11 +8,11 @@ Content-Transfer-Encoding: 8bit
|
|||||||
|
|
||||||
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
|
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
|
||||||
---
|
---
|
||||||
setup.py | 10 +++++-----
|
setup.py | 12 ++++++------
|
||||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
diff --git a/setup.py b/setup.py
|
diff --git a/setup.py b/setup.py
|
||||||
index f53af0ee1..ff4227487 100755
|
index e0daacd98b..7166f1f228 100755
|
||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -32,10 +32,10 @@ PROJECT_URLS = {
|
@@ -32,10 +32,10 @@ PROJECT_URLS = {
|
||||||
@ -28,7 +28,12 @@ index f53af0ee1..ff4227487 100755
|
|||||||
"bcrypt==3.1.7",
|
"bcrypt==3.1.7",
|
||||||
"certifi>=2019.11.28",
|
"certifi>=2019.11.28",
|
||||||
"ciso8601==2.1.3",
|
"ciso8601==2.1.3",
|
||||||
@@ -47,9 +47,9 @@ REQUIRES = [
|
@@ -43,13 +43,13 @@ REQUIRES = [
|
||||||
|
"jinja2>=2.11.1",
|
||||||
|
"PyJWT==1.7.1",
|
||||||
|
# PyJWT has loose dependency. We want the latest one.
|
||||||
|
- "cryptography==2.8",
|
||||||
|
+ "cryptography>=2.8",
|
||||||
"pip>=8.0.3",
|
"pip>=8.0.3",
|
||||||
"python-slugify==4.0.0",
|
"python-slugify==4.0.0",
|
||||||
"pytz>=2019.03",
|
"pytz>=2019.03",
|
||||||
@ -42,5 +47,5 @@ index f53af0ee1..ff4227487 100755
|
|||||||
"voluptuous-serialize==2.3.0",
|
"voluptuous-serialize==2.3.0",
|
||||||
]
|
]
|
||||||
--
|
--
|
||||||
2.25.1
|
2.26.1
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Do not edit!
|
# Do not edit!
|
||||||
|
|
||||||
{
|
{
|
||||||
version = "0.108.2";
|
version = "0.108.7";
|
||||||
components = {
|
components = {
|
||||||
"abode" = ps: with ps; [ ]; # missing inputs: abodepy
|
"abode" = ps: with ps; [ ]; # missing inputs: abodepy
|
||||||
"acer_projector" = ps: with ps; [ pyserial];
|
"acer_projector" = ps: with ps; [ pyserial];
|
||||||
|
@ -67,7 +67,7 @@ let
|
|||||||
extraBuildInputs = extraPackages py.pkgs;
|
extraBuildInputs = extraPackages py.pkgs;
|
||||||
|
|
||||||
# Don't forget to run parse-requirements.py after updating
|
# Don't forget to run parse-requirements.py after updating
|
||||||
hassVersion = "0.108.2";
|
hassVersion = "0.108.7";
|
||||||
|
|
||||||
in with py.pkgs; buildPythonApplication rec {
|
in with py.pkgs; buildPythonApplication rec {
|
||||||
pname = "homeassistant";
|
pname = "homeassistant";
|
||||||
@ -86,7 +86,7 @@ in with py.pkgs; buildPythonApplication rec {
|
|||||||
owner = "home-assistant";
|
owner = "home-assistant";
|
||||||
repo = "home-assistant";
|
repo = "home-assistant";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0v4i1ak7pkpycas0mzdmxgc42xgfymwx2b0a2a4h13c4z46pbs2l";
|
sha256 = "0nk1615ms6nlmhgmsgsknc6m7b19baan8m4kr4s97njngiardxm7";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -4,11 +4,11 @@ buildPythonPackage rec {
|
|||||||
# the frontend version corresponding to a specific home-assistant version can be found here
|
# the frontend version corresponding to a specific home-assistant version can be found here
|
||||||
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
# https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
|
||||||
pname = "home-assistant-frontend";
|
pname = "home-assistant-frontend";
|
||||||
version = "20200407.2";
|
version = "20200418.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0krwn67bkybjb69daik6dki5hm36xs4nbfwqkh0q7ami1xr1f56d";
|
sha256 = "12px8znc6nw5ndg4f28lvfpqsnzi00b5qgpdj9jwny0fss4aglnb";
|
||||||
};
|
};
|
||||||
|
|
||||||
# no Python tests implemented
|
# no Python tests implemented
|
||||||
|
@ -9,13 +9,15 @@
|
|||||||
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
|
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "diffoscope";
|
pname = "diffoscope";
|
||||||
version = "138";
|
version = "142";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
|
||||||
sha256 = "171nz5n4dayr7bj04h0x282vdk92kp7lgarnb3x0md91m2i9x997";
|
sha256 = "0c6lvppghw9ynjg2radr8z3fc6lpgmgwr6kxyih7q4rxqf4gfv6i";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./ignore_links.patch
|
./ignore_links.patch
|
||||||
];
|
];
|
||||||
|
@ -47,6 +47,11 @@ let
|
|||||||
# has totally different semantics in that case(?) - and also set a
|
# has totally different semantics in that case(?) - and also set a
|
||||||
# proper AFL_CC and AFL_CXX so we don't pick up the wrong one out
|
# proper AFL_CC and AFL_CXX so we don't pick up the wrong one out
|
||||||
# of $PATH.
|
# of $PATH.
|
||||||
|
# first though we need to replace the afl-clang-fast++ symlink with
|
||||||
|
# a real copy to prevent wrapProgram skipping the symlink and confusing
|
||||||
|
# nix's cc wrapper
|
||||||
|
rm $out/bin/afl-clang-fast++
|
||||||
|
cp $out/bin/afl-clang-fast $out/bin/afl-clang-fast++
|
||||||
for x in $out/bin/afl-clang-fast $out/bin/afl-clang-fast++; do
|
for x in $out/bin/afl-clang-fast $out/bin/afl-clang-fast++; do
|
||||||
wrapProgram $x \
|
wrapProgram $x \
|
||||||
--prefix AFL_PATH : "$out/lib/afl" \
|
--prefix AFL_PATH : "$out/lib/afl" \
|
||||||
|
@ -6887,6 +6887,8 @@ in
|
|||||||
|
|
||||||
tarsnapper = callPackage ../tools/backup/tarsnapper { };
|
tarsnapper = callPackage ../tools/backup/tarsnapper { };
|
||||||
|
|
||||||
|
tartube = callPackage ../applications/video/tartube { };
|
||||||
|
|
||||||
tayga = callPackage ../tools/networking/tayga { };
|
tayga = callPackage ../tools/networking/tayga { };
|
||||||
|
|
||||||
tcpcrypt = callPackage ../tools/security/tcpcrypt { };
|
tcpcrypt = callPackage ../tools/security/tcpcrypt { };
|
||||||
|
@ -562,6 +562,10 @@ let
|
|||||||
|
|
||||||
mirage-stack = callPackage ../development/ocaml-modules/mirage-stack { };
|
mirage-stack = callPackage ../development/ocaml-modules/mirage-stack { };
|
||||||
|
|
||||||
|
mirage-time = callPackage ../development/ocaml-modules/mirage-time { };
|
||||||
|
|
||||||
|
mirage-time-unix = callPackage ../development/ocaml-modules/mirage-time/unix.nix { };
|
||||||
|
|
||||||
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };
|
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };
|
||||||
|
|
||||||
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };
|
mlgmpidl = callPackage ../development/ocaml-modules/mlgmpidl { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user