nixpkgs/pkgs/development/libraries/haskell/dice/default.nix

16 lines
445 B
Nix
Raw Normal View History

2013-05-21 09:00:28 +00:00
{ 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;
};
})