2021-04-18 02:13:31 +00:00
|
|
|
{ lib, stdenv, fetchurl, meson, ninja }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "spice-protocol";
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "0.14.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-18 02:13:31 +00:00
|
|
|
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.xz";
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-BP+6YQ2f1EHPxH36oTXXAJbmCxBG0hGdjbL46g0X2RI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-04-18 02:13:31 +00:00
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/lib
|
|
|
|
ln -sv ../share/pkgconfig $out/lib/pkgconfig
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Protocol headers for the SPICE protocol";
|
|
|
|
homepage = "https://www.spice-space.org/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ bluescreen303 ];
|
2021-03-15 08:37:03 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|