Commit 710a4ce9 authored by Wouter Raateland's avatar Wouter Raateland
Browse files

Add scaffolding files

parent 087b4062
Copyright (c) 2017-2018, the Sturdy contributors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Sven Keidel nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{ pkgs ? import <nixpkgs> {} }:
let
haskellPackagesWithProfiling = pkgs.haskellPackages.override {
overrides = self: super: {
mkDerivation = args: super.mkDerivation (args // {
enableLibraryProfiling = false;
});
};
};
hsEnv = haskellPackagesWithProfiling.ghcWithPackages(p: with p; [
Cabal cabal-install hlint text containers hspec mtl numeric-limits criterion fgl
(p.callPackage ../lib/default.nix { })
]);
in pkgs.stdenv.mkDerivation {
name = "sturdy-jimple";
version = "0.0.1";
src = ./.;
buildInputs = [
hsEnv
];
}
name: sturdy-jimple
version: 0.1.0.0
license: BSD3
license-file: LICENSE
author: Wouter Raateland
maintainer: wouterraateland@gmail.com
category: Language
build-type: Simple
extra-source-files:
cabal-version: >=1.10
library
exposed-modules: Concrete,
Syntax
ghc-options: -Wall
build-depends: base,
containers,
hashable,
mtl,
random,
sturdy-lib,
text
hs-source-dirs: src
default-language: Haskell2010
test-suite specs
type: exitcode-stdio-1.0
ghc-options: -Wall
hs-source-dirs: test
main-is: Spec.hs
build-depends: base,
containers,
hspec,
hspec-core,
sturdy-lib,
sturdy-jimple,
text,
QuickCheck
default-language: Haskell2010
Subproject commit 3788e555d0eecd2b204875d055881968ea07418b
Subproject commit 10219a964a187bdb5134695e08f94bab002a12aa
......@@ -7,4 +7,4 @@ packages:
- 'pcf'
- 'while'
- 'stratego'
# - 'lambda-adt'
\ No newline at end of file
# - 'lambda-adt'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment