mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:28:51 +00:00
ff8338343b
Maintaining all the packages whose updates might break some aspect of sage. For reference: https://github.com/NixOS/nixpkgs/pull/103810#issuecomment-727536510
26 lines
526 B
Nix
26 lines
526 B
Nix
{ stdenv
|
|
, 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 stdenv.lib; {
|
|
description = "A database of graphs";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.all;
|
|
maintainers = teams.sage.members;
|
|
};
|
|
}
|