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).
This commit is contained in:
parent
8bf1967964
commit
a771af8900
|
@ -21,25 +21,20 @@
|
||||||
, desktop-file-utils
|
, desktop-file-utils
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "ashpd-demo";
|
pname = "ashpd-demo";
|
||||||
version = "0.2.2";
|
version = "0.3.0";
|
||||||
|
|
||||||
src =
|
src = fetchFromGitHub {
|
||||||
let
|
owner = "bilelmoussaoui";
|
||||||
share = fetchFromGitHub {
|
repo = "ashpd";
|
||||||
owner = "bilelmoussaoui";
|
rev = "${finalAttrs.version}-demo";
|
||||||
repo = "ashpd";
|
hash = "sha256-isc0+Mke6XeCCLiuxnjHqrnlGqYuQnmcU1acM14UOno=";
|
||||||
rev = version;
|
};
|
||||||
sha256 = "9O6XqM4oys/hXgztQQ8tTobJV8U52db/VY6FlTMUvGY=";
|
|
||||||
};
|
|
||||||
in
|
|
||||||
"${share}/ashpd-demo";
|
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
inherit src;
|
src = "${finalAttrs.src}/ashpd-demo";
|
||||||
name = "${pname}-${version}";
|
hash = "sha256-9L/WFL2fLCRahjGCVdgV+3HfDMrntdIWcuuOJbzdPiI=";
|
||||||
hash = "sha256-eFq42m16zzrUBbAqv7BsAf4VxyO93WynLjvIzKbZwnQ=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -66,13 +61,9 @@ stdenv.mkDerivation rec {
|
||||||
libshumate
|
libshumate
|
||||||
];
|
];
|
||||||
|
|
||||||
# FIXME: workaround for Pipewire 0.3.64 deprecated API change, remove when fixed upstream
|
postPatch = ''
|
||||||
# https://gitlab.freedesktop.org/pipewire/pipewire-rs/-/issues/55
|
cd ashpd-demo
|
||||||
env.NIX_CFLAGS_COMPILE = toString [ "-DPW_ENABLE_DEPRECATED" ];
|
'';
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = nix-update-script { };
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool for playing with XDG desktop portals";
|
description = "Tool for playing with XDG desktop portals";
|
||||||
|
@ -81,4 +72,4 @@ stdenv.mkDerivation rec {
|
||||||
maintainers = with maintainers; [ jtojnar ];
|
maintainers = with maintainers; [ jtojnar ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue