3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/misc/polytopes_db/default.nix
2018-06-30 01:20:45 +02:00

27 lines
612 B
Nix

{ stdenv
, fetchurl
}:
stdenv.mkDerivation rec {
pname = "polytopes_db";
version = "20170220";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2";
sha256 = "1q0cd811ilhax4dsj9y5p7z8prlalqr7k9mzq178c03frbgqny6b";
};
installPhase = ''
mkdir -p "$out/share/reflexive_polytopes"
cp -R * "$out/share/reflexive_polytopes/"
'';
meta = with stdenv.lib; {
description = "Reflexive polytopes database";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = with maintainers; [ timokau ];
};
}