ashpd-demo: 0.4.0 → 0.5.0

https://github.com/bilelmoussaoui/ashpd/compare/0.4.0-demo...0.5.0-demo

Changelog-Reviewed-By: Jan Tojnar <jtojnar@gmail.com>

+37 -3
+37 -3
pkgs/by-name/as/ashpd-demo/package.nix
··· 17 17 wayland, 18 18 wrapGAppsHook4, 19 19 desktop-file-utils, 20 + gitUpdater, 21 + common-updater-scripts, 22 + _experimental-update-script-combinators, 20 23 }: 21 24 22 25 stdenv.mkDerivation (finalAttrs: { 23 26 pname = "ashpd-demo"; 24 - version = "0.4.1"; 27 + version = "0.5.0"; 25 28 26 29 src = fetchFromGitHub { 27 30 owner = "bilelmoussaoui"; 28 31 repo = "ashpd"; 29 32 rev = "${finalAttrs.version}-demo"; 30 - hash = "sha256-fIyJEUcyTcjTbBycjuJb99wALQelMT7Zq6PHKcL2F80="; 33 + hash = "sha256-0IGqA8PM6I2p4/MrptkdSWIZThMoeaMsdMc6tVTI2MU="; 31 34 }; 32 35 33 36 cargoDeps = rustPlatform.fetchCargoVendor { 34 37 src = "${finalAttrs.src}/ashpd-demo"; 35 - hash = "sha256-iluV24uSEHDcYi6pO2HNrKs4ShwFvZ/ryv8ioopaNMI="; 38 + hash = "sha256-kUEzVBk8dKXCQdHFJJS633CBG1F57TIxJg1xApMwzbI="; 36 39 }; 37 40 38 41 nativeBuildInputs = [ ··· 62 65 postPatch = '' 63 66 cd ashpd-demo 64 67 ''; 68 + 69 + passthru = { 70 + updateScript = 71 + let 72 + updateSource = gitUpdater { 73 + url = finalAttrs.src.gitRepoUrl; 74 + rev-suffix = "-demo"; 75 + }; 76 + 77 + updateLockfile = { 78 + command = [ 79 + "sh" 80 + "-c" 81 + '' 82 + PATH=${ 83 + lib.makeBinPath [ 84 + common-updater-scripts 85 + ] 86 + } 87 + update-source-version ashpd-demo --ignore-same-version --source-key=cargoDeps.vendorStaging > /dev/null 88 + '' 89 + ]; 90 + # Experimental feature: do not copy! 91 + supportedFeatures = [ "silent" ]; 92 + }; 93 + in 94 + _experimental-update-script-combinators.sequence [ 95 + updateSource 96 + updateLockfile 97 + ]; 98 + }; 65 99 66 100 meta = with lib; { 67 101 description = "Tool for playing with XDG desktop portals";