core/pkgs/by-name/sp/spice-protocol/default.nix

28 lines
692 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{ lib, stdenv, fetchurl, meson, ninja }:
stdenv.mkDerivation rec {
pname = "spice-protocol";
version = "0.14.4";
src = fetchurl {
2024-05-13 21:24:10 +00:00
url =
"https://www.spice-space.org/download/releases/${pname}-${version}.tar.xz";
2024-05-02 00:46:19 +00:00
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;
};
}