2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2018-04-24 16:15:12 +02:00
|
|
|
, fetchurl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "polytopes_db";
|
|
|
|
version = "20170220";
|
|
|
|
|
|
|
|
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/"
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-04-24 16:15:12 +02:00
|
|
|
description = "Reflexive polytopes database";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
2020-11-17 20:41:33 +01:00
|
|
|
maintainers = teams.sage.members;
|
2018-04-24 16:15:12 +02:00
|
|
|
};
|
|
|
|
}
|