Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
36bab113 dd723571

+546 -60
+3 -3
maintainers/scripts/nix-generate-from-cpan.pl
··· 309 309 # "GPL v2" or to "GPL v2 or later". 310 310 my $amb = 0; 311 311 312 - # Whether the license is available inside `stdenv.lib.licenses`. 312 + # Whether the license is available inside `lib.licenses`. 313 313 my $in_set = 1; 314 314 315 315 my $nix_license = $LICENSE_MAP{$cpan_license}; ··· 331 331 # Avoid defining the license line. 332 332 } 333 333 elsif ($in_set) { 334 - my $lic = 'stdenv.lib.licenses'; 334 + my $lic = 'lib.licenses'; 335 335 if ( @$licenses == 1 ) { 336 336 $license_line = "$lic.$licenses->[0]"; 337 337 } ··· 449 449 meta = { 450 450 EOF 451 451 print <<EOF if defined $homepage; 452 - homepage = $homepage; 452 + homepage = "$homepage"; 453 453 EOF 454 454 print <<EOF if defined $description && $description ne "Unknown"; 455 455 description = "$description";
+25 -3
pkgs/applications/audio/ft2-clone/default.nix
··· 5 5 , alsaLib 6 6 , SDL2 7 7 , libiconv 8 + , CoreAudio 9 + , CoreMIDI 10 + , CoreServices 11 + , Cocoa 8 12 }: 9 13 10 14 stdenv.mkDerivation rec { 11 15 pname = "ft2-clone"; 12 - version = "1.41_fix"; 16 + version = "1.42"; 13 17 14 18 src = fetchFromGitHub { 15 19 owner = "8bitbubsy"; 16 20 repo = "ft2-clone"; 17 21 rev = "v${version}"; 18 - sha256 = "0c7jli79ckachl5n2rbhc4yzml8nc36pl9yzxcwgaz544q8pzmaa"; 22 + sha256 = "0w3c1rgm8qlqi50gavrcjz40xb0nkis4i9mvpwmvzmdv9nipxry9"; 19 23 }; 20 24 25 + # Adapt the linux-only CMakeLists to darwin (more reliable than make-macos.sh) 26 + postPatch = stdenv.lib.optionalString stdenv.isDarwin '' 27 + sed -i -e 's@__LINUX_ALSA__@__MACOSX_CORE__@' -e 's@asound@@' CMakeLists.txt 28 + ''; 29 + 21 30 nativeBuildInputs = [ cmake ]; 22 31 buildInputs = [ SDL2 ] 23 32 ++ stdenv.lib.optional stdenv.isLinux alsaLib 24 - ++ stdenv.lib.optional stdenv.isDarwin libiconv; 33 + ++ stdenv.lib.optionals stdenv.isDarwin [ 34 + libiconv 35 + CoreAudio 36 + CoreMIDI 37 + CoreServices 38 + Cocoa 39 + ]; 40 + 41 + NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin [ 42 + "-framework CoreAudio" 43 + "-framework CoreMIDI" 44 + "-framework CoreServices" 45 + "-framework Cocoa" 46 + ]; 25 47 26 48 passthru.tests = { 27 49 ft2-clone-starts = nixosTests.ft2-clone;
+24
pkgs/data/themes/openzone/default.nix
··· 1 + { stdenv, fetchFromGitHub, icon-slicer, xcursorgen }: 2 + stdenv.mkDerivation rec { 3 + pname = "openzone-cursors"; 4 + version = "1.2.9"; 5 + 6 + src = fetchFromGitHub { 7 + owner = "ducakar"; 8 + repo = pname; 9 + rev = "v${version}"; 10 + sha256 = "02c536mc17ccsrzgma366k3wlm02ivklvr30fafxl981zgghlii4"; 11 + }; 12 + 13 + nativeBuildInputs = [ icon-slicer xcursorgen ]; 14 + 15 + makeFlags = [ "DESTDIR=$(out)" ]; 16 + 17 + meta = with stdenv.lib; { 18 + description = "Clean and sharp X11/Wayland cursor theme"; 19 + homepage = "https://www.gnome-look.org/p/999999/"; 20 + license = licenses.mit; 21 + maintainers = with maintainers; [ zaninime ]; 22 + platforms = platforms.linux; 23 + }; 24 + }
+54
pkgs/development/compilers/vyper/default.nix
··· 1 + { stdenv, lib, buildPythonPackage, fetchPypi, writeText, asttokens 2 + , pycryptodome, pytest_xdist, pytestcov, recommonmark, semantic-version, sphinx 3 + , sphinx_rtd_theme, pytestrunner }: 4 + 5 + let 6 + sample-contract = writeText "example.vy" '' 7 + count: int128 8 + 9 + @external 10 + def __init__(foo: address): 11 + self.count = 1 12 + ''; 13 + in 14 + 15 + buildPythonPackage rec { 16 + pname = "vyper"; 17 + version = "0.2.8"; 18 + 19 + src = fetchPypi { 20 + inherit pname version; 21 + sha256 = "0d9fv630ayd1989qnklldh08vksa2lf0r06lm914qy5r5cvbl1v2"; 22 + }; 23 + 24 + nativeBuildInputs = [ pytestrunner ]; 25 + 26 + postPatch = '' 27 + substituteInPlace setup.py \ 28 + --replace 'asttokens==' 'asttokens>=' \ 29 + --replace 'subprocess.check_output("git rev-parse HEAD".split())' "' '" \ 30 + --replace 'commithash.decode("utf-8").strip()' "'069936fa3fee8646ff362145593128d7ef07da38'" 31 + ''; 32 + 33 + propagatedBuildInputs = [ 34 + asttokens 35 + pycryptodome 36 + semantic-version 37 + 38 + # docs 39 + recommonmark 40 + sphinx 41 + sphinx_rtd_theme 42 + ]; 43 + 44 + checkPhase = '' 45 + $out/bin/vyper "${sample-contract}" 46 + ''; 47 + 48 + meta = with stdenv.lib; { 49 + description = "Pythonic Smart Contract Language for the EVM"; 50 + homepage = "https://github.com/vyperlang/vyper"; 51 + license = licenses.asl20; 52 + maintainers = with maintainers; [ siraben ]; 53 + }; 54 + }
+43
pkgs/development/interpreters/gauche/boot.nix
··· 1 + { stdenv, lib, fetchurl, pkg-config, texinfo, libiconv, gdbm, openssl, zlib 2 + , mbedtls, cacert }: 3 + 4 + stdenv.mkDerivation rec { 5 + pname = "gauche-bootstrap"; 6 + version = "0.9.9"; 7 + 8 + src = fetchurl { 9 + url = "mirror://sourceforge/gauche/Gauche-${version}.tgz"; 10 + sha256 = "1yzpszhw52vkpr65r5d4khf3489mnnvnw58dd2wsvvx7499k5aac"; 11 + }; 12 + 13 + nativeBuildInputs = [ pkg-config texinfo ]; 14 + 15 + buildInputs = [ libiconv gdbm openssl zlib mbedtls cacert ]; 16 + 17 + postPatch = '' 18 + patchShebangs . 19 + ''; 20 + 21 + configureFlags = [ 22 + "--with-iconv=${libiconv}" 23 + "--with-dbm=gdbm" 24 + "--with-zlib=${zlib}" 25 + "--with-ca-bundle=${cacert}/etc/ssl/certs/ca-bundle.crt" 26 + # TODO: Enable slib 27 + # Current slib in nixpkgs is specialized to Guile 28 + # "--with-slib=${slibGuile}/lib/slib" 29 + ]; 30 + 31 + enableParallelBuilding = true; 32 + 33 + # TODO: Fix tests that fail in sandbox build 34 + doCheck = false; 35 + 36 + meta = with lib; { 37 + description = "R7RS Scheme scripting engine"; 38 + homepage = "https://practical-scheme.net/gauche/"; 39 + maintainers = with maintainers; [ mnacamura ]; 40 + license = licenses.bsd3; 41 + platforms = platforms.unix; 42 + }; 43 + }
+14 -9
pkgs/development/interpreters/gauche/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, texinfo, libiconv, gdbm, openssl, zlib 2 - , mbedtls, cacert 3 - }: 1 + { stdenv, lib, fetchFromGitHub, autoreconfHook, gaucheBootstrap, pkg-config, texinfo 2 + , libiconv, gdbm, openssl, zlib, mbedtls, cacert }: 4 3 5 4 stdenv.mkDerivation rec { 6 5 pname = "gauche"; 7 - version = "0.9.9"; 6 + version = "0.9.10"; 8 7 9 - src = fetchurl { 10 - url = "mirror://sourceforge/gauche/Gauche-${version}.tgz"; 11 - sha256 = "1yzpszhw52vkpr65r5d4khf3489mnnvnw58dd2wsvvx7499k5aac"; 8 + src = fetchFromGitHub { 9 + owner = "shirok"; 10 + repo = pname; 11 + rev = "release${lib.replaceChars [ "." ] [ "_" ] version}"; 12 + sha256 = "0ki1w7sa10ivmg51sqjskby0gsznb0d3738nz80x589033km5hmb"; 12 13 }; 13 14 14 - nativeBuildInputs = [ pkgconfig texinfo ]; 15 + nativeBuildInputs = [ gaucheBootstrap pkg-config texinfo autoreconfHook ]; 15 16 16 17 buildInputs = [ libiconv gdbm openssl zlib mbedtls cacert ]; 18 + 19 + autoreconfPhase = '' 20 + ./DIST gen 21 + ''; 17 22 18 23 postPatch = '' 19 24 patchShebangs . ··· 34 39 # TODO: Fix tests that fail in sandbox build 35 40 doCheck = false; 36 41 37 - meta = with stdenv.lib; { 42 + meta = with lib; { 38 43 description = "R7RS Scheme scripting engine"; 39 44 homepage = "https://practical-scheme.net/gauche/"; 40 45 maintainers = with maintainers; [ mnacamura ];
+62
pkgs/development/python-modules/aioguardian/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , async-timeout 4 + , asyncio-dgram 5 + , asynctest 6 + , buildPythonPackage 7 + , cryptography 8 + , fetchFromGitHub 9 + , poetry 10 + , pytest-aiohttp 11 + , pytest-asyncio 12 + , pytestCheckHook 13 + , pythonAtLeast 14 + , voluptuous 15 + }: 16 + 17 + buildPythonPackage rec { 18 + pname = "aioguardian"; 19 + version = "1.0.4"; 20 + disabled = pythonAtLeast "3.9"; 21 + 22 + src = fetchFromGitHub { 23 + owner = "bachya"; 24 + repo = pname; 25 + rev = version; 26 + sha256 = "1cbxcsxh9c8r2zx3lsjdns26sm2qmlwnqgah2sfzbgp1lay23vvq"; 27 + }; 28 + 29 + format = "pyproject"; 30 + 31 + nativeBuildInputs = [ poetry ]; 32 + 33 + propagatedBuildInputs = [ 34 + aiohttp 35 + async-timeout 36 + asyncio-dgram 37 + voluptuous 38 + ]; 39 + 40 + checkInputs = [ 41 + asyncio-dgram 42 + asynctest 43 + pytest-aiohttp 44 + pytest-asyncio 45 + pytestCheckHook 46 + ]; 47 + 48 + # Ignore the examples as they are prefixed with test_ 49 + pytestFlagsArray = [ "--ignore examples/" ]; 50 + pythonImportsCheck = [ "aioguardian" ]; 51 + 52 + meta = with lib; { 53 + description = " Python library to interact with Elexa Guardian devices"; 54 + longDescription = '' 55 + aioguardian is a Pytho3, asyncio-focused library for interacting with the 56 + Guardian line of water valves and sensors from Elexa. 57 + ''; 58 + homepage = "https://github.com/bachya/aioguardian"; 59 + license = with licenses; [ mit ]; 60 + maintainers = with maintainers; [ fab ]; 61 + }; 62 + }
+28
pkgs/development/python-modules/aiowinreg/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pythonOlder 5 + }: 6 + 7 + buildPythonPackage rec { 8 + pname = "aiowinreg"; 9 + version = "0.0.3"; 10 + 11 + disabled = pythonOlder "3.6"; 12 + 13 + src = fetchPypi { 14 + inherit pname version; 15 + sha256 = "0gxhx9m45yyr1rmgs7f1jchkgxk2zipk9g3s5ix90d267in8hsn9"; 16 + }; 17 + 18 + # Project doesn't have tests 19 + doCheck = false; 20 + pythonImportsCheck = [ "aiowinreg" ]; 21 + 22 + meta = with lib; { 23 + description = "Python module to parse the registry hive"; 24 + homepage = "https://github.com/skelsec/aiowinreg"; 25 + license = with licenses; [ mit ]; 26 + maintainers = with maintainers; [ fab ]; 27 + }; 28 + }
+43
pkgs/development/python-modules/json-schema-for-humans/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchFromGitHub, fetchurl 2 + , pbr, click, dataclasses-json, htmlmin, jinja2, markdown2, pygments, pytz, pyyaml, requests, pytestCheckHook, beautifulsoup4, tox 3 + }: 4 + 5 + buildPythonPackage rec { 6 + pname = "json-schema-for-humans"; 7 + version = "0.27.0"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "coveooss"; 11 + repo = pname; 12 + rev = "v${version}"; 13 + sha256 = "1r40i192z6aasil5vsgcgp5yvx392dhhqnfc2qxbxvpja6l3p6p2"; 14 + }; 15 + 16 + patches = [ (fetchurl { 17 + url = "https://github.com/coveooss/json-schema-for-humans/commit/1fe2e2391da5a796204fd1889e4a11a53f83f7c9.patch"; 18 + sha256 = "0kpydpddlg0rib9snl8albhbrrs6d3ds292gpgpg7bdpqrwamdib"; 19 + }) (fetchurl { 20 + url = "https://github.com/astro/json-schema-for-humans/commit/9bcc9b461102062dff214ca1ec2375b8aea53711.patch"; 21 + sha256 = "142a07v8bn1j20b7177yb60f4944kbx4cdqqq2nz6xkxmamw704d"; 22 + }) ]; 23 + 24 + nativeBuildInputs = [ pbr ]; 25 + propagatedBuildInputs = [ 26 + click dataclasses-json htmlmin jinja2 markdown2 27 + pygments pytz pyyaml requests 28 + ]; 29 + 30 + preBuild = '' 31 + export PBR_VERSION=0.0.1 32 + ''; 33 + 34 + checkInputs = [ pytestCheckHook beautifulsoup4 ]; 35 + pytestFlagsArray = [ "--ignore tests/generate_test.py" ]; 36 + 37 + meta = with stdenv.lib; { 38 + description = "Quickly generate HTML documentation from a JSON schema"; 39 + homepage = "https://github.com/coveooss/json-schema-for-humans"; 40 + license = licenses.asl20; 41 + maintainers = with maintainers; [ astro ]; 42 + }; 43 + }
+53
pkgs/development/python-modules/pyiqvia/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , aiohttp 4 + , aresponses 5 + , fetchFromGitHub 6 + , poetry 7 + , pytest-aiohttp 8 + , pytest-asyncio 9 + , pytestCheckHook 10 + , pythonOlder 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "pyiqvia"; 15 + version = "0.3.1"; 16 + format = "pyproject"; 17 + 18 + disabled = pythonOlder "3.6"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "bachya"; 22 + repo = pname; 23 + rev = version; 24 + sha256 = "1yjsbq4p040a35n8g2l0wgnv83wkjirv4rj73s2mjzn3cxf395bz"; 25 + }; 26 + 27 + nativeBuildInputs = [ poetry ]; 28 + 29 + propagatedBuildInputs = [ aiohttp ]; 30 + 31 + checkInputs = [ 32 + aresponses 33 + pytest-aiohttp 34 + pytest-asyncio 35 + pytestCheckHook 36 + ]; 37 + 38 + # Ignore the examples as they are prefixed with test_ 39 + pytestFlagsArray = [ "--ignore examples/" ]; 40 + pythonImportsCheck = [ "pyiqvia" ]; 41 + 42 + meta = with lib; { 43 + description = "Python3 API for IQVIA data"; 44 + longDescription = '' 45 + pyiqvia is an async-focused Python library for allergen, asthma, and 46 + disease data from the IQVIA family of websites (such as https://pollen.com, 47 + https://flustar.com and more). 48 + ''; 49 + homepage = "https://github.com/bachya/pyiqvia"; 50 + license = with licenses; [ mit ]; 51 + maintainers = with maintainers; [ fab ]; 52 + }; 53 + }
+13 -9
pkgs/development/python-modules/sortedcollections/default.nix
··· 1 1 { stdenv 2 2 , buildPythonPackage 3 - , fetchPypi 3 + , fetchFromGitHub 4 + , pytestCheckHook 4 5 , sortedcontainers 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "sortedcollections"; 9 - version = "1.2.1"; 10 + version = "1.2.3"; 10 11 11 - src = fetchPypi { 12 - inherit pname version; 13 - sha256 = "0sihzm5aqz7r3irh4jn6rzicb7lf81d27z7vl6kaslnhwcsizhsq"; 12 + src = fetchFromGitHub { 13 + owner = "grantjenks"; 14 + repo = "python-sortedcollections"; 15 + rev = "v${version}"; 16 + sha256 = "06ifkbhkj5fpsafibw0fs7b778g7q0gd03crvbjk04k0f3wjxc5z"; 14 17 }; 15 18 16 19 propagatedBuildInputs = [ sortedcontainers ]; 17 20 18 - # No tests in PyPi tarball 19 - doCheck = false; 21 + checkInputs = [ pytestCheckHook ]; 22 + 23 + pythonImportsCheck = [ "sortedcollections" ]; 20 24 21 25 meta = with stdenv.lib; { 22 26 description = "Python Sorted Collections"; 23 27 homepage = "http://www.grantjenks.com/docs/sortedcollections/"; 24 - license = licenses.asl20; 28 + license = with licenses; [ asl20 ]; 29 + maintainers = with maintainers; [ fab ]; 25 30 }; 26 - 27 31 }
+28 -8
pkgs/development/python-modules/staticjinja/default.nix
··· 1 1 { lib 2 - , fetchPypi 2 + , fetchFromGitHub 3 3 , buildPythonPackage 4 + , isPy27 4 5 , docopt 5 6 , easywatch 6 7 , jinja2 8 + , pytestCheckHook 9 + , markdown 7 10 }: 8 11 9 12 buildPythonPackage rec { 10 13 pname = "staticjinja"; 11 14 version = "0.4.0"; 12 15 13 - src = fetchPypi { 14 - inherit pname version; 15 - sha256 = "597837899008409359680ee9cd04779639b9c0eb3380b6545025d26a702ba36c"; 16 + disabled = isPy27; # 0.4.0 drops python2 support 17 + 18 + # For some reason, in pypi the tests get disabled when using 19 + # PY_IGNORE_IMPORTMISMATCH, so we just fetch from GitHub 20 + src = fetchFromGitHub { 21 + owner = "staticjinja"; 22 + repo = pname; 23 + rev = version; 24 + sha256 = "0pysk8pzmcg1nfxz8m4i6bvww71w2zg6xp33zgg5vrf8yd2dfx9i"; 16 25 }; 17 26 18 - propagatedBuildInputs = [ jinja2 docopt easywatch ]; 27 + propagatedBuildInputs = [ 28 + jinja2 29 + docopt 30 + easywatch 31 + ]; 19 32 20 - # There are no tests on pypi 21 - doCheck = false; 33 + checkInputs = [ 34 + pytestCheckHook 35 + markdown 36 + ]; 37 + 38 + # Import paths differ by a "build/lib" subdirectory, but the files are 39 + # the same, so we ignore import mismatches. 40 + preCheck = '' 41 + export PY_IGNORE_IMPORTMISMATCH=1 42 + ''; 22 43 23 44 meta = with lib; { 24 45 description = "A library and cli tool that makes it easy to build static sites using Jinja2"; ··· 27 48 maintainers = with maintainers; [ fgaz ]; 28 49 }; 29 50 } 30 -
+39
pkgs/development/python-modules/teslajsonpy/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , backoff 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , pytestCheckHook 7 + , wrapt 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "teslajsonpy"; 12 + version = "0.10.4"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "zabuldon"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "18frynmy47i9c24mdy819y2dnjwmhnmkly5mbmhikpbmm6d0yjf1"; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + aiohttp 23 + backoff 24 + wrapt 25 + ]; 26 + 27 + checkInputs = [ pytestCheckHook ]; 28 + 29 + # Not all Home Assistant related check pass 30 + disabledTests = [ "test_values_on_init" ]; 31 + pythonImportsCheck = [ "teslajsonpy" ]; 32 + 33 + meta = with lib; { 34 + description = "Python library to work with Tesla API"; 35 + homepage = "https://github.com/zabuldon/teslajsonpy"; 36 + license = with licenses; [ asl20 ]; 37 + maintainers = with maintainers; [ fab ]; 38 + }; 39 + }
+8 -7
pkgs/games/vassal/default.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper }: 1 + { stdenv, fetchzip, jre, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "VASSAL-3.3.2"; 4 + pname = "VASSAL"; 5 + version = "3.4.12"; 5 6 6 - src = fetchurl { 7 - url = "mirror://sourceforge/vassalengine/${name}-linux.tar.bz2"; 8 - sha256 = "1abhlkl27gyfa1lghvv76xa6ks5hiwv2s9wb9ddadm0m07f87n1w"; 7 + src = fetchzip { 8 + url = "https://github.com/vassalengine/vassal/releases/download/${version}/${pname}-${version}-linux.tar.bz2"; 9 + sha256 = "0xn403fxz6ay5lv8whyfdq611kvxj5q309bj317yw5cxbb08w1yb"; 9 10 }; 10 11 11 12 buildInputs = [ makeWrapper ]; ··· 13 14 installPhase = '' 14 15 mkdir -p $out/bin $out/share/vassal $out/doc 15 16 16 - cp CHANGES LICENSE README $out 17 + cp CHANGES LICENSE README.md $out 17 18 cp -R lib/* $out/share/vassal 18 19 cp -R doc/* $out/doc 19 20 ··· 28 29 meta = with stdenv.lib; { 29 30 description = "A free, open-source boardgame engine"; 30 31 homepage = "http://www.vassalengine.org/"; 31 - license = licenses.lgpl21; 32 + license = licenses.lgpl21Only; 32 33 maintainers = with maintainers; [ tvestelind ]; 33 34 platforms = platforms.linux; 34 35 };
+2 -2
pkgs/os-specific/linux/kernel/linux-lqx.nix
··· 1 1 { stdenv, fetchFromGitHub, buildLinux, linux_zen, ... } @ args: 2 2 3 3 let 4 - version = "5.10.5"; 4 + version = "5.10.6"; 5 5 in 6 6 7 7 buildLinux (args // { ··· 13 13 owner = "zen-kernel"; 14 14 repo = "zen-kernel"; 15 15 rev = "v${version}-lqx1"; 16 - sha256 = "1qnxmxahx1wpwhpjz6gdm5zdy1gd8ic3p7vqbz55vx4ygn865gyv"; 16 + sha256 = "0vvb00311yhf08ib3yvkjwk2j45f8r268ywg5299yjgbyl6g95kg"; 17 17 }; 18 18 19 19 extraMeta = {
+2 -2
pkgs/os-specific/linux/kernel/linux-zen.nix
··· 1 1 { stdenv, fetchFromGitHub, buildLinux, ... } @ args: 2 2 3 3 let 4 - version = "5.10.1"; 4 + version = "5.10.6"; 5 5 in 6 6 7 7 buildLinux (args // { ··· 13 13 owner = "zen-kernel"; 14 14 repo = "zen-kernel"; 15 15 rev = "v${version}-zen1"; 16 - sha256 = "1c77x53ixyn64b4qq6br6ckicmjs316c8k08yfxibmhv72av1wcp"; 16 + sha256 = "0asn4ysnzv845g35ca9sdi89sc7clcc88xmx64pcxmh033civ5fw"; 17 17 }; 18 18 19 19 extraMeta = {
+3 -3
pkgs/servers/home-assistant/component-packages.nix
··· 328 328 "growatt_server" = ps: with ps; [ ]; # missing inputs: growattServer 329 329 "gstreamer" = ps: with ps; [ ]; # missing inputs: gstreamer-player 330 330 "gtfs" = ps: with ps; [ ]; # missing inputs: pygtfs 331 - "guardian" = ps: with ps; [ ]; # missing inputs: aioguardian 331 + "guardian" = ps: with ps; [ aioguardian ]; 332 332 "habitica" = ps: with ps; [ ]; # missing inputs: habitipy 333 333 "hangouts" = ps: with ps; [ ]; # missing inputs: hangups 334 334 "harman_kardon_avr" = ps: with ps; [ ]; # missing inputs: hkavr ··· 398 398 "iperf3" = ps: with ps; [ ]; # missing inputs: iperf3 399 399 "ipma" = ps: with ps; [ ]; # missing inputs: pyipma 400 400 "ipp" = ps: with ps; [ pyipp ]; 401 - "iqvia" = ps: with ps; [ numpy ]; # missing inputs: pyiqvia 401 + "iqvia" = ps: with ps; [ numpy pyiqvia ]; 402 402 "irish_rail_transport" = ps: with ps; [ ]; # missing inputs: pyirishrail 403 403 "islamic_prayer_times" = ps: with ps; [ ]; # missing inputs: prayer_times_calculator 404 404 "iss" = ps: with ps; [ ]; # missing inputs: pyiss ··· 828 828 "temper" = ps: with ps; [ ]; # missing inputs: temperusb 829 829 "template" = ps: with ps; [ ]; 830 830 "tensorflow" = ps: with ps; [ numpy pillow tensorflow-build_2 ]; # missing inputs: pycocotools tf-models-official 831 - "tesla" = ps: with ps; [ ]; # missing inputs: teslajsonpy 831 + "tesla" = ps: with ps; [ teslajsonpy ]; 832 832 "tfiac" = ps: with ps; [ ]; # missing inputs: pytfiac 833 833 "thermoworks_smoke" = ps: with ps; [ stringcase ]; # missing inputs: thermoworks_smoke 834 834 "thethingsnetwork" = ps: with ps; [ ];
+29
pkgs/tools/X11/icon-slicer/default.nix
··· 1 + { stdenv, fetchurl, pkg-config, gdk-pixbuf, popt }: 2 + stdenv.mkDerivation rec { 3 + pname = "icon-slicer"; 4 + version = "0.3"; 5 + 6 + src = fetchurl { 7 + url = "https://freedesktop.org/software/icon-slicer/releases/icon-slicer-${version}.tar.gz"; 8 + sha256 = "0kdnc08k2rs8llfg7xgvnrsk60x59pv5fqz6kn2ifnn2s1nj3w05"; 9 + }; 10 + 11 + patches = [ 12 + # Fixes hotspot `y` coordinate. The `x` coordinate is used on the y-axis. 13 + (fetchurl { 14 + url = "https://aur.archlinux.org/cgit/aur.git/plain/hotspotfix.patch?h=icon-slicer"; 15 + sha256 = "1l1dc1x5p4hys02arkmq3x6b1xdi510969d25g928zr4gf4an03h"; 16 + }) 17 + ]; 18 + 19 + nativeBuildInputs = [ popt pkg-config ]; 20 + buildInputs = [ gdk-pixbuf ]; 21 + 22 + meta = with stdenv.lib; { 23 + description = "Utility for generating icon themes and libXcursor cursor themes"; 24 + homepage = "https://www.freedesktop.org/wiki/Software/icon-slicer/"; 25 + license = licenses.mit; 26 + maintainers = with maintainers; [ zaninime ]; 27 + platforms = platforms.linux; 28 + }; 29 + }
+2 -2
pkgs/tools/audio/google-music-scripts/default.nix
··· 26 26 sha256 = "0apwgj86whrc077dfymvyb4qwj19bawyrx49g4kg364895v0rbbq"; 27 27 }; 28 28 29 - # pendulum pinning was to prevent PEP517 from trying to build from source 29 + # there are already later releases present 30 30 postPatch = '' 31 31 substituteInPlace setup.py \ 32 32 --replace "tomlkit>=0.5,<0.6" "tomlkit" \ 33 - --replace "pendulum>=2.0,<=3.0,!=2.0.5,!=2.1.0" "pendulum" 33 + --replace "attrs>=18.2,<19.4" "attrs" 34 34 ''; 35 35 36 36 propagatedBuildInputs = [
+10 -11
pkgs/tools/networking/v2ray/default.nix
··· 3 3 }: 4 4 5 5 let 6 - version = "4.33.0"; 6 + version = "4.34.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "v2fly"; 10 10 repo = "v2ray-core"; 11 11 rev = "v${version}"; 12 - sha256 = "05w714i56nipp7m985g6zqq6ljz0w5ihxrgs93j10llfdd089iig"; 12 + sha256 = "0x6smffpvnrk76plnsk31qqznkyz06dh4sazncp2l3y9va8k2jb1"; 13 13 }; 14 14 15 - vendorSha256 = "0ix5kxldgbcb10jh0l64lrh8qzla4qvsxi6vanb73y7lbsix120w"; 15 + vendorSha256 = "077jnjsmhzr0idrk7pifr5s2r9yjf1v9bvj177n2k2ln8w3wgx3g"; 16 16 17 17 assets = { 18 18 # MIT licensed 19 19 "geoip.dat" = let 20 - geoipRev = "202012030015"; 21 - geoipSha256 = "1qy9h0721y5kjcp0s859lhj253jfi3d3i658gpc4kmij2l5dxm5w"; 20 + geoipRev = "202101070033"; 21 + geoipSha256 = "11naj51pzchdrjmkp1dqzcby1i2fhbq0mncwm4d5q5mh3chyizsf"; 22 22 in fetchurl { 23 23 url = "https://github.com/v2fly/geoip/releases/download/${geoipRev}/geoip.dat"; 24 24 sha256 = geoipSha256; ··· 26 26 27 27 # MIT licensed 28 28 "geosite.dat" = let 29 - geositeRev = "20201207123222"; 30 - geositeSha256 = "03xckk39rrda42cam2awbsh0gib6rhmz28asc8vx29lsp9g2bj6n"; 29 + geositeRev = "20210106164413"; 30 + geositeSha256 = "0chc7jb3yzgrrjkpd3s1rlim5qgf6j2kp952fvkhpwmnap86aip7"; 31 31 in fetchurl { 32 32 url = "https://github.com/v2fly/domain-list-community/releases/download/${geositeRev}/dlc.dat"; 33 33 sha256 = geositeSha256; ··· 48 48 doCheck = false; 49 49 50 50 buildPhase = '' 51 + buildFlagsArray=(-v -p $NIX_BUILD_CORES -ldflags="-s -w") 51 52 runHook preBuild 52 - 53 - go build -o v2ray v2ray.com/core/main 54 - go build -o v2ctl v2ray.com/core/infra/control/main 55 - 53 + go build "''${buildFlagsArray[@]}" -o v2ray ./main 54 + go build "''${buildFlagsArray[@]}" -o v2ctl -tags confonly ./infra/control/main 56 55 runHook postBuild 57 56 ''; 58 57
+32
pkgs/tools/security/monsoon/default.nix
··· 1 + { buildGoModule 2 + , fetchFromGitHub 3 + , stdenv 4 + }: 5 + 6 + buildGoModule rec { 7 + pname = "monsoon"; 8 + version = "0.6.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "RedTeamPentesting"; 12 + repo = "monsoon"; 13 + rev = "v${version}"; 14 + sha256 = "01c84s11m645mqaa2vdnbsj0kb842arqjhicgjv0ahb7qdw65zz4"; 15 + }; 16 + 17 + vendorSha256 = "1g84az07hv8w0jha2yl4f5jm0p9nkbawgw9l7cpmn8ckbfa54l7q"; 18 + 19 + # tests fails on darwin 20 + doCheck = !stdenv.isDarwin; 21 + 22 + meta = with stdenv.lib; { 23 + description = "Fast HTTP enumerator"; 24 + longDescription = '' 25 + A fast HTTP enumerator that allows you to execute a large number of HTTP 26 + requests, filter the responses and display them in real-time. 27 + ''; 28 + homepage = "https://github.com/RedTeamPentesting/monsoon"; 29 + license = licenses.mit; 30 + maintainers = with maintainers; [ fab ]; 31 + }; 32 + }
+17 -1
pkgs/top-level/all-packages.nix
··· 2374 2374 2375 2375 inchi = callPackage ../development/libraries/inchi {}; 2376 2376 2377 + icon-slicer = callPackage ../tools/X11/icon-slicer { }; 2378 + 2377 2379 ifm = callPackage ../tools/graphics/ifm {}; 2378 2380 2379 2381 ink = callPackage ../tools/misc/ink { }; ··· 2503 2505 }; 2504 2506 2505 2507 mons = callPackage ../tools/misc/mons {}; 2508 + 2509 + monsoon = callPackage ../tools/security/monsoon {}; 2506 2510 2507 2511 mousetweaks = callPackage ../applications/accessibility/mousetweaks { 2508 2512 inherit (pkgs.xorg) libX11 libXtst libXfixes; ··· 5128 5132 5129 5133 jsduck = callPackage ../development/tools/jsduck { }; 5130 5134 5135 + json-schema-for-humans = with python3Packages; toPythonApplication json-schema-for-humans; 5136 + 5131 5137 jtc = callPackage ../development/tools/jtc { }; 5132 5138 5133 5139 jumpapp = callPackage ../tools/X11/jumpapp {}; ··· 7726 7732 ssss = callPackage ../tools/security/ssss { }; 7727 7733 7728 7734 stabber = callPackage ../misc/stabber { }; 7735 + 7736 + staticjinja = with python3.pkgs; toPythonApplication staticjinja; 7729 7737 7730 7738 stress = callPackage ../tools/system/stress { }; 7731 7739 ··· 10526 10534 vala_0_46 10527 10535 vala_0_48 10528 10536 vala; 10537 + 10538 + vyper = with python3Packages; toPythonApplication vyper; 10529 10539 10530 10540 wcc = callPackage ../development/compilers/wcc { }; 10531 10541 ··· 20268 20278 20269 20279 open-sans = callPackage ../data/fonts/open-sans { }; 20270 20280 20281 + openzone-cursors = callPackage ../data/themes/openzone { }; 20282 + 20271 20283 orbitron = callPackage ../data/fonts/orbitron { }; 20272 20284 20273 20285 orion = callPackage ../data/themes/orion {}; ··· 21608 21620 autoreconfHook = buildPackages.autoreconfHook269; 21609 21621 }; 21610 21622 21611 - ft2-clone = callPackage ../applications/audio/ft2-clone { }; 21623 + ft2-clone = callPackage ../applications/audio/ft2-clone { 21624 + inherit (darwin.apple_sdk.frameworks) CoreAudio CoreMIDI CoreServices Cocoa; 21625 + }; 21612 21626 21613 21627 fvwm = callPackage ../applications/window-managers/fvwm { }; 21614 21628 21615 21629 ganttproject-bin = callPackage ../applications/misc/ganttproject-bin { }; 21630 + 21631 + gaucheBootstrap = callPackage ../development/interpreters/gauche/boot.nix { }; 21616 21632 21617 21633 gauche = callPackage ../development/interpreters/gauche { }; 21618 21634
+12
pkgs/top-level/python-packages.nix
··· 212 212 213 213 aioftp = callPackage ../development/python-modules/aioftp { }; 214 214 215 + aioguardian = callPackage ../development/python-modules/aioguardian { }; 216 + 215 217 aioh2 = callPackage ../development/python-modules/aioh2 { }; 216 218 217 219 aioharmony = callPackage ../development/python-modules/aioharmony { }; ··· 271 273 aiounifi = callPackage ../development/python-modules/aiounifi { }; 272 274 273 275 aiounittest = callPackage ../development/python-modules/aiounittest { }; 276 + 277 + aiowinreg = callPackage ../development/python-modules/aiowinreg { }; 274 278 275 279 aiozeroconf = callPackage ../development/python-modules/aiozeroconf { }; 276 280 ··· 3252 3256 jsonmerge = callPackage ../development/python-modules/jsonmerge { }; 3253 3257 3254 3258 json-merge-patch = callPackage ../development/python-modules/json-merge-patch { }; 3259 + 3260 + json-schema-for-humans = callPackage ../development/python-modules/json-schema-for-humans { }; 3255 3261 3256 3262 jsonnet = buildPythonPackage { inherit (pkgs.jsonnet) name src; }; 3257 3263 ··· 5360 5366 5361 5367 pyipp = callPackage ../development/python-modules/pyipp { }; 5362 5368 5369 + pyiqvia = callPackage ../development/python-modules/pyiqvia { }; 5370 + 5363 5371 pyjet = callPackage ../development/python-modules/pyjet { }; 5364 5372 5365 5373 pyjks = callPackage ../development/python-modules/pyjks { }; ··· 7425 7433 7426 7434 termstyle = callPackage ../development/python-modules/termstyle { }; 7427 7435 7436 + teslajsonpy = callPackage ../development/python-modules/teslajsonpy { }; 7437 + 7428 7438 tess = callPackage ../development/python-modules/tess { }; 7429 7439 7430 7440 tesserocr = callPackage ../development/python-modules/tesserocr { }; ··· 7901 7911 vulture = callPackage ../development/python-modules/vulture { }; 7902 7912 7903 7913 vxi11 = callPackage ../development/python-modules/vxi11 { }; 7914 + 7915 + vyper = callPackage ../development/compilers/vyper { }; 7904 7916 7905 7917 w3lib = callPackage ../development/python-modules/w3lib { }; 7906 7918