nixpkgs/pkgs/development/libraries/spice-protocol/default.nix

27 lines
687 B
Nix
Raw Permalink Normal View History

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