summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/misc/prusa-slicer/default.nix37
-rw-r--r--pkgs/applications/science/math/cemu/default.nix53
-rw-r--r--pkgs/applications/version-management/git-and-tools/default.nix2
-rw-r--r--pkgs/applications/version-management/git-and-tools/legit/default.nix30
-rw-r--r--pkgs/applications/video/mpv/scripts/mpris.nix6
-rw-r--r--pkgs/applications/virtualization/bochs/bochs-2.6.11-glibc-2.26.patch (renamed from pkgs/applications/virtualization/bochs/bochs-2.6.10-glibc-2.26.patch)0
-rw-r--r--pkgs/applications/virtualization/bochs/default.nix6
-rw-r--r--pkgs/applications/virtualization/bochs/fix-build-smp.patch21
-rw-r--r--pkgs/data/themes/matcha/default.nix4
-rw-r--r--pkgs/development/libraries/fcgi/default.nix23
-rw-r--r--pkgs/development/libraries/geos/default.nix6
-rw-r--r--pkgs/development/libraries/khronos-ocl-icd-loader/default.nix12
-rw-r--r--pkgs/development/libraries/khronos-ocl-icd-loader/tracing.patch6
-rw-r--r--pkgs/development/libraries/opencl-headers/default.nix14
-rw-r--r--pkgs/development/python-modules/application/default.nix17
-rw-r--r--pkgs/development/python-modules/python-otr/default.nix7
-rw-r--r--pkgs/development/python-modules/roku/default.nix26
-rwxr-xr-xpkgs/misc/vim-plugins/update.py12
-rw-r--r--pkgs/servers/home-assistant/component-packages.nix2
-rw-r--r--pkgs/servers/xmpp/prosody/default.nix10
-rw-r--r--pkgs/shells/elvish/default.nix4
-rw-r--r--pkgs/tools/audio/alsaequal/caps_9.x.patch21
-rw-r--r--pkgs/tools/audio/alsaequal/default.nix43
-rw-r--r--pkgs/tools/audio/alsaequal/false_error.patch13
-rw-r--r--pkgs/tools/audio/alsaequal/makefile.patch13
-rw-r--r--pkgs/tools/audio/beets/default.nix9
-rw-r--r--pkgs/tools/misc/thinkpad-scripts/default.nix22
-rw-r--r--pkgs/tools/networking/circus/default.nix4
-rw-r--r--pkgs/tools/networking/p2p/gtk-gnutella/default.nix70
-rw-r--r--pkgs/top-level/all-packages.nix20
-rw-r--r--pkgs/top-level/python-packages.nix2
31 files changed, 402 insertions, 113 deletions
diff --git a/pkgs/applications/misc/prusa-slicer/default.nix b/pkgs/applications/misc/prusa-slicer/default.nix
index caf4f270a151..75183e202671 100644
--- a/pkgs/applications/misc/prusa-slicer/default.nix
+++ b/pkgs/applications/misc/prusa-slicer/default.nix
@@ -1,32 +1,34 @@
-{ stdenv, lib, fetchFromGitHub, makeWrapper, cmake, pkgconfig
+{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
, boost, cereal, curl, eigen, expat, glew, libpng, tbb, wxGTK31
, gtest, nlopt, xorg, makeDesktopItem
+, cgal_5, gmp, ilmbase, mpfr, qhull, openvdb, systemd
}:
-let
- nloptVersion = if lib.hasAttr "version" nlopt
- then lib.getAttr "version" nlopt
- else "2.4";
-in
stdenv.mkDerivation rec {
pname = "prusa-slicer";
- version = "2.1.1";
+ version = "2.2.0";
enableParallelBuilding = true;
nativeBuildInputs = [
cmake
- makeWrapper
pkgconfig
];
buildInputs = [
boost
cereal
+ cgal_5
curl
eigen
expat
glew
+ gmp
+ ilmbase
libpng
+ mpfr
+ nlopt
+ openvdb
+ systemd
tbb
wxGTK31
xorg.libX11
@@ -35,31 +37,34 @@ stdenv.mkDerivation rec {
checkInputs = [ gtest ];
# The build system uses custom logic - defined in
- # xs/src/libnest2d/cmake_modules/FindNLopt.cmake in the package source -
- # for finding the nlopt library, which doesn't pick up the package in the nix store.
- # We need to set the path via the NLOPT environment variable instead.
+ # cmake/modules/FindNLopt.cmake in the package source - for finding the nlopt
+ # library, which doesn't pick up the package in the nix store. We
+ # additionally need to set the path via the NLOPT environment variable.
NLOPT = nlopt;
- # Disable compiler warnings that clutter the build log
+ # Disable compiler warnings that clutter the build log.
# It seems to be a known issue for Eigen:
# http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1221
NIX_CFLAGS_COMPILE = "-Wno-ignored-attributes";
+ # prusa-slicer uses dlopen on `libudev.so` at runtime
+ NIX_LDFLAGS = "-ludev";
+
prePatch = ''
# In nix ioctls.h isn't available from the standard kernel-headers package
# like in other distributions. The copy in glibc seems to be identical to the
# one in the kernel though, so we use that one instead.
sed -i 's|"/usr/include/asm-generic/ioctls.h"|<asm-generic/ioctls.h>|g' src/libslic3r/GCodeSender.cpp
- '' + lib.optionalString (lib.versionOlder "2.5" nloptVersion) ''
+
# Since version 2.5.0 of nlopt we need to link to libnlopt, as libnlopt_cxx
# now seems to be integrated into the main lib.
- sed -i 's|nlopt_cxx|nlopt|g' src/libnest2d/cmake_modules/FindNLopt.cmake
+ sed -i 's|nlopt_cxx|nlopt|g' cmake/modules/FindNLopt.cmake
'';
src = fetchFromGitHub {
owner = "prusa3d";
repo = "PrusaSlicer";
- sha256 = "0i393nbc2salb4j5l2hvy03ng7hmf90d2xj653pw9bsikhj0r3jd";
+ sha256 = "0954k9sm09y8qnz1jyswyysg10k54ywz8mswnwa4n2hnpq9qx73m";
rev = "version_${version}";
};
@@ -88,6 +93,6 @@ stdenv.mkDerivation rec {
description = "G-code generator for 3D printer";
homepage = https://github.com/prusa3d/PrusaSlicer;
license = licenses.agpl3;
- maintainers = with maintainers; [ tweber ];
+ maintainers = with maintainers; [ moredread tweber ];
};
}
diff --git a/pkgs/applications/science/math/cemu/default.nix b/pkgs/applications/science/math/cemu/default.nix
new file mode 100644
index 000000000000..f91e5be51700
--- /dev/null
+++ b/pkgs/applications/science/math/cemu/default.nix
@@ -0,0 +1,53 @@
+{ fetchFromGitHub
+, stdenv
+, mkDerivation
+, SDL2
+, libGL
+, libarchive
+, libusb
+, qtbase
+, qmake
+, git
+, libpng_apng
+, pkgconfig
+}:
+
+mkDerivation rec {
+ pname = "CEmu";
+ version = "1.3";
+ src = fetchFromGitHub {
+ owner = "CE-Programming";
+ repo = "CEmu";
+ rev = "v${version}";
+ sha256 = "1wcdnzcqscawj6jfdj5wwmw9g9vsd6a1rx0rrramakxzf8b7g47r";
+ fetchSubmodules = true;
+ };
+
+ nativeBuildInputs = [
+ qmake
+ git
+ pkgconfig
+ ];
+
+ buildInputs = [
+ SDL2
+ libGL
+ libarchive
+ libusb
+ qtbase
+ libpng_apng
+ ];
+
+ qmakeFlags = [
+ "gui/qt"
+ ];
+
+ meta = with stdenv.lib; {
+ changelog = "https://github.com/CE-Programming/CEmu/releases/tag/v${version}";
+ description = "Third-party TI-84 Plus CE / TI-83 Premium CE emulator, focused on developer features";
+ homepage = "https://ce-programming.github.io/CEmu";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ luc65r ];
+ platforms = [ "x86_64-linux" "x86_64-darwin" ];
+ };
+}
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix
index 8df8d96e6411..64b86650e43f 100644
--- a/pkgs/applications/version-management/git-and-tools/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/default.nix
@@ -179,6 +179,8 @@ let
lefthook = callPackage ./lefthook { };
+ legit = callPackage ./legit { };
+
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };
pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;
diff --git a/pkgs/applications/version-management/git-and-tools/legit/default.nix b/pkgs/applications/version-management/git-and-tools/legit/default.nix
new file mode 100644
index 000000000000..7dbdd6071a57
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/legit/default.nix
@@ -0,0 +1,30 @@
+{ lib, python3Packages }:
+
+python3Packages.buildPythonApplication rec {
+ pname = "legit";
+ version = "1.2.0";
+ src = python3Packages.fetchPypi {
+ inherit pname version;
+ sha256 = "0ngh3ar6v15516f52j21k6qz7hykmxfjadhb2rakvl27b5xvjy1c";
+ };
+
+ propagatedBuildInputs = with python3Packages; [
+ click
+ clint
+ crayons
+ GitPython
+ six
+ ];
+
+ # Prevent tests from trying to create configuration in /homeless-shelter.
+ preCheck = ''
+ export HOME=$PWD/test-home
+ '';
+
+ meta = with lib; {
+ homepage = "https://github.com/frostming/legit";
+ description = "Git for Humans, Inspired by GitHub for Mac";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ ryneeverett ];
+ };
+}
diff --git a/pkgs/applications/video/mpv/scripts/mpris.nix b/pkgs/applications/video/mpv/scripts/mpris.nix
index e383823f2ccd..e318c7afa676 100644
--- a/pkgs/applications/video/mpv/scripts/mpris.nix
+++ b/pkgs/applications/video/mpv/scripts/mpris.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "mpv-mpris-${version}.so";
- version = "0.3";
+ version = "0.4";
src = fetchFromGitHub {
owner = "hoyon";
repo = "mpv-mpris";
rev = version;
- sha256 = "02lqsgp296s8wr0yh6wm8h7nhn53rj254zahpzbwdv15apgy0z17";
+ sha256 = "1fr3jvja8s2gdpx8qyk9r17977flms3qpm8zci62nd9r5wjdvr5i";
};
nativeBuildInputs = [ pkgconfig ];
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "MPRIS plugin for mpv";
- homepage = https://github.com/hoyon/mpv-mpris;
+ homepage = "https://github.com/hoyon/mpv-mpris";
license = licenses.mit;
maintainers = with maintainers; [ jfrankenau ];
};
diff --git a/pkgs/applications/virtualization/bochs/bochs-2.6.10-glibc-2.26.patch b/pkgs/applications/virtualization/bochs/bochs-2.6.11-glibc-2.26.patch
index e662913574db..e662913574db 100644
--- a/pkgs/applications/virtualization/bochs/bochs-2.6.10-glibc-2.26.patch
+++ b/pkgs/applications/virtualization/bochs/bochs-2.6.11-glibc-2.26.patch
diff --git a/pkgs/applications/virtualization/bochs/default.nix b/pkgs/applications/virtualization/bochs/default.nix
index f6e202ac4998..e9982d61391d 100644
--- a/pkgs/applications/virtualization/bochs/default.nix
+++ b/pkgs/applications/virtualization/bochs/default.nix
@@ -19,14 +19,14 @@ with stdenv.lib;
stdenv.mkDerivation rec {
pname = "bochs";
- version = "2.6.10";
+ version = "2.6.11";
src = fetchurl {
url = "mirror://sourceforge/project/bochs/bochs/${version}/${pname}-${version}.tar.gz";
- sha256 = "1c3mw4b8wrjf8z44fvhycs95j1wd1c0b4khcv63giiia5j5q0gvj";
+ sha256 = "0ql8q6y1k356li1g9gbvl21448mlxphxxi6kjb2b3pxvzd0pp2b3";
};
- patches = [ ./bochs-2.6.10-glibc-2.26.patch ];
+ patches = [ ./bochs-2.6.11-glibc-2.26.patch ./fix-build-smp.patch ];
buildInputs =
[ pkgconfig libtool gtk2 libGLU libGL readline libX11 libXpm docbook_xml_dtd_45 docbook_xsl ]
diff --git a/pkgs/applications/virtualization/bochs/fix-build-smp.patch b/pkgs/applications/virtualization/bochs/fix-build-smp.patch
new file mode 100644
index 000000000000..faa2acfa5129
--- /dev/null
+++ b/pkgs/applications/virtualization/bochs/fix-build-smp.patch
@@ -0,0 +1,21 @@
+Description: A fix for SMP-enable configurations
+Inspired in: https://sourceforge.net/p/bochs/code/13778/
+
+============
+diff -Naur bochs-2.6.11-old/bx_debug/dbg_main.cc bochs-2.6.11-new/bx_debug/dbg_main.cc
+--- bochs-2.6.11-old/bx_debug/dbg_main.cc 2019-12-20 04:57:59.818924000 -0300
++++ bochs-2.6.11-new/bx_debug/dbg_main.cc 2020-03-30 23:20:29.402195707 -0300
+@@ -1494,11 +1494,11 @@
+ {
+ char cpu_param_name[16];
+
+- Bit32u index = BX_ITLB_INDEX_OF(laddr);
++ Bit32u index = BX_CPU(dbg_cpu)->ITLB.get_index_of(laddr);
+ sprintf(cpu_param_name, "ITLB.entry%d", index);
+ bx_dbg_show_param_command(cpu_param_name, 0);
+
+- index = BX_DTLB_INDEX_OF(laddr, 0);
++ index = BX_CPU(dbg_cpu)->DTLB.get_index_of(laddr);
+ sprintf(cpu_param_name, "DTLB.entry%d", index);
+ bx_dbg_show_param_command(cpu_param_name, 0);
+ }
diff --git a/pkgs/data/themes/matcha/default.nix b/pkgs/data/themes/matcha/default.nix
index ecf508a61b3b..eb6d0599112b 100644
--- a/pkgs/data/themes/matcha/default.nix
+++ b/pkgs/data/themes/matcha/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "matcha";
- version = "2020-03-24";
+ version = "2020-03-29";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
- sha256 = "13lcv2cihb24zjsdzhh188kd1rga49mzfa2sddqd63pqxxph188z";
+ sha256 = "17yyxlm94q8cv3zryishgs852nz74q79v3fh9c7a3f1fs6xlw8p0";
};
buildInputs = [ gdk-pixbuf librsvg ];
diff --git a/pkgs/development/libraries/fcgi/default.nix b/pkgs/development/libraries/fcgi/default.nix
index 5eb7e3866ce6..0f580e3cd2b4 100644
--- a/pkgs/development/libraries/fcgi/default.nix
+++ b/pkgs/development/libraries/fcgi/default.nix
@@ -1,24 +1,17 @@
-{ stdenv, fetchurl, fetchpatch }:
+{ stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "fcgi";
- version = "2.4.0";
+ version = "2.4.2";
- src = fetchurl {
- url = "https://launchpad.net/debian/+archive/primary/+files/libfcgi_${version}.orig.tar.gz";
- # url = "http://www.fastcgi.com/dist/${name}.tar.gz";
- sha256 = "1f857wnl1d6jfrgfgfpz3zdaj8fch3vr13mnpcpvy8bang34bz36";
+ src = fetchFromGitHub {
+ owner = "FastCGI-Archives";
+ repo = "fcgi2";
+ rev = version;
+ sha256 = "1jhz6jfwv5kawa8kajvg18nfwc1b30f38zc0lggszd1vcmrwqkz1";
};
- patches = [
- ./gcc-4.4.diff
- (fetchpatch {
- # Fix a stack-smashing bug:
- # xhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681591
- url = "https://bugs.launchpad.net/ubuntu/+source/libfcgi/+bug/933417/+attachment/2745025/+files/poll.patch";
- sha256 = "0v3gw0smjvrxh1bv3zx9xp633gbv5dd5bcn3ipj6ckqjyv4i6i7m";
- })
- ];
+ nativeBuildInputs = [ autoreconfHook ];
postInstall = "ln -s . $out/include/fastcgi";
diff --git a/pkgs/development/libraries/geos/default.nix b/pkgs/development/libraries/geos/default.nix
index e7fce696894f..b8e056edb416 100644
--- a/pkgs/development/libraries/geos/default.nix
+++ b/pkgs/development/libraries/geos/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, python }:
stdenv.mkDerivation rec {
- name = "geos-3.7.3";
+ name = "geos-3.8.0";
src = fetchurl {
url = "https://download.osgeo.org/geos/${name}.tar.bz2";
- sha256 = "0znaby3fs3fy7af5njrnmjnfsa80ac97fvamlnjiywddw3j5l0q2";
+ sha256 = "1mb2v9fy1gnbjhcgv0xny11ggfb17vkzsajdyibigwsxr4ylq4cr";
};
enableParallelBuilding = true;
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "C++ port of the Java Topology Suite (JTS)";
- homepage = http://geos.refractions.net/;
+ homepage = https://trac.osgeo.org/geos;
license = licenses.lgpl21;
};
}
diff --git a/pkgs/development/libraries/khronos-ocl-icd-loader/default.nix b/pkgs/development/libraries/khronos-ocl-icd-loader/default.nix
index a57b103b0d91..3704cbb7794c 100644
--- a/pkgs/development/libraries/khronos-ocl-icd-loader/default.nix
+++ b/pkgs/development/libraries/khronos-ocl-icd-loader/default.nix
@@ -1,24 +1,24 @@
-{ stdenv, fetchFromGitHub, opencl-clhpp, cmake, withTracing ? false }:
+{ stdenv, fetchFromGitHub, opencl-headers, cmake, withTracing ? false }:
stdenv.mkDerivation rec {
name = "khronos-ocl-icd-loader-${version}";
- version = "6c03f8b";
+ version = "2020.03.13";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCL-ICD-Loader";
- rev = "6c03f8b58fafd9dd693eaac826749a5cfad515f8";
- sha256 = "00icrlc00dpc87prbd2j1350igi9pbgkz27hc3rf73s5994yn86a";
+ rev = "v${version}";
+ sha256 = "0zk6fyfrklx8a848613rfcx0y4yn0dsxkxzzl9pgdh9i6qdfjj9k";
};
patches = stdenv.lib.lists.optional withTracing ./tracing.patch;
nativeBuildInputs = [ cmake ];
- buildInputs = [ opencl-clhpp ];
+ buildInputs = [ opencl-headers ];
meta = with stdenv.lib; {
description = "Offical Khronos OpenCL ICD Loader";
- homepage = https://github.com/KhronosGroup/OpenCL-ICD-Loader;
+ homepage = "https://github.com/KhronosGroup/OpenCL-ICD-Loader";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = with maintainers; [ davidtwco ];
diff --git a/pkgs/development/libraries/khronos-ocl-icd-loader/tracing.patch b/pkgs/development/libraries/khronos-ocl-icd-loader/tracing.patch
index 415a1b1dfe49..cef22457e5a1 100644
--- a/pkgs/development/libraries/khronos-ocl-icd-loader/tracing.patch
+++ b/pkgs/development/libraries/khronos-ocl-icd-loader/tracing.patch
@@ -1,10 +1,10 @@
diff --git a/loader/icd.h b/loader/icd.h
-index a1b6969..cf4e272 100644
+index 34751e9..01a33fd 100644
--- a/loader/icd.h
+++ b/loader/icd.h
-@@ -122,7 +122,7 @@ void khrIcdContextPropertiesGetPlatform(
+@@ -123,7 +123,7 @@ void khrIcdContextPropertiesGetPlatform(
cl_platform_id *outPlatform);
-
+
// internal tracing macros
-#if 0
+#if 1
diff --git a/pkgs/development/libraries/opencl-headers/default.nix b/pkgs/development/libraries/opencl-headers/default.nix
index d0cc6396b8d8..682a547d8f33 100644
--- a/pkgs/development/libraries/opencl-headers/default.nix
+++ b/pkgs/development/libraries/opencl-headers/default.nix
@@ -1,25 +1,25 @@
{ stdenv, fetchFromGitHub
-, version # "12" for "1.2", "22" for "2.2" and so on
}:
-stdenv.mkDerivation {
- name = "opencl-headers-${version}-2017-07-18";
+stdenv.mkDerivation rec {
+ name = "opencl-headers-${version}";
+ version = "2020.03.13";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCL-Headers";
- rev = "f039db6764d52388658ef15c30b2237bbda49803";
- sha256 = "0z04i330zr8czak2624q71aajdcq7ly8mb5bgala5m235qjpsrh7";
+ rev = "v${version}";
+ sha256 = "1d9ibiwicaj17757h9yyjc9i2hny8d8npn4spbjscins8972z3hw";
};
installPhase = ''
mkdir -p $out/include/CL
- cp opencl${version}/CL/* $out/include/CL
+ cp CL/* $out/include/CL
'';
meta = with stdenv.lib; {
description = "Khronos OpenCL headers version ${version}";
- homepage = https://www.khronos.org/registry/cl/;
+ homepage = "https://www.khronos.org/registry/cl/";
license = licenses.mit;
platforms = platforms.unix;
};
diff --git a/pkgs/development/python-modules/application/default.nix b/pkgs/development/python-modules/application/default.nix
index 654567cc23fc..90b21baafdda 100644
--- a/pkgs/development/python-modules/application/default.nix
+++ b/pkgs/development/python-modules/application/default.nix
@@ -1,21 +1,26 @@
-{ lib, buildPythonPackage, fetchdarcs, zope_interface, isPy3k }:
+{ lib, buildPythonPackage, fetchFromGitHub, zope_interface, isPy3k }:
buildPythonPackage rec {
pname = "python-application";
- version = "2.7.0";
+ version = "2.8.0";
disabled = isPy3k;
- src = fetchdarcs {
- url = "http://devel.ag-projects.com/repositories/${pname}";
+ src = fetchFromGitHub {
+ owner = "AGProjects";
+ repo = pname;
rev = "release-${version}";
- sha256 = "1xpyk2v3naxkjhpyris58dxg1lxbraxgjd6f7w1sah5j0sk7psla";
+ sha256 = "1xd2gbpmx2ghap9cnr1h6sxjai9419bdp3y9qp5lh67977m0qg30";
};
buildInputs = [ zope_interface ];
+ # No tests upstream to run
+ doCheck = false;
+
meta = with lib; {
description = "Basic building blocks for python applications";
- homepage = https://github.com/AGProjects/python-application;
+ homepage = "https://github.com/AGProjects/python-application";
+ changelog = "https://github.com/AGProjects/python-application/blob/master/ChangeLog";
license = licenses.lgpl2Plus;
};
}
diff --git a/pkgs/development/python-modules/python-otr/default.nix b/pkgs/development/python-modules/python-otr/default.nix
index 2b08bbffa450..d83d25972450 100644
--- a/pkgs/development/python-modules/python-otr/default.nix
+++ b/pkgs/development/python-modules/python-otr/default.nix
@@ -24,10 +24,13 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A pure python implementation of OTR";
- homepage = https://github.com/AGProjects/otr;
+ homepage = "https://github.com/AGProjects/python-otr";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ edwtjo ];
+ # The package itself does not support python3, and its transitive
+ # dependencies rely on namespace package support that does not work in
+ # Nix's python2 infra. See #74619 for details.
+ broken = true;
};
-
}
diff --git a/pkgs/development/python-modules/roku/default.nix b/pkgs/development/python-modules/roku/default.nix
new file mode 100644
index 000000000000..6cdfa2aa15b1
--- /dev/null
+++ b/pkgs/development/python-modules/roku/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, buildPythonPackage, requests, pytest, flask, isPy27
+}:
+
+buildPythonPackage rec {
+ version = "4.1";
+ pname = "roku";
+ disabled = isPy27;
+
+ src = fetchFromGitHub {
+ owner = "jcarbaugh";
+ repo = "python-roku";
+ rev = "v${version}";
+ sha256 = "09mq59kjll7gj1srw4qc921ncsm7cld95sbz5v3p2bwmgckpqza7";
+ };
+
+ propagatedBuildInputs = [ requests ];
+
+ checkInputs = [ pytest flask ];
+ pythonImportsCheck = [ "roku" ];
+
+ meta = with stdenv.lib; {
+ description = "Screw remotes. Control your Roku with Python.";
+ homepage = "https://github.com/jcarbaugh/python-roku";
+ license = licenses.bsd3;
+ };
+}
diff --git a/pkgs/misc/vim-plugins/update.py b/pkgs/misc/vim-plugins/update.py
index bbeef0889f42..0055e8eccbce 100755
--- a/pkgs/misc/vim-plugins/update.py
+++ b/pkgs/misc/vim-plugins/update.py
@@ -477,6 +477,14 @@ def parse_args():
default=DEFAULT_OUT,
help="Filename to save generated nix code",
)
+ parser.add_argument(
+ "--proc",
+ "-p",
+ dest="proc",
+ type=int,
+ default=30,
+ help="Number of concurrent processes to spawn.",
+ )
return parser.parse_args()
@@ -491,9 +499,7 @@ def main() -> None:
prefetch_with_cache = functools.partial(prefetch, cache=cache)
try:
- # synchronous variant for debugging
- # results = list(map(prefetch_with_cache, plugin_names))
- pool = Pool(processes=30)
+ pool = Pool(processes=args.proc)
results = pool.map(prefetch_with_cache, plugin_names)
finally:
cache.store()
diff --git a/pkgs/servers/home-assistant/component-packages.nix b/pkgs/servers/home-assistant/component-packages.nix
index 070e7238bc6a..0b2aa999f727 100644
--- a/pkgs/servers/home-assistant/component-packages.nix
+++ b/pkgs/servers/home-assistant/component-packages.nix
@@ -640,7 +640,7 @@
"ripple" = ps: with ps; [ ]; # missing inputs: python-ripple-api
"rmvtransport" = ps: with ps; [ ]; # missing inputs: PyRMVtransport
"rocketchat" = ps: with ps; [ ]; # missing inputs: rocketchat-API
- "roku" = ps: with ps; [ ]; # missing inputs: roku
+ "roku" = ps: with ps; [ roku];
"roomba" = ps: with ps; [ ]; # missing inputs: roombapy
"route53" = ps: with ps; [ boto3]; # missing inputs: ipify
"rova" = ps: with ps; [ ]; # missing inputs: rova
diff --git a/pkgs/servers/xmpp/prosody/default.nix b/pkgs/servers/xmpp/prosody/default.nix
index 8becdcd6a45b..0d552e9e1121 100644
--- a/pkgs/servers/xmpp/prosody/default.nix
+++ b/pkgs/servers/xmpp/prosody/default.nix
@@ -14,12 +14,12 @@ with stdenv.lib;
stdenv.mkDerivation rec {
- version = "0.11.3"; # also update communityModules
+ version = "0.11.5"; # also update communityModules
pname = "prosody";
src = fetchurl {
url = "https://prosody.im/downloads/source/${pname}-${version}.tar.gz";
- sha256 = "11xz4milv2962qf75vrdwsvd8sy2332nf69202rmvz5989pvvnng";
+ sha256 = "12s0hn6hvjbi61cdw3165l6iw0878971dmlvfg663byjsmjvvy2m";
};
# A note to all those merging automated updates: Please also update this
@@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
# version.
communityModules = fetchhg {
url = "https://hg.prosody.im/prosody-modules";
- rev = "b54e98d5c4a1";
- sha256 = "0bzn92j48krb2zhp9gn5bbn5sg0qv15j5lpxfszwqdln3lpmrvzg";
+ rev = "acd231e2b46f";
+ sha256 = "1b33lsxrrrvarknqz9xs7j7f19bzxxymmfdhch7k70x3yyiwmfsy";
};
buildInputs = [
@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Open-source XMPP application server written in Lua";
license = licenses.mit;
- homepage = https://prosody.im;
+ homepage = "https://prosody.im";
platforms = platforms.linux;
maintainers = with maintainers; [ fpletz globin ];
};
diff --git a/pkgs/shells/elvish/default.nix b/pkgs/shells/elvish/default.nix
index ad2e845f9bc8..402b5a7ebca7 100644
--- a/pkgs/shells/elvish/default.nix
+++ b/pkgs/shells/elvish/default.nix
@@ -2,7 +2,7 @@
buildGoModule rec {
pname = "elvish";
- version = "0.13";
+ version = "0.13.1";
goPackagePath = "github.com/elves/elvish";
excludedPackages = [ "website" ];
@@ -15,7 +15,7 @@ buildGoModule rec {
owner = "elves";
repo = pname;
rev = "v${version}";
- sha256 = "0fprii430p9w8x4wq93iqkgkwi5kypwwlnzgvlcz0mkksayk8bzg";
+ sha256 = "0lz9lf1swrn67kymcp2wh67lh3c0ifqm9035gpkd3zynlq3wzqfm";
};
modSha256 = "13x4wbfj8049ygm3zbgzyr2bm4sq4x6xddrxx6shr8fydlcf1g8v";
diff --git a/pkgs/tools/audio/alsaequal/caps_9.x.patch b/pkgs/tools/audio/alsaequal/caps_9.x.patch
new file mode 100644
index 000000000000..282e04049747
--- /dev/null
+++ b/pkgs/tools/audio/alsaequal/caps_9.x.patch
@@ -0,0 +1,21 @@
+--- ./ctl_equal.c
++++ ./ctl_equal.c
+@@ -167,7 +167,7 @@
+ snd_ctl_equal_t *equal;
+ const char *controls = ".alsaequal.bin";
+ const char *library = "/usr/lib/ladspa/caps.so";
+- const char *module = "Eq";
++ const char *module = "Eq10";
+ long channels = 2;
+ const char *sufix = " Playback Volume";
+ int err, i, index;
+--- ./pcm_equal.c
++++ ./pcm_equal.c
+@@ -151,7 +151,7 @@
+ snd_config_t *sconf = NULL;
+ const char *controls = ".alsaequal.bin";
+ const char *library = "/usr/lib/ladspa/caps.so";
+- const char *module = "Eq";
++ const char *module = "Eq10";
+ long channels = 2;
+ int err;
diff