Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub 018f748b 056f6973

+277 -178
+3
nixos/modules/services/hardware/xow.nix
··· 10 config = lib.mkIf cfg.enable { 11 hardware.uinput.enable = true; 12 13 systemd.packages = [ pkgs.xow ]; 14 15 services.udev.packages = [ pkgs.xow ]; 16 };
··· 10 config = lib.mkIf cfg.enable { 11 hardware.uinput.enable = true; 12 13 + boot.extraModprobeConfig = lib.readFile "${pkgs.xow}/lib/modprobe.d/xow-blacklist.conf"; 14 + 15 systemd.packages = [ pkgs.xow ]; 16 + systemd.services.xow.wantedBy = [ "multi-user.target" ]; 17 18 services.udev.packages = [ pkgs.xow ]; 19 };
+3 -3
pkgs/applications/audio/lollypop/default.nix
··· 25 26 python3.pkgs.buildPythonApplication rec { 27 pname = "lollypop"; 28 - version = "1.4.5"; 29 30 format = "other"; 31 doCheck = false; ··· 34 url = "https://gitlab.gnome.org/World/lollypop"; 35 rev = "refs/tags/${version}"; 36 fetchSubmodules = true; 37 - sha256 = "1i5qcpp3fpkda08g6nkiiff8lsjmv5xsvpa0512kigq5z0lsagrx"; 38 }; 39 40 nativeBuildInputs = [ ··· 106 description = "A modern music player for GNOME"; 107 homepage = "https://wiki.gnome.org/Apps/Lollypop"; 108 license = licenses.gpl3Plus; 109 - maintainers = with maintainers; [ worldofpeace ]; 110 platforms = platforms.linux; 111 }; 112 }
··· 25 26 python3.pkgs.buildPythonApplication rec { 27 pname = "lollypop"; 28 + version = "1.4.16"; 29 30 format = "other"; 31 doCheck = false; ··· 34 url = "https://gitlab.gnome.org/World/lollypop"; 35 rev = "refs/tags/${version}"; 36 fetchSubmodules = true; 37 + sha256 = "sha256-4txJ+lYx2BROjZznFwWMc+tTVpYQpPtPySfCl+Hfy+0="; 38 }; 39 40 nativeBuildInputs = [ ··· 106 description = "A modern music player for GNOME"; 107 homepage = "https://wiki.gnome.org/Apps/Lollypop"; 108 license = licenses.gpl3Plus; 109 + maintainers = with maintainers; [ worldofpeace lovesegfault ]; 110 platforms = platforms.linux; 111 }; 112 }
+2 -2
pkgs/applications/graphics/pdfcpu/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pdfcpu"; 5 - version = "0.3.8"; 6 7 src = fetchFromGitHub { 8 owner = "pdfcpu"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-Rx/LUp5s2DhEKuLUklYXjtTXjqBju+5YzK1hNfBCnIE="; 12 }; 13 14 vendorSha256 = "sha256-/SsDDFveovJfuEdnOkxHAWccS8PJW5k9IHSxSJAgHMQ=";
··· 2 3 buildGoModule rec { 4 pname = "pdfcpu"; 5 + version = "0.3.9"; 6 7 src = fetchFromGitHub { 8 owner = "pdfcpu"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-btkGn/67KVFB272j7u5MKZCeby2fyRthLLeXj8VgX7s="; 12 }; 13 14 vendorSha256 = "sha256-/SsDDFveovJfuEdnOkxHAWccS8PJW5k9IHSxSJAgHMQ=";
+13 -11
pkgs/applications/misc/calibre/default.nix
··· 21 , libusb1 22 , libmtp 23 , xdg-utils 24 - , makeDesktopItem 25 , removeReferencesTo 26 }: 27 ··· 35 }; 36 37 patches = [ 38 - # Patches from Debian that: 39 - # - disable plugin installation (very insecure) 40 ./disable_plugins.patch 41 - # - switches the version update from enabled to disabled by default 42 ./no_updates_dialog.patch 43 - # the unrar patch is not from debian 44 - ] ++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch; 45 46 escaped_pyqt5_dir = builtins.replaceStrings ["/"] ["\\/"] (toString python3Packages.pyqt5); 47 platform_tag = ··· 59 setup/build.py 60 61 # Remove unneeded files and libs 62 - rm -rf resources/calibre-portable.* \ 63 - src/odf 64 ''; 65 66 dontUseQmakeConfigure = true; ··· 173 disallowedReferences = [ podofo.dev ]; 174 175 meta = with lib; { 176 description = "Comprehensive e-book software"; 177 - homepage = "https://calibre-ebook.com"; 178 - license = with licenses; if unrarSupport then unfreeRedistributable else gpl3; 179 maintainers = with maintainers; [ domenkozar pSub AndersonTorres ]; 180 platforms = platforms.linux; 181 - inherit version; 182 }; 183 }
··· 21 , libusb1 22 , libmtp 23 , xdg-utils 24 , removeReferencesTo 25 }: 26 ··· 34 }; 35 36 patches = [ 37 + # Plugin installation (very insecure) disabled (from Debian) 38 ./disable_plugins.patch 39 + # Automatic version update disabled by default (from Debian) 40 ./no_updates_dialog.patch 41 + ] 42 + ++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch; 43 44 escaped_pyqt5_dir = builtins.replaceStrings ["/"] ["\\/"] (toString python3Packages.pyqt5); 45 platform_tag = ··· 57 setup/build.py 58 59 # Remove unneeded files and libs 60 + rm -rf src/odf resources/calibre-portable.* 61 ''; 62 63 dontUseQmakeConfigure = true; ··· 170 disallowedReferences = [ podofo.dev ]; 171 172 meta = with lib; { 173 + homepage = "https://calibre-ebook.com"; 174 description = "Comprehensive e-book software"; 175 + longDescription = '' 176 + calibre is a powerful and easy to use e-book manager. Users say it’s 177 + outstanding and a must-have. It’ll allow you to do nearly everything and 178 + it takes things a step beyond normal e-book software. It’s also completely 179 + free and open source and great for both casual users and computer experts. 180 + ''; 181 + license = with licenses; if unrarSupport then unfreeRedistributable else gpl3Plus; 182 maintainers = with maintainers; [ domenkozar pSub AndersonTorres ]; 183 platforms = platforms.linux; 184 }; 185 }
+2 -2
pkgs/applications/networking/browsers/vivaldi/default.nix
··· 18 vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; 19 in stdenv.mkDerivation rec { 20 pname = "vivaldi"; 21 - version = "3.5.2115.87-1"; 22 23 src = fetchurl { 24 url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}_amd64.deb"; 25 - sha256 = "0m0w2sj6kdd2b67f3kfcf4qyyxhqnmi2qzjwmqpmns9a485s6bn0"; 26 }; 27 28 unpackPhase = ''
··· 18 vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi"; 19 in stdenv.mkDerivation rec { 20 pname = "vivaldi"; 21 + version = "3.6.2165.36-1"; 22 23 src = fetchurl { 24 url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}_amd64.deb"; 25 + sha256 = "1wgxzggy5sg98k4lzd34k4hyw2jgc14db41z7s7j3c5whlnifh08"; 26 }; 27 28 unpackPhase = ''
+68 -53
pkgs/applications/networking/errbot/default.nix
··· 1 - { lib, fetchFromGitHub, python, glibcLocales }: 2 3 - let 4 - py = python.override { 5 - packageOverrides = self: super: { 6 - # errbot requires markdown<3, and is not compatible with it either. 7 - markdown = super.markdown.overridePythonAttrs (oldAttrs: rec { 8 - version = "2.6.11"; 9 - src = super.fetchPypi { 10 - pname = "Markdown"; 11 - inherit version; 12 - sha256 = "108g80ryzykh8bj0i7jfp71510wrcixdi771lf2asyghgyf8cmm8"; 13 - }; 14 - }); 15 - 16 - # errbot requires slackclient 1.x, see https://github.com/errbotio/errbot/pull/1367 17 - # latest 1.x release would be 1.3.2, but it requires an older websocket_client than the one in nixpkgs 18 - # so let's just vendor the known-working version until they've migrated to 2.x. 19 - slackclient = super.slackclient.overridePythonAttrs (oldAttrs: rec { 20 - version = "1.2.1"; 21 - pname = "slackclient"; 22 - src = fetchFromGitHub { 23 - owner = "slackapi"; 24 - repo = "python-slackclient"; 25 - rev = version; 26 - sha256 = "073fwf6fm2sqdp5ms3vm1v3ljh0pldi69k048404rp6iy3cfwkp0"; 27 - }; 28 - 29 - propagatedBuildInputs = with self; [ websocket_client requests six ]; 30 - 31 - checkInputs = with self; [ pytest codecov coverage mock pytestcov pytest-mock responses flake8 ]; 32 - # test_server.py fails because it needs connection (I think); 33 - checkPhase = '' 34 - py.test --cov-report= --cov=slackclient tests --ignore=tests/test_server.py 35 - ''; 36 - }); 37 - }; 38 - }; 39 - 40 - in 41 - py.pkgs.buildPythonApplication rec { 42 pname = "errbot"; 43 - version = "6.1.1"; 44 45 src = fetchFromGitHub { 46 owner = "errbotio"; 47 repo = "errbot"; 48 rev = version; 49 - sha256 = "1s4dl1za5imwsv6j3y7m47dy91hmqd5n221kkqm9ni4mpzgpffz0"; 50 }; 51 52 LC_ALL = "en_US.utf8"; 53 54 buildInputs = [ glibcLocales ]; 55 - propagatedBuildInputs = with py.pkgs; [ 56 - webtest requests jinja2 flask dulwich 57 - pyopenssl colorlog markdown ansi pygments 58 - daemonize pygments-markdown-lexer telegram irc slackclient 59 - sleekxmpp pyasn1 pyasn1-modules hypchat 60 ]; 61 62 - checkInputs = with py.pkgs; [ mock pytest ]; 63 - # avoid tests that do network calls 64 - checkPhase = '' 65 - pytest tests -k 'not backup and not broken_plugin and not plugin_cycle' 66 - ''; 67 68 meta = with lib; { 69 description = "Chatbot designed to be simple to extend with plugins written in Python"; 70 homepage = "http://errbot.io/"; 71 maintainers = with maintainers; [ fpletz globin ]; 72 - license = licenses.gpl3; 73 platforms = platforms.linux; 74 # flaky on darwin, "RuntimeError: can't start new thread" 75 };
··· 1 + { lib 2 + , ansi 3 + , buildPythonApplication 4 + , colorlog 5 + , daemonize 6 + , deepmerge 7 + , dulwich 8 + , fetchFromGitHub 9 + , flask 10 + , glibcLocales 11 + , hypchat 12 + , irc 13 + , jinja2 14 + , markdown 15 + , mock 16 + , pyasn1 17 + , pyasn1-modules 18 + , pygments 19 + , pygments-markdown-lexer 20 + , pyopenssl 21 + , pytestCheckHook 22 + , requests 23 + , slackclient 24 + , sleekxmpp 25 + , telegram 26 + , webtest 27 + }: 28 29 + buildPythonApplication rec { 30 pname = "errbot"; 31 + version = "6.1.7"; 32 33 src = fetchFromGitHub { 34 owner = "errbotio"; 35 repo = "errbot"; 36 rev = version; 37 + sha256 = "02h44qd3d91zy657hyqsw3gskgxg31848pw6zpb8dhd1x84z5y77"; 38 }; 39 40 LC_ALL = "en_US.utf8"; 41 42 buildInputs = [ glibcLocales ]; 43 + 44 + propagatedBuildInputs = [ 45 + ansi 46 + colorlog 47 + daemonize 48 + deepmerge 49 + dulwich 50 + flask 51 + hypchat 52 + irc 53 + jinja2 54 + markdown 55 + pyasn1 56 + pyasn1-modules 57 + pygments 58 + pygments-markdown-lexer 59 + pyopenssl 60 + requests 61 + slackclient 62 + sleekxmpp 63 + telegram 64 + webtest 65 ]; 66 67 + checkInputs = [ 68 + mock 69 + pytestCheckHook 70 + ]; 71 + 72 + # Slack backend test has an import issue 73 + pytestFlagsArray = [ "--ignore=tests/backend_tests/slack_test.py" ]; 74 + 75 + disabledTests = [ 76 + "backup" 77 + "broken_plugin" 78 + "plugin_cycle" 79 + ]; 80 + 81 + pythonImportsCheck = [ "errbot" ]; 82 83 meta = with lib; { 84 description = "Chatbot designed to be simple to extend with plugins written in Python"; 85 homepage = "http://errbot.io/"; 86 maintainers = with maintainers; [ fpletz globin ]; 87 + license = licenses.gpl3Plus; 88 platforms = platforms.linux; 89 # flaky on darwin, "RuntimeError: can't start new thread" 90 };
+4 -5
pkgs/applications/version-management/git-and-tools/git-hub/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, gitMinimal, python2Packages }: 2 3 stdenv.mkDerivation rec { 4 pname = "git-hub"; 5 - version = "1.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "sociomantic-tsunami"; 9 repo = "git-hub"; 10 rev = "v${version}"; 11 - sha256 = "0jkzg7vjvgb952qncndhki7n70714w61flbzf4mdcjc286lqjvwb"; 12 }; 13 14 - buildInputs = [ python2Packages.python ]; 15 nativeBuildInputs = [ 16 gitMinimal # Used during build to generate Bash completion. 17 - python2Packages.docutils 18 ]; 19 20 postPatch = ''
··· 1 + { lib, stdenv, fetchFromGitHub, gitMinimal, docutils }: 2 3 stdenv.mkDerivation rec { 4 pname = "git-hub"; 5 + version = "2.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "sociomantic-tsunami"; 9 repo = "git-hub"; 10 rev = "v${version}"; 11 + sha256 = "1df9l8fpbxjgcgi72fwaqxiay5kpfihyc63f0gj67mns9n9ic1i7"; 12 }; 13 14 nativeBuildInputs = [ 15 gitMinimal # Used during build to generate Bash completion. 16 + docutils 17 ]; 18 19 postPatch = ''
+2 -2
pkgs/data/fonts/cascadia-code/default.nix
··· 1 { lib, fetchzip }: 2 let 3 - version = "2009.22"; 4 in 5 fetchzip { 6 name = "cascadia-code-${version}"; 7 8 url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip"; 9 10 - sha256 = "0wdkjzaf5a14yfiqqqn6wvi6db6r7g1m5r07cg9730b0mkzhfyhl"; 11 12 postFetch = '' 13 mkdir -p $out/share/fonts/
··· 1 { lib, fetchzip }: 2 let 3 + version = "2102.03"; 4 in 5 fetchzip { 6 name = "cascadia-code-${version}"; 7 8 url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip"; 9 10 + sha256 = "076l44cyyp3cf15qyn2hzx34kzqm73d218fgwf8n69m8a1v34hs2"; 11 12 postFetch = '' 13 mkdir -p $out/share/fonts/
+2 -2
pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "evolution-data-server"; 9 - version = "3.38.3"; 10 11 outputs = [ "out" "dev" ]; 12 13 src = fetchurl { 14 url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 15 - sha256 = "19rwgvjicfmd5zgabr5ns42rg8cqa05p8qf7684prajjna8gcclp"; 16 }; 17 18 patches = [
··· 6 7 stdenv.mkDerivation rec { 8 pname = "evolution-data-server"; 9 + version = "3.38.4"; 10 11 outputs = [ "out" "dev" ]; 12 13 src = fetchurl { 14 url = "mirror://gnome/sources/evolution-data-server/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 15 + sha256 = "rFPxay1R8+f/gCX5yhn0otTOOEHXKun+K7iX3ICZ1wU="; 16 }; 17 18 patches = [
+2 -2
pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
··· 5 6 stdenv.mkDerivation rec { 7 pname = "gnome-terminal"; 8 - version = "3.38.2"; 9 10 src = fetchurl { 11 url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 - sha256 = "J73cnQumFMhuXstPVMdevDQV4oh6zZFEIFdUj9MgZhg="; 13 }; 14 15 buildInputs = [
··· 5 6 stdenv.mkDerivation rec { 7 pname = "gnome-terminal"; 8 + version = "3.38.3"; 9 10 src = fetchurl { 11 url = "mirror://gnome/sources/gnome-terminal/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 + sha256 = "EaWw1jXxX9znUINRpRD79OkqpTMVKlD/DHhF4xAuR2Q="; 13 }; 14 15 buildInputs = [
-35
pkgs/desktops/gnome-3/extensions/arc-menu/default.nix
··· 1 - { lib, stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "gnome-shell-arc-menu"; 5 - version = "47"; 6 - 7 - src = fetchFromGitLab { 8 - owner = "arcmenu-team"; 9 - repo = "Arc-Menu"; 10 - rev = "v${version}-Stable"; 11 - sha256 = "1hhjxdm1sm9pddhkkxx532hqqiv9ghvqgn9xszg1jwhj29380fv6"; 12 - }; 13 - 14 - patches = [ 15 - (substituteAll { 16 - src = ./fix_gmenu.patch; 17 - gmenu_path = "${gnome-menus}/lib/girepository-1.0"; 18 - }) 19 - ]; 20 - 21 - buildInputs = [ 22 - glib gettext 23 - ]; 24 - 25 - makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ]; 26 - 27 - uuid = "arc-menu@linxgem33.com"; 28 - 29 - meta = with lib; { 30 - description = "Gnome shell extension designed to replace the standard menu found in Gnome 3"; 31 - license = licenses.gpl2Plus; 32 - maintainers = with maintainers; [ dkabot ]; 33 - homepage = "https://gitlab.com/LinxGem33/Arc-Menu"; 34 - }; 35 - }
···
pkgs/desktops/gnome-3/extensions/arc-menu/fix_gmenu.patch pkgs/desktops/gnome-3/extensions/arcmenu/fix_gmenu.patch
+35
pkgs/desktops/gnome-3/extensions/arcmenu/default.nix
···
··· 1 + { lib, stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "gnome-shell-arcmenu"; 5 + version = "5"; 6 + 7 + src = fetchFromGitLab { 8 + owner = "arcmenu"; 9 + repo = "ArcMenu"; 10 + rev = "v${version}"; 11 + sha256 = "1w4avvnp08l7lkf76vc7wvfn1cd81l4r4dhz8qnai49rvrjgqcg3"; 12 + }; 13 + 14 + patches = [ 15 + (substituteAll { 16 + src = ./fix_gmenu.patch; 17 + gmenu_path = "${gnome-menus}/lib/girepository-1.0"; 18 + }) 19 + ]; 20 + 21 + buildInputs = [ 22 + glib gettext 23 + ]; 24 + 25 + makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ]; 26 + 27 + uuid = "arcmenu@arcmenu.com"; 28 + 29 + meta = with lib; { 30 + description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow"; 31 + license = licenses.gpl2Plus; 32 + maintainers = with maintainers; [ dkabot ]; 33 + homepage = "https://gitlab.com/arcmenu/ArcMenu"; 34 + }; 35 + }
+5 -3
pkgs/development/python-modules/capstone/default.nix
··· 1 - { lib, stdenv 2 , buildPythonPackage 3 - , fetchPypi 4 , fetchpatch 5 , setuptools 6 - , capstone 7 }: 8 9 buildPythonPackage rec { ··· 16 postPatch = '' 17 ln -s ${capstone}/lib/libcapstone${stdenv.targetPlatform.extensions.sharedLibrary} prebuilt/ 18 ln -s ${capstone}/lib/libcapstone.a prebuilt/ 19 ''; 20 21 propagatedBuildInputs = [ setuptools ];
··· 1 + { stdenv 2 + , lib 3 , buildPythonPackage 4 + , capstone 5 , fetchpatch 6 + , fetchPypi 7 , setuptools 8 }: 9 10 buildPythonPackage rec { ··· 17 postPatch = '' 18 ln -s ${capstone}/lib/libcapstone${stdenv.targetPlatform.extensions.sharedLibrary} prebuilt/ 19 ln -s ${capstone}/lib/libcapstone.a prebuilt/ 20 + substituteInPlace setup.py --replace manylinux1 manylinux2014 21 ''; 22 23 propagatedBuildInputs = [ setuptools ];
+74
pkgs/development/python-modules/slack-sdk/default.nix
···
··· 1 + { lib 2 + , aiodns 3 + , aiohttp 4 + , boto3 5 + , buildPythonPackage 6 + , codecov 7 + , databases 8 + , fetchFromGitHub 9 + , flake8 10 + , flask-sockets 11 + , isPy3k 12 + , psutil 13 + , pytest-asyncio 14 + , pytest-cov 15 + , pytestCheckHook 16 + , pytestrunner 17 + , sqlalchemy 18 + , websocket_client 19 + , websockets 20 + }: 21 + 22 + buildPythonPackage rec { 23 + pname = "slack-sdk"; 24 + version = "3.3.0"; 25 + disabled = !isPy3k; 26 + 27 + src = fetchFromGitHub { 28 + owner = "slackapi"; 29 + repo = "python-slack-sdk"; 30 + rev = "v${version}"; 31 + sha256 = "0nr1avxycvjnvg1n8r09xi4sc5h6i4b64pzfgq14l55dgi5sv1rx"; 32 + }; 33 + 34 + propagatedBuildInputs = [ 35 + aiodns 36 + aiohttp 37 + boto3 38 + sqlalchemy 39 + websocket_client 40 + websockets 41 + ]; 42 + 43 + checkInputs = [ 44 + codecov 45 + databases 46 + flake8 47 + flask-sockets 48 + psutil 49 + pytest-asyncio 50 + pytest-cov 51 + pytestCheckHook 52 + pytestrunner 53 + ]; 54 + 55 + preCheck = '' 56 + export HOME=$(mktemp -d) 57 + ''; 58 + 59 + # Exclude tests that requires network features 60 + pytestFlagsArray = [ "--ignore=integration_tests" ]; 61 + disabledTests = [ 62 + "test_start_raises_an_error_if_rtm_ws_url_is_not_returned" 63 + "test_org_installation" 64 + ]; 65 + 66 + pythonImportsCheck = [ "slack_sdk" ]; 67 + 68 + meta = with lib; { 69 + description = "Slack Developer Kit for Python"; 70 + homepage = "https://slack.dev/python-slack-sdk/"; 71 + license = with licenses; [ mit ]; 72 + maintainers = with maintainers; [ fab ]; 73 + }; 74 + }
+15 -11
pkgs/development/python-modules/slackclient/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , aiohttp 5 - , black 6 - , codecov 7 , flake8 8 , isPy3k 9 , mock 10 , pytest-mock 11 , pytestCheckHook 12 - , pytestcov 13 , pytestrunner 14 , requests 15 , responses ··· 19 20 buildPythonPackage rec { 21 pname = "python-slackclient"; 22 - version = "2.5.0"; 23 24 disabled = !isPy3k; 25 26 src = fetchFromGitHub { 27 - owner = "slackapi"; 28 - repo = pname; 29 - rev = version; 30 - sha256 = "1ngj1mivbln19546195k400w9yaw69g0w6is7c75rqwyxr8wgzsk"; 31 }; 32 33 propagatedBuildInputs = [ ··· 38 ]; 39 40 checkInputs = [ 41 - black 42 codecov 43 flake8 44 mock 45 pytest-mock 46 pytestCheckHook 47 - pytestcov 48 pytestrunner 49 responses 50 ]; 51 52 pythonImportsCheck = [ "slack" ]; 53
··· 1 { lib 2 + , aiohttp 3 , buildPythonPackage 4 + , codecov 5 , fetchFromGitHub 6 , flake8 7 , isPy3k 8 , mock 9 + , psutil 10 + , pytest-cov 11 , pytest-mock 12 , pytestCheckHook 13 , pytestrunner 14 , requests 15 , responses ··· 19 20 buildPythonPackage rec { 21 pname = "python-slackclient"; 22 + version = "2.9.3"; 23 24 disabled = !isPy3k; 25 26 src = fetchFromGitHub { 27 + owner = "slackapi"; 28 + repo = "python-slack-sdk"; 29 + rev = "v${version}"; 30 + sha256 = "1rfb7izgddv28ag37gdnv3sd8z2zysrxs7ad8x20x690zshpaq16"; 31 }; 32 33 propagatedBuildInputs = [ ··· 38 ]; 39 40 checkInputs = [ 41 codecov 42 flake8 43 mock 44 + psutil 45 + pytest-cov 46 pytest-mock 47 pytestCheckHook 48 pytestrunner 49 responses 50 ]; 51 + 52 + # Exclude tests that requires network features 53 + pytestFlagsArray = [ "--ignore=integration_tests" ]; 54 + disabledTests = [ "test_start_raises_an_error_if_rtm_ws_url_is_not_returned" ]; 55 56 pythonImportsCheck = [ "slack" ]; 57
+3 -3
pkgs/development/python-modules/tubeup/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "tubeup"; 12 - version = "0.0.21"; 13 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "326a499be032bee7f7ed921d85abff4b3b4dcd2c3d6ad694f08ef98dbcef19b6"; 19 }; 20 21 postPatch = '' ··· 32 meta = with lib; { 33 description = "Youtube (and other video site) to Internet Archive Uploader"; 34 homepage = "https://github.com/bibanon/tubeup"; 35 - license = licenses.gpl3; 36 maintainers = [ maintainers.marsam ]; 37 }; 38 }
··· 9 10 buildPythonPackage rec { 11 pname = "tubeup"; 12 + version = "0.0.23"; 13 14 disabled = isPy27; 15 16 src = fetchPypi { 17 inherit pname version; 18 + sha256 = "d504327e055889edfe56512a829f76b24b40c5965b93120f8b9300f5390014b4"; 19 }; 20 21 postPatch = '' ··· 32 meta = with lib; { 33 description = "Youtube (and other video site) to Internet Archive Uploader"; 34 homepage = "https://github.com/bibanon/tubeup"; 35 + license = licenses.gpl3Only; 36 maintainers = [ maintainers.marsam ]; 37 }; 38 }
+13 -28
pkgs/development/tools/continuous-integration/laminar/default.nix
··· 8 , zlib 9 , rapidjson 10 , pandoc 11 - , enableSystemd ? false 12 - , customConfig ? null 13 }: 14 let 15 js.vue = fetchurl { 16 - url = "https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js"; 17 - sha256 = "01zklp5cyik65dfn64m8h2y2dxzgbyzgmbf99y7fwgnf0155r7pq"; 18 }; 19 js.vue-router = fetchurl { 20 url = 21 - "https://cdnjs.cloudflare.com/ajax/libs/vue-router/2.7.0/vue-router.min.js"; 22 - sha256 = "07gx7znb30rk1z7w6ca7dlfjp44q12bbq6jghwfm27mf6psa80as"; 23 }; 24 js.ansi_up = fetchurl { 25 url = "https://raw.githubusercontent.com/drudru/ansi_up/v1.3.0/ansi_up.js"; ··· 29 url = "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"; 30 sha256 = "1jh4h12qchsba03dx03mrvs4r8g9qfjn56xm56jqzgqf7r209xq9"; 31 }; 32 - css.bootstrap = fetchurl { 33 - url = 34 - "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"; 35 - sha256 = "11vx860prsx7wsy8b0yrrk04ih8kvrxkk8l16snsc4n286bdkyri"; 36 - }; 37 in stdenv.mkDerivation rec { 38 name = "laminar"; 39 - version = "0.8"; 40 src = fetchurl { 41 url = "https://github.com/ohwgiles/laminar/archive/${version}.tar.gz"; 42 - sha256 = "05g73j3vpib47kr7mackcazf7s6bc3xwz4h6k7sp7yb5ng7gj20g"; 43 }; 44 patches = [ ./patches/no-network.patch ]; 45 nativeBuildInputs = [ cmake pandoc ]; ··· 50 cp ${js.vue-router} js/vue-router.min.js 51 cp ${js.ansi_up} js/ansi_up.js 52 cp ${js.Chart} js/Chart.min.js 53 - cp ${css.bootstrap} css/bootstrap.min.css 54 ''; 55 postInstall = '' 56 - mv $out/usr/share $out 57 - mkdir $out/bin 58 - mv $out/usr/{bin,sbin}/* $out/bin 59 - rmdir $out/usr/{bin,sbin} 60 - rmdir $out/usr 61 62 mkdir -p $out/share/doc/laminar 63 pandoc -s ../UserManual.md -o $out/share/doc/laminar/UserManual.html 64 - '' + lib.optionalString (customConfig != null) '' 65 - cp ${customConfig} /etc/etc/laminar.conf 66 - '' + (if enableSystemd then '' 67 - sed -i "s,/etc/,$out/etc/," $out/lib/systemd/system/laminar.service 68 - sed -i "s,/usr/sbin/,$out/bin/," $out/lib/systemd/system/laminar.service 69 - '' else '' 70 - rm -r $out/lib # it contains only systemd unit file 71 - ''); 72 73 meta = with lib; { 74 description = "Lightweight and modular continuous integration service"; 75 homepage = "https://laminar.ohwg.net"; 76 license = licenses.gpl3; 77 platforms = platforms.linux; 78 - maintainers = with maintainers; [ kaction ]; 79 }; 80 }
··· 8 , zlib 9 , rapidjson 10 , pandoc 11 }: 12 let 13 js.vue = fetchurl { 14 + url = "https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.12/vue.min.js"; 15 + sha256 = "1hm5kci2g6n5ikrvp1kpkkdzimjgylv1xicg2vnkbvd9rb56qa99"; 16 }; 17 js.vue-router = fetchurl { 18 url = 19 + "https://cdnjs.cloudflare.com/ajax/libs/vue-router/3.4.8/vue-router.min.js"; 20 + sha256 = "0418waib896ywwxkxliip75zp94k3s9wld51afrqrcq70axld0c9"; 21 }; 22 js.ansi_up = fetchurl { 23 url = "https://raw.githubusercontent.com/drudru/ansi_up/v1.3.0/ansi_up.js"; ··· 27 url = "https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"; 28 sha256 = "1jh4h12qchsba03dx03mrvs4r8g9qfjn56xm56jqzgqf7r209xq9"; 29 }; 30 in stdenv.mkDerivation rec { 31 name = "laminar"; 32 + version = "1.0"; 33 src = fetchurl { 34 url = "https://github.com/ohwgiles/laminar/archive/${version}.tar.gz"; 35 + sha256 = "11m6h3rdmj2rsmsryy7r40gqccj4gg1cnqwy6blscs87gx4s423g"; 36 }; 37 patches = [ ./patches/no-network.patch ]; 38 nativeBuildInputs = [ cmake pandoc ]; ··· 43 cp ${js.vue-router} js/vue-router.min.js 44 cp ${js.ansi_up} js/ansi_up.js 45 cp ${js.Chart} js/Chart.min.js 46 ''; 47 + 48 postInstall = '' 49 + mv $out/usr/share/* $out/share/ 50 + rmdir $out/usr/share $out/usr 51 52 mkdir -p $out/share/doc/laminar 53 pandoc -s ../UserManual.md -o $out/share/doc/laminar/UserManual.html 54 + rm -rf $out/lib # remove upstream systemd units 55 + rm -rf $out/etc # remove upstream config file 56 + ''; 57 58 meta = with lib; { 59 description = "Lightweight and modular continuous integration service"; 60 homepage = "https://laminar.ohwg.net"; 61 license = licenses.gpl3; 62 platforms = platforms.linux; 63 + maintainers = with maintainers; [ kaction maralorn ]; 64 }; 65 }
+23 -8
pkgs/development/tools/continuous-integration/laminar/patches/no-network.patch
··· 6 7 --- laminar-0.8/CMakeLists.txt 8 +++ laminar-0.8-new/CMakeLists.txt 9 - @@ -69,17 +69,6 @@ 10 COMMAND sh -c '( echo -n "\\#define INDEX_HTML_UNCOMPRESSED_SIZE " && wc -c < "${CMAKE_SOURCE_DIR}/src/resources/index.html" ) > index_html_size.h' 11 DEPENDS src/resources/index.html) 12 13 -# Download 3rd-party frontend JS libs... 14 - -file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/vue/2.3.4/vue.min.js 15 - - js/vue.min.js EXPECTED_MD5 ae2fca1cfa0e31377819b1b0ffef704c) 16 - -file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/vue-router/2.7.0/vue-router.min.js 17 - - js/vue-router.min.js EXPECTED_MD5 5d3e35710dbe02de78c39e3e439b8d4e) 18 -file(DOWNLOAD https://raw.githubusercontent.com/drudru/ansi_up/v1.3.0/ansi_up.js 19 - js/ansi_up.js EXPECTED_MD5 158566dc1ff8f2804de972f7e841e2f6) 20 -file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js 21 - js/Chart.min.js EXPECTED_MD5 f6c8efa65711e0cbbc99ba72997ecd0e) 22 - -file(DOWNLOAD https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css 23 - - css/bootstrap.min.css EXPECTED_MD5 5d5357cb3704e1f43a1f5bfed2aebf42) 24 # ...and compile them 25 generate_compressed_bins(${CMAKE_BINARY_DIR} js/vue-router.min.js js/vue.min.js 26 - js/ansi_up.js js/Chart.min.js css/bootstrap.min.css)
··· 6 7 --- laminar-0.8/CMakeLists.txt 8 +++ laminar-0.8-new/CMakeLists.txt 9 + @@ -82,15 +82,6 @@ 10 COMMAND sh -c '( echo -n "\\#define INDEX_HTML_UNCOMPRESSED_SIZE " && wc -c < "${CMAKE_SOURCE_DIR}/src/resources/index.html" ) > index_html_size.h' 11 DEPENDS src/resources/index.html) 12 13 -# Download 3rd-party frontend JS libs... 14 + -file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.12/vue.min.js 15 + - js/vue.min.js EXPECTED_MD5 fb192338844efe86ec759a40152fcb8e) 16 + -file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/vue-router/3.4.8/vue-router.min.js 17 + - js/vue-router.min.js EXPECTED_MD5 5f51d4dbbf68fd6725956a5a2b865f3b) 18 -file(DOWNLOAD https://raw.githubusercontent.com/drudru/ansi_up/v1.3.0/ansi_up.js 19 - js/ansi_up.js EXPECTED_MD5 158566dc1ff8f2804de972f7e841e2f6) 20 -file(DOWNLOAD https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js 21 - js/Chart.min.js EXPECTED_MD5 f6c8efa65711e0cbbc99ba72997ecd0e) 22 # ...and compile them 23 generate_compressed_bins(${CMAKE_BINARY_DIR} js/vue-router.min.js js/vue.min.js 24 + js/ansi_up.js js/Chart.min.js) 25 + @@ -141,12 +132,12 @@ 26 + target_link_libraries(laminar-tests ${GTEST_LIBRARY} capnp-rpc capnp kj-http kj-async kj pthread sqlite3 z) 27 + endif() 28 + 29 + -set(SYSTEMD_UNITDIR /lib/systemd/system CACHE PATH "Path to systemd unit files") 30 + -set(BASH_COMPLETIONS_DIR /usr/share/bash-completion/completions CACHE PATH "Path to bash completions directory") 31 + -set(ZSH_COMPLETIONS_DIR /usr/share/zsh/site-functions CACHE PATH "Path to zsh completions directory") 32 + +set(SYSTEMD_UNITDIR lib/systemd/system CACHE PATH "Path to systemd unit files") 33 + +set(BASH_COMPLETIONS_DIR usr/share/bash-completion/completions CACHE PATH "Path to bash completions directory") 34 + +set(ZSH_COMPLETIONS_DIR usr/share/zsh/site-functions CACHE PATH "Path to zsh completions directory") 35 + install(TARGETS laminard RUNTIME DESTINATION sbin) 36 + install(TARGETS laminarc RUNTIME DESTINATION bin) 37 + -install(FILES etc/laminar.conf DESTINATION /etc) 38 + +install(FILES etc/laminar.conf DESTINATION etc) 39 + install(FILES etc/laminarc-completion.bash DESTINATION ${BASH_COMPLETIONS_DIR} RENAME laminarc) 40 + install(FILES etc/laminarc-completion.zsh DESTINATION ${ZSH_COMPLETIONS_DIR} RENAME _laminarc) 41 +
-1
pkgs/misc/emulators/py65/default.nix
··· 21 ''; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ AndersonTorres ]; 24 - platforms = with platforms; all; 25 }; 26 }
··· 21 ''; 22 license = licenses.bsd3; 23 maintainers = with maintainers; [ AndersonTorres ]; 24 }; 25 }
+3 -3
pkgs/misc/emulators/wine/sources.nix
··· 44 45 unstable = fetchurl rec { 46 # NOTE: Don't forget to change the SHA256 for staging as well. 47 - version = "6.1"; 48 url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz"; 49 - sha256 = "sha256-qSwkMIxIuFG13CKh01aWpXMRxEezHsn6VD7FsKpzoUk="; 50 inherit (stable) mono gecko32 gecko64; 51 52 patches = [ ··· 58 staging = fetchFromGitHub rec { 59 # https://github.com/wine-staging/wine-staging/releases 60 inherit (unstable) version; 61 - sha256 = "sha256-uu6wvWT54Zvp86KfUcKepGxjQ6JHRQ7Yuu4yeROdHeo="; 62 owner = "wine-staging"; 63 repo = "wine-staging"; 64 rev = "v${version}";
··· 44 45 unstable = fetchurl rec { 46 # NOTE: Don't forget to change the SHA256 for staging as well. 47 + version = "6.2"; 48 url = "https://dl.winehq.org/wine/source/6.x/wine-${version}.tar.xz"; 49 + sha256 = "sha256-tmCWCaOrzGrZJ83WXHQL4BFiuAFSPg97qf1mkYALvxk="; 50 inherit (stable) mono gecko32 gecko64; 51 52 patches = [ ··· 58 staging = fetchFromGitHub rec { 59 # https://github.com/wine-staging/wine-staging/releases 60 inherit (unstable) version; 61 + sha256 = "sha256-swhd5gTIWTz8eEk6f78iXG8bmA3y4ynO0/wBm0/Kimk="; 62 owner = "wine-staging"; 63 repo = "wine-staging"; 64 rev = "v${version}";
+3 -4
pkgs/top-level/all-packages.nix
··· 21893 21894 eq10q = callPackage ../applications/audio/eq10q { }; 21895 21896 - errbot = callPackage ../applications/networking/errbot { 21897 - python = python3; 21898 - }; 21899 21900 espeak-classic = callPackage ../applications/audio/espeak { }; 21901 ··· 27452 27453 gnomeExtensions = recurseIntoAttrs { 27454 appindicator = callPackage ../desktops/gnome-3/extensions/appindicator { }; 27455 - arc-menu = callPackage ../desktops/gnome-3/extensions/arc-menu { }; 27456 caffeine = callPackage ../desktops/gnome-3/extensions/caffeine { }; 27457 clipboard-indicator = callPackage ../desktops/gnome-3/extensions/clipboard-indicator { }; 27458 clock-override = callPackage ../desktops/gnome-3/extensions/clock-override { }; ··· 27491 mediaplayer = throw "gnomeExtensions.mediaplayer deprecated since 2019-09-23: retired upstream https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/blob/master/README.md"; 27492 } // lib.optionalAttrs (config.allowAliases or false) { 27493 unite-shell = gnomeExtensions.unite; # added 2021-01-19 27494 }; 27495 27496 gnome-connections = callPackage ../desktops/gnome-3/apps/gnome-connections { };
··· 21893 21894 eq10q = callPackage ../applications/audio/eq10q { }; 21895 21896 + errbot = python3Packages.callPackage ../applications/networking/errbot { }; 21897 21898 espeak-classic = callPackage ../applications/audio/espeak { }; 21899 ··· 27450 27451 gnomeExtensions = recurseIntoAttrs { 27452 appindicator = callPackage ../desktops/gnome-3/extensions/appindicator { }; 27453 + arcmenu = callPackage ../desktops/gnome-3/extensions/arcmenu { }; 27454 caffeine = callPackage ../desktops/gnome-3/extensions/caffeine { }; 27455 clipboard-indicator = callPackage ../desktops/gnome-3/extensions/clipboard-indicator { }; 27456 clock-override = callPackage ../desktops/gnome-3/extensions/clock-override { }; ··· 27489 mediaplayer = throw "gnomeExtensions.mediaplayer deprecated since 2019-09-23: retired upstream https://github.com/JasonLG1979/gnome-shell-extensions-mediaplayer/blob/master/README.md"; 27490 } // lib.optionalAttrs (config.allowAliases or false) { 27491 unite-shell = gnomeExtensions.unite; # added 2021-01-19 27492 + arc-menu = gnomeExtensions.arcmenu; # added 2021-02-14 27493 }; 27494 27495 gnome-connections = callPackage ../desktops/gnome-3/apps/gnome-connections { };
+2
pkgs/top-level/python-packages.nix
··· 7261 7262 skorch = callPackage ../development/python-modules/skorch { }; 7263 7264 slackclient = callPackage ../development/python-modules/slackclient { }; 7265 7266 sleekxmpp = callPackage ../development/python-modules/sleekxmpp { };
··· 7261 7262 skorch = callPackage ../development/python-modules/skorch { }; 7263 7264 + slack-sdk = callPackage ../development/python-modules/slack-sdk { }; 7265 + 7266 slackclient = callPackage ../development/python-modules/slackclient { }; 7267 7268 sleekxmpp = callPackage ../development/python-modules/sleekxmpp { };