nixpkgs/pkgs/development/libraries/haskell/diagrams/lib.nix
2013-12-02 16:26:21 +01:00

24 lines
850 B
Nix

{ cabal, active, colour, dataDefaultClass, diagramsCore, filepath
, fingertree, intervals, lens, MemoTrie, monoidExtras, NumInstances
, optparseApplicative, safe, semigroups, tagged, vectorSpace
, vectorSpacePoints
}:
cabal.mkDerivation (self: {
pname = "diagrams-lib";
version = "1.0.0.1";
sha256 = "1ilkc8dh1ma0wwmzgy6x3a6q6bwlw7dfv3mb24a5ny4i3wgvsnv8";
buildDepends = [
active colour dataDefaultClass diagramsCore filepath fingertree
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;
};
})