From f646d1f6ec57671d98ebe7010ba8d1528b730241 Mon Sep 17 00:00:00 2001 From: karsten gebbert Date: Mon, 3 Nov 2014 21:31:32 +0100 Subject: [PATCH 1/2] add elm-preprepl to package list --- pkgs/development/compilers/elm/elm-repl.nix | 28 +++++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/development/compilers/elm/elm-repl.nix diff --git a/pkgs/development/compilers/elm/elm-repl.nix b/pkgs/development/compilers/elm/elm-repl.nix new file mode 100644 index 000000000000..ffeea93f9fb4 --- /dev/null +++ b/pkgs/development/compilers/elm/elm-repl.nix @@ -0,0 +1,28 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, bytestringTrie, cmdargs, Elm, filepath, haskeline, HUnit +, mtl, parsec, QuickCheck, testFramework, testFrameworkHunit +, testFrameworkQuickcheck2 +}: + +cabal.mkDerivation (self: { + pname = "elm-repl"; + version = "0.3"; + sha256 = "10a4a2ybg5dlshpklnisb957lknb0w8s3ppaq5p5y6ylqik8ak0a"; + isLibrary = false; + isExecutable = true; + buildDepends = [ + bytestringTrie cmdargs Elm filepath haskeline mtl parsec + ]; + testDepends = [ + bytestringTrie cmdargs Elm filepath haskeline HUnit mtl parsec + QuickCheck testFramework testFrameworkHunit + testFrameworkQuickcheck2 + ]; + meta = { + homepage = "https://github.com/elm-lang/elm-repl"; + description = "a REPL for Elm"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 6749a1d4764b..6a8797dfab8e 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -747,6 +747,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in elmServer = callPackage ../development/compilers/elm/elm-server.nix {}; + elmRepl = callPackage ../development/compilers/elm/elm-repl.nix {}; + emailValidate = callPackage ../development/libraries/haskell/email-validate {}; enclosedExceptions = callPackage ../development/libraries/haskell/enclosed-exceptions {}; From 9868f13799f6d732eb18f56196102f2b837adb07 Mon Sep 17 00:00:00 2001 From: karsten gebbert Date: Mon, 3 Nov 2014 21:46:20 +0100 Subject: [PATCH 2/2] add elm-get to haskell packages --- pkgs/development/compilers/elm/elm-get.nix | 24 ++++++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/compilers/elm/elm-get.nix diff --git a/pkgs/development/compilers/elm/elm-get.nix b/pkgs/development/compilers/elm/elm-get.nix new file mode 100644 index 000000000000..db6feecea425 --- /dev/null +++ b/pkgs/development/compilers/elm/elm-get.nix @@ -0,0 +1,24 @@ +# This file was auto-generated by cabal2nix. Please do NOT edit manually! + +{ cabal, aeson, aesonPretty, ansiWlPprint, binary, Elm, filepath +, HTTP, httpClient, httpClientTls, httpTypes, mtl, network +, optparseApplicative, vector +}: + +cabal.mkDerivation (self: { + pname = "elm-get"; + version = "0.1.3"; + sha256 = "1did7vjd1h2kh5alndd2b63zi8b1m9hf6k1k75yxwvw6f6mz5i4q"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + aeson aesonPretty ansiWlPprint binary Elm filepath HTTP httpClient + httpClientTls httpTypes mtl network optparseApplicative vector + ]; + meta = { + homepage = "http://github.com/elm-lang/elm-get"; + description = "Tool for sharing and using Elm libraries"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 6a8797dfab8e..557625477e8d 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -749,6 +749,10 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in elmRepl = callPackage ../development/compilers/elm/elm-repl.nix {}; + elmGet = callPackage ../development/compilers/elm/elm-get.nix { + optparseApplicative = self.optparseApplicative_0_10_0; + }; + emailValidate = callPackage ../development/libraries/haskell/email-validate {}; enclosedExceptions = callPackage ../development/libraries/haskell/enclosed-exceptions {};