mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
27 lines
686 B
Nix
27 lines
686 B
Nix
{ lib, stdenv, fetchurl, meson, ninja }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "spice-protocol";
|
|
version = "0.14.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.spice-space.org/download/releases/${pname}-${version}.tar.xz";
|
|
sha256 = "sha256-BP+6YQ2f1EHPxH36oTXXAJbmCxBG0hGdjbL46g0X2RI=";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
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;
|
|
};
|
|
}
|