Skip to content

Commit

Permalink
moving stuff around, added DenseRep
Browse files Browse the repository at this point in the history
  • Loading branch information
k0001 committed Oct 19, 2016
1 parent 34793d3 commit 3ca6f74
Show file tree
Hide file tree
Showing 5 changed files with 1,225 additions and 1,070 deletions.
7 changes: 4 additions & 3 deletions default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{ mkDerivation, base, tasty, tasty-hunit, tasty-quickcheck, scientific, stdenv
{ stdenv, mkDerivation
, base, tasty, tasty-hunit, tasty-quickcheck, text
}:
mkDerivation {
pname = "money";
version = "0.1";
src = ./.;
isExecutable = false;
libraryHaskellDepends = [ base scientific ];
testDepends = [ base tasty tasty-hunit tasty-quickcheck ];
libraryHaskellDepends = [ base text ];
testDepends = [ base tasty tasty-hunit tasty-quickcheck text ];
homepage = "https://github.com/k0001/haskell-money";
description = "Type-safe encoding and manipulation of world currencies and precious metals";
license = stdenv.lib.licenses.bsd3;
Expand Down
8 changes: 5 additions & 3 deletions money.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ source-repository head
library
default-language: Haskell2010
hs-source-dirs: src
exposed-modules: Data.Money
ghc-options: -Wall -O2
exposed-modules:
Data.Money
Data.Money.Internal
build-depends:
base (>=4.5 && <5.0)
, scientific (>=0.3 && <0.4)
, text (>=0.11)

test-suite tests
default-language: Haskell2010
Expand All @@ -37,7 +39,7 @@ test-suite tests
build-depends:
base
, money
, scientific
, tasty
, tasty-hunit
, tasty-quickcheck
, text
Loading

0 comments on commit 3ca6f74

Please sign in to comment.