lol

ashpd-demo: 0.2.2 → 0.3.0

https://github.com/bilelmoussaoui/ashpd/compare/0.2.2...0.3.0-demo

Remove update script since it cannot deal with monorepo tags (we only want tags with -demo suffix).

+14 -23
+14 -23
pkgs/development/tools/ashpd-demo/default.nix
··· 21 21 , desktop-file-utils 22 22 }: 23 23 24 - stdenv.mkDerivation rec { 24 + stdenv.mkDerivation (finalAttrs: { 25 25 pname = "ashpd-demo"; 26 - version = "0.2.2"; 26 + version = "0.3.0"; 27 27 28 - src = 29 - let 30 - share = fetchFromGitHub { 31 - owner = "bilelmoussaoui"; 32 - repo = "ashpd"; 33 - rev = version; 34 - sha256 = "9O6XqM4oys/hXgztQQ8tTobJV8U52db/VY6FlTMUvGY="; 35 - }; 36 - in 37 - "${share}/ashpd-demo"; 28 + src = fetchFromGitHub { 29 + owner = "bilelmoussaoui"; 30 + repo = "ashpd"; 31 + rev = "${finalAttrs.version}-demo"; 32 + hash = "sha256-isc0+Mke6XeCCLiuxnjHqrnlGqYuQnmcU1acM14UOno="; 33 + }; 38 34 39 35 cargoDeps = rustPlatform.fetchCargoTarball { 40 - inherit src; 41 - name = "${pname}-${version}"; 42 - hash = "sha256-eFq42m16zzrUBbAqv7BsAf4VxyO93WynLjvIzKbZwnQ="; 36 + src = "${finalAttrs.src}/ashpd-demo"; 37 + hash = "sha256-9L/WFL2fLCRahjGCVdgV+3HfDMrntdIWcuuOJbzdPiI="; 43 38 }; 44 39 45 40 nativeBuildInputs = [ ··· 66 61 libshumate 67 62 ]; 68 63 69 - # FIXME: workaround for Pipewire 0.3.64 deprecated API change, remove when fixed upstream 70 - # https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/55 71 - env.NIX_CFLAGS_COMPILE = toString [ "-DPW_ENABLE_DEPRECATED" ]; 72 - 73 - passthru = { 74 - updateScript = nix-update-script { }; 75 - }; 64 + postPatch = '' 65 + cd ashpd-demo 66 + ''; 76 67 77 68 meta = with lib; { 78 69 description = "Tool for playing with XDG desktop portals"; ··· 81 72 maintainers = with maintainers; [ jtojnar ]; 82 73 platforms = platforms.linux; 83 74 }; 84 - } 75 + })