Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
2e1f9ebe 84908688

+316 -285
+3 -3
pkgs/applications/audio/music-player/default.nix
··· 10 10 11 11 rustPlatform.buildRustPackage rec { 12 12 pname = "music-player"; 13 - version = "0.2.0-alpha.13"; 13 + version = "0.2.0-alpha.14"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "tsirysndr"; 17 17 repo = "music-player"; 18 18 rev = "v${version}"; 19 - hash = "sha256-LuO64E5kJdMgd5h0+Sb8Wg7hxUmS8E7bKT3NIyd9+Lc="; 19 + hash = "sha256-l8Y1fc5v0YDm87b+d3DuMgKFiem6WFfJEASplHoqva0="; 20 20 }; 21 21 22 - cargoHash = "sha256-Xn0OUHMgKxzDvhO+xRv5jMa50OzEtl6yhHbJ1R/a56Y="; 22 + cargoHash = "sha256-nnOHuAn+eGf+iiX3QbDTH4zHMQ6KV4QP6RnyBhLMrEc="; 23 23 24 24 nativeBuildInputs = [ 25 25 protobuf
+2 -2
pkgs/applications/gis/spatialite-tools/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "spatialite-tools"; 21 - version = "5.1.0"; 21 + version = "5.1.0a"; 22 22 23 23 src = fetchurl { 24 24 url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/spatialite-tools-${version}.tar.gz"; 25 - hash = "sha256-3zAwNnwInKkPpmMIl/PxooB4TaKeG6Y080DbpLCFg7U="; 25 + hash = "sha256-EZ40dY6AiM27Q+2BtKbq6ojHZLC32hkAGlUUslRVAc4="; 26 26 }; 27 27 28 28 nativeBuildInputs = [ pkg-config ];
+1
pkgs/applications/misc/waylock/default.nix
··· 42 42 description = "A small screenlocker for Wayland compositors"; 43 43 license = lib.licenses.isc; 44 44 maintainers = with lib.maintainers; [ jordanisaacs ]; 45 + mainProgram = "waylock"; 45 46 platforms = lib.platforms.linux; 46 47 }; 47 48 })
+27
pkgs/applications/misc/yambar-hyprland-wses/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , rustPlatform 4 + }: 5 + 6 + rustPlatform.buildRustPackage rec { 7 + pname = "yambar-hyprland-wses"; 8 + version = "0.1.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "jonhoo"; 12 + repo = "yambar-hyprland-wses"; 13 + rev = "v${version}"; 14 + hash = "sha256-furHj1AAFgNiNHP9RBsVrIvrDckSKU8FXilzH9TQ99c="; 15 + }; 16 + 17 + cargoHash = "sha256-/ewEgrBxRw5Xii5PX1GLKzBrZjgnzYc/Hz+M1pJpncQ="; 18 + 19 + meta = { 20 + description = "Enable Yambar to show Hyprland workspaces"; 21 + homepage = "https://github.com/jonhoo/yambar-hyprland-wses"; 22 + license = with lib.licenses; [ asl20 mit ]; 23 + maintainers = with lib.maintainers; [ ludovicopiero ]; 24 + mainProgram = "yambar-hyprland-wses"; 25 + platforms = lib.platforms.linux; 26 + }; 27 + }
+3 -3
pkgs/applications/networking/cluster/acorn/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "acorn"; 5 - version = "0.7.1"; 5 + version = "0.8.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "acorn-io"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-ERB9RwvBcZ+G+UqR0Wv+HCkrc8tJQdamIeg7ZfKx8jQ="; 11 + hash = "sha256-ZS3YxXgMSu8+eRnpqrtaBTQIlSY3cscudcTbztiRsbM="; 12 12 }; 13 13 14 - vendorHash = "sha256-iiyWYGoW0vno/C5qZVvtYypbVpjJwWydMo4+HxXy8IM="; 14 + vendorHash = "sha256-jkkzlMc2y8HvPZjpmRIQz64JK5yjhdoJevE0dclBHvA="; 15 15 16 16 ldflags = [ 17 17 "-s"
+3 -3
pkgs/applications/networking/cluster/terraform-compliance/default.nix
··· 5 5 6 6 python3.pkgs.buildPythonApplication rec { 7 7 pname = "terraform-compliance"; 8 - version = "1.3.43"; 8 + version = "1.3.44"; 9 9 format = "setuptools"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "terraform-compliance"; 13 13 repo = "cli"; 14 14 rev = "refs/tags/${version}"; 15 - sha256 = "sha256-Otz0jXSqqg8u8jVnqHTpPW/oyb+Qq2NywgxYPtIAKEc="; 15 + sha256 = "sha256-eE9bqu9ipuas+rdcJpn09V6nkdoYPOpChHgPH8U0rNw="; 16 16 }; 17 17 18 18 postPatch = '' ··· 55 55 homepage = "https://github.com/terraform-compliance/cli"; 56 56 changelog = "https://github.com/terraform-compliance/cli/releases/tag/${version}"; 57 57 license = licenses.mit; 58 - maintainers = with maintainers; [ kalbasit ]; 58 + maintainers = with maintainers; [ kalbasit kashw2 ]; 59 59 }; 60 60 }
+3 -3
pkgs/applications/networking/cluster/terragrunt/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "terragrunt"; 8 - version = "0.50.6"; 8 + version = "0.50.12"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "gruntwork-io"; 12 12 repo = pname; 13 13 rev = "refs/tags/v${version}"; 14 - hash = "sha256-h6Qz27zWAN0mxDok2dpxlE0qLP2ECwMjiCZxg+9T/dw="; 14 + hash = "sha256-NAilGvA0S4GEQgqKKQMddemZmyFBnKE4+R689kAyoMg="; 15 15 }; 16 16 17 - vendorHash = "sha256-ZpLQcWi3qYTsy6BUZbHFFmhWG6CWqcb/NuzPLOUtKfs="; 17 + vendorHash = "sha256-wQ5jxOTuYkiW5zHcduByKZ+vHPKn/1ELL3DskKze+UI="; 18 18 19 19 doCheck = false; 20 20
+3 -3
pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix
··· 33 33 in 34 34 buildNpmPackage rec { 35 35 pname = "deltachat-desktop"; 36 - version = "1.40.0"; 36 + version = "1.40.1"; 37 37 38 38 src = fetchFromGitHub { 39 39 owner = "deltachat"; 40 40 repo = "deltachat-desktop"; 41 41 rev = "v${version}"; 42 - hash = "sha256-QvSBM2zR/LcQ2wtkh6mtlU8iqYmZfv6U5bRyMYjLZhE="; 42 + hash = "sha256-UmRI1aYPAz8I6Th+L5N1YXbvaIOS6m2jEKFl6MdCUVA="; 43 43 }; 44 44 45 - npmDepsHash = "sha256-lxyXfPNu5U+0cge+cwcXHIJv+gVXCSzc5t/2c4IQxNM="; 45 + npmDepsHash = "sha256-zk7Zc/I8uK8CXo0nHMg1CPG28OHRoL1fh1MLOsIr3ao="; 46 46 47 47 nativeBuildInputs = [ 48 48 makeWrapper
+8 -34
pkgs/development/libraries/libdeltachat/Cargo.lock
··· 221 221 222 222 [[package]] 223 223 name = "async-imap" 224 - version = "0.9.0" 224 + version = "0.9.1" 225 225 source = "registry+https://github.com/rust-lang/crates.io-index" 226 - checksum = "da93622739d458dd9a6abc1abf0e38e81965a5824a3b37f9500437c82a8bb572" 226 + checksum = "b538b767cbf9c162a6c5795d4b932bd2c20ba10b5a91a94d2b2b6886c1dce6a8" 227 227 dependencies = [ 228 228 "async-channel", 229 229 "base64 0.21.2", 230 - "byte-pool", 230 + "bytes", 231 231 "chrono", 232 232 "futures", 233 233 "imap-proto", ··· 543 543 version = "3.13.0" 544 544 source = "registry+https://github.com/rust-lang/crates.io-index" 545 545 checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" 546 - 547 - [[package]] 548 - name = "byte-pool" 549 - version = "0.2.4" 550 - source = "registry+https://github.com/rust-lang/crates.io-index" 551 - checksum = "c2f1b21189f50b5625efa6227cf45e9d4cfdc2e73582df2b879e9689e78a7158" 552 - dependencies = [ 553 - "crossbeam-queue", 554 - "stable_deref_trait", 555 - ] 556 546 557 547 [[package]] 558 548 name = "bytemuck" ··· 925 915 ] 926 916 927 917 [[package]] 928 - name = "crossbeam-queue" 929 - version = "0.3.8" 930 - source = "registry+https://github.com/rust-lang/crates.io-index" 931 - checksum = "d1cfb3ea8a53f37c40dea2c7bedcbd88bdfae54f5e2175d6ecaff1c988353add" 932 - dependencies = [ 933 - "cfg-if", 934 - "crossbeam-utils", 935 - ] 936 - 937 - [[package]] 938 918 name = "crossbeam-utils" 939 919 version = "0.8.16" 940 920 source = "registry+https://github.com/rust-lang/crates.io-index" ··· 1123 1103 1124 1104 [[package]] 1125 1105 name = "deltachat" 1126 - version = "1.119.1" 1106 + version = "1.120.0" 1127 1107 dependencies = [ 1128 1108 "ansi_term", 1129 1109 "anyhow", ··· 1199 1179 1200 1180 [[package]] 1201 1181 name = "deltachat-jsonrpc" 1202 - version = "1.119.1" 1182 + version = "1.120.0" 1203 1183 dependencies = [ 1204 1184 "anyhow", 1205 1185 "async-channel", ··· 1223 1203 1224 1204 [[package]] 1225 1205 name = "deltachat-repl" 1226 - version = "1.119.1" 1206 + version = "1.120.0" 1227 1207 dependencies = [ 1228 1208 "ansi_term", 1229 1209 "anyhow", ··· 1238 1218 1239 1219 [[package]] 1240 1220 name = "deltachat-rpc-server" 1241 - version = "1.119.1" 1221 + version = "1.120.0" 1242 1222 dependencies = [ 1243 1223 "anyhow", 1244 1224 "deltachat", ··· 1263 1243 1264 1244 [[package]] 1265 1245 name = "deltachat_ffi" 1266 - version = "1.119.1" 1246 + version = "1.120.0" 1267 1247 dependencies = [ 1268 1248 "anyhow", 1269 1249 "deltachat", ··· 4595 4575 "ssh-encoding", 4596 4576 "zeroize", 4597 4577 ] 4598 - 4599 - [[package]] 4600 - name = "stable_deref_trait" 4601 - version = "1.2.0" 4602 - source = "registry+https://github.com/rust-lang/crates.io-index" 4603 - checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" 4604 4578 4605 4579 [[package]] 4606 4580 name = "static_assertions"
+2 -2
pkgs/development/libraries/libdeltachat/default.nix
··· 19 19 20 20 stdenv.mkDerivation rec { 21 21 pname = "libdeltachat"; 22 - version = "1.119.1"; 22 + version = "1.120.0"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "deltachat"; 26 26 repo = "deltachat-core-rust"; 27 27 rev = "v${version}"; 28 - hash = "sha256-LP5h99qldf9QoRDmo581H+sUx1QsD6nOGt1ES3Fr/6E="; 28 + hash = "sha256-q2Va0NbWwte8wZQWhXiORlYGoFDvuWmQShSRtlwbA6Y="; 29 29 }; 30 30 31 31 patches = [
+4 -4
pkgs/development/python-modules/ipyvue/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "ipyvue"; 11 - version = "1.9.2"; 11 + version = "1.10.0"; 12 12 13 13 disabled = isPy27; 14 14 15 15 src = fetchPypi { 16 16 inherit pname version; 17 - hash = "sha256-2j8qYRXR8nmV5++g4OJn65dq3lypgqo9oxBscNb4eNs="; 17 + hash = "sha256-XPmrGg0SCTiZKMeTCeJywuKaa5ByY9FQTBy+THSJSiQ="; 18 18 }; 19 19 20 20 propagatedBuildInputs = [ ipywidgets ]; ··· 23 23 pythonImportsCheck = [ "ipyvue" ]; 24 24 25 25 meta = with lib; { 26 - description = "Jupyter widgets base for Vue libraries."; 27 - homepage = "https://github.com/mariobuikhuizen/ipyvuetify"; 26 + description = "Jupyter widgets base for Vue libraries"; 27 + homepage = "https://github.com/mariobuikhuizen/ipyvue"; 28 28 license = licenses.mit; 29 29 maintainers = with maintainers; [ drewrisinger ]; 30 30 };
+2 -2
pkgs/development/python-modules/pkutils/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , nose 4 + , nose3 5 5 , pythonOlder 6 6 , pythonRelaxDepsHook 7 7 , semver ··· 34 34 ]; 35 35 36 36 nativeCheckInputs = [ 37 - nose 37 + nose3 38 38 ]; 39 39 40 40 checkPhase = ''
+18 -16
pkgs/development/python-modules/xcffib/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 + , cffi 3 4 , fetchPypi 4 - , fetchpatch 5 + , pytestCheckHook 6 + , pythonOlder 5 7 , xorg 6 - , cffi 7 - , pytestCheckHook 8 8 }: 9 9 10 10 buildPythonPackage rec { 11 - version = "1.2.0"; 12 11 pname = "xcffib"; 12 + version = "1.5.0"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 13 16 14 17 src = fetchPypi { 15 18 inherit pname version; 16 - hash = "sha256-8yMCFEf55zB40hu5KMSPTavq6z87N+gDxta5hzXoFIM="; 19 + hash = "sha256-qVyUZfL5e0/O3mBr0eCEB6Mt9xy3YP1Xv+U2d9tpGsw="; 17 20 }; 18 21 19 - patches = [ 20 - (fetchpatch { 21 - name = "remove-leftover-six-import.patch"; 22 - url = "https://github.com/tych0/xcffib/commit/8a488867d30464913706376ca3a9f4c98ca6c5cf.patch"; 23 - hash = "sha256-wEms0gC7tVqtmKMjjpH/34kdQ6HUV0h67bUGbgijlqw="; 24 - }) 25 - ]; 26 - 27 22 postPatch = '' 28 23 # Hardcode cairo library path 29 24 sed -e 's,ffi\.dlopen(,&"${xorg.libxcb.out}/lib/" + ,' -i xcffib/__init__.py 30 25 ''; 31 26 32 - propagatedBuildInputs = [ cffi ]; 27 + propagatedNativeBuildInputs = [ 28 + cffi 29 + ]; 33 30 34 - propagatedNativeBuildInputs = [ cffi ]; 31 + propagatedBuildInputs = [ 32 + cffi 33 + ]; 35 34 36 35 nativeCheckInputs = [ 37 36 pytestCheckHook ··· 44 43 rm -r xcffib 45 44 ''; 46 45 47 - pythonImportsCheck = [ "xcffib" ]; 46 + pythonImportsCheck = [ 47 + "xcffib" 48 + ]; 48 49 49 50 meta = with lib; { 50 51 description = "A drop in replacement for xpyb, an XCB python binding"; 51 52 homepage = "https://github.com/tych0/xcffib"; 53 + changelog = "https://github.com/tych0/xcffib/releases/tag/v${version}"; 52 54 license = licenses.asl20; 53 55 maintainers = with maintainers; [ kamilchm ]; 54 56 };
+3 -3
pkgs/development/tools/misc/protox/default.nix
··· 5 5 6 6 rustPlatform.buildRustPackage rec { 7 7 pname = "protox"; 8 - version = "0.4.1"; 8 + version = "0.5.0"; 9 9 10 10 src = fetchCrate { 11 11 inherit pname version; 12 - hash = "sha256-n72Fvdo6LLk8pzYS2/5zk+dbsLRPAm6NZ5DsMRyHCTY="; 12 + hash = "sha256-U9+7k7dQ6YFfsKMfFMg34g42qLvn+mcSRlAAys3eXNo="; 13 13 }; 14 14 15 - cargoHash = "sha256-wW4UcC3QAtriLEiXPndP+tZATftWP7ySavpIV6cGVCA="; 15 + cargoHash = "sha256-sNOw19gxj+cEctxhXNWI8u15VJYlN8nSNl6Ha9sB/eE="; 16 16 17 17 buildFeatures = [ "bin" ]; 18 18
+3 -3
pkgs/development/tools/misc/rsonpath/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "rsonpath"; 10 - version = "0.6.1"; 10 + version = "0.7.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "v0ldek"; 14 14 repo = "rsonpath"; 15 15 rev = "v${version}"; 16 - hash = "sha256-3ncaO7B3e4F2LFj1IjHvOyoWXBYQM69vPfPnsBr+tKI="; 16 + hash = "sha256-VzHp5xMzAzo8ZCQyFCb1Igb0deJuZX+PIfs/oIy/zR0="; 17 17 }; 18 18 19 - cargoHash = "sha256-EjifSABhowk3PSQTuAm8+xRYbc0OwdqHMb9o/z1yuP0="; 19 + cargoHash = "sha256-bnG95BgK41YJABqEGAbxg+gHoOksWc9nTChK7aCFK2E="; 20 20 21 21 buildNoDefaultFeatures = !withSimd; 22 22
+3 -3
pkgs/development/tools/rust/specr-transpile/default.nix
··· 5 5 6 6 rustPlatform.buildRustPackage rec { 7 7 pname = "specr-transpile"; 8 - version = "0.1.24"; 8 + version = "0.1.25"; 9 9 10 10 src = fetchCrate { 11 11 inherit pname version; 12 - hash = "sha256-+7NjB87pfFh8472gOV4HoKIqSiHnTCFOEVdKYBsn1qg="; 12 + hash = "sha256-yB4b7VaZ22zk8jhQijBOWRks22TV19q9IQNlVXyBlss="; 13 13 }; 14 14 15 - cargoHash = "sha256-VgEyXm1uSsNJVjUYx66A35vLNxYErTrC8qBhYVlYyH4="; 15 + cargoHash = "sha256-pD+Llzt4ekkQgKGidEL6jIbbFpuqjuFTmQM29FtReTY="; 16 16 17 17 meta = with lib; { 18 18 description = "Converts Specr lang code to Rust";
+2 -2
pkgs/development/tools/skaffold/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "skaffold"; 5 - version = "2.6.3"; 5 + version = "2.7.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "GoogleContainerTools"; 9 9 repo = "skaffold"; 10 10 rev = "v${version}"; 11 - hash = "sha256-Jguy1h1Gb94cHGfXpiUF6A9MsRPA8lg99ej5uDtRp1s="; 11 + hash = "sha256-uKrHWFyHuGX5dzrEvl7x305QgFOraS0L6J7gAFloUYc="; 12 12 }; 13 13 14 14 vendorHash = null;
+3 -3
pkgs/development/web/flyctl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "flyctl"; 5 - version = "0.1.71"; 5 + version = "0.1.84"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "superfly"; 9 9 repo = "flyctl"; 10 10 rev = "v${version}"; 11 - hash = "sha256-0VgXcWWJxm3VBG+GJitL22tHUfXf2pI9MAepqqTVSYo="; 11 + hash = "sha256-StcakZFJxHRY36xuxZm/W9xoEye4HRPfC4dtczeT7nk="; 12 12 }; 13 13 14 - vendorHash = "sha256-h06iAJN3ZkcV1TN2iEY8DEZyu4DEgF+7nF4IXq6fD/4="; 14 + vendorHash = "sha256-cfgI/kJOtH1Ptd1MUHvt+e2ErU5wL+8Xm4cfQ64iAhc="; 15 15 16 16 subPackages = [ "." ]; 17 17
+1 -1
pkgs/test/texlive/default.nix
··· 373 373 # (1) binaries requiring --help or -h 374 374 help = [ "arlatex" "bundledoc" "cachepic" "checklistings" "dvipos" "extractres" "fig4latex" "fragmaster" 375 375 "kpsewhere" "latex-git-log" "ltxfileinfo" "mendex" "perltex" "pn2pdf" "psbook" "psnup" "psresize" "purifyeps" 376 - "simpdftex" "tex2xindy" "texluac" "texluajitc" "urlbst" "yplan" ]; 376 + "simpdftex" "tex2xindy" "texluac" "texluajitc" "upmendex" "urlbst" "yplan" ]; 377 377 shortHelp = [ "adhocfilelist" "authorindex" "bbl2bib" "bibdoiadd" "bibmradd" "biburl2doi" "bibzbladd" "ctanupload" 378 378 "disdvi" "dvibook" "dviconcat" "getmapdl" "latex2man" "listings-ext.sh" "pygmentex" ]; 379 379 # (2) binaries that return non-zero exit code even if correctly asked for help
+2 -2
pkgs/tools/admin/awscli2/default.nix
··· 23 23 in 24 24 with py.pkgs; buildPythonApplication rec { 25 25 pname = "awscli2"; 26 - version = "2.13.13"; # N.B: if you change this, check if overrides are still up-to-date 26 + version = "2.13.15"; # N.B: if you change this, check if overrides are still up-to-date 27 27 format = "pyproject"; 28 28 29 29 src = fetchFromGitHub { 30 30 owner = "aws"; 31 31 repo = "aws-cli"; 32 32 rev = "refs/tags/${version}"; 33 - hash = "sha256-0Wx/Ze6W0Fa8OzM79PFu2liSxl1UwuUqIoYT0WhTk5k="; 33 + hash = "sha256-wxuuEya2uUquRmRmh9M2wJ6dcvCx8kyzk71og9OAJ+c="; 34 34 }; 35 35 36 36 postPatch = ''
+4 -4
pkgs/tools/misc/infracost/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "infracost"; 5 - version = "0.10.28"; 5 + version = "0.10.29"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "infracost"; 9 9 rev = "v${version}"; 10 10 repo = "infracost"; 11 - sha256 = "sha256-Gh/3uPkFEW6HBF4vbmZ00qaWD3FGTs7GUHRlfP3G5fY="; 11 + sha256 = "sha256-xtxTIC7DNTvcDMXtFJOJkJGn78HdzCWVrBMS5Ksmtcc="; 12 12 }; 13 - vendorHash = "sha256-mT214puF9gdrw0mfMPQQtZBdErW6MEJBIilKVo2ym30="; 13 + vendorHash = "sha256-ZKRtUlrEk/W2qZSbsh0ddwmspH6quzzY0cFSQmO0i10="; 14 14 15 15 ldflags = [ "-s" "-w" "-X github.com/infracost/infracost/internal/version.Version=v${version}" ]; 16 16 ··· 62 62 compare different deployment options upfront. 63 63 ''; 64 64 license = licenses.asl20; 65 - maintainers = with maintainers; [ davegallant jk ]; 65 + maintainers = with maintainers; [ davegallant jk kashw2 ]; 66 66 }; 67 67 }
+3 -3
pkgs/tools/misc/shopware-cli/default.nix
··· 9 9 10 10 buildGoModule rec { 11 11 pname = "shopware-cli"; 12 - version = "0.2.6"; 12 + version = "0.2.8"; 13 13 src = fetchFromGitHub { 14 14 repo = "shopware-cli"; 15 15 owner = "FriendsOfShopware"; 16 16 rev = version; 17 - hash = "sha256-Ut/SKdnaJM4B6jXXcRS6UJ1qCEgnZy977qlZbH8S6qU="; 17 + hash = "sha256-ThjSp7WBAWBUXDRN0mJvIb7uWTjYtVa53b+BoWCPuvo="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ installShellFiles makeWrapper ]; 21 21 nativeCheckInputs = [ git ]; 22 22 23 - vendorHash = "sha256-luA+tSePY8V+BQBTykv236mq4z3wQjLrjeYH2KQ0Mrc="; 23 + vendorHash = "sha256-JRzF2eYHnFO/2Tqnc4DMMGSV8gDKDiu8ZjELcn/Wur0="; 24 24 25 25 postInstall = '' 26 26 export HOME="$(mktemp -d)"
+8 -2
pkgs/tools/networking/calendar-cli/default.nix
··· 1 1 { lib 2 2 , python3 3 3 , fetchFromGitHub 4 + , nixosTests 4 5 }: 5 6 6 7 python3.pkgs.buildPythonApplication rec { 7 8 pname = "calendar-cli"; 8 - version = "0.14.1"; 9 + version = "1.0.1"; 9 10 10 11 src = fetchFromGitHub { 11 12 owner = "tobixen"; 12 13 repo = "calendar-cli"; 13 14 rev = "v${version}"; 14 - hash = "sha256-VVE4+qoUam2szbMsdWetq6hyhXoE1V3Pw5j/bYbfGVQ="; 15 + hash = "sha256-w35ySLnfxXZR/a7BrPLYqXs2kqkuYhh5PcgNxJqjDtE="; 15 16 }; 16 17 17 18 propagatedBuildInputs = with python3.pkgs; [ 18 19 icalendar 19 20 caldav 20 21 pytz 22 + pyyaml 21 23 tzlocal 22 24 click 23 25 six ··· 25 27 26 28 # tests require networking 27 29 doCheck = false; 30 + 31 + passthru.tests = { 32 + inherit (nixosTests) radicale; 33 + }; 28 34 29 35 meta = with lib; { 30 36 description = "Simple command-line CalDav client";
+18 -7
pkgs/tools/system/ttop/default.nix
··· 1 - { lib, nimPackages, fetchFromGitHub }: 1 + { lib, nimPackages, fetchFromGitHub, testers }: 2 2 3 3 nimPackages.buildNimPackage (finalAttrs: { 4 4 pname = "ttop"; ··· 14 14 15 15 buildInputs = with nimPackages; [ asciigraph illwill jsony parsetoml zippy ]; 16 16 17 - meta = with lib; 18 - finalAttrs.src.meta // { 19 - description = "Top-like system monitoring tool"; 20 - license = licenses.mit; 21 - platforms = platforms.linux; 22 - maintainers = with maintainers; [ sikmir ]; 17 + nimFlags = [ 18 + "-d:NimblePkgVersion=${finalAttrs.version}" 19 + ]; 20 + 21 + passthru.tests = { 22 + version = testers.testVersion { 23 + package = finalAttrs.finalPackage; 23 24 }; 25 + }; 26 + 27 + meta = with lib; { 28 + description = "Top-like system monitoring tool"; 29 + homepage = "https://github.com/inv2004/ttop"; 30 + changelog = "https://github.com/inv2004/ttop/releases/tag/${finalAttrs.src.rev}"; 31 + license = licenses.mit; 32 + platforms = platforms.linux; 33 + maintainers = with maintainers; [ figsoda sikmir ]; 34 + }; 24 35 })
+2 -2
pkgs/tools/text/gtree/default.nix
··· 7 7 8 8 buildGoModule rec { 9 9 pname = "gtree"; 10 - version = "1.9.6"; 10 + version = "1.9.7"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "ddddddO"; 14 14 repo = "gtree"; 15 15 rev = "v${version}"; 16 - hash = "sha256-eU5mMUDUh5eMzd4oLc0XOHapt1hhODWXQJ+OJAy3tWc="; 16 + hash = "sha256-FXcR8MlLXvfLta0XKw5+AOf5f/mLTL3LiYn6Rm49el8="; 17 17 }; 18 18 19 19 vendorHash = "sha256-QxcDa499XV43p8fstENOtfe3iZ176R5/Ub5iovXlYIM=";
+95 -134
pkgs/tools/typesetting/tex/texlive/bin.nix
··· 7 7 , brotli, cairo, pixman, xorg, clisp, biber, woff2, xxHash 8 8 , makeWrapper, shortenPerlShebang, useFixedHashes, asymptote 9 9 , biber-ms 10 + , tlpdb 10 11 }: 11 12 12 13 # Useful resource covering build options: ··· 21 22 # detect and stop redundant rebuilds that may occur when building new fixed hashes 22 23 assertFixedHash = name: src: 23 24 if ! useFixedHashes || src ? outputHash then src else throw "The TeX Live package '${src.pname}' must have a fixed hash before building '${name}'."; 25 + 26 + # list of packages whose binaries are built in core, core-big 27 + # generated manually by inspecting ${core}/bin 28 + corePackages = [ "afm2pl" "aleph" "autosp" "axodraw2" "bibtex" "cjkutils" 29 + "ctie" "cweb" "detex" "dtl" "dvi2tty" "dvicopy" "dvidvi" "dviljk" 30 + "dviout-util" "dvipdfmx" "dvipos" "dvips" "fontware" "gregoriotex" 31 + "gsftopk" "hitex" "kpathsea" "lacheck" "lcdftypetools" "m-tx" "makeindex" 32 + "mfware" "musixtnt" "omegaware" "patgen" "pdftex" "pdftosrc" "pmx" 33 + "ps2eps" "ps2pk" "psutils" "ptex" "seetexk" "synctex" "t1utils" "tex" 34 + "tex4ht" "texlive-scripts-extra" "texware" "tie" "tpic2pdftex" "ttfutils" 35 + "uptex" "velthuis" "vlna" "web" "xml2pmx" ]; 36 + coreBigPackages = [ "metafont" "mflua" "metapost" "luatex" "luahbtex" 37 + "xetex" ] ++ lib.optional withLuaJIT "luajittex"; 38 + binPackages = lib.getAttrs (corePackages ++ coreBigPackages) tlpdb; 24 39 25 40 common = { 26 41 src = fetchurl { ··· 53 68 54 69 configureFlags = [ 55 70 "--with-banner-add=/nixos.org" 56 - "--disable-missing" "--disable-native-texlive-build" 71 + "--disable-missing" # terminate if a requested program or feature must be 72 + # disabled, e.g., due to missing libraries 73 + "--disable-native-texlive-build" # do not build for the TeX Live binary distribution 57 74 "--enable-shared" # "--enable-cxx-runtime-hack" # static runtime 58 75 "--enable-tex-synctex" 76 + "--disable-texlive" # do not build the texlive (TeX Live scripts) package 77 + "--disable-linked-scripts" # do not install the linked scripts 59 78 "-C" # use configure cache to speed up 60 79 ] 61 80 ++ withSystemLibs [ 62 81 # see "from TL tree" vs. "Using installed" in configure output 63 82 "zziplib" "mpfr" "gmp" 64 83 "pixman" "potrace" "gd" "freetype2" "libpng" "libpaper" "zlib" 65 - ]; 84 + ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 85 + "BUILDCC=${buildPackages.stdenv.cc.targetPrefix}cc"; 66 86 67 - # clean broken links to stuff not built 68 - cleanBrokenLinks = '' 69 - for f in "$out"/bin/*; do 70 - if [[ ! -x "$f" ]]; then rm "$f"; fi 87 + # move binaries to corresponding split outputs, based on content of texlive.tlpdb 88 + binToOutput = lib.listToAttrs 89 + (lib.concatMap 90 + (n: map (v: { name = v; value = builtins.replaceStrings [ "-" ] [ "_" ] n; }) binPackages.${n}.binfiles or [ ]) 91 + (builtins.attrNames binPackages)); 92 + 93 + moveBins = '' 94 + for bin in "$out/bin"/* ; do 95 + bin="''${bin##*/}" 96 + package="''${binToOutput[$bin]}" 97 + if [[ -n "$package" ]] ; then 98 + if [[ -z "''${!package}" ]] ; then 99 + echo "WARNING: missing output '$package' for binary '$bin', leaving in 'out'" 100 + else 101 + mkdir -p "''${!package}"/bin 102 + mv "$out/bin/$bin" "''${!package}"/bin/ 103 + fi 104 + else 105 + echo "WARNING: no output known for binary '$bin', leaving in 'out'" 106 + fi 71 107 done 72 108 ''; 73 109 }; ··· 76 112 withLuaJIT = !(stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) && !stdenv.hostPlatform.isRiscV; 77 113 in rec { # un-indented 78 114 79 - inherit (common) cleanBrokenLinks; 80 115 texliveYear = year; 81 116 82 117 ··· 84 119 pname = "texlive-bin"; 85 120 inherit version; 86 121 87 - inherit (common) src prePatch; 122 + __structuredAttrs = true; 88 123 89 - outputs = [ "out" "doc" "dev" ]; 124 + inherit (common) binToOutput src prePatch; 125 + 126 + outputs = [ "out" "dev" "man" "info" ] 127 + ++ (builtins.map (builtins.replaceStrings [ "-" ] [ "_" ]) corePackages); 90 128 91 129 nativeBuildInputs = [ 92 130 pkg-config 93 - ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ 131 + ] ++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) (with texlive.bin.core; [ 94 132 # configure: error: tangle was not found but is required when cross-compiling. 95 133 # dev (himktables) is used when building hitex to generate the additional source file hitables.c 96 - texlive.bin.core 97 - texlive.bin.core.dev 98 - ]; 134 + web/*tangle*/ cweb/*ctangle*/ omegaware/*otangle*/ tie/*tie*/ # see "Building TeX Live" 6.4.2 Cross problems 135 + dev/*himktables*/ 136 + ]); 99 137 100 138 buildInputs = [ 101 139 /*teckit*/ zziplib mpfr gmp ··· 113 151 114 152 preConfigure = '' 115 153 rm -r libs/{cairo,freetype2,gd,gmp,graphite2,harfbuzz,icu,libpaper,libpng} \ 116 - libs/{lua53,luajit,mpfr,pixman,zlib,zziplib} 154 + libs/{lua53,luajit,mpfr,pixman,pplib,teckit,zlib,zziplib} \ 155 + texk/{bibtex-x,chktex,dvipng,dvisvgm,upmendex,xdvik} \ 156 + utils/{asymptote,texdoctk,xindy,xpdfopen} 117 157 mkdir WorkDir 118 158 cd WorkDir 119 159 ''; ··· 122 162 depsBuildBuild = [ buildPackages.stdenv.cc ]; 123 163 124 164 configureFlags = common.configureFlags 125 - ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ "BUILDCC=${buildPackages.stdenv.cc.targetPrefix}cc" ] 126 165 ++ [ "--without-x" ] # disable xdvik and xpdfopen 127 166 ++ map (what: "--disable-${what}") [ 128 167 "chktex" ··· 137 176 doCheck = false; # triptest fails, likely due to missing TEXMF tree 138 177 preCheck = "patchShebangs ../texk/web2c"; 139 178 140 - installTargets = [ "install" "texlinks" ]; 179 + installTargets = [ "install" ]; 141 180 142 181 # TODO: perhaps improve texmf.cnf search locations 143 182 postInstall = 144 - /* links format -> engine will be regenerated in texlive.combine 145 - note: for unlinking, the texlinks patch is irrelevant, so we use 146 - the included texlinks.sh to avoid the dependency on bin.texlinks */ '' 147 - PATH="$out/bin:$PATH" sh ../texk/texlive/linked_scripts/texlive-extra/texlinks.sh --cnffile "$out/share/texmf-dist/web2c/fmtutil.cnf" --unlink "$out/bin" 148 - '' + /* a few texmf-dist files are useful; take the rest from pkgs */ '' 149 - mv "$out/share/texmf-dist/web2c/texmf.cnf" . 150 - rm -r "$out/share/texmf-dist" 151 - mkdir -p "$out"/share/texmf-dist/{web2c,scripts/texlive/TeXLive} 152 - mv ./texmf.cnf "$out/share/texmf-dist/web2c/" 153 - cp ../texk/tests/TeXLive/*.pm "$out/share/texmf-dist/scripts/texlive/TeXLive/" 154 - cp ../texk/texlive/linked_scripts/scripts.lst "$out/share/texmf-dist/scripts/texlive/" 155 - '' + 156 - (let extraScripts = 157 - '' 158 - tex4ht/ht.sh 159 - tex4ht/htcontext.sh 160 - tex4ht/htcopy.pl 161 - tex4ht/htlatex.sh 162 - tex4ht/htmex.sh 163 - tex4ht/htmove.pl 164 - tex4ht/httex.sh 165 - tex4ht/httexi.sh 166 - tex4ht/htxelatex.sh 167 - tex4ht/htxetex.sh 168 - tex4ht/mk4ht.pl 169 - tex4ht/xhlatex.sh 170 - ''; 171 - in 172 - '' 173 - echo -e 'texmf_scripts="$texmf_scripts\n${extraScripts}"' \ 174 - >> "$out/share/texmf-dist/scripts/texlive/scripts.lst" 175 - '') 176 - + /* doc location identical with individual TeX pkgs */ '' 177 - mkdir -p "$doc/doc" 178 - mv "$out"/share/{man,info} "$doc"/doc 179 - '' + /* remove manpages for utils that live in texlive.texlive-scripts to avoid a conflict in buildEnv */ '' 180 - (cd "$doc"/doc/man/man1; rm {fmtutil-sys.1,fmtutil.1,mktexfmt.1,mktexmf.1,mktexpk.1,mktextfm.1,texhash.1,updmap-sys.1,updmap.1}) 183 + /* remove redundant texmf-dist (content provided by TeX Live packages) */ 184 + '' 185 + rm -fr "$out"/share/texmf-dist 181 186 '' + /* install himktables in separate output for use in cross compilation */ '' 182 187 mkdir -p $dev/bin 183 188 cp texk/web2c/.libs/himktables $dev/bin/himktables 184 - '' + cleanBrokenLinks; 189 + '' + common.moveBins; 185 190 186 - setupHook = ./setup-hook.sh; # TODO: maybe texmf-nix -> texmf (and all references) 187 191 passthru = { inherit version buildInputs; }; 188 192 189 193 meta = with lib; { ··· 196 200 }; 197 201 198 202 199 - inherit (core-big) metafont mflua metapost luatex luahbtex luajittex xetex; 200 - core-big = stdenv.mkDerivation { #TODO: upmendex 203 + inherit (core-big) metafont mflua metapost luatex luahbtex xetex; 204 + luajittex = core.big.luajittex or null; 205 + core-big = stdenv.mkDerivation { 201 206 pname = "texlive-core-big.bin"; 202 207 inherit version; 203 208 204 - inherit (common) src prePatch; 209 + __structuredAttrs = true; 210 + 211 + inherit (common) binToOutput src prePatch; 205 212 206 213 patches = [ 207 214 # improves reproducibility of fmt files. This patch has been proposed upstream, ··· 241 248 inherit (core) nativeBuildInputs depsBuildBuild; 242 249 buildInputs = core.buildInputs ++ [ core cairo harfbuzz icu graphite2 libX11 ]; 243 250 251 + /* deleting the unused packages speeds up configure by a considerable margin 252 + and ensures we do not rebuild existing libraries by mistake */ 253 + preConfigure = '' 254 + rm -r libs/{cairo,freetype2,gd,gmp,graphite2,harfbuzz,icu,libpaper,libpng} \ 255 + libs/{mpfr,pixman,xpdf,zlib,zziplib} \ 256 + texk/{afm2pl,bibtex-x,chktex,cjkutils,detex,dtl,dvi2tty,dvidvi,dviljk,dviout-util} \ 257 + texk/{dvipdfm-x,dvipng,dvipos,dvipsk,dvisvgm,gregorio,gsftopk,kpathsea} \ 258 + texk/{lcdf-typetools,makeindexk,makejvf,mendexk,musixtnt,ps2pk,psutils,ptexenc} \ 259 + texk/{seetexk,tex4htk,texlive,ttf2pk2,ttfdump,xdvik} \ 260 + utils/{asymptote,autosp,axodraw2,devnag,lacheck,m-tx,pmx,ps2eps,t1utils,texdoctk} \ 261 + utils/{tpic2pdftex,vlna,xindy,xml2pmx,xpdfopen} 262 + mkdir WorkDir 263 + cd WorkDir 264 + ''; 265 + 244 266 configureFlags = common.configureFlags 245 267 ++ withSystemLibs [ "kpathsea" "ptexenc" "cairo" "harfbuzz" "icu" "graphite2" ] 246 268 ++ map (prog: "--disable-${prog}") # don't build things we already have 247 - ([ "tex" "ptex" "eptex" "uptex" "euptex" "aleph" "pdftex" 269 + # list from texk/web2c/configure 270 + ([ "tex" "ptex" "eptex" "uptex" "euptex" "aleph" "hitex" "pdftex" 248 271 "web-progs" "synctex" 249 - ] ++ lib.optionals (!withLuaJIT) [ "luajittex" "luajithbtex" "mfluajit" ]); 250 - 251 - configureScript = ":"; 252 - 253 - # we use static libtexlua, because it's only used by a single binary 254 - postConfigure = let 255 - luajit = lib.optionalString withLuaJIT ",luajit"; 256 - in 257 - lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) 258 - # without this, the native builds attempt to use the binary 259 - # ${target-triple}-gcc, but we need to use the wrapper script. 260 - '' 261 - export BUILDCC=${buildPackages.stdenv.cc}/bin/cc 262 - '' 263 - + 264 - '' 265 - mkdir ./WorkDir && cd ./WorkDir 266 - for path in libs/{pplib,teckit,lua53${luajit}} texk/web2c; do 267 - ( 268 - if [[ "$path" =~ "libs/lua" ]]; then 269 - extraConfig="--enable-static --disable-shared" 270 - else 271 - extraConfig="" 272 - fi 273 - '' + lib.optionalString (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) 274 - # results of the tests performed by the configure scripts are 275 - # toolchain-dependent, so native components and cross components cannot use 276 - # the same cached test results. 277 - # Disable the caching for components with native subcomponents. 278 - '' 279 - if [[ "$path" =~ "libs/luajit" ]] || [[ "$path" =~ "texk/web2c" ]]; then 280 - extraConfig="$extraConfig --cache-file=/dev/null" 281 - fi 282 - '' 283 - + 284 - '' 285 - mkdir -p "$path" && cd "$path" 286 - "../../../$path/configure" $configureFlags $extraConfig 272 + ] ++ lib.optionals (!withLuaJIT) [ "luajittex" "luajithbtex" "mfluajit" ]) 273 + /* disable all packages, re-enable upmendex, web2c packages */ 274 + ++ [ "--disable-all-pkgs" "--enable-upmendex" "--enable-web2c" ] 275 + /* kpathsea requires specifying the kpathsea location manually */ 276 + ++ [ "--with-kpathsea-includes=${core.dev}/include" ]; 287 277 288 - if [[ "$path" =~ "libs/luajit" ]] || [[ "$path" =~ "libs/pplib" ]]; then 289 - # ../../../texk/web2c/mfluadir/luapeg/lpeg.h:29:10: fatal error: 'lua.h' file not found 290 - # ../../../texk/web2c/luatexdir/luamd5/md5lib.c:197:10: fatal error: 'utilsha.h' file not found 291 - make ''${enableParallelBuilding:+-j''${NIX_BUILD_CORES}} 292 - fi 293 - ) 294 - done 295 - ''; 278 + configureScript = "../configure"; 296 279 297 - preBuild = "cd texk/web2c"; 298 280 enableParallelBuilding = true; 299 281 300 282 doCheck = false; # fails 301 283 302 - # now distribute stuff into outputs, roughly as upstream TL 303 - # (uninteresting stuff remains in $out, typically duplicates from `core`) 304 - outputs = [ 305 - "out" 306 - "metafont" 307 - "mflua" 308 - "metapost" 309 - "luatex" 310 - "luahbtex" 311 - "luajittex" 312 - "xetex" 313 - ]; 314 - postInstall = '' 315 - for output in $(getAllOutputNames); do 316 - mkdir -p "''${!output}/bin" 317 - done 318 - 319 - mv "$out/bin"/{inimf,mf,mf-nowin} "$metafont/bin/" 320 - mv "$out/bin"/mflua{,-nowin} "$mflua/bin/" 321 - mv "$out/bin"/{*tomp,mfplain,*mpost} "$metapost/bin/" 322 - mv "$out/bin"/{luatex,texlua,texluac} "$luatex/bin/" 323 - mv "$out/bin"/luahbtex "$luahbtex/bin/" 324 - mv "$out/bin"/xetex "$xetex/bin/" 325 - cp ../../libs/teckit/teckit_compile "$xetex/bin/" 326 - '' + lib.optionalString withLuaJIT '' 327 - mv "$out/bin"/mfluajit{,-nowin} "$mflua/bin/" 328 - mv "$out/bin"/{luajittex,luajithbtex,texluajit,texluajitc} "$luajittex/bin/" 329 - '' ; 284 + outputs = [ "out" "dev" "man" "info" ] 285 + ++ (builtins.map (builtins.replaceStrings [ "-" ] [ "_" ]) coreBigPackages) 286 + # some outputs of metapost, omegaware are for ptex/uptex 287 + ++ [ "ptex" "uptex" ] 288 + # unavoidable duplicates from core 289 + ++ [ "ctie" "cweb" "omegaware" "texlive_scripts_extra" "tie" "web" ]; 290 + postInstall = common.moveBins; 330 291 }; 331 292 332 293
+7 -4
pkgs/tools/typesetting/tex/texlive/build-texlive-package.nix
··· 118 118 { 119 119 passthru = commonPassthru // { tlType = "bin"; }; 120 120 inherit meta; 121 - # shebang interpreters 122 - buildInputs = (args.extraBuildInputs or [ ]) ++ [ bash perl ] ++ (lib.attrVals (args.scriptExts or [ ]) extToInput); 121 + # shebang interpreters and compiled binaries 122 + buildInputs = let outName = builtins.replaceStrings [ "-" ] [ "_" ] pname; in 123 + [ texliveBinaries.core.${outName} or null 124 + texliveBinaries.${pname} or null 125 + texliveBinaries.core-big.${outName} or null ] 126 + ++ (args.extraBuildInputs or [ ]) ++ [ bash perl ] 127 + ++ (lib.attrVals (args.scriptExts or [ ]) extToInput); 123 128 nativeBuildInputs = extraNativeBuildInputs; 124 129 # absolute scripts folder 125 130 scriptsFolder = lib.optionalString (run ? outPath) (run.outPath + "/scripts/" + args.scriptsFolder or pname); ··· 127 132 inherit (args) binfiles; 128 133 binlinks = builtins.attrNames (args.binlinks or { }); 129 134 bintargets = builtins.attrValues (args.binlinks or { }); 130 - binfolders = [ (lib.getBin texliveBinaries.core) ] ++ 131 - lib.optional (texliveBinaries ? ${pname}) (lib.getBin texliveBinaries.${pname}); 132 135 # build scripts 133 136 patchScripts = ./patch-scripts.sed; 134 137 makeBinContainers = ./make-bin-containers.sh;
+2 -1
pkgs/tools/typesetting/tex/texlive/default.nix
··· 19 19 withIcu = true; withGraphite2 = true; 20 20 }; 21 21 inherit useFixedHashes; 22 + tlpdb = overriddenTlpdb; 22 23 }; 23 24 24 25 # function for creating a working environment from a set of TL packages ··· 36 37 overriddenTlpdb = let 37 38 overrides = import ./tlpdb-overrides.nix { 38 39 inherit 39 - lib bin tlpdb tlpdbxz tl 40 + stdenv lib bin tlpdb tlpdbxz tl 40 41 installShellFiles 41 42 coreutils findutils gawk getopt ghostscript_headless gnugrep 42 43 gnumake gnupg gnused gzip ncurses perl python3 ruby zip;
+6 -8
pkgs/tools/typesetting/tex/texlive/make-bin-containers.sh
··· 20 20 21 21 output="$out/bin/$binname" 22 22 23 - # look for existing binary from bin.core or bin.${pname} 24 - for folder in $binfolders ; do 25 - target="$folder"/bin/"$binname" 26 - if [[ -f "$target" && -x "$target" ]] ; then 27 - ln -s "$(realpath "$target")" "$output" 28 - continue 2 29 - fi 30 - done 23 + # look for existing binary from bin.* 24 + target="$(PATH="$HOST_PATH" command -v "$binname" || :)" 25 + if [[ -n "$target" && -x "$target" ]] ; then 26 + ln -s "$(realpath "$target")" "$output" 27 + continue 28 + fi 31 29 32 30 # look for scripts 33 31 # the explicit list of extensions avoid non-scripts such as $binname.cmd, $binname.jar, $binname.pm
-7
pkgs/tools/typesetting/tex/texlive/setup-hook.sh
··· 1 - addTeXMFPath () { 2 - if test -d "$1/share/texmf-nix"; then 3 - export TEXINPUTS="${TEXINPUTS}${TEXINPUTS:+:}$1/share/texmf-nix//:" 4 - fi 5 - } 6 - 7 - addEnvHooks "$targetOffset" addTeXMFPath
+11 -21
pkgs/tools/typesetting/tex/texlive/tlpdb-overrides.nix
··· 1 - { lib, tlpdb, bin, tlpdbxz, tl 1 + { stdenv, lib, tlpdb, bin, tlpdbxz, tl 2 2 , installShellFiles 3 3 , coreutils, findutils, gawk, getopt, ghostscript_headless, gnugrep 4 4 , gnumake, gnupg, gnused, gzip, ncurses, perl, python3, ruby, zip ··· 13 13 # so we remove them from binfiles, and add back the ones texlinks purposefully ignore (e.g. mptopdf) 14 14 removeFormatLinks = lib.mapAttrs (_: attrs: 15 15 if (attrs ? formats && attrs ? binfiles) 16 - then let formatLinks = lib.catAttrs "name" (lib.filter (f: f.name != f.engine) attrs.formats); 16 + # TLPDB reports erroneously that various metafont binaries like "mf" are format links to engines 17 + # like "mf-nowin"; core-big provides both binaries and links so we simply skip them here 18 + then let formatLinks = lib.catAttrs "name" (lib.filter (f: f.name != f.engine && ! lib.hasSuffix "-nowin" f.engine) attrs.formats); 17 19 binNotFormats = lib.subtractLists formatLinks attrs.binfiles; 18 20 in if binNotFormats != [] then attrs // { binfiles = binNotFormats; } else removeAttrs attrs [ "binfiles" ] 19 21 else attrs); ··· 104 106 105 107 # remove man 106 108 texlive-scripts.binfiles = lib.remove "man" orig.texlive-scripts.binfiles; 107 - 108 - # upmendex is "TODO" in bin.nix 109 - uptex.binfiles = lib.remove "upmendex" orig.uptex.binfiles; 110 - 111 109 # xindy is broken on some platforms unfortunately 112 110 xindy.binfiles = if bin ? xindy 113 111 then lib.subtractLists [ "xindy.mem" "xindy.run" ] orig.xindy.binfiles ··· 122 120 epstopdf.binlinks.repstopdf = "epstopdf"; 123 121 pdfcrop.binlinks.rpdfcrop = "pdfcrop"; 124 122 125 - ptex.binlinks = { 126 - pdvitomp = bin.metapost + "/bin/pdvitomp"; 127 - pmpost = bin.metapost + "/bin/pmpost"; 128 - r-pmpost = bin.metapost + "/bin/r-pmpost"; 129 - }; 130 - 131 123 texdef.binlinks = { 132 124 latexdef = "texdef"; 133 125 }; ··· 141 133 allec = "allcm"; 142 134 kpsepath = "kpsetool"; 143 135 kpsexpand = "kpsetool"; 144 - }; 145 - 146 - # metapost binaries are in bin.metapost instead of bin.core 147 - uptex.binlinks = { 148 - r-upmpost = bin.metapost + "/bin/r-upmpost"; 149 - updvitomp = bin.metapost + "/bin/updvitomp"; 150 - upmpost = bin.metapost + "/bin/upmpost"; 151 136 }; 152 137 153 138 #### add PATH dependencies without wrappers ··· 340 325 341 326 #### misc 342 327 328 + # RISC-V: https://github.com/LuaJIT/LuaJIT/issues/628 329 + luajittex.binfiles = lib.optionals 330 + (!(stdenv.hostPlatform.isPower && stdenv.hostPlatform.is64bit) && !stdenv.hostPlatform.isRiscV) 331 + orig.luajittex.binfiles; 332 + 343 333 # tlpdb lists license as "unknown", but the README says lppl13: http://mirrors.ctan.org/language/arabic/arabi-add/README 344 334 arabi-add.license = [ "lppl13c" ]; 345 335 ··· 362 352 mkdir -p support/texdoc 363 353 touch support/texdoc/NEWS 364 354 365 - TEXMFCNF="${bin.core}"/share/texmf-dist/web2c TEXMF="$out" TEXDOCS=. TEXMFVAR=. \ 355 + TEXMFCNF="${lib.head tl.kpathsea.pkgs}/web2c" TEXMF="$out" TEXDOCS=. TEXMFVAR=. \ 366 356 "${bin.luatex}"/bin/texlua "$out"/scripts/texdoc/texdoc.tlu \ 367 357 -c texlive_tlpdb=texlive.tlpdb -lM texdoc 368 358 ··· 372 362 373 363 # install zsh completion 374 364 postFixup = '' 375 - TEXMFCNF="${bin.core}"/share/texmf-dist/web2c TEXMF="$scriptsFolder/../.." \ 365 + TEXMFCNF="${lib.head tl.kpathsea.pkgs}"/web2c TEXMF="$scriptsFolder/../.." \ 376 366 texlua "$out"/bin/texdoc --print-completion zsh > "$TMPDIR"/_texdoc 377 367 substituteInPlace "$TMPDIR"/_texdoc \ 378 368 --replace 'compdef __texdoc texdoc' '#compdef texdoc' \
+60
pkgs/tools/wayland/wleave/default.nix
··· 1 + { lib 2 + , fetchFromGitHub 3 + , rustPlatform 4 + , at-spi2-atk 5 + , pkg-config 6 + , glib 7 + , gtk3 8 + , gtk-layer-shell 9 + , installShellFiles 10 + , scdoc 11 + }: 12 + 13 + rustPlatform.buildRustPackage rec { 14 + pname = "wleave"; 15 + version = "0.3.0"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "AMNatty"; 19 + repo = "wleave"; 20 + rev = version; 21 + hash = "sha256-qo9HnaWYsNZH1J8lAyKSwAOyvlCvIsh9maioatjtGkg="; 22 + }; 23 + 24 + cargoHash = "sha256-6Gppf1upWoMi+gcRSeQ1txSglAaBbpOXKs2LoJhslPQ="; 25 + 26 + nativeBuildInputs = [ 27 + pkg-config 28 + installShellFiles 29 + scdoc 30 + ]; 31 + 32 + buildInputs = [ 33 + at-spi2-atk 34 + gtk3 35 + gtk-layer-shell 36 + glib 37 + ]; 38 + 39 + postInstall = '' 40 + for f in man/*.scd; do 41 + local page="man/$(basename "$f" .scd)" 42 + scdoc < "$f" > "$page" 43 + installManPage "$page" 44 + done 45 + 46 + installShellCompletion --cmd wleave \ 47 + --bash <(cat completions/wleave.bash) \ 48 + --fish <(cat completions/wleave.fish) \ 49 + --zsh <(cat completions/_wleave) 50 + ''; 51 + 52 + meta = with lib; { 53 + description = "A Wayland-native logout script written in GTK3"; 54 + homepage = "https://github.com/AMNatty/wleave"; 55 + license = licenses.mit; 56 + mainProgram = "wleave"; 57 + maintainers = with maintainers; [ ludovicopiero ]; 58 + platforms = platforms.linux; 59 + }; 60 + }
+4
pkgs/top-level/all-packages.nix
··· 4798 4798 4799 4799 wl-screenrec = callPackage ../tools/wayland/wl-screenrec { }; 4800 4800 4801 + wleave = callPackage ../tools/wayland/wleave { }; 4802 + 4801 4803 wlogout = callPackage ../tools/wayland/wlogout { }; 4802 4804 4803 4805 wlopm = callPackage ../tools/wayland/wlopm { }; ··· 34381 34383 }; 34382 34384 34383 34385 yambar = callPackage ../applications/misc/yambar { }; 34386 + 34387 + yambar-hyprland-wses = callPackage ../applications/misc/yambar-hyprland-wses { }; 34384 34388 34385 34389 polyphone = libsForQt5.callPackage ../applications/audio/polyphone { }; 34386 34390