lol
1{ lib, stdenv, fetchurl, meson, ninja }:
2
3stdenv.mkDerivation rec {
4 pname = "spice-protocol";
5 version = "0.14.3";
6
7 src = fetchurl {
8 url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.xz";
9 sha256 = "0yj8k7gcirrsf21w0q6146n5g4nzn2pqky4p90n5760m5ayfb1pr";
10 };
11
12 nativeBuildInputs = [ meson ninja ];
13
14 postInstall = ''
15 mkdir -p $out/lib
16 ln -sv ../share/pkgconfig $out/lib/pkgconfig
17 '';
18
19 meta = with lib; {
20 description = "Protocol headers for the SPICE protocol";
21 homepage = "https://www.spice-space.org/";
22 license = licenses.bsd3;
23 maintainers = with maintainers; [ bluescreen303 ];
24 platforms = platforms.all;
25 };
26}