nixpkgs-suyu/pkgs/data/misc/graphs/default.nix

26 lines
524 B
Nix
Raw Normal View History

{ lib, stdenv
2018-04-24 16:10:46 +02:00
, fetchurl
}:
stdenv.mkDerivation rec {
pname = "graphs";
version = "20161026";
src = fetchurl {
url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2";
sha256 = "0a2b5lly9nifphvknz88rrhfbbc8vqnlqcv19zdpfq8h8nnyjbb2";
};
installPhase = ''
mkdir -p "$out/share/graphs"
cp * "$out/share/graphs/"
'';
meta = with lib; {
2018-04-24 16:10:46 +02:00
description = "A database of graphs";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = teams.sage.members;
2018-04-24 16:10:46 +02:00
};
}