From 97d7a67a0ad5e18f3b4e889e1ce3bb08d0f97c19 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Dec 2015 21:37:46 +0000 Subject: Framework for thermoprint-spec --- default.nix | 1 + spec/LICENSE | 1 + spec/Setup.hs | 2 ++ spec/thermoprint-spec.cabal | 25 +++++++++++++++++++++++++ spec/thermoprint-spec.nix | 10 ++++++++++ 5 files changed, 39 insertions(+) create mode 120000 spec/LICENSE create mode 100644 spec/Setup.hs create mode 100644 spec/thermoprint-spec.cabal create mode 100644 spec/thermoprint-spec.nix diff --git a/default.nix b/default.nix index cb997b7..8a638db 100644 --- a/default.nix +++ b/default.nix @@ -2,4 +2,5 @@ }: rec { + thermoprint-spec = pkgs.haskellPackages.callPackage ./spec/thermoprint-spec.nix {}; } 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 @@ +import Distribution.Simple +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 @@ +-- Initial thermoprint-spec.cabal generated by cabal init. For further +-- documentation, see http://haskell.org/cabal/users-guide/ + +name: thermoprint-spec +version: 1.0.0 +synopsis: A specification of the API and the payload datatypes and associated utilities +-- description: +homepage: http://dirty-haskell.org/tags/thermoprint.html +license: PublicDomain +license-file: LICENSE +author: Gregor Kleen +maintainer: aethoago@141.li +-- copyright: +category: Development +build-type: Simple +-- extra-source-files: +cabal-version: >=1.10 + +library + -- exposed-modules: + -- other-modules: + -- other-extensions: + build-depends: base >=4.8 && <4.9 + -- hs-source-dirs: + 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 @@ +{ mkDerivation, base, stdenv }: +mkDerivation { + pname = "thermoprint-spec"; + version = "1.0.0"; + src = ./.; + libraryHaskellDepends = [ base ]; + homepage = "http://dirty-haskell.org/tags/thermoprint.html"; + description = "A specification of the API and the payload datatypes and associated utilities"; + license = stdenv.lib.licenses.publicDomain; +} -- cgit v1.2.3