Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: dms-shell 0 -> 1 attrpath: dms-shell Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] skipping because derivation has updateScript [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/yi7jn710jaxlzaw24s7bawx7jhqdgzig-packages.json.drv building '/nix/store/yi7jn710jaxlzaw24s7bawx7jhqdgzig-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - dms-shell-1.5.3 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - dms-shell-1.5.3: UPDATING ... - dms-shell-1.5.3: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/dm/dms-shell/package.nix b/pkgs/by-name/dm/dms-shell/package.nix index 4df1740c2c12..ad1f6a78c4ea 100644 --- a/pkgs/by-name/dm/dms-shell/package.nix +++ b/pkgs/by-name/dm/dms-shell/package.nix @@ -28,18 +28,18 @@ buildGoModule ( in { pname = "dms-shell"; - version = "1.5.3"; + version = "1.6.1"; src = fetchFromGitHub { owner = "AvengeMedia"; repo = "DankMaterialShell"; tag = "v${finalAttrs.version}"; - hash = "sha256-aTNuC9NDBnYAeEtFsleeUwmGX3AZlKOutbl+LQRPkmQ="; + hash = "sha256-Uvp+jbeSoi95wzxeimwsVIIQ17Cf2yY6Lct05Ng3SN0="; }; sourceRoot = "${finalAttrs.src.name}/core"; - vendorHash = "sha256-nvxFHQhOfBGl3h51fgYDb39K0NCj+H8mAEyKr1qOwJQ="; + vendorHash = "sha256-Ls6Dquwt0fzDCEjZ6FfTsZTXDI8408mFdByv/OWHVgI="; ldflags = [ "-s" No auto update branch exists Old version 1.5.3" not present in master derivation file with contents: { lib, buildGoModule, fetchFromGitHub, installShellFiles, makeWrapper, nix-update-script, coreutils, fprintd, kdePackages, pam, pam_u2f, qt6, }: buildGoModule ( finalAttrs: let qmlPkgs = with kdePackages; [ kirigami.unwrapped sonnet qtmultimedia qtimageformats kimageformats ]; qmlImportPath = lib.concatStringsSep ":" (map (o: "${o}/${qt6.qtbase.qtQmlPrefix}") qmlPkgs); qtPluginPath = lib.concatStringsSep ":" (map (o: "${o}/${qt6.qtbase.qtPluginPrefix}") qmlPkgs); in { pname = "dms-shell"; version = "1.6.1"; src = fetchFromGitHub { owner = "AvengeMedia"; repo = "DankMaterialShell"; tag = "v${finalAttrs.version}"; fetchSubmodules = true; hash = "sha256-q8ciRRLhTMKsGl7OPU8v5sqToY64Fm61SeIHYOAEyjI="; }; sourceRoot = "${finalAttrs.src.name}/core"; vendorHash = "sha256-Ls6Dquwt0fzDCEjZ6FfTsZTXDI8408mFdByv/OWHVgI="; tags = [ "withshell" ]; ldflags = [ "-s" "-w" "-X main.Version=${finalAttrs.version}" ]; subPackages = [ "cmd/dms" ]; nativeBuildInputs = [ installShellFiles makeWrapper ]; preBuild = '' chmod -R u+w ../quickshell substituteInPlace ../quickshell/assets/pam/fprint \ --replace-fail pam_fprintd.so ${fprintd}/lib/security/pam_fprintd.so \ --replace-fail pam_deny.so ${pam}/lib/security/pam_deny.so \ --replace-fail pam_permit.so ${pam}/lib/security/pam_permit.so substituteInPlace ../quickshell/assets/pam/u2f \ --replace-fail pam_u2f.so ${pam_u2f}/lib/security/pam_u2f.so \ --replace-fail pam_deny.so ${pam}/lib/security/pam_deny.so \ --replace-fail pam_permit.so ${pam}/lib/security/pam_permit.so substituteInPlace ../quickshell/assets/pam/other \ --replace-fail pam_deny.so ${pam}/lib/security/pam_deny.so make sync-shell ''; postInstall = '' install -D ${finalAttrs.src}/assets/dms-open.desktop \ $out/share/applications/dms-open.desktop install -D ${finalAttrs.src}/assets/com.danklinux.dms.desktop \ $out/share/applications/com.danklinux.dms.desktop install -D ${finalAttrs.src}/assets/com.danklinux.dms.notepad.desktop \ $out/share/applications/com.danklinux.dms.notepad.desktop install -D ${finalAttrs.src}/core/assets/danklogo.svg \ $out/share/hicolor/scalable/apps/danklogo.svg wrapProgram $out/bin/dms \ --run 'export DMS_ORIG_NIXPKGS_QT6_QML_IMPORT_PATH="''${NIXPKGS_QT6_QML_IMPORT_PATH:-}"' \ --run 'export DMS_ORIG_QT_PLUGIN_PATH="''${QT_PLUGIN_PATH:-}"' \ --prefix "NIXPKGS_QT6_QML_IMPORT_PATH" ":" "${qmlImportPath}" \ --prefix "QT_PLUGIN_PATH" ":" "${qtPluginPath}" install -Dm644 ${finalAttrs.src}/assets/systemd/dms.service \ $out/lib/systemd/user/dms.service substituteInPlace $out/lib/systemd/user/dms.service \ --replace-fail /usr/bin/dms $out/bin/dms \ --replace-fail /bin/kill ${coreutils}/bin/kill installShellCompletion --cmd dms \ --bash <($out/bin/dms completion bash) \ --fish <($out/bin/dms completion fish) \ --zsh <($out/bin/dms completion zsh) ''; passthru = { updateScript = nix-update-script { }; }; meta = { description = "DankMaterialShell - Desktop shell for wayland compositors built with Quickshell & GO"; homepage = "https://danklinux.com"; changelog = "https://github.com/AvengeMedia/DankMaterialShell/releases/tag/v${finalAttrs.version}"; license = lib.licenses.mit; teams = [ lib.teams.danklinux ]; mainProgram = "dms"; platforms = lib.platforms.linux; }; } )