-
Notifications
You must be signed in to change notification settings - Fork 211
/
text-class.nix
58 lines (58 loc) · 2.18 KB
/
text-class.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { release = false; };
package = {
specVersion = "1.10";
identifier = { name = "text-class"; version = "2022.1.18"; };
license = "Apache-2.0";
copyright = "2018-2020 IOHK";
maintainer = "operations@iohk.io";
author = "IOHK Engineering Team";
homepage = "https://github.com/input-output-hk/cardano-wallet";
url = "";
synopsis = "Extra helpers to convert data-types to and from Text";
description = "";
buildType = "Simple";
isLocal = true;
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."casing" or (errorHandler.buildDepError "casing"))
(hsPkgs."extra" or (errorHandler.buildDepError "extra"))
(hsPkgs."formatting" or (errorHandler.buildDepError "formatting"))
(hsPkgs."text" or (errorHandler.buildDepError "text"))
(hsPkgs."time" or (errorHandler.buildDepError "time"))
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec"))
(hsPkgs."OddWord" or (errorHandler.buildDepError "OddWord"))
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
];
buildable = true;
};
tests = {
"unit" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."hspec" or (errorHandler.buildDepError "hspec"))
(hsPkgs."QuickCheck" or (errorHandler.buildDepError "QuickCheck"))
(hsPkgs."text" or (errorHandler.buildDepError "text"))
(hsPkgs."text-class" or (errorHandler.buildDepError "text-class"))
(hsPkgs."time" or (errorHandler.buildDepError "time"))
];
build-tools = [
(hsPkgs.buildPackages.hspec-discover.components.exes.hspec-discover or (pkgs.buildPackages.hspec-discover or (errorHandler.buildToolDepError "hspec-discover:hspec-discover")))
];
buildable = true;
};
};
};
} // rec { src = (pkgs.lib).mkDefault ../.././lib/text-class; }