on 2e7a992 help sign in
haskell.nix/test/stack-simple/stack-simple.nix
32 lines 1.0 kB history raw
1{ system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
2 ({
3 flags = {};
4 package = {
5 specVersion = "0";
6 identifier = { name = "stack-simple"; version = "0.1.0.0"; };
7 license = "BSD-3-Clause";
8 copyright = "2019 Author name here";
9 maintainer = "example@example.com";
10 author = "Author name here";
11 homepage = "https://github.com/githubuser/stack-simple#readme";
12 url = "";
13 synopsis = "";
14 description = "Please see the README on GitHub at <https://github.com/githubuser/stack-simple#readme>";
15 buildType = "Simple";
16 };
17 components = {
18 "library" = { depends = [ (hsPkgs.base) ]; };
19 exes = {
20 "stack-simple-exe" = {
21 depends = [ (hsPkgs.base) (hsPkgs.stack-simple) ];
22 };
23 };
24 tests = {
25 "stack-simple-test" = {
26 depends = [ (hsPkgs.base) (hsPkgs.stack-simple) ];
27 };
28 };
29 };
30 } // rec { src = (pkgs.lib).mkDefault ./.; }) // {
31 cabal-generator = "hpack";
32 }