nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5}:
6
7stdenv.mkDerivation (finalAttrs: {
8 pname = "amoeba-data";
9 version = "1.1";
10
11 src = fetchurl {
12 url = "http://http.debian.net/debian/pool/non-free/a/amoeba-data/amoeba-data_${finalAttrs.version}.orig.tar.gz";
13 hash = "sha256-b0kwUVC5U1/aygGvpCgD1SLy+i/1c5vkIsEOs0Om7K0=";
14 };
15
16 installPhase = ''
17 mkdir -p $out/share/amoeba
18 cp demo.dat $out/share/amoeba/
19 '';
20
21 meta = {
22 description = "Fast-paced, polished OpenGL demonstration by Excess (data files)";
23 homepage = "https://packages.qa.debian.org/a/amoeba-data.html";
24 license = lib.licenses.unfree;
25 maintainers = with lib.maintainers; [ dezgeg ];
26 platforms = lib.platforms.all;
27 };
28})