about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/amoeba/data.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/amoeba/data.nix')
-rw-r--r--nixpkgs/pkgs/games/amoeba/data.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/amoeba/data.nix b/nixpkgs/pkgs/games/amoeba/data.nix
new file mode 100644
index 000000000000..193c710b31a1
--- /dev/null
+++ b/nixpkgs/pkgs/games/amoeba/data.nix
@@ -0,0 +1,24 @@
+{ lib, stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  pname = "amoeba-data";
+  version = "1.1";
+
+  src = fetchurl {
+    url = "http://http.debian.net/debian/pool/non-free/a/amoeba-data/amoeba-data_${version}.orig.tar.gz";
+    sha256 = "1bgclr1v63n14bj9nwzm5zxg48nm0cla9bq1rbd5ylxra18k0jbg";
+  };
+
+  installPhase = ''
+    mkdir -p $out/share/amoeba
+    cp demo.dat $out/share/amoeba/
+  '';
+
+  meta = with lib; {
+    description = "Fast-paced, polished OpenGL demonstration by Excess (data files)";
+    homepage = "https://packages.qa.debian.org/a/amoeba-data.html";
+    license = licenses.unfree;
+    maintainers = [ maintainers.dezgeg ];
+    platforms = platforms.all;
+  };
+}