mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
16 lines
445 B
Nix
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;
|
|
};
|
|
})
|