Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
35 lines
652 B
Nix
35 lines
652 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
meson,
|
|
ninja,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "spice-protocol";
|
|
version = "0.14.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-uvWESfbonRn0dYma1fuRlv3EbAPMUyM/TjnPKXj5z/c=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
];
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/lib
|
|
ln -sv ../share/pkgconfig $out/lib/pkgconfig
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Protocol headers for the SPICE protocol";
|
|
homepage = "https://www.spice-space.org/";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|