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 wayland, 18 wrapGAppsHook4, 19 desktop-file-utils, 20 }: 21 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "ashpd-demo"; 24 - version = "0.4.1"; 25 26 src = fetchFromGitHub { 27 owner = "bilelmoussaoui"; 28 repo = "ashpd"; 29 rev = "${finalAttrs.version}-demo"; 30 - hash = "sha256-fIyJEUcyTcjTbBycjuJb99wALQelMT7Zq6PHKcL2F80="; 31 }; 32 33 cargoDeps = rustPlatform.fetchCargoVendor { 34 src = "${finalAttrs.src}/ashpd-demo"; 35 - hash = "sha256-iluV24uSEHDcYi6pO2HNrKs4ShwFvZ/ryv8ioopaNMI="; 36 }; 37 38 nativeBuildInputs = [ ··· 62 postPatch = '' 63 cd ashpd-demo 64 ''; 65 66 meta = with lib; { 67 description = "Tool for playing with XDG desktop portals";
··· 17 wayland, 18 wrapGAppsHook4, 19 desktop-file-utils, 20 + gitUpdater, 21 + common-updater-scripts, 22 + _experimental-update-script-combinators, 23 }: 24 25 stdenv.mkDerivation (finalAttrs: { 26 pname = "ashpd-demo"; 27 + version = "0.5.0"; 28 29 src = fetchFromGitHub { 30 owner = "bilelmoussaoui"; 31 repo = "ashpd"; 32 rev = "${finalAttrs.version}-demo"; 33 + hash = "sha256-0IGqA8PM6I2p4/MrptkdSWIZThMoeaMsdMc6tVTI2MU="; 34 }; 35 36 cargoDeps = rustPlatform.fetchCargoVendor { 37 src = "${finalAttrs.src}/ashpd-demo"; 38 + hash = "sha256-kUEzVBk8dKXCQdHFJJS633CBG1F57TIxJg1xApMwzbI="; 39 }; 40 41 nativeBuildInputs = [ ··· 65 postPatch = '' 66 cd ashpd-demo 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 + }; 99 100 meta = with lib; { 101 description = "Tool for playing with XDG desktop portals";