lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
5e2757bf d3fe6fe5

+528 -323
+6
maintainers/maintainer-list.nix
··· 6666 6666 fingerprint = "5B93 9CFA E8FC 4D8F E07A 3AEA DFE1 D4A0 1733 7E2A"; 6667 6667 }]; 6668 6668 }; 6669 + lorenzleutgeb = { 6670 + email = "lorenz@leutgeb.xyz"; 6671 + github = "lorenzleutgeb"; 6672 + githubId = 542154; 6673 + name = "Lorenz Leutgeb"; 6674 + }; 6669 6675 luis = { 6670 6676 email = "luis.nixos@gmail.com"; 6671 6677 github = "Luis-Hebendanz";
+9
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
··· 1925 1925 upgrade guide</link>. 1926 1926 </para> 1927 1927 </listitem> 1928 + <listitem> 1929 + <para> 1930 + <literal>julia</literal> now refers to 1931 + <literal>julia-stable</literal> instead of 1932 + <literal>julia-lts</literal>. In practice this means it has 1933 + been upgraded from <literal>1.0.4</literal> to 1934 + <literal>1.5.4</literal>. 1935 + </para> 1936 + </listitem> 1928 1937 </itemizedlist> 1929 1938 </section> 1930 1939 </section>
+2
nixos/doc/manual/release-notes/rl-2111.section.md
··· 530 530 - `security.pam.services.<name>.makeHomeDir` now uses `umask=0077` instead of `umask=0022` when creating the home directory. 531 531 532 532 - Loki has had another release. Some default values have been changed for the configuration and some configuration options have been renamed. For more details, please check [the upgrade guide](https://grafana.com/docs/loki/latest/upgrading/#240). 533 + 534 + - `julia` now refers to `julia-stable` instead of `julia-lts`. In practice this means it has been upgraded from `1.0.4` to `1.5.4`.
+1 -1
nixos/modules/virtualisation/qemu-vm.nix
··· 318 318 virtualisation.diskSize = 319 319 mkOption { 320 320 type = types.nullOr types.ints.positive; 321 - default = 512; 321 + default = 1024; 322 322 description = 323 323 '' 324 324 The disk size in megabytes of the virtual machine.
+6 -6
pkgs/applications/editors/vscode/vscode.nix
··· 14 14 archive_fmt = if stdenv.isDarwin then "zip" else "tar.gz"; 15 15 16 16 sha256 = { 17 - x86_64-linux = "18sa2avr7xl8d0yaxs0df1pkwx7bbg21s8qf3mijdndsnhri0j1c"; 18 - x86_64-darwin = "0vx0jiw341gsf00xw92fwwylnsi5c0ybrbj5syag4vkqddvp410k"; 19 - aarch64-linux = "0jswwz1rxddaxz6v7hzpvddhx9dia5nk5rdsaj93q4gs3nda90hk"; 20 - aarch64-darwin = "11lxg543kl85vbndqcq5zccycxfk63ijmka0jb973jfp0nm4iq60"; 21 - armv7l-linux = "1ryr6k93z24yk0qqv3yasbp4achwpn0mpi6f28d2pvnsr9v9bh3y"; 17 + x86_64-linux = "10p815dv86775ky90m96l11026xkhjwvrrhvviqw6g6hsayjqhia"; 18 + x86_64-darwin = "1b8d7iw9v172viczdbcdxhf51dyshmx2665prv2pm0ygsy8yii3p"; 19 + aarch64-linux = "155sbsmnapnzhkzkaggm80bkarh4l7dbqyhgy40mmdgqpyp3gx1v"; 20 + aarch64-darwin = "1pnqjih37r4xqfjfrf8mhsbvmn62358rmf50rackqh5as50siwa2"; 21 + armv7l-linux = "00k2fmivbsp8fyh9cy6vr6sq031f6marz4sbj1nrlzdl40wd30bi"; 22 22 }.${system}; 23 23 in 24 24 callPackage ./generic.nix rec { 25 25 # Please backport all compatible updates to the stable release. 26 26 # This is important for the extension ecosystem. 27 - version = "1.62.0"; 27 + version = "1.62.1"; 28 28 pname = "vscode"; 29 29 30 30 executableName = "code" + lib.optionalString isInsiders "-insiders";
+5 -5
pkgs/applications/editors/vscode/vscodium.nix
··· 13 13 archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz"; 14 14 15 15 sha256 = { 16 - x86_64-linux = "17vrz16q4fhc6b2rlddhz3m6y780gi9vzk28l0fcj12l9z5iprn9"; 17 - x86_64-darwin = "1hn8sjmndmicl3gjrsb163wn5j36ij5b68mw7n6v6lqaf0a75xah"; 18 - aarch64-linux = "0ikdy9c2ldrxyh8ij2qskv4m7j5azr1hbi53ddzgj1j6nms68lkh"; 19 - armv7l-linux = "07a3kz4c8wzid0rd1rdzndy8c1cdg4hba7p1jmdf7zclr702i2j7"; 16 + x86_64-linux = "1xblrp4xyw2pcifmzjmlbnmk7lhmlj002sfk28kyf1k5wdp54yv9"; 17 + x86_64-darwin = "0ivvdxc4hmv9sh8ap0qy8yciz9pjkm1p1j60dh57y4ll6fdzbbrd"; 18 + aarch64-linux = "0ssm27i12d7gkq31d1zma4zx5n5mgg0a8pj3sdk9jjjsa68b3pyr"; 19 + armv7l-linux = "029shxcwnap28ys6lxml3yiiavw4lhnizf35f0a664vdzy1x5dpv"; 20 20 }.${system}; 21 21 22 22 sourceRoot = { ··· 31 31 32 32 # Please backport all compatible updates to the stable release. 33 33 # This is important for the extension ecosystem. 34 - version = "1.62.0"; 34 + version = "1.62.1"; 35 35 pname = "vscodium"; 36 36 37 37 executableName = "codium";
+3 -3
pkgs/applications/misc/remarkable/rmapi/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "rmapi"; 5 - version = "0.0.15"; 5 + version = "0.0.17"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "juruen"; 9 9 repo = "rmapi"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-ju54JSd3Zyye5YGLPEOkhY93ONh0b7eDSnvJlIawizE="; 11 + sha256 = "sha256-KFoaZ0OAqwJm4tEUaEAGJ+70nHJUbxg0kvhm71mQB6E="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-SE/0a8QUJsWoGwkSiZqYx1eXuOIL3avJujyg8iSdcBU="; 14 + vendorSha256 = "sha256-gu+BU2tL/xZ7D6lZ1ueO/9IB9H3NNm4mloCZaGqZskU="; 15 15 16 16 doCheck = false; 17 17
+22
pkgs/applications/networking/cluster/kubectl-evict-pod/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "kubectl-evict-pod"; 5 + version = "0.0.10"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "rajatjindal"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-Z4fJzU317p7K+klcDQAukXAfZOpHd3PlH5fKO0PgKHA="; 12 + }; 13 + 14 + vendorSha256 = "sha256-8VTrywlzrzoBEi/xOqkwhGW/R2B2oGqgh01Gv9FcW80="; 15 + 16 + meta = with lib; { 17 + description = "This plugin evicts the given pod and is useful for testing pod disruption budget rules"; 18 + homepage = "https://github.com/rajatjindal/kubectl-evict-pod"; 19 + license = licenses.asl20; 20 + maintainers = [ maintainers.j4m3s ]; 21 + }; 22 + }
+2 -2
pkgs/desktops/gnome/core/gnome-desktop/default.nix
··· 26 26 27 27 stdenv.mkDerivation rec { 28 28 pname = "gnome-desktop"; 29 - version = "41.0"; 29 + version = "41.1"; 30 30 31 31 outputs = [ "out" "dev" "devdoc" ]; 32 32 33 33 src = fetchurl { 34 34 url = "mirror://gnome/sources/gnome-desktop/${lib.versions.major version}/${pname}-${version}.tar.xz"; 35 - sha256 = "sha256-acsdPZoQcA62Y0jvHA5mqFX8WpeuYpAt+XpJnaEVYtI="; 35 + sha256 = "sha256-voqvpk17ov0xB57tY505/aHqd+9301pnjwGcTZHUc8I="; 36 36 }; 37 37 38 38 patches = [
+2 -9
pkgs/desktops/gnome/core/gnome-shell/default.nix
··· 66 66 in 67 67 stdenv.mkDerivation rec { 68 68 pname = "gnome-shell"; 69 - version = "41.0"; 69 + version = "41.1"; 70 70 71 71 outputs = [ "out" "devdoc" ]; 72 72 73 73 src = fetchurl { 74 74 url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz"; 75 - sha256 = "Uvlx6FFA5d50uTae9mVuSc6Vrx8jL8Hg3x8EYSmrT2U="; 75 + sha256 = "X3QkVt/gBgXA8JCjcoymJ5e8SeUK+FK71yhdoaBRf/Y="; 76 76 }; 77 77 78 78 patches = [ ··· 102 102 (fetchpatch { 103 103 url = "https://src.fedoraproject.org/rpms/gnome-shell/raw/9a647c460b651aaec0b8a21f046cc289c1999416/f/0001-gdm-Work-around-failing-fingerprint-auth.patch"; 104 104 sha256 = "pFvZli3TilUt6YwdZztpB8Xq7O60XfuWUuPMMVSpqLw="; 105 - }) 106 - 107 - # Make color picker in GTK work again 108 - # https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1990 109 - (fetchpatch { 110 - url = "https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/a3dcdaae30bdcbadec7ba3fa31c9eb0bb2a4c8c2.patch"; 111 - sha256 = "1UTWGZ5CiVJVCYcepaf+A6/8X/s6jUMsYB4BJ7VTjxk="; 112 105 }) 113 106 ]; 114 107
+2 -2
pkgs/desktops/gnome/core/mutter/default.nix
··· 46 46 47 47 let self = stdenv.mkDerivation rec { 48 48 pname = "mutter"; 49 - version = "41.0"; 49 + version = "41.1"; 50 50 51 51 outputs = [ "out" "dev" "man" ]; 52 52 53 53 src = fetchurl { 54 54 url = "mirror://gnome/sources/mutter/${lib.versions.major version}/${pname}-${version}.tar.xz"; 55 - sha256 = "sha256-+oChp0QETYjr/Wd/8DID1ncF7SzWJOoGy7i1iUjN+J4="; 55 + sha256 = "WOY/0LxD81E08hMTr/Suv5LIKdbfTcmaBEoeN2aR4/M="; 56 56 }; 57 57 58 58 patches = [
+2 -2
pkgs/desktops/gnome/core/simple-scan/default.nix
··· 25 25 26 26 stdenv.mkDerivation rec { 27 27 pname = "simple-scan"; 28 - version = "40.5"; 28 + version = "40.6"; 29 29 30 30 src = fetchurl { 31 31 url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; 32 - sha256 = "sha256-61N55MtspgUJLJQiEMGEJdA2dz2nZUHkO4nYIj+CuaQ="; 32 + sha256 = "sha256-8v8wWZjMRGNsH93iDNirHUQdSGOgWeLXpg+Od6/o8XE="; 33 33 }; 34 34 35 35 nativeBuildInputs = [
+2 -3
pkgs/development/compilers/carp/default.nix
··· 1 1 { lib, fetchFromGitHub, makeWrapper, clang, haskellPackages }: 2 2 3 3 haskellPackages.mkDerivation rec { 4 - 5 4 pname = "carp"; 6 - version = "0.5.0"; 5 + version = "0.5.3"; 7 6 8 7 src = fetchFromGitHub { 9 8 owner = "carp-lang"; 10 9 repo = "Carp"; 11 10 rev = "v${version}"; 12 - sha256 = "sha256-nTSMY8bq0b/JvE/XQGDC4St2sqdni12E5WQU5FXnuCg="; 11 + sha256 = "08ryk30ii24qsdpdq7bqi406ynv9nr8zy2pcv9n70ar8fxfw0859"; 13 12 }; 14 13 15 14 buildTools = [ makeWrapper ];
-13
pkgs/development/compilers/yosys/fix-clang-build.patch
··· 2 2 index 86abc6958..a72f7b792 100644 3 3 --- a/Makefile 4 4 +++ b/Makefile 5 - @@ -145,7 +145,12 @@ bumpversion: 6 - ABCREV = 4f5f73d 7 - ABCPULL = 1 8 - ABCURL ?= https://github.com/YosysHQ/abc 9 - + 10 - +ifneq ($(CONFIG),clang) 11 - +ABCMKARGS = CC=clang CXX="$(CXX)" LD=clang ABC_USE_LIBSTDCXX=1 VERBOSE=$(Q) 12 - +else 13 - ABCMKARGS = CC="$(CXX)" CXX="$(CXX)" ABC_USE_LIBSTDCXX=1 VERBOSE=$(Q) 14 - +endif 15 - 16 - # set ABCEXTERNAL = <abc-command> to use an external ABC instance 17 - # Note: The in-tree ABC (yosys-abc) will not be installed when ABCEXTERNAL is set. 18 5 @@ -187,7 +192,7 @@ endif 19 6 endif 20 7
+5 -1
pkgs/development/libraries/audio/zita-resampler/default.nix
··· 15 15 16 16 patchPhase = '' 17 17 cd source 18 - sed -e "s@ldconfig@@" -i Makefile 18 + substituteInPlace Makefile \ 19 + --replace 'ldconfig' "" 20 + '' + lib.optionalString (!stdenv.targetPlatform.isx86_64) '' 21 + substituteInPlace Makefile \ 22 + --replace '-DENABLE_SSE2' "" 19 23 ''; 20 24 21 25 fixupPhase = ''
+2 -2
pkgs/development/libraries/tracker-miners/default.nix
··· 47 47 48 48 stdenv.mkDerivation rec { 49 49 pname = "tracker-miners"; 50 - version = "3.2.0"; 50 + version = "3.2.1"; 51 51 52 52 src = fetchurl { 53 53 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 54 - sha256 = "sha256-Bi+C3VSKYq7IUQWFAROskBpiK8UcbPxjIFY2Xof4GYE="; 54 + sha256 = "RDafU+Lt70FDdAbb7s1Hepf4qa/dkTSDLqRdG6KqLEc="; 55 55 }; 56 56 57 57 nativeBuildInputs = [
+12 -6
pkgs/development/python-modules/aiorecollect/default.nix
··· 6 6 , freezegun 7 7 , poetry-core 8 8 , pytest-asyncio 9 - , pytest-cov 10 9 , pytestCheckHook 10 + , pythonOlder 11 11 }: 12 12 13 13 buildPythonPackage rec { 14 14 pname = "aiorecollect"; 15 - version = "1.0.8"; 15 + version = "2021.10.0"; 16 16 format = "pyproject"; 17 17 18 + disabled = pythonOlder "3.7"; 19 + 18 20 src = fetchFromGitHub { 19 21 owner = "bachya"; 20 22 repo = pname; 21 23 rev = version; 22 - sha256 = "sha256-5+v+TlLOgaIA8svpbgFSEWZAUVBRq3zqf8QbidKgygI="; 24 + sha256 = "sha256-cLutszJ8VXGcqb8kZv7Qn1ZD/LRYjVgQWQxNMHNd0UQ="; 23 25 }; 24 26 25 27 nativeBuildInputs = [ ··· 34 36 aresponses 35 37 freezegun 36 38 pytest-asyncio 37 - pytest-cov 38 39 pytestCheckHook 39 40 ]; 40 41 41 - disabledTestPaths = [ "examples/" ]; 42 + disabledTestPaths = [ 43 + # Ignore the examples directory as the files are prefixed with test_. 44 + "examples/" 45 + ]; 42 46 43 - pythonImportsCheck = [ "aiorecollect" ]; 47 + pythonImportsCheck = [ 48 + "aiorecollect" 49 + ]; 44 50 45 51 meta = with lib; { 46 52 description = "Python library for the Recollect Waste API";
+6 -3
pkgs/development/python-modules/cachetools/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "cachetools"; 10 - version = "4.2.3"; 10 + version = "4.2.4"; 11 + format = "setuptools"; 11 12 12 13 disabled = pythonOlder "3.6"; 13 14 ··· 15 16 owner = "tkem"; 16 17 repo = pname; 17 18 rev = "v${version}"; 18 - sha256 = "sha256-9CHXvb+Nn3N2oWHwNbqKguzDO/q+4EnMZ50+E+MWS/A="; 19 + sha256 = "sha256-doPLl7Ooc2cKlTiS/dqLTKSkTlSgPFztIumAzciM0bc="; 19 20 }; 20 21 21 22 checkInputs = [ 22 23 pytestCheckHook 23 24 ]; 24 25 25 - pythonImportsCheck = [ "cachetools" ]; 26 + pythonImportsCheck = [ 27 + "cachetools" 28 + ]; 26 29 27 30 meta = with lib; { 28 31 description = "Extensible memoizing collections and decorators";
+32 -24
pkgs/development/python-modules/peewee/default.nix
··· 1 1 { lib 2 + , apsw 2 3 , buildPythonPackage 3 - , fetchFromGitHub 4 - , sqlite 5 4 , cython 6 - , apsw 5 + , fetchFromGitHub 7 6 , flask 8 - , withPostgres ? false, psycopg2 9 - , withMysql ? false, mysql-connector 7 + , python 8 + , sqlite 9 + , withMysql ? false 10 + , mysql-connector 11 + , withPostgres ? false 12 + , psycopg2 10 13 }: 11 14 12 15 buildPythonPackage rec { 13 - 14 16 pname = "peewee"; 15 - version = "3.14.4"; 17 + version = "3.14.8"; 18 + format = "setuptools"; 16 19 17 - # pypi release does not provide tests 18 20 src = fetchFromGitHub { 19 21 owner = "coleifer"; 20 22 repo = pname; 21 23 rev = version; 22 - sha256 = "0x85swpaffysc05kka0mab87cnilzw1lpacfhcx5ayabh0i2qsh6"; 24 + sha256 = "sha256-BJSM+7+VdW6SxN4/AXsX8NhQPdIFoYrVRVwR9OsJ3QE="; 23 25 }; 24 - 25 - 26 - checkInputs = [ flask ]; 27 - 28 - checkPhase = '' 29 - rm -r playhouse # avoid using the folder in the cwd 30 - python runtests.py 31 - ''; 32 26 33 27 buildInputs = [ 34 28 sqlite 35 - cython # compile speedups 29 + cython 36 30 ]; 37 31 38 32 propagatedBuildInputs = [ 39 - apsw # sqlite performance improvement 40 - ] ++ (lib.optional withPostgres psycopg2) 41 - ++ (lib.optional withMysql mysql-connector); 33 + apsw 34 + ] ++ lib.optional withPostgres psycopg2 35 + ++ lib.optional withMysql mysql-connector; 36 + 37 + checkInputs = [ 38 + flask 39 + ]; 42 40 43 41 doCheck = withPostgres; 44 42 43 + checkPhase = '' 44 + rm -r playhouse # avoid using the folder in the cwd 45 + ${python.interpreter} runtests.py 46 + ''; 47 + 48 + pythonImportsCheck = [ 49 + "peewee" 50 + ]; 51 + 45 52 meta = with lib; { 46 - description = "a small, expressive orm"; 47 - homepage = "http://peewee-orm.com"; 48 - license = licenses.mit; 53 + description = "Python ORM with support for various database implementation"; 54 + homepage = "http://peewee-orm.com"; 55 + license = licenses.mit; 56 + maintainers = with maintainers; [ ]; 49 57 }; 50 58 }
+13 -6
pkgs/development/python-modules/pyairvisual/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "pyairvisual"; 18 - version = "5.0.9"; 18 + version = "2021.10.0"; 19 19 format = "pyproject"; 20 20 21 - disabled = pythonOlder "3.6"; 21 + disabled = pythonOlder "3.7"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "bachya"; 25 25 repo = pname; 26 26 rev = version; 27 - sha256 = "1jfbwnipklpgxjgsgsx4j53anbqyrbgvj0wb84fvsm32jq9m8avf"; 27 + sha256 = "sha256-Wj+ReRTYsP/XMrr74XPHrkHYT0sXfqcW/shbG3zNuH0="; 28 28 }; 29 29 30 - nativeBuildInputs = [ poetry-core ]; 30 + nativeBuildInputs = [ 31 + poetry-core 32 + ]; 31 33 32 34 propagatedBuildInputs = [ 33 35 aiohttp ··· 43 45 pytestCheckHook 44 46 ]; 45 47 46 - disabledTestPaths = [ "examples/" ]; 48 + disabledTestPaths = [ 49 + # Ignore the examples directory as the files are prefixed with test_. 50 + "examples/" 51 + ]; 47 52 48 - pythonImportsCheck = [ "pyairvisual" ]; 53 + pythonImportsCheck = [ 54 + "pyairvisual" 55 + ]; 49 56 50 57 meta = with lib; { 51 58 description = "Python library for interacting with AirVisual";
+7 -3
pkgs/development/python-modules/pycfdns/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "pycfdns"; 10 - version = "1.2.1"; 10 + version = "1.2.2"; 11 + format = "setuptools"; 11 12 12 13 src = fetchFromGitHub { 13 14 owner = "ludeeus"; 14 15 repo = pname; 15 16 rev = version; 16 - sha256 = "0df4695cb0h6f2lnn6dx4h5al2ra93zp1hzfaz07nj2gvirswp83"; 17 + sha256 = "sha256-bsalfZEkZrBG0/SyEXCWOZyrhOYU/3YJR/78FQTpXYk="; 17 18 }; 18 19 19 20 propagatedBuildInputs = [ ··· 23 24 24 25 # Project has no tests 25 26 doCheck = false; 26 - pythonImportsCheck = [ "pycfdns" ]; 27 + 28 + pythonImportsCheck = [ 29 + "pycfdns" 30 + ]; 27 31 28 32 meta = with lib; { 29 33 description = "Python module for updating Cloudflare DNS A records";
+10 -6
pkgs/development/python-modules/pyiqvia/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "pyiqvia"; 16 - version = "1.1.0"; 16 + version = "2021.10.0"; 17 17 format = "pyproject"; 18 18 19 - disabled = pythonOlder "3.6"; 19 + disabled = pythonOlder "3.8"; 20 20 21 21 src = fetchFromGitHub { 22 22 owner = "bachya"; 23 23 repo = pname; 24 24 rev = version; 25 - sha256 = "sha256-uDcBpPHh+wQHI2vGjnumwVGt5ZOreVq+L3kOam97uW4="; 25 + sha256 = "sha256-FCavSy33fkXlboRAmGr0BkEkXLTOzsyGXQkws0LqiJk="; 26 26 }; 27 27 28 28 nativeBuildInputs = [ ··· 41 41 pytestCheckHook 42 42 ]; 43 43 44 - # Ignore the examples as they are prefixed with test_ 45 - disabledTestPaths = [ "examples/" ]; 44 + disabledTestPaths = [ 45 + # Ignore the examples as they are prefixed with test_ 46 + "examples/" 47 + ]; 46 48 47 - pythonImportsCheck = [ "pyiqvia" ]; 49 + pythonImportsCheck = [ 50 + "pyiqvia" 51 + ]; 48 52 49 53 meta = with lib; { 50 54 description = "Python3 API for IQVIA data";
+16 -7
pkgs/development/python-modules/pyopenuv/default.nix
··· 8 8 , poetry-core 9 9 , pytest-aiohttp 10 10 , pytest-asyncio 11 - , pytest-cov 12 11 , pytestCheckHook 12 + , pythonOlder 13 13 }: 14 14 15 15 buildPythonPackage rec { 16 16 pname = "pyopenuv"; 17 - version = "2.2.1"; 17 + version = "2021.10.0"; 18 18 format = "pyproject"; 19 + 20 + disabled = pythonOlder "3.6"; 19 21 20 22 src = fetchFromGitHub { 21 23 owner = "bachya"; 22 24 repo = pname; 23 25 rev = version; 24 - sha256 = "sha256-9hpXVKCpVbUAoTxd5mHP9NK1dZxbrQUxrQrOEVHpaPo="; 26 + sha256 = "sha256-3zTyW3eXOA9frSAy4g7iWhymc1hBo0hrxIgPLMqrLTs="; 25 27 }; 26 28 27 - nativeBuildInputs = [ poetry-core ]; 29 + nativeBuildInputs = [ 30 + poetry-core 31 + ]; 28 32 29 33 propagatedBuildInputs = [ 30 34 aiohttp ··· 36 40 asynctest 37 41 pytest-asyncio 38 42 pytest-aiohttp 39 - pytest-cov 40 43 pytestCheckHook 41 44 ]; 42 45 43 46 # Ignore the examples as they are prefixed with test_ 44 - pytestFlagsArray = [ "--ignore examples/" ]; 45 - pythonImportsCheck = [ "pyopenuv" ]; 47 + disabledTestPaths = [ 48 + # Ignore the examples as they are prefixed with test_ 49 + "examples/" 50 + ]; 51 + 52 + pythonImportsCheck = [ 53 + "pyopenuv" 54 + ]; 46 55 47 56 meta = with lib; { 48 57 description = "Python API to retrieve data from openuv.io";
+3 -2
pkgs/development/python-modules/starkbank-ecdsa/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "starkbank-ecdsa"; 9 - version = "2.0.1"; 9 + version = "2.0.2"; 10 + format = "setuptools"; 10 11 11 12 src = fetchFromGitHub { 12 13 owner = "starkbank"; 13 14 repo = "ecdsa-python"; 14 15 rev = "v${version}"; 15 - sha256 = "sha256-TYp8eIzO8Bn1hgye7PpIywVEV0tQtJ3HaYjCnn4/57w="; 16 + sha256 = "sha256-4QFAtGqHJZSVyrGPuMdJwvF761/P6YAHjjKmCpPyGdU="; 16 17 }; 17 18 18 19 checkInputs = [
+7 -4
pkgs/development/python-modules/types-requests/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "types-requests"; 8 - version = "2.25.12"; 8 + version = "2.26.0"; 9 + format = "setuptools"; 9 10 10 11 src = fetchPypi { 11 12 inherit pname version; 12 - sha256 = "sha256-BVhjwKrPj48pzSyg0zIO/fOfKOcd5o0yd2F1HS9iu1c="; 13 + sha256 = "sha256-317Iw0tBOkLrs45Plr3raAkLh1vfzFE43IKYnJVEWIM="; 13 14 }; 14 15 15 - # Modules doesn't have tests 16 + # Module doesn't have tests 16 17 doCheck = false; 17 18 18 - pythonImportsCheck = [ "requests-stubs" ]; 19 + pythonImportsCheck = [ 20 + "requests-stubs" 21 + ]; 19 22 20 23 meta = with lib; { 21 24 description = "Typing stubs for requests";
+6 -10
pkgs/development/tools/build-managers/gradle/default.nix
··· 47 47 nativeBuildInputs = [ makeWrapper unzip ]; 48 48 buildInputs = [ java ]; 49 49 50 - meta = { 50 + meta = with lib; { 51 51 description = "Enterprise-grade build system"; 52 52 longDescription = '' 53 53 Gradle is a build system which offers you ease, power and freedom. ··· 58 58 build-by-convention behavior. 59 59 ''; 60 60 homepage = "http://www.gradle.org/"; 61 - license = lib.licenses.asl20; 62 - platforms = lib.platforms.unix; 61 + license = licenses.asl20; 62 + platforms = platforms.unix; 63 + maintainers = with maintainers; [ lorenzleutgeb ]; 63 64 }; 64 65 }; 65 66 66 - gradle_latest = gradle_7; 67 - 68 - # NOTE: 7.3 is a candidate. 69 - gradle_7 = gradle_7_2; 70 - 71 - gradle_7_3 = gradleGen (gradleSpec (import ./gradle-7.3-rc-3-spec.nix)); 72 - gradle_7_2 = gradleGen (gradleSpec (import ./gradle-7.2-spec.nix)); 67 + gradle_latest = gradle_7_3; 68 + gradle_7_3 = gradleGen (gradleSpec (import ./gradle-7.3-spec.nix)); 73 69 gradle_6_9 = gradleGen (gradleSpec (import ./gradle-6.9.1-spec.nix)); 74 70 75 71 # NOTE: No GitHub Release for this release, so update.sh does not work.
-5
pkgs/development/tools/build-managers/gradle/gradle-7.3-rc-3-spec.nix
··· 1 - { 2 - version = "7.3-rc-3"; 3 - nativeVersion = "0.22-milestone-21"; 4 - sha256 = "0401q4qpl36a2vnlrlsblflfiiy3b95gyj2wj62hzc1x00hbfznm"; 5 - }
+5
pkgs/development/tools/build-managers/gradle/gradle-7.3-spec.nix
··· 1 + { 2 + version = "7.3"; 3 + nativeVersion = "0.22-milestone-21"; 4 + sha256 = "04741q7avmn7rv9h5s6dqj4ibnvdylxrlhvj9wb5kixx96nm53yy"; 5 + }
+3 -3
pkgs/development/tools/rust/cargo-deny/default.nix
··· 10 10 11 11 rustPlatform.buildRustPackage rec { 12 12 pname = "cargo-deny"; 13 - version = "0.10.0"; 13 + version = "0.10.1"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "EmbarkStudios"; 17 17 repo = pname; 18 18 rev = version; 19 - sha256 = "sha256-YXIEM8COtjc3yD8gxoeoJwkGyJwMCCn40591iO6ERxc="; 19 + sha256 = "sha256-ZpTwqwxh1/Yz5MBlv1KvD/sBTaFb5m7cQXLkUAGZegc="; 20 20 }; 21 21 22 - cargoSha256 = "sha256-4PcYnpoRvl01n4Y4usrlLejWwcB5BJnFGqqfbqLD1gI="; 22 + cargoSha256 = "sha256-JwljoLTEolKCaob7IPYan5N9YIZvnlj1uRZ1mNACGbQ="; 23 23 24 24 doCheck = false; 25 25
+4 -5
pkgs/development/tools/rust/rust-script/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "rust-script"; 5 - version = "0.17.0"; 5 + version = "0.18.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "fornwall"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0jz8hlvl31c5h8whd6pnpmslw6w6alkxijd9lhgric1yypiym9x3"; 11 + sha256 = "sha256-B/xh0eYRJxjjIEXdxmLz6usQvo4v/HQK5VNnnjcDBjM="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-hg0QtxR1qm/x8G6HoN7xAyOwh9jiQvX2wWYjUR8YvMs="; 14 + cargoSha256 = "sha256-7qMrrs6K+mJVDHNkGQDb6abM18RyBPToseTNM7ogdQ0="; 15 15 16 - # TODO: switch to `cargoCheckType = "false"` after #138822 is merged 17 - # tests only work in debug mode 16 + # tests require network access 18 17 doCheck = false; 19 18 20 19 meta = with lib; {
+2 -2
pkgs/games/warzone2100/default.nix
··· 39 39 40 40 stdenv.mkDerivation rec { 41 41 inherit pname; 42 - version = "4.2.0"; 42 + version = "4.2.1"; 43 43 44 44 src = fetchurl { 45 45 url = "mirror://sourceforge/${pname}/releases/${version}/${pname}_src.tar.xz"; 46 - sha256 = "sha256-1M77zuAqunfAjK2Jvu08Z7inCMdBYX92AmyMD9eaue8="; 46 + sha256 = "sha256-N9D4K3+/Nt3N3/uHDD+jD6tzL0FMwmV7l+WGjGYa3Yk="; 47 47 }; 48 48 49 49 buildInputs = [
+56
pkgs/os-specific/linux/firmware/fwupd-efi/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , fetchFromGitHub 5 + , substituteAll 6 + , pkg-config 7 + , meson 8 + , ninja 9 + , gnu-efi 10 + , python3 11 + }: 12 + 13 + stdenv.mkDerivation rec { 14 + pname = "fwupd-efi"; 15 + version = "1.1"; 16 + 17 + src = fetchurl { 18 + url = "https://people.freedesktop.org/~hughsient/releases/${pname}-${version}.tar.xz"; 19 + sha256 = "1w879qxlnsaz5xyp168a08f2p8yrgfpkfycls28jw8qxmz6g20aw"; 20 + }; 21 + 22 + nativeBuildInputs = [ 23 + meson 24 + ninja 25 + pkg-config 26 + python3 27 + ]; 28 + 29 + buildInputs = [ 30 + gnu-efi 31 + ]; 32 + 33 + postPatch = '' 34 + patchShebangs \ 35 + efi/generate_binary.py \ 36 + efi/generate_sbat.py 37 + ''; 38 + 39 + mesonFlags = [ 40 + "-Defi-includedir=${gnu-efi}/include/efi" 41 + "-Defi-libdir=${gnu-efi}/lib" 42 + "-Defi-ldsdir=${gnu-efi}/lib" 43 + "-Defi_sbat_distro_id=nixos" 44 + "-Defi_sbat_distro_summary=NixOS" 45 + "-Defi_sbat_distro_pkgname=${pname}" 46 + "-Defi_sbat_distro_version=${version}" 47 + "-Defi_sbat_distro_url=https://search.nixos.org/packages?channel=unstable&show=fwupd-efi&from=0&size=50&sort=relevance&query=fwupd-efi" 48 + ]; 49 + 50 + meta = with lib; { 51 + homepage = "https://fwupd.org/"; 52 + maintainers = with maintainers; [ maxeaubrey ]; 53 + license = licenses.lgpl21Plus; 54 + platforms = platforms.linux; 55 + }; 56 + }
+45 -37
pkgs/os-specific/linux/firmware/fwupd/add-option-for-installation-sysconfdir.patch
··· 1 1 diff --git a/data/meson.build b/data/meson.build 2 - index 50154569..f8058a8e 100644 2 + index f10d4ff6..2dc66fb6 100644 3 3 --- a/data/meson.build 4 4 +++ b/data/meson.build 5 - @@ -17,7 +17,7 @@ endif 5 + @@ -21,7 +21,7 @@ endif 6 6 7 7 if build_standalone 8 8 install_data(['daemon.conf'], 9 9 - install_dir : join_paths(sysconfdir, 'fwupd') 10 10 + install_dir : join_paths(sysconfdir_install, 'fwupd') 11 11 ) 12 - endif 13 - 12 + install_data(['power.quirk'], 13 + install_dir: join_paths(datadir, 'fwupd', 'quirks.d')) 14 14 diff --git a/data/pki/meson.build b/data/pki/meson.build 15 - index 94bb0b6f..1ea6a9ac 100644 15 + index dcd9e128..ff137f3a 100644 16 16 --- a/data/pki/meson.build 17 17 +++ b/data/pki/meson.build 18 - @@ -3,24 +3,23 @@ install_data([ 18 + @@ -2,24 +2,23 @@ install_data([ 19 19 'GPG-KEY-Linux-Foundation-Firmware', 20 20 'GPG-KEY-Linux-Vendor-Firmware-Service', 21 21 ], ··· 45 45 ) 46 46 - 47 47 diff --git a/data/remotes.d/meson.build b/data/remotes.d/meson.build 48 - index 826a3c1d..b78db663 100644 48 + index 02d8777b..2c89d593 100644 49 49 --- a/data/remotes.d/meson.build 50 50 +++ b/data/remotes.d/meson.build 51 - @@ -3,7 +3,7 @@ if build_daemon and get_option('lvfs') 52 - 'lvfs.conf', 51 + @@ -2,7 +2,7 @@ if build_standalone and get_option('lvfs') != 'false' 52 + install_data([ 53 53 'lvfs-testing.conf', 54 54 ], 55 55 - install_dir : join_paths(sysconfdir, 'fwupd', 'remotes.d') 56 56 + install_dir : join_paths(sysconfdir_install, 'fwupd', 'remotes.d') 57 57 ) 58 + con3 = configuration_data() 59 + if get_option('lvfs') == 'disabled' 60 + @@ -15,7 +15,7 @@ if build_standalone and get_option('lvfs') != 'false' 61 + output : 'lvfs.conf', 62 + configuration : con3, 63 + install: true, 64 + - install_dir: join_paths(sysconfdir, 'fwupd', 'remotes.d'), 65 + + install_dir: join_paths(sysconfdir_install, 'fwupd', 'remotes.d'), 66 + ) 58 67 i18n.merge_file( 59 68 input: 'lvfs.metainfo.xml', 60 - @@ -37,12 +37,12 @@ configure_file( 69 + @@ -49,12 +49,12 @@ configure_file( 61 70 output : 'vendor.conf', 62 71 configuration : con2, 63 72 install: true, ··· 73 82 + install_dir: join_paths(sysconfdir_install, 'fwupd', 'remotes.d'), 74 83 ) 75 84 diff --git a/meson.build b/meson.build 76 - index b075ca89..8d504d3c 100644 85 + index 7557cd4a..4c98de6d 100644 77 86 --- a/meson.build 78 87 +++ b/meson.build 79 - @@ -194,6 +194,12 @@ endif 88 + @@ -190,6 +190,12 @@ endif 80 89 mandir = join_paths(prefix, get_option('mandir')) 81 90 localedir = join_paths(prefix, get_option('localedir')) 82 91 ··· 90 99 gio = dependency('gio-2.0', version : '>= 2.45.8') 91 100 giounix = dependency('gio-unix-2.0', version : '>= 2.45.8', required: false) 92 101 diff --git a/meson_options.txt b/meson_options.txt 93 - index bc76c0ab..8a67d012 100644 102 + index 94f73898..5de6cc7b 100644 94 103 --- a/meson_options.txt 95 104 +++ b/meson_options.txt 96 105 @@ -1,3 +1,4 @@ 97 106 +option('sysconfdir_install', type: 'string', value: '', description: 'sysconfdir to use during installation') 98 107 option('build', type : 'combo', choices : ['all', 'standalone', 'library'], value : 'all', description : 'build type') 99 - option('agent', type : 'boolean', value : true, description : 'enable the fwupd agent') 100 108 option('consolekit', type : 'boolean', value : true, description : 'enable ConsoleKit support') 109 + option('firmware-packager', type : 'boolean', value : true, description : 'enable firmware-packager installation') 101 110 diff --git a/plugins/dell-esrt/meson.build b/plugins/dell-esrt/meson.build 102 - index ed4eee70..76dbdb1d 100644 111 + index e9f12879..a0126dbb 100644 103 112 --- a/plugins/dell-esrt/meson.build 104 113 +++ b/plugins/dell-esrt/meson.build 105 - @@ -37,5 +37,5 @@ configure_file( 114 + @@ -38,6 +38,6 @@ configure_file( 106 115 output : 'dell-esrt.conf', 107 116 configuration : con2, 108 117 install: true, 109 118 - install_dir: join_paths(sysconfdir, 'fwupd', 'remotes.d'), 110 119 + install_dir: join_paths(sysconfdir_install, 'fwupd', 'remotes.d'), 111 120 ) 121 + endif 112 122 diff --git a/plugins/redfish/meson.build b/plugins/redfish/meson.build 113 - index 205d1394..3223f404 100644 123 + index 5263048c..c46fac64 100644 114 124 --- a/plugins/redfish/meson.build 115 125 +++ b/plugins/redfish/meson.build 116 - @@ -27,7 +27,7 @@ shared_module('fu_plugin_redfish', 126 + @@ -53,7 +53,7 @@ shared_module('fu_plugin_redfish', 117 127 ) 118 128 119 129 install_data(['redfish.conf'], 120 - - install_dir: join_paths(sysconfdir, 'fwupd') 121 - + install_dir: join_paths(sysconfdir_install, 'fwupd') 130 + - install_dir: join_paths(sysconfdir, 'fwupd'), 131 + + install_dir: join_paths(sysconfdir_install, 'fwupd'), 132 + install_mode: 'rw-r-----', 122 133 ) 123 134 124 - if get_option('tests') 125 135 diff --git a/plugins/thunderbolt/meson.build b/plugins/thunderbolt/meson.build 126 - index 6b2368fb..2bd06fed 100644 136 + index 646ed6cb..8d7c59aa 100644 127 137 --- a/plugins/thunderbolt/meson.build 128 138 +++ b/plugins/thunderbolt/meson.build 129 - @@ -31,7 +31,7 @@ fu_plugin_thunderbolt = shared_module('fu_plugin_thunderbolt', 139 + @@ -35,7 +35,7 @@ fu_plugin_thunderbolt = shared_module('fu_plugin_thunderbolt', 130 140 ) 131 141 132 142 install_data(['thunderbolt.conf'], ··· 136 146 # we use functions from 2.52 in the tests 137 147 if get_option('tests') and umockdev.found() and gio.version().version_compare('>= 2.52') 138 148 diff --git a/plugins/uefi-capsule/meson.build b/plugins/uefi-capsule/meson.build 139 - index 0b793a07..ebd3e5ea 100644 149 + index 708586b0..f29536b1 100644 140 150 --- a/plugins/uefi-capsule/meson.build 141 151 +++ b/plugins/uefi-capsule/meson.build 142 - @@ -97,7 +97,7 @@ if get_option('man') 152 + @@ -21,7 +21,7 @@ if host_machine.system() == 'linux' 153 + output : '35_fwupd', 154 + configuration : con2, 155 + install: true, 156 + - install_dir: join_paths(sysconfdir, 'grub.d') 157 + + install_dir: join_paths(sysconfdir_install, 'grub.d') 158 + ) 159 + elif host_machine.system() == 'freebsd' 160 + backend_srcs += 'fu-uefi-backend-freebsd.c' 161 + @@ -116,7 +116,7 @@ if get_option('man') 143 162 endif 144 163 145 164 install_data(['uefi_capsule.conf'], ··· 147 166 + install_dir: join_paths(sysconfdir_install, 'fwupd') 148 167 ) 149 168 150 - if get_option('tests') 151 - diff --git a/plugins/upower/meson.build b/plugins/upower/meson.build 152 - index 290a3eb6..9ab2f452 100644 153 - --- a/plugins/upower/meson.build 154 - +++ b/plugins/upower/meson.build 155 - @@ -23,5 +23,5 @@ shared_module('fu_plugin_upower', 156 - ) 157 - 158 - install_data(['upower.conf'], 159 - - install_dir: join_paths(sysconfdir, 'fwupd') 160 - + install_dir: join_paths(sysconfdir_install, 'fwupd') 161 - ) 169 + # add all the .po files as inputs to watch
+70 -58
pkgs/os-specific/linux/firmware/fwupd/default.nix
··· 1 1 # Updating? Keep $out/etc synchronized with passthru keys 2 2 3 - { lib, stdenv 3 + { stdenv 4 + , lib 4 5 , fetchurl 6 + , fetchpatch 5 7 , fetchFromGitHub 6 - , substituteAll 7 8 , gtk-doc 8 9 , pkg-config 9 10 , gobject-introspection ··· 15 16 , sqlite 16 17 , libarchive 17 18 , curl 18 - , help2man 19 19 , libjcat 20 20 , libxslt 21 21 , elfutils 22 22 , libsmbios 23 23 , efivar 24 - , gnu-efi 25 24 , valgrind 26 25 , meson 27 26 , libuuid ··· 31 30 , ninja 32 31 , gcab 33 32 , gnutls 33 + , protobufc 34 34 , python3 35 35 , wrapGAppsHook 36 36 , json-glib ··· 40 40 , vala 41 41 , makeFontsConf 42 42 , freefont_ttf 43 - , cairo 44 - , freetype 45 - , fontconfig 46 43 , pango 47 44 , tpm2-tss 48 45 , bubblewrap 49 46 , efibootmgr 50 47 , flashrom 51 48 , tpm2-tools 49 + , fwupd-efi 52 50 , nixosTests 53 51 , runCommand 52 + , unstableGitUpdater 54 53 }: 55 54 56 55 let 57 56 python = python3.withPackages (p: with p; [ 58 57 pygobject3 59 - pycairo 60 - pillow 61 58 setuptools 62 59 ]); 63 60 64 - installedTestsPython = python3.withPackages (p: with p; [ 65 - pygobject3 66 - requests 67 - ]); 68 - 69 61 isx86 = stdenv.isx86_64 || stdenv.isi686; 70 62 71 63 # Dell isn't supported on Aarch64 ··· 89 81 exec python3 -c "$buildCommandPython" 90 82 ''; 91 83 84 + test-firmware = 85 + let 86 + version = "unstable-2021-11-02"; 87 + src = fetchFromGitHub { 88 + name = "fwupd-test-firmware-${version}"; 89 + owner = "fwupd"; 90 + repo = "fwupd-test-firmware"; 91 + rev = "aaa2f9fd68a40684c256dd85b86093cba38ffd9d"; 92 + sha256 = "Slk7CNfkmvmOh3WtIBkPs3NYT96co6i8PwqcbpeVFgA="; 93 + passthru = { 94 + inherit src version; # For update script 95 + updateScript = unstableGitUpdater { 96 + url = "${test-firmware.meta.homepage}.git"; 97 + }; 98 + }; 99 + }; 100 + in 101 + src // { 102 + meta = src.meta // { 103 + # For update script 104 + position = 105 + let 106 + pos = builtins.unsafeGetAttrPos "updateScript" test-firmware; 107 + in 108 + pos.file + ":" + toString pos.line; 109 + }; 110 + }; 111 + 112 + 92 113 self = stdenv.mkDerivation rec { 93 114 pname = "fwupd"; 94 - version = "1.5.12"; 115 + version = "1.7.1"; 95 116 96 117 # libfwupd goes to lib 97 118 # daemon, plug-ins and libfwupdplugin go to out ··· 100 121 101 122 src = fetchurl { 102 123 url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz"; 103 - sha256 = "sha256-BluwLlm6s/2H/USARQpAvDR0+X8WP/q0h8VvxA6Qftc="; 124 + sha256 = "sha256-rlbOtEt4byH1TRM6xwvF2cuM1L2gFnM5xmmiKNpn+jw="; 104 125 }; 105 126 106 127 patches = [ 107 - # Do not try to create useless paths in /var. 108 - ./fix-paths.patch 109 - 110 - # Allow installing 128 + # Since /etc is the domain of NixOS, not Nix, 129 + # we cannot install files there. 130 + # Let’s install the files to $prefix/etc 131 + # while still reading them from /etc. 132 + # NixOS module for fwupd will take take care of copying the files appropriately. 111 133 ./add-option-for-installation-sysconfdir.patch 112 134 113 - # Install plug-ins and libfwupdplugin to out, 135 + # Install plug-ins and libfwupdplugin to $out output, 114 136 # they are not really part of the library. 115 137 ./install-fwupdplugin-to-out.patch 116 138 117 139 # Installed tests are installed to different output 118 140 # we also cannot have fwupd-tests.conf in $out/etc since it would form a cycle. 119 - (substituteAll { 120 - src = ./installed-tests-path.patch; 121 - # Needs a different set of modules than po/make-images. 122 - inherit installedTestsPython; 123 - }) 141 + ./installed-tests-path.patch 142 + 143 + # Tests detect fwupd is installed when prefix is /usr. 144 + ./fix-install-detection.patch 124 145 ]; 125 146 126 147 nativeBuildInputs = [ ··· 136 157 gnutls 137 158 docbook_xml_dtd_43 138 159 docbook-xsl-nons 139 - help2man 140 160 libxslt 161 + protobufc # for protoc 141 162 python 142 163 wrapGAppsHook 143 164 vala ··· 151 172 libarchive 152 173 curl 153 174 elfutils 154 - gnu-efi 155 175 libgudev 156 176 colord 157 177 libjcat ··· 159 179 json-glib 160 180 umockdev 161 181 bash-completion 162 - cairo 163 - freetype 164 - fontconfig 165 182 pango 166 183 tpm2-tss 167 184 efivar 185 + fwupd-efi 186 + protobufc 168 187 ] ++ lib.optionals haveDell [ 169 188 libsmbios 170 189 ]; 171 190 172 191 mesonFlags = [ 173 - "-Dgtkdoc=true" 192 + "-Ddocs=gtkdoc" 174 193 "-Dplugin_dummy=true" 175 194 # We are building the official releases. 176 195 "-Dsupported_build=true" ··· 180 199 "-Dudevdir=lib/udev" 181 200 "-Dsystemd_root_prefix=${placeholder "out"}" 182 201 "-Dinstalled_test_prefix=${placeholder "installedTests"}" 183 - "-Defi-libdir=${gnu-efi}/lib" 184 - "-Defi-ldsdir=${gnu-efi}/lib" 185 - "-Defi-includedir=${gnu-efi}/include/efi" 186 - "-Defi_sbat_distro_id=nixos" 187 - "-Defi_sbat_distro_summary=NixOS" 188 - "-Defi_sbat_distro_pkgname=fwupd" 189 - "-Defi_sbat_distro_version=${version}" 190 - "-Defi_sbat_distro_url=https://search.nixos.org/packages?channel=unstable&show=fwupd&from=0&size=50&sort=relevance&query=fwupd" 191 202 "--localstatedir=/var" 192 203 "--sysconfdir=/etc" 193 204 "-Dsysconfdir_install=${placeholder "out"}/etc" 205 + "-Defi_os_dir=nixos" 194 206 195 207 # We do not want to place the daemon into lib (cyclic reference) 196 208 "--libexecdir=${placeholder "out"}/libexec" ··· 232 244 233 245 postPatch = '' 234 246 patchShebangs \ 235 - contrib/get-version.py \ 236 247 contrib/generate-version-script.py \ 237 248 meson_post_install.sh \ 238 - plugins/uefi-capsule/efi/generate_sbat.py \ 239 - plugins/uefi-capsule/efi/generate_binary.py \ 240 - po/make-images \ 241 - po/make-images.sh \ 242 249 po/test-deps 243 250 ''; 244 251 ··· 246 253 addToSearchPath XDG_DATA_DIRS "${shared-mime-info}/share" 247 254 ''; 248 255 249 - postInstall = 250 - let 251 - testFw = fetchFromGitHub { 252 - owner = "fwupd"; 253 - repo = "fwupd-test-firmware"; 254 - rev = "c13bfb26cae5f4f115dd4e08f9f00b3cb9acc25e"; 255 - sha256 = "US81i7mtLEe85KdWz5r+fQTk61IhqjVkzykBaBPuKL4="; 256 - }; 257 - in '' 258 - # These files have weird licenses so they are shipped separately. 259 - cp --recursive --dereference "${testFw}/installed-tests/tests" "$installedTests/libexec/installed-tests/fwupd" 260 - ''; 256 + preInstall = '' 257 + # We have pkexec on PATH so Meson will try to use it when installation fails 258 + # due to being unable to write to e.g. /etc. 259 + # Let’s pretend we already ran pkexec – 260 + # the pkexec on PATH would complain it lacks setuid bit, 261 + # obscuring the underlying error. 262 + # https://github.com/mesonbuild/meson/blob/492cc9bf95d573e037155b588dc5110ded4d9a35/mesonbuild/minstall.py#L558 263 + export PKEXEC_UID=-1 264 + ''; 265 + 266 + postInstall = '' 267 + # These files have weird licenses so they are shipped separately. 268 + cp --recursive --dereference "${test-firmware}/installed-tests/tests" "$installedTests/libexec/installed-tests/fwupd" 269 + ''; 261 270 262 271 preFixup = let 263 272 binPath = [ ··· 294 303 "fwupd/remotes.d/vendor.conf" 295 304 "fwupd/remotes.d/vendor-directory.conf" 296 305 "fwupd/thunderbolt.conf" 297 - "fwupd/upower.conf" 298 306 "fwupd/uefi_capsule.conf" 299 307 "pki/fwupd/GPG-KEY-Linux-Foundation-Firmware" 300 308 "pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service" ··· 302 310 "pki/fwupd-metadata/GPG-KEY-Linux-Foundation-Metadata" 303 311 "pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service" 304 312 "pki/fwupd-metadata/LVFS-CA.pem" 313 + "grub.d/35_fwupd" 305 314 ] ++ lib.optionals haveDell [ 306 315 "fwupd/remotes.d/dell-esrt.conf" 307 316 ] ++ lib.optionals haveRedfish [ ··· 314 323 "test_ble" 315 324 "invalid" 316 325 ]; 326 + 327 + # For updating. 328 + inherit test-firmware; 317 329 318 330 tests = let 319 331 listToPy = list: "[${lib.concatMapStringsSep ", " (f: "'${f}'") list}]";
+13
pkgs/os-specific/linux/firmware/fwupd/fix-install-detection.patch
··· 1 + diff --git a/plugins/redfish/fu-self-test.c b/plugins/redfish/fu-self-test.c 2 + index 4710c769..1c68fdb9 100644 3 + --- a/plugins/redfish/fu-self-test.c 4 + +++ b/plugins/redfish/fu-self-test.c 5 + @@ -27,7 +27,7 @@ fu_test_is_installed_test(void) 6 + const gchar *builddir = g_getenv("G_TEST_BUILDDIR"); 7 + if (builddir == NULL) 8 + return FALSE; 9 + - return g_str_has_prefix(builddir, "/usr"); 10 + + return g_str_has_prefix(builddir, "/nix"); 11 + } 12 + 13 + static void
-8
pkgs/os-specific/linux/firmware/fwupd/fix-paths.patch
··· 1 - diff --git a/data/builder/meson.build b/data/builder/meson.build 2 - index c7a430c0..e69de29b 100644 3 - --- a/data/builder/meson.build 4 - +++ b/data/builder/meson.build 5 - @@ -1,3 +0,0 @@ 6 - -install_data('README.md', 7 - - install_dir : join_paths(localstatedir, 'lib', 'fwupd', 'builder') 8 - -)
+11 -11
pkgs/os-specific/linux/firmware/fwupd/install-fwupdplugin-to-out.patch
··· 1 1 diff --git a/libfwupdplugin/meson.build b/libfwupdplugin/meson.build 2 - index 0abcd45c..51cbc912 100644 2 + index d6a2ed68..12c82a95 100644 3 3 --- a/libfwupdplugin/meson.build 4 4 +++ b/libfwupdplugin/meson.build 5 - @@ -114,7 +114,8 @@ 5 + @@ -216,7 +216,8 @@ fwupdplugin = library( 6 6 ], 7 7 link_args : vflag, 8 8 link_depends : fwupdplugin_mapfile, ··· 12 12 ) 13 13 14 14 fwupdplugin_pkgg = import('pkgconfig') 15 - @@ -167,7 +168,8 @@ 16 - 'GUsb-1.0', 15 + @@ -276,7 +277,8 @@ if get_option('introspection') 16 + girtargets, 17 17 fwupd_gir[0], 18 18 ], 19 19 - install : true 20 20 + install : true, 21 21 + install_dir_typelib : bindir / '..' / 'lib' / 'girepository-1.0', 22 22 ) 23 - gnome.generate_vapi('fwupdplugin', 24 - sources : fwupd_gir[0], 23 + 24 + # Verify the map file is correct -- note we can't actually use the generated 25 25 diff --git a/meson.build b/meson.build 26 - index b1a523d2..00125997 100644 26 + index 38aa36b0..3fb7e579 100644 27 27 --- a/meson.build 28 28 +++ b/meson.build 29 - @@ -389,7 +389,7 @@ 29 + @@ -521,7 +521,7 @@ if build_standalone 30 30 if host_machine.system() == 'windows' 31 - plugin_dir = 'fwupd-plugins-3' 31 + plugin_dir = 'fwupd-plugins-@0@'.format(libfwupdplugin_lt_current) 32 32 else 33 - - plugin_dir = join_paths(libdir, 'fwupd-plugins-3') 34 - + plugin_dir = join_paths(bindir, '..', 'lib', 'fwupd-plugins-3') 33 + - plugin_dir = join_paths(libdir, 'fwupd-plugins-@0@'.format(libfwupdplugin_lt_current)) 34 + + plugin_dir = join_paths(bindir, '..', 'lib', 'fwupd-plugins-@0@'.format(libfwupdplugin_lt_current)) 35 35 endif 36 36 conf.set_quoted('FWUPD_PLUGINDIR', plugin_dir) 37 37 endif
-10
pkgs/os-specific/linux/firmware/fwupd/installed-tests-path.patch
··· 1 - diff --git a/data/device-tests/hardware.py b/data/device-tests/hardware.py 2 - index 7f1e1907..10fee1b8 100755 3 - --- a/data/device-tests/hardware.py 4 - +++ b/data/device-tests/hardware.py 5 - @@ -1,4 +1,4 @@ 6 - -#!/usr/bin/python3 7 - +#!@installedTestsPython@/bin/python3 8 - # pylint: disable=wrong-import-position,too-many-locals,unused-argument,wrong-import-order 9 - # 10 - # Copyright (C) 2017 Richard Hughes <richard@hughsie.com> 11 1 diff --git a/data/installed-tests/meson.build b/data/installed-tests/meson.build 12 2 index adadbcdd..1b51bb9c 100644 13 3 --- a/data/installed-tests/meson.build
+2 -2
pkgs/servers/heisenbridge/default.nix
··· 2 2 3 3 python3Packages.buildPythonPackage rec { 4 4 pname = "heisenbridge"; 5 - version = "1.4.1"; 5 + version = "1.5.0"; 6 6 7 7 # Use the release tarball because it has the version set correctly using the 8 8 # version.txt file. 9 9 src = fetchurl { 10 10 url = "https://github.com/hifi/heisenbridge/releases/download/v${version}/heisenbridge-${version}.tar.gz"; 11 - sha256 = "sha256-+FnpECMDu7d7IM6vmiqP2mA/WJx2WVSzI01tLzkrvpk="; 11 + sha256 = "sha256-hg0PnWbec/iQbv4eRVy6JDt/OJ+EOzN+o6VrUGL4YtE="; 12 12 }; 13 13 14 14 propagatedBuildInputs = with python3Packages; [
+36
pkgs/tools/archivers/unrar-wrapper/default.nix
··· 1 + { lib, buildPythonApplication, fetchFromGitHub, unar }: 2 + 3 + buildPythonApplication rec { 4 + pname = "unrar-wrapper"; 5 + version = "1.0.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "openSUSE"; 9 + repo = "unrar_wrapper"; 10 + rev = "unrar_wrapper-${version}"; 11 + sha256 = "sha256-HjrUif8MrbtLjRQMAPZ/Y2o43rGSDj0HHY4fZQfKz5w="; 12 + }; 13 + 14 + makeWrapperArgs = [ 15 + "--prefix" "PATH" ":" "${lib.makeBinPath [ unar ]}" 16 + ]; 17 + 18 + postFixup = '' 19 + ln -s $out/bin/unrar_wrapper $out/bin/unrar 20 + rm -rf $out/nix-support/propagated-build-inputs 21 + ''; 22 + 23 + setupHook = ./setup-hook.sh; 24 + 25 + meta = with lib; { 26 + homepage = "https://github.com/openSUSE/unrar_wrapper"; 27 + description = "Backwards compatibility between unar and unrar"; 28 + longDescription = '' 29 + unrar_wrapper is a wrapper python script that transforms the basic UnRAR commands 30 + to unar and lsar calls in order to provide a backwards compatibility. 31 + ''; 32 + license = licenses.gpl3Only; 33 + platforms = platforms.unix; 34 + maintainers = with maintainers; [ artturin ]; 35 + }; 36 + }
+5
pkgs/tools/archivers/unrar-wrapper/setup-hook.sh
··· 1 + unpackCmdHooks+=(_tryUnrar) 2 + _tryUnrar() { 3 + if ! [[ "$curSrc" =~ \.rar$ ]]; then return 1; fi 4 + unrar x "$curSrc" >/dev/null 5 + }
+2 -1
pkgs/tools/graphics/perceptualdiff/default.nix
··· 19 19 homepage = "https://github.com/myint/perceptualdiff"; 20 20 license = licenses.gpl2Plus; 21 21 maintainers = with maintainers; [ uri-canva ]; 22 - platforms = platforms.x86; 22 + platforms = platforms.unix; 23 + broken = stdenv.hostPlatform.system == "aarch64-darwin"; 23 24 }; 24 25 }
+23
pkgs/tools/misc/apkeep/default.nix
··· 1 + { lib, fetchCrate, rustPlatform, openssl, pkg-config }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "apkeep"; 5 + version = "0.6.0"; 6 + 7 + src = fetchCrate { 8 + inherit pname version; 9 + sha256 = "sha256-RTzYvDkmE0kgl4FSOSjDuQ5G1E0ugFU41zVAMMroofM="; 10 + }; 11 + 12 + cargoSha256 = "sha256-YFs2AOMGp0WNrceK14AnigZdJl+UsQdUchpxaI7HSXw="; 13 + 14 + nativeBuildInputs = [ pkg-config ]; 15 + buildInputs = [ openssl ]; 16 + 17 + meta = with lib; { 18 + description = "A command-line tool for downloading APK files from various sources"; 19 + homepage = "https://github.com/EFForg/apkeep"; 20 + license = licenses.mit; 21 + maintainers = with maintainers; [ jyooru ]; 22 + }; 23 + }
+7 -8
pkgs/tools/package-management/cargo-outdated/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl, libiconv, curl, darwin }: 1 + { lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, libiconv, curl, darwin }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "cargo-outdated"; 5 - version = "0.9.17"; 5 + version = "0.9.18"; 6 6 7 - src = fetchFromGitHub { 8 - owner = "kbknapp"; 9 - repo = pname; 10 - rev = "v${version}"; 11 - sha256 = "sha256-Ian/vXGoPHecguQUp2IUgdLW6Ll8OdCA2W0WmoYPDrI="; 7 + src = fetchCrate { 8 + inherit pname version; 9 + sha256 = "19r4nv28iq4cmzs5j127qgvdf7y3pfmgjp6jzzbb8b5xj7w06jhl"; 12 10 }; 13 11 14 - cargoSha256 = "sha256-eDu1dAs543AryUEsCY9COHrvuamQocCk0nBXDIdFmYs="; 12 + cargoSha256 = "1rf3sxprra9s76iip2xf82kclgs83fhnlx9ykl9hhn2y0z8r3342"; 15 13 16 14 nativeBuildInputs = [ pkg-config ]; 17 15 buildInputs = [ openssl ] 18 16 ++ lib.optionals stdenv.isDarwin [ 19 17 darwin.apple_sdk.frameworks.Security 18 + darwin.apple_sdk.frameworks.SystemConfiguration 20 19 libiconv 21 20 curl 22 21 ];
+2 -2
pkgs/tools/security/exploitdb/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "exploitdb"; 5 - version = "2021-11-06"; 5 + version = "2021-11-09"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "offensive-security"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-pyzK6Z62gvuvi8FilNySyp78i4A2SLSFLY8WsSNdFQ0="; 11 + sha256 = "sha256-V/iQvA2jxeddzmzoVNJ4eoyEjkrkfws7pLw6akbBDaA="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+2 -2
pkgs/tools/system/gdu/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "gdu"; 10 - version = "5.9.0"; 10 + version = "5.10.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "dundee"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-bJvIm2ZmbfSI+RtaBYlUYVVF7Q7vKwtKMCUC8tS8ZOI="; 16 + sha256 = "sha256-JXjlK/XTIJeJj8do7JsoZQ8kE+bgy6czXAam/cj7IQo="; 17 17 }; 18 18 19 19 vendorSha256 = "0ls0pw1m6hy203cdkmp9847h2fmvc4hjkv5x2v6r7516cqbs25ac";
+53 -45
pkgs/top-level/all-packages.nix
··· 321 321 inherit (darwin.apple_sdk.frameworks) AppKit IOKit; 322 322 }; 323 323 324 - mix2nix = callPackage ../development/tools/mix2nix/default.nix { }; 324 + mix2nix = callPackage ../development/tools/mix2nix { }; 325 325 326 326 prisma-engines = callPackage ../development/tools/database/prisma-engines { 327 327 inherit (darwin.apple_sdk.frameworks) Security; ··· 493 493 494 494 prefer-remote-fetch = import ../build-support/prefer-remote-fetch; 495 495 496 - global-platform-pro = callPackage ../development/tools/global-platform-pro/default.nix { }; 496 + global-platform-pro = callPackage ../development/tools/global-platform-pro { }; 497 497 498 498 graph-easy = callPackage ../tools/graphics/graph-easy { }; 499 499 ··· 1373 1373 1374 1374 awless = callPackage ../tools/virtualization/awless { }; 1375 1375 1376 - berglas = callPackage ../tools/admin/berglas/default.nix { }; 1376 + berglas = callPackage ../tools/admin/berglas { }; 1377 1377 1378 1378 betterdiscordctl = callPackage ../tools/misc/betterdiscordctl { }; 1379 1379 ··· 1669 1669 inherit (darwin.apple_sdk.frameworks) Security; 1670 1670 }; 1671 1671 1672 - fitnesstrax = callPackage ../applications/misc/fitnesstrax/default.nix { }; 1672 + fitnesstrax = callPackage ../applications/misc/fitnesstrax { }; 1673 1673 1674 1674 flavours = callPackage ../applications/misc/flavours { }; 1675 1675 ··· 4766 4766 inherit (darwin.apple_sdk.frameworks) AppKit Security; 4767 4767 }; 4768 4768 4769 - timeline = callPackage ../applications/office/timeline/default.nix { }; 4769 + timeline = callPackage ../applications/office/timeline { }; 4770 4770 4771 4771 tsm-client = callPackage ../tools/backup/tsm-client { jdk8 = null; }; 4772 4772 tsm-client-withGui = callPackage ../tools/backup/tsm-client { }; ··· 8079 8079 8080 8080 offlineimap = callPackage ../tools/networking/offlineimap { }; 8081 8081 8082 - ofono-phonesim = libsForQt5.callPackage ../development/tools/ofono-phonesim/default.nix { }; 8082 + ofono-phonesim = libsForQt5.callPackage ../development/tools/ofono-phonesim { }; 8083 8083 8084 8084 ogdf = callPackage ../development/libraries/ogdf { }; 8085 8085 ··· 9424 9424 9425 9425 slides = callPackage ../applications/misc/slides { }; 9426 9426 9427 - slirp4netns = callPackage ../tools/networking/slirp4netns/default.nix { }; 9427 + slirp4netns = callPackage ../tools/networking/slirp4netns { }; 9428 9428 9429 9429 slsnif = callPackage ../tools/misc/slsnif { }; 9430 9430 ··· 9725 9725 9726 9726 swagger-codegen3 = callPackage ../tools/networking/swagger-codegen3 { }; 9727 9727 9728 - swapview = callPackage ../os-specific/linux/swapview/default.nix { }; 9728 + swapview = callPackage ../os-specific/linux/swapview { }; 9729 9729 9730 9730 swtpm = callPackage ../tools/security/swtpm { }; 9731 9731 ··· 10616 10616 10617 10617 unrar = callPackage ../tools/archivers/unrar { }; 10618 10618 10619 + unrar-wrapper = python3Packages.callPackage ../tools/archivers/unrar-wrapper { }; 10620 + 10619 10621 vul = callPackage ../applications/misc/vul { }; 10620 10622 10621 10623 xar = callPackage ../tools/compression/xar { }; ··· 11450 11452 11451 11453 scry = callPackage ../development/tools/scry { }; 11452 11454 11453 - dasm = callPackage ../development/compilers/dasm/default.nix { }; 11455 + dasm = callPackage ../development/compilers/dasm { }; 11454 11456 11455 11457 dbmate = callPackage ../development/tools/database/dbmate { }; 11456 11458 ··· 12285 12287 12286 12288 javacard-devkit = pkgsi686Linux.callPackage ../development/compilers/javacard-devkit { }; 12287 12289 12288 - juniper = callPackage ../development/compilers/juniper/default.nix { }; 12290 + juniper = callPackage ../development/compilers/juniper { }; 12289 12291 12290 12292 julia_10 = callPackage ../development/compilers/julia/1.0.nix { 12291 12293 gmp = gmp6; ··· 12299 12301 12300 12302 julia-lts = julia_10; 12301 12303 julia-stable = julia_15; 12302 - julia = julia-lts; 12304 + julia = julia-stable; 12303 12305 12304 12306 julia_10-bin = callPackage ../development/compilers/julia/1.0-bin.nix { }; 12305 12307 julia_16-bin = callPackage ../development/compilers/julia/1.6-bin.nix { }; 12306 12308 12307 12309 julia-lts-bin = julia_10-bin; 12308 12310 julia-stable-bin = julia_16-bin; 12309 - julia-bin = julia-lts-bin; 12311 + julia-bin = julia-stable-bin; 12310 12312 12311 12313 jwasm = callPackage ../development/compilers/jwasm { }; 12312 12314 ··· 12888 12890 sbcl_2_1_9 = callPackage ../development/compilers/sbcl/2.1.9.nix {}; 12889 12891 sbcl = sbcl_2_1_9; 12890 12892 12891 - roswell = callPackage ../development/tools/roswell/default.nix { }; 12893 + roswell = callPackage ../development/tools/roswell { }; 12892 12894 12893 12895 scala_2_10 = callPackage ../development/compilers/scala/2.x.nix { majorVersion = "2.10"; jre = jdk8; }; 12894 12896 scala_2_11 = callPackage ../development/compilers/scala/2.x.nix { majorVersion = "2.11"; jre = jdk8; }; ··· 12896 12898 scala_2_13 = callPackage ../development/compilers/scala/2.x.nix { majorVersion = "2.13"; jre = jdk8; }; 12897 12899 12898 12900 scala = scala_2_13; 12899 - scala-runners = callPackage ../development/compilers/scala-runners/default.nix { 12901 + scala-runners = callPackage ../development/compilers/scala-runners { 12900 12902 coursier = coursier.override { jre = jdk8; }; 12901 12903 }; 12902 12904 ··· 13159 13161 13160 13162 clips = callPackage ../development/interpreters/clips { }; 13161 13163 13162 - cliscord = callPackage ../misc/cliscord/default.nix { }; 13164 + cliscord = callPackage ../misc/cliscord { }; 13163 13165 13164 13166 clisp = callPackage ../development/interpreters/clisp { }; 13165 13167 clisp-tip = callPackage ../development/interpreters/clisp/hg.nix { }; ··· 13497 13499 setupcfg2nix = python3Packages.callPackage ../development/tools/setupcfg2nix {}; 13498 13500 13499 13501 # These pyside tools do not provide any Python modules and are meant to be here. 13500 - # See ../development/python-modules/pyside/default.nix for details. 13502 + # See ../development/python-modules/pyside for details. 13501 13503 pysideApiextractor = callPackage ../development/python-modules/pyside/apiextractor.nix { }; 13502 13504 pysideGeneratorrunner = callPackage ../development/python-modules/pyside/generatorrunner.nix { }; 13503 13505 ··· 13736 13738 13737 13739 or1k-newlib = callPackage ../development/misc/or1k/newlib.nix {}; 13738 13740 13739 - rappel = callPackage ../development/misc/rappel/default.nix { }; 13741 + rappel = callPackage ../development/misc/rappel { }; 13740 13742 13741 13743 pharo-vms = callPackage ../development/pharo/vm { }; 13742 13744 pharo = pharo-vms.multi-vm-wrapper; ··· 14518 14520 14519 14521 gnome-usage = callPackage ../applications/misc/gnome-usage {}; 14520 14522 14521 - gnome-inform7 = callPackage ../applications/editors/gnome-inform7/default.nix { }; 14523 + gnome-inform7 = callPackage ../applications/editors/gnome-inform7 { }; 14522 14524 14523 - gnome-latex = callPackage ../applications/editors/gnome-latex/default.nix { }; 14525 + gnome-latex = callPackage ../applications/editors/gnome-latex { }; 14524 14526 14525 14527 gnome-network-displays = callPackage ../applications/networking/gnome-network-displays { }; 14526 14528 ··· 14564 14566 gradle_4 = gradle_4_10; 14565 14567 gradle_5 = res.gradleGen.gradle_5_6; 14566 14568 gradle_6 = res.gradleGen.gradle_6_9; 14567 - gradle_7 = res.gradleGen.gradle_7; 14569 + gradle_7 = res.gradleGen.gradle_7_3; 14568 14570 14569 14571 gperf = callPackage ../development/tools/misc/gperf { }; 14570 14572 # 3.1 changed some parameters from int to size_t, leading to mismatches. ··· 15532 15534 assimp = callPackage ../development/libraries/assimp { }; 15533 15535 15534 15536 asio_1_10 = callPackage ../development/libraries/asio/1.10.nix { }; 15535 - asio = callPackage ../development/libraries/asio/default.nix { }; 15537 + asio = callPackage ../development/libraries/asio { }; 15536 15538 15537 15539 aspell = callPackage ../development/libraries/aspell { }; 15538 15540 ··· 16537 16539 then callPackage ../development/libraries/gnu-efi { } 16538 16540 else null; 16539 16541 16540 - gnutls = callPackage ../development/libraries/gnutls/default.nix { 16542 + gnutls = callPackage ../development/libraries/gnutls { 16541 16543 inherit (darwin.apple_sdk.frameworks) Security; 16542 16544 util-linux = util-linuxMinimal; # break the cyclic dependency 16543 16545 autoconf = buildPackages.autoconf269; ··· 20128 20130 20129 20131 cppzmq = callPackage ../development/libraries/cppzmq {}; 20130 20132 20131 - czmq = callPackage ../development/libraries/czmq/default.nix {}; 20133 + czmq = callPackage ../development/libraries/czmq {}; 20132 20134 20133 20135 zmqpp = callPackage ../development/libraries/zmqpp { }; 20134 20136 ··· 21764 21766 21765 21767 fwupd = callPackage ../os-specific/linux/firmware/fwupd { }; 21766 21768 21769 + fwupd-efi = callPackage ../os-specific/linux/firmware/fwupd-efi { }; 21770 + 21767 21771 firmware-manager = callPackage ../os-specific/linux/firmware/firmware-manager { }; 21768 21772 21769 21773 fwts = callPackage ../os-specific/linux/fwts { }; ··· 22147 22151 enableCmdlib = true; 22148 22152 }; 22149 22153 22150 - maddy = callPackage ../servers/maddy/default.nix { }; 22154 + maddy = callPackage ../servers/maddy { }; 22151 22155 22152 22156 mbelib = callPackage ../development/libraries/audio/mbelib { }; 22153 22157 ··· 23807 23811 23808 23812 apache-directory-studio = callPackage ../applications/networking/apache-directory-studio {}; 23809 23813 23814 + apkeep = callPackage ../tools/misc/apkeep { }; 23815 + 23810 23816 apngasm = callPackage ../applications/graphics/apngasm {}; 23811 23817 apngasm_2 = callPackage ../applications/graphics/apngasm/2.nix {}; 23812 23818 ··· 24028 24034 gtk = gtk3; 24029 24035 }; 24030 24036 24031 - bluej = callPackage ../applications/editors/bluej/default.nix { 24037 + bluej = callPackage ../applications/editors/bluej { 24032 24038 jdk = jetbrains.jdk; 24033 24039 }; 24034 24040 ··· 24662 24668 24663 24669 gpg-mdp = callPackage ../applications/misc/gpg-mdp { }; 24664 24670 24665 - greenfoot = callPackage ../applications/editors/greenfoot/default.nix { 24671 + greenfoot = callPackage ../applications/editors/greenfoot { 24666 24672 jdk = jetbrains.jdk; 24667 24673 }; 24668 24674 ··· 24815 24821 24816 24822 genxword = callPackage ../applications/misc/genxword { }; 24817 24823 24818 - geoipupdate = callPackage ../applications/misc/geoipupdate/default.nix { }; 24824 + geoipupdate = callPackage ../applications/misc/geoipupdate { }; 24819 24825 24820 24826 ghostwriter = libsForQt5.callPackage ../applications/editors/ghostwriter { }; 24821 24827 ··· 25307 25313 25308 25314 linssid = libsForQt5.callPackage ../applications/networking/linssid { }; 25309 25315 25310 - deadd-notification-center = callPackage ../applications/misc/deadd-notification-center/default.nix { }; 25316 + deadd-notification-center = callPackage ../applications/misc/deadd-notification-center { }; 25311 25317 25312 25318 lollypop = callPackage ../applications/audio/lollypop { }; 25313 25319 ··· 25560 25566 25561 25567 hpack = haskell.lib.justStaticExecutables haskellPackages.hpack; 25562 25568 25563 - hpcg = callPackage ../tools/misc/hpcg/default.nix { }; 25569 + hpcg = callPackage ../tools/misc/hpcg { }; 25564 25570 25565 25571 hpl = callPackage ../tools/misc/hpl { }; 25566 25572 ··· 25633 25639 25634 25640 pixelnuke = callPackage ../applications/graphics/pixelnuke { }; 25635 25641 25636 - pmbootstrap = python3Packages.callPackage ../tools/misc/pmbootstrap/default.nix { }; 25642 + pmbootstrap = python3Packages.callPackage ../tools/misc/pmbootstrap { }; 25637 25643 25638 25644 shepherd = nodePackages."@nerdwallet/shepherd"; 25639 25645 ··· 25763 25769 25764 25770 workstyle = callPackage ../applications/window-managers/i3/workstyle.nix { }; 25765 25771 25766 - windowchef = callPackage ../applications/window-managers/windowchef/default.nix { }; 25772 + windowchef = callPackage ../applications/window-managers/windowchef { }; 25767 25773 25768 25774 wmfocus = callPackage ../applications/window-managers/i3/wmfocus.nix { }; 25769 25775 25770 - wmfs = callPackage ../applications/window-managers/wmfs/default.nix { }; 25776 + wmfs = callPackage ../applications/window-managers/wmfs { }; 25771 25777 25772 25778 i810switch = callPackage ../os-specific/linux/i810switch { }; 25773 25779 ··· 25873 25879 25874 25880 img2pdf = with python3Packages; toPythonApplication img2pdf; 25875 25881 25876 - imgbrd-grabber = qt5.callPackage ../applications/graphics/imgbrd-grabber/default.nix { 25882 + imgbrd-grabber = qt5.callPackage ../applications/graphics/imgbrd-grabber { 25877 25883 typescript = nodePackages.typescript; 25878 25884 }; 25879 25885 ··· 26115 26121 kubecfg = callPackage ../applications/networking/cluster/kubecfg { }; 26116 26122 26117 26123 kube-score = callPackage ../applications/networking/cluster/kube-score { }; 26124 + 26125 + kubectl-evict-pod = callPackage ../applications/networking/cluster/kubectl-evict-pod { }; 26118 26126 26119 26127 kubeval = callPackage ../applications/networking/cluster/kubeval { }; 26120 26128 ··· 26629 26637 26630 26638 mop = callPackage ../applications/misc/mop { }; 26631 26639 26632 - mopidyPackages = callPackages ../applications/audio/mopidy/default.nix { 26640 + mopidyPackages = callPackages ../applications/audio/mopidy { 26633 26641 python = python3; 26634 26642 }; 26635 26643 ··· 27109 27117 27110 27118 muchsync = callPackage ../applications/networking/mailreaders/notmuch/muchsync.nix { }; 27111 27119 27112 - nufraw = callPackage ../applications/graphics/nufraw/default.nix { }; 27120 + nufraw = callPackage ../applications/graphics/nufraw { }; 27113 27121 27114 - nufraw-thumbnailer = callPackage ../applications/graphics/nufraw/default.nix { 27122 + nufraw-thumbnailer = callPackage ../applications/graphics/nufraw { 27115 27123 addThumbnailer = true; 27116 27124 }; 27117 27125 ··· 28603 28611 28604 28612 vimacs = callPackage ../applications/editors/vim/vimacs.nix { }; 28605 28613 28606 - vimv = callPackage ../tools/misc/vimv/default.nix { }; 28614 + vimv = callPackage ../tools/misc/vimv { }; 28607 28615 28608 28616 qpdfview = libsForQt5.callPackage ../applications/misc/qpdfview {}; 28609 28617 ··· 29312 29320 inherit (gnome2) scrollkeeper libglade; 29313 29321 }; 29314 29322 29315 - xygrib = libsForQt514.callPackage ../applications/misc/xygrib/default.nix {}; 29323 + xygrib = libsForQt514.callPackage ../applications/misc/xygrib {}; 29316 29324 29317 29325 xzgv = callPackage ../applications/graphics/xzgv { }; 29318 29326 ··· 29789 29797 29790 29798 crispyDoom = callPackage ../games/crispy-doom { }; 29791 29799 29792 - vintagestory = callPackage ../games/vintagestory/default.nix { }; 29800 + vintagestory = callPackage ../games/vintagestory { }; 29793 29801 29794 29802 cri-o = callPackage ../applications/virtualization/cri-o/wrapper.nix { }; 29795 29803 cri-o-unwrapped = callPackage ../applications/virtualization/cri-o { }; ··· 31084 31092 31085 31093 snpeff = callPackage ../applications/science/biology/snpeff { }; 31086 31094 31087 - somafm-cli = callPackage ../tools/misc/somafm-cli/default.nix { }; 31095 + somafm-cli = callPackage ../tools/misc/somafm-cli { }; 31088 31096 31089 31097 somatic-sniper = callPackage ../applications/science/biology/somatic-sniper { }; 31090 31098 ··· 32426 32434 nixosTesting.makeTest calledTest; 32427 32435 32428 32436 nixosOptionsDoc = attrs: 32429 - (import ../../nixos/lib/make-options-doc/default.nix) 32437 + (import ../../nixos/lib/make-options-doc) 32430 32438 ({ inherit pkgs lib; } // attrs); 32431 32439 32432 32440 nixos-install-tools = callPackage ../tools/nix/nixos-install-tools { }; ··· 32742 32750 mfcl2740dwlpr = callPackage ../misc/cups/drivers/mfcl2740dwlpr { }; 32743 32751 32744 32752 # This driver is only available as a 32 bit proprietary binary driver 32745 - mfcl3770cdwlpr = (callPackage ../misc/cups/drivers/brother/mfcl3770cdw/default.nix { }).driver; 32746 - mfcl3770cdwcupswrapper = (callPackage ../misc/cups/drivers/brother/mfcl3770cdw/default.nix { }).cupswrapper; 32753 + mfcl3770cdwlpr = (callPackage ../misc/cups/drivers/brother/mfcl3770cdw { }).driver; 32754 + mfcl3770cdwcupswrapper = (callPackage ../misc/cups/drivers/brother/mfcl3770cdw { }).cupswrapper; 32747 32755 32748 32756 mfcl8690cdwcupswrapper = callPackage ../misc/cups/drivers/mfcl8690cdwcupswrapper { }; 32749 32757 mfcl8690cdwlpr = callPackage ../misc/cups/drivers/mfcl8690cdwlpr { }; ··· 32751 32759 mfc9140cdncupswrapper = callPackage ../misc/cups/drivers/mfc9140cdncupswrapper { }; 32752 32760 mfc9140cdnlpr = callPackage ../misc/cups/drivers/mfc9140cdnlpr { }; 32753 32761 32754 - samsung-unified-linux-driver_1_00_36 = callPackage ../misc/cups/drivers/samsung/1.00.36/default.nix { }; 32762 + samsung-unified-linux-driver_1_00_36 = callPackage ../misc/cups/drivers/samsung/1.00.36 { }; 32755 32763 samsung-unified-linux-driver_1_00_37 = callPackage ../misc/cups/drivers/samsung/1.00.37.nix { }; 32756 32764 samsung-unified-linux-driver_4_00_39 = callPackage ../misc/cups/drivers/samsung/4.00.39 { }; 32757 32765 samsung-unified-linux-driver_4_01_17 = callPackage ../misc/cups/drivers/samsung/4.01.17.nix { }; ··· 33595 33603 inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation IOKit; 33596 33604 }; 33597 33605 33598 - cagebreak = callPackage ../applications/window-managers/cagebreak/default.nix { }; 33606 + cagebreak = callPackage ../applications/window-managers/cagebreak { }; 33599 33607 33600 33608 psftools = callPackage ../os-specific/linux/psftools {}; 33601 33609
+4 -4
pkgs/top-level/python-packages.nix
··· 4633 4633 4634 4634 mathlibtools = callPackage ../development/python-modules/mathlibtools { }; 4635 4635 4636 - matplotlib = callPackage ../development/python-modules/matplotlib/default.nix { 4636 + matplotlib = callPackage ../development/python-modules/matplotlib { 4637 4637 stdenv = if stdenv.isDarwin then pkgs.clangStdenv else pkgs.stdenv; 4638 4638 inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa; 4639 4639 }; ··· 5305 5305 5306 5306 openrazer-daemon = callPackage ../development/python-modules/openrazer/daemon.nix { }; 5307 5307 5308 - openrouteservice = callPackage ../development/python-modules/openrouteservice/default.nix { }; 5308 + openrouteservice = callPackage ../development/python-modules/openrouteservice { }; 5309 5309 5310 5310 opensensemap-api = callPackage ../development/python-modules/opensensemap-api { }; 5311 5311 ··· 5516 5516 5517 5517 pathvalidate = callPackage ../development/python-modules/pathvalidate { }; 5518 5518 5519 - pathy = callPackage ../development/python-modules/pathy/default.nix { }; 5519 + pathy = callPackage ../development/python-modules/pathy { }; 5520 5520 5521 5521 patiencediff = callPackage ../development/python-modules/patiencediff { }; 5522 5522 ··· 8545 8545 8546 8546 signify = callPackage ../development/python-modules/signify { }; 8547 8547 8548 - sip = callPackage ../development/python-modules/sip/default.nix { }; 8548 + sip = callPackage ../development/python-modules/sip { }; 8549 8549 8550 8550 sip_4 = callPackage ../development/python-modules/sip/4.x.nix { }; 8551 8551