2024-06-30 08:12:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
meson,
|
|
|
|
ninja,
|
|
|
|
}:
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "spice-protocol";
|
|
|
|
version = "0.14.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "sha256-BP+6YQ2f1EHPxH36oTXXAJbmCxBG0hGdjbL46g0X2RI=";
|
|
|
|
};
|
|
|
|
|
2024-06-30 08:12:46 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
2024-05-02 00:46:19 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
maintainers = with maintainers; [ bluescreen303 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|