Newer
Older
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
{ mkDerivation, QuickCheck, array, arrows, base, binary, bytestring
, constraints, containers, criterion, data-binary-ieee754
, data-default-class, deepseq, directory, doctest-parallel, extra
, fetchgit, filepath, ghc-bignum, ghc-prim, ghc-typelits-extra
, ghc-typelits-knownnat, ghc-typelits-natnormalise, half, hashable
, hedgehog, hint, infinite-list, lens, lib, quickcheck-classes-base
, recursion-schemes, reflection, singletons, string-interpolate
, tasty, tasty-hedgehog, tasty-hunit, tasty-quickcheck, tasty-th
, template-haskell, text, th-abstraction, th-lift, th-orphans, time
, transformers, type-errors, uniplate, vector
}:
mkDerivation {
pname = "clash-prelude";
version = "1.7.0";
src = fetchgit {
url = "https://github.com/clash-lang/clash-compiler";
sha256 = "1myvhkbw93gqsq9kyk7anbvvrn4c45bw99sr8l2486nb6svkwabh";
rev = "8bfb4ec58543e14e968e2c336594a529565996c2";
fetchSubmodules = true;
};
postUnpack = "sourceRoot+=/clash-prelude/; echo source root reset to $sourceRoot";
isLibrary = true;
isExecutable = false;
enableSeparateDataOutput = false;
libraryHaskellDepends = [
array arrows base binary bytestring constraints containers
data-binary-ieee754 data-default-class deepseq extra ghc-bignum
ghc-prim ghc-typelits-extra ghc-typelits-knownnat
ghc-typelits-natnormalise half hashable infinite-list lens
QuickCheck recursion-schemes reflection singletons
string-interpolate template-haskell text th-abstraction th-lift
th-orphans time transformers type-errors uniplate vector
];
testHaskellDepends = [
base bytestring deepseq doctest-parallel filepath
ghc-typelits-extra ghc-typelits-knownnat ghc-typelits-natnormalise
hedgehog hint quickcheck-classes-base tasty tasty-hedgehog
tasty-hunit tasty-quickcheck tasty-th template-haskell
];
benchmarkHaskellDepends = [
base criterion deepseq directory template-haskell
];
enableLibraryProfiling = true;
enableExecutableProfiling = true;
doHaddock = false;
jailbreak = true;
doCheck = false;
doBenchmark = false;
hyperlinkSource = false;
homepage = "https://clash-lang.org/";
description = "Clash: a functional hardware description language - Prelude library";
license = lib.licenses.bsd2;
broken = false;
}