1{ stdenv, fetchurl }:
2
3stdenv.mkDerivation rec {
4 name = "spice-protocol-0.12.13";
5
6 src = fetchurl {
7 url = "http://www.spice-space.org/download/releases/${name}.tar.bz2";
8 sha256 = "0cwrgkp558mblcf4vrhacb3iizz12khsrrl82w38w9nj0ar13vl9";
9 };
10
11 postInstall = ''
12 mkdir -p $out/lib
13 ln -sv ../share/pkgconfig $out/lib/pkgconfig
14 '';
15
16 meta = with stdenv.lib; {
17 description = "Protocol headers for the SPICE protocol";
18 homepage = http://www.spice-space.org;
19 license = licenses.bsd3;
20 maintainers = with maintainers; [ bluescreen303 ];
21 platforms = platforms.linux;
22 };
23}