nixpkgs/pkgs/development/libraries/spice-protocol/default.nix
2021-03-12 13:05:00 +07:00

25 lines
634 B
Nix

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "spice-protocol";
version = "0.14.1";
src = fetchurl {
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.bz2";
sha256 = "0ahk5hlanwhbc64r80xmchdav3ls156cvh9l68a0l22bhdhxmrkr";
};
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;
};
}