diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-25 21:37:46 +0000 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-12-25 21:37:46 +0000 |
commit | 97d7a67a0ad5e18f3b4e889e1ce3bb08d0f97c19 (patch) | |
tree | 22bf35e3de1093ff63c76a8c212d27f1a4d05aae | |
parent | f95879a43e90bfea91759f933bb19c704cfac3a9 (diff) | |
download | thermoprint-97d7a67a0ad5e18f3b4e889e1ce3bb08d0f97c19.tar thermoprint-97d7a67a0ad5e18f3b4e889e1ce3bb08d0f97c19.tar.gz thermoprint-97d7a67a0ad5e18f3b4e889e1ce3bb08d0f97c19.tar.bz2 thermoprint-97d7a67a0ad5e18f3b4e889e1ce3bb08d0f97c19.tar.xz thermoprint-97d7a67a0ad5e18f3b4e889e1ce3bb08d0f97c19.zip |
Framework for thermoprint-spec
-rw-r--r-- | default.nix | 1 | ||||
l--------- | spec/LICENSE | 1 | ||||
-rw-r--r-- | spec/Setup.hs | 2 | ||||
-rw-r--r-- | spec/thermoprint-spec.cabal | 25 | ||||
-rw-r--r-- | spec/thermoprint-spec.nix | 10 |
5 files changed, 39 insertions, 0 deletions
diff --git a/default.nix b/default.nix index cb997b7..8a638db 100644 --- a/default.nix +++ b/default.nix | |||
@@ -2,4 +2,5 @@ | |||
2 | }: | 2 | }: |
3 | 3 | ||
4 | rec { | 4 | rec { |
5 | thermoprint-spec = pkgs.haskellPackages.callPackage ./spec/thermoprint-spec.nix {}; | ||
5 | } | 6 | } |
diff --git a/spec/LICENSE b/spec/LICENSE new file mode 120000 index 0000000..ea5b606 --- /dev/null +++ b/spec/LICENSE | |||
@@ -0,0 +1 @@ | |||
../LICENSE \ No newline at end of file | |||
diff --git a/spec/Setup.hs b/spec/Setup.hs new file mode 100644 index 0000000..9a994af --- /dev/null +++ b/spec/Setup.hs | |||
@@ -0,0 +1,2 @@ | |||
1 | import Distribution.Simple | ||
2 | main = defaultMain | ||
diff --git a/spec/thermoprint-spec.cabal b/spec/thermoprint-spec.cabal new file mode 100644 index 0000000..bde1b73 --- /dev/null +++ b/spec/thermoprint-spec.cabal | |||
@@ -0,0 +1,25 @@ | |||
1 | -- Initial thermoprint-spec.cabal generated by cabal init. For further | ||
2 | -- documentation, see http://haskell.org/cabal/users-guide/ | ||
3 | |||
4 | name: thermoprint-spec | ||
5 | version: 1.0.0 | ||
6 | synopsis: A specification of the API and the payload datatypes and associated utilities | ||
7 | -- description: | ||
8 | homepage: http://dirty-haskell.org/tags/thermoprint.html | ||
9 | license: PublicDomain | ||
10 | license-file: LICENSE | ||
11 | author: Gregor Kleen | ||
12 | maintainer: aethoago@141.li | ||
13 | -- copyright: | ||
14 | category: Development | ||
15 | build-type: Simple | ||
16 | -- extra-source-files: | ||
17 | cabal-version: >=1.10 | ||
18 | |||
19 | library | ||
20 | -- exposed-modules: | ||
21 | -- other-modules: | ||
22 | -- other-extensions: | ||
23 | build-depends: base >=4.8 && <4.9 | ||
24 | -- hs-source-dirs: | ||
25 | default-language: Haskell2010 \ No newline at end of file | ||
diff --git a/spec/thermoprint-spec.nix b/spec/thermoprint-spec.nix new file mode 100644 index 0000000..2d1814e --- /dev/null +++ b/spec/thermoprint-spec.nix | |||
@@ -0,0 +1,10 @@ | |||
1 | { mkDerivation, base, stdenv }: | ||
2 | mkDerivation { | ||
3 | pname = "thermoprint-spec"; | ||
4 | version = "1.0.0"; | ||
5 | src = ./.; | ||
6 | libraryHaskellDepends = [ base ]; | ||
7 | homepage = "http://dirty-haskell.org/tags/thermoprint.html"; | ||
8 | description = "A specification of the API and the payload datatypes and associated utilities"; | ||
9 | license = stdenv.lib.licenses.publicDomain; | ||
10 | } | ||