Skip to content

Commit

Permalink
add elm2nix
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Dec 29, 2018
1 parent 6b1a429 commit 324f018
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions pkgs/development/tools/elm2nix/default.nix
@@ -0,0 +1,24 @@
{ mkDerivation, aeson, ansi-wl-pprint, async, base, binary
, bytestring, containers, data-default, directory, filepath, here
, mtl, optparse-applicative, process, req, stdenv, text
, transformers, unordered-containers
}:
mkDerivation {
pname = "elm2nix";
version = "0.1.0";
sha256 = "9ec1f1f694a38b466ebd03aaa1a035bbdb9bdae390be5b9a030611bcbfd91890";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson async base binary bytestring containers data-default
directory filepath here mtl process req text transformers
unordered-containers
];
executableHaskellDepends = [
ansi-wl-pprint base directory here optparse-applicative
];
testHaskellDepends = [ base ];
homepage = "https://github.com/domenkozar/elm2nix#readme";
description = "Turn your Elm project into buildable Nix project";
license = stdenv.lib.licenses.bsd3;
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -6715,6 +6715,8 @@ in

eql = callPackage ../development/compilers/eql {};

elm2nix = haskell.lib.justStaticExecutables (haskellPackages.callPackage ../development/tools/elm2nix {});

elmPackages = recurseIntoAttrs (callPackage ../development/compilers/elm { });

apache-flex-sdk = callPackage ../development/compilers/apache-flex-sdk { };
Expand Down

0 comments on commit 324f018

Please sign in to comment.