nixpkgs/pkgs/development/libraries/haskell/dice/default.nix
2013-05-21 11:00:28 +02:00

16 lines
445 B
Nix

{ cabal, parsec, randomFu, transformers }:
cabal.mkDerivation (self: {
pname = "dice";
version = "0.1";
sha256 = "1rfx3vh983f3gc6si661zimhjl47ip30l3pvf7dysjirr3gffgz1";
isLibrary = true;
isExecutable = true;
buildDepends = [ parsec randomFu transformers ];
meta = {
description = "Simplistic D&D style dice-rolling system";
license = self.stdenv.lib.licenses.publicDomain;
platforms = self.ghc.meta.platforms;
};
})