fix algebraic-graphs

This commit is contained in:
nek0 2018-07-02 18:21:41 +02:00
parent 6dc6074a5a
commit 0d28d28ee1

View file

@ -32,6 +32,40 @@ let
hydraPlatforms = pkgs.stdenv.lib.platforms.none; hydraPlatforms = pkgs.stdenv.lib.platforms.none;
}) { inherit (pkgs) glew; inherit (pkgs) libGL; inherit (pkgs) libGLU; inherit (pkgs) pkgconfig; }; }) { inherit (pkgs) glew; inherit (pkgs) libGL; inherit (pkgs) libGLU; inherit (pkgs) pkgconfig; };
agNek0 = with haskellPackages; callPackage (
{ mkDerivation, array, base, base-orphans, containers
, criterion, deepseq, extra, QuickCheck, stdenv
}:
mkDerivation {
pname = "algebraic-graphs";
version = "0.1.1.1";
sha256 = "8747a7d6f7a328b6073c1904883087a6a8e9a02d3bd8a5e35174c5f1c1cd1231";
libraryHaskellDepends = [
array base base-compat containers deepseq
];
testHaskellDepends = [
base bcNek0 base-orphans containers extra QuickCheck
];
benchmarkHaskellDepends = [
base base-compat containers criterion
];
homepage = "https://github.com/snowleopard/alga";
doCheck = false;
description = "A library for algebraic graph construction and transformation";
license = stdenv.lib.licenses.mit;
}) {};
bcNek0 = with haskellPackages; callpackage (
{ mkDerivation, base, stdenv, unix }:
mkDerivation {
pname = "base-compat";
version = "0.9.3";
libraryHaskellDepends = [ base unix ];
description = "A compatibility layer for base";
doCheck = false;
license = stdenv.lib.licenses.mit;
}) {};
affectionNeko = with haskellPackages; callPackage ({ mkDerivation affectionNeko = with haskellPackages; callPackage ({ mkDerivation
, base, bytestring, clock, containers, glib, linear, monad-loops, monad-parallel , base, bytestring, clock, containers, glib, linear, monad-loops, monad-parallel
, mtl, OpenGL, sdl2, stdenv, stm, text, uuid, vector }: , mtl, OpenGL, sdl2, stdenv, stm, text, uuid, vector }:
@ -79,7 +113,7 @@ let
f = { mkDerivation, astar, base, containers, linear f = { mkDerivation, astar, base, containers, linear
, matrix, OpenGL, random, sdl2, stdenv, stm, text, unordered-containers , matrix, OpenGL, random, sdl2, stdenv, stm, text, unordered-containers
, vector, JuicyPixels, JuicyPixels-extra, bytestring, algebraic-graphs , vector, JuicyPixels, JuicyPixels-extra, bytestring
}: }:
mkDerivation { mkDerivation {
pname = "tracer-game"; pname = "tracer-game";
@ -91,7 +125,7 @@ let
executableHaskellDepends = [ executableHaskellDepends = [
affectionNeko astar base containers ecstasyNeko linear matrix nanovgNeko affectionNeko astar base containers ecstasyNeko linear matrix nanovgNeko
OpenGL random sdl2 stm text unordered-containers vector JuicyPixels OpenGL random sdl2 stm text unordered-containers vector JuicyPixels
JuicyPixels-extra bytestring algebraic-graphs JuicyPixels-extra bytestring agNek0
]; ];
license = stdenv.lib.licenses.gpl3; license = stdenv.lib.licenses.gpl3;
}; };