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

27 lines
687 B
Nix
Raw Normal View History

2021-04-16 13:55:22 +01:00
{ lib, stdenv, fetchurl, meson, ninja }:
2012-08-27 23:36:16 +01:00
stdenv.mkDerivation rec {
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
'';
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 08:47:42 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ bluescreen303 ];
platforms = platforms.all;
2012-08-27 23:36:16 +01:00
};
}