aboutsummaryrefslogtreecommitdiff
path: root/pkgs/data/misc/graphs/default.nix
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2018-04-24 16:10:46 +0200
committerTimo Kaufmann <timokau@zoho.com>2018-06-30 01:20:45 +0200
commit2f76f66998d1be2e438b32efc05ad3e8a724466c (patch)
tree71ca0a3cd861aaa24b3ebc2fb644d02f6cae8f5f /pkgs/data/misc/graphs/default.nix
parent83a839c4d46f1489f8c4f0fce9004314503e5262 (diff)
graphs: init at 20161026
Diffstat (limited to '')
-rw-r--r--pkgs/data/misc/graphs/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/data/misc/graphs/default.nix b/pkgs/data/misc/graphs/default.nix
new file mode 100644
index 000000000000..aea5feef46c7
--- /dev/null
+++ b/pkgs/data/misc/graphs/default.nix
@@ -0,0 +1,26 @@
+{ stdenv
+, fetchurl
+}:
+
+stdenv.mkDerivation rec {
+ pname = "graphs";
+ version = "20161026";
+ name = "${pname}-${version}";
+
+ 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 = with maintainers; [ timokau ];
+ };
+}