2021-04-16 13:55:22 +01:00
|
|
|
{ lib, stdenv, fetchurl, meson, ninja }:
|
2012-08-27 23:36:16 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-02 02:39:45 +01:00
|
|
|
pname = "spice-protocol";
|
2021-04-16 13:55:22 +01:00
|
|
|
version = "0.14.3";
|
2012-08-27 23:36:16 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-16 13:55:22 +01:00
|
|
|
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "0yj8k7gcirrsf21w0q6146n5g4nzn2pqky4p90n5760m5ayfb1pr";
|
2012-08-27 23:36:16 +01:00
|
|
|
};
|
|
|
|
|
2021-04-16 13:55:22 +01:00
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
|
2015-09-18 19:16:44 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/lib
|
|
|
|
ln -sv ../share/pkgconfig $out/lib/pkgconfig
|
|
|
|
'';
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Protocol headers for the SPICE protocol";
|
2020-03-09 22:44:06 +00:00
|
|
|
homepage = "https://www.spice-space.org/";
|
2014-09-01 08:47:42 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ bluescreen303 ];
|
2021-03-12 05:22:20 +00:00
|
|
|
platforms = platforms.all;
|
2012-08-27 23:36:16 +01:00
|
|
|
};
|
|
|
|
}
|