about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/spice-protocol
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/spice-protocol')
-rw-r--r--nixpkgs/pkgs/development/libraries/spice-protocol/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/spice-protocol/default.nix b/nixpkgs/pkgs/development/libraries/spice-protocol/default.nix
new file mode 100644
index 000000000000..07b670a2718f
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/spice-protocol/default.nix
@@ -0,0 +1,24 @@
+{ 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.linux;
+  };
+}