25 lines
867 B
Nix
25 lines
867 B
Nix
{ cabal, active, colour, dataDefaultClass, diagramsCore, filepath
|
|
, fingertree, hashable, intervals, lens, MemoTrie, monoidExtras
|
|
, NumInstances, optparseApplicative, safe, semigroups, tagged
|
|
, vectorSpace, vectorSpacePoints
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "diagrams-lib";
|
|
version = "1.0.1";
|
|
sha256 = "0cjhb6dm0n4a7s8z0lyihql7dz34pdbm3ahm2p0yya4xf9pf0fw4";
|
|
buildDepends = [
|
|
active colour dataDefaultClass diagramsCore filepath fingertree
|
|
hashable intervals lens MemoTrie monoidExtras NumInstances
|
|
optparseApplicative safe semigroups tagged vectorSpace
|
|
vectorSpacePoints
|
|
];
|
|
jailbreak = true;
|
|
meta = {
|
|
homepage = "http://projects.haskell.org/diagrams";
|
|
description = "Embedded domain-specific language for declarative graphics";
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
platforms = self.ghc.meta.platforms;
|
|
};
|
|
})
|