diff --git a/pkgs/development/libraries/haskell/dynamic-cabal/default.nix b/pkgs/development/libraries/haskell/dynamic-cabal/default.nix new file mode 100644 index 00000000000..c2ecb09824f --- /dev/null +++ b/pkgs/development/libraries/haskell/dynamic-cabal/default.nix @@ -0,0 +1,20 @@ +{ cabal, dataDefault, doctest, filepath, ghcPaths, haskellGenerate +, haskellSrcExts, HUnit, tasty, tastyHunit, tastyTh, time, void +}: + +cabal.mkDerivation (self: { + pname = "dynamic-cabal"; + version = "0.3.1"; + sha256 = "0jjhz6h1ggznbvi4qgv0p5x1s7j0fgv1xvkfgid57jrjvdvd4gic"; + buildDepends = [ + dataDefault filepath ghcPaths haskellGenerate haskellSrcExts time + void + ]; + testDepends = [ doctest filepath HUnit tasty tastyHunit tastyTh ]; + meta = { + homepage = "http://github.com/bennofs/dynamic-cabal/"; + description = "dynamic-cabal"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/development/libraries/haskell/haskell-generate/default.nix b/pkgs/development/libraries/haskell/haskell-generate/default.nix new file mode 100644 index 00000000000..b650714127c --- /dev/null +++ b/pkgs/development/libraries/haskell/haskell-generate/default.nix @@ -0,0 +1,15 @@ +{ cabal, doctest, filepath, haskellSrcExts, transformers }: + +cabal.mkDerivation (self: { + pname = "haskell-generate"; + version = "0.2"; + sha256 = "0bkaarc40lcw3v2y6qdf91rx21v3w82y62kaadhmmh5ikq99pybw"; + buildDepends = [ haskellSrcExts transformers ]; + testDepends = [ doctest filepath ]; + meta = { + homepage = "http://github.com/bennofs/haskell-generate/"; + description = "haskell-generate"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/development/libraries/haskell/hcltest/default.nix b/pkgs/development/libraries/haskell/hcltest/default.nix new file mode 100644 index 00000000000..170c885d240 --- /dev/null +++ b/pkgs/development/libraries/haskell/hcltest/default.nix @@ -0,0 +1,22 @@ +{ cabal, dlist, doctest, either, filepath, free, lens, mmorph +, monadControl, mtl, optparseApplicative, randomShuffle, split, stm +, tagged, tasty, temporary, text, transformers, transformersBase +}: + +cabal.mkDerivation (self: { + pname = "hcltest"; + version = "0.3.1"; + sha256 = "0qnf6ib01njcbjfbwxff8y4sqmrj6nyy9y9hb0l0kw21cxsgl7c9"; + buildDepends = [ + dlist either filepath free lens mmorph monadControl mtl + optparseApplicative randomShuffle split stm tagged tasty temporary + text transformers transformersBase + ]; + testDepends = [ doctest filepath ]; + meta = { + homepage = "http://github.com/bennofs/hcltest/"; + description = "A testing library for command line applications"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/development/libraries/haskell/quickcheck-property-monad/default.nix b/pkgs/development/libraries/haskell/quickcheck-property-monad/default.nix new file mode 100644 index 00000000000..203f22146b1 --- /dev/null +++ b/pkgs/development/libraries/haskell/quickcheck-property-monad/default.nix @@ -0,0 +1,15 @@ +{ cabal, doctest, either, filepath, QuickCheck, transformers }: + +cabal.mkDerivation (self: { + pname = "quickcheck-property-monad"; + version = "0.2.1"; + sha256 = "1ln8bcsc8hd8jyhd9rp2j90p5h5nhmwidb5my91p09h43y4z9xds"; + buildDepends = [ either QuickCheck transformers ]; + testDepends = [ doctest filepath QuickCheck ]; + meta = { + homepage = "http://github.com/bennofs/quickcheck-property-monad/"; + description = "quickcheck-property-monad"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/development/libraries/haskell/system-time-monotonic/default.nix b/pkgs/development/libraries/haskell/system-time-monotonic/default.nix new file mode 100644 index 00000000000..230dc5fd6d1 --- /dev/null +++ b/pkgs/development/libraries/haskell/system-time-monotonic/default.nix @@ -0,0 +1,14 @@ +{ cabal, time }: + +cabal.mkDerivation (self: { + pname = "system-time-monotonic"; + version = "0.2"; + sha256 = "0f5grhh6x2fbawmdk0gq1nsjz47iz8f8r2592d1l69fqddwdhc3v"; + buildDepends = [ time ]; + meta = { + homepage = "https://github.com/joeyadams/haskell-system-time-monotonic"; + description = "Simple library for using the system's monotonic clock"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/development/libraries/haskell/th-lift-instances/default.nix b/pkgs/development/libraries/haskell/th-lift-instances/default.nix new file mode 100644 index 00000000000..27eb090443b --- /dev/null +++ b/pkgs/development/libraries/haskell/th-lift-instances/default.nix @@ -0,0 +1,15 @@ +{ cabal, doctest, filepath, QuickCheck, text, thLift, vector }: + +cabal.mkDerivation (self: { + pname = "th-lift-instances"; + version = "0.1.2"; + sha256 = "0xfz7jnhqxqxd6ijn6vpd0nay38kj862ylsb71xqi35137g5zl9w"; + buildDepends = [ text thLift vector ]; + testDepends = [ doctest filepath QuickCheck text vector ]; + meta = { + homepage = "http://github.com/bennofs/th-lift-instances/"; + description = "Lift instances for template-haskell for common data types"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + }; +}) diff --git a/pkgs/development/libraries/haskell/unix-memory/default.nix b/pkgs/development/libraries/haskell/unix-memory/default.nix new file mode 100644 index 00000000000..d4c65ff0475 --- /dev/null +++ b/pkgs/development/libraries/haskell/unix-memory/default.nix @@ -0,0 +1,19 @@ +{ cabal, HUnit, mtl, QuickCheck, testFramework, testFrameworkHunit +, testFrameworkQuickcheck2 +}: + +cabal.mkDerivation (self: { + pname = "unix-memory"; + version = "0.1.1"; + sha256 = "02jmccs7mcg2lhpnb1ps7ycxzmn46b4drf994vv0pawwjrkrhnhk"; + testDepends = [ + HUnit mtl QuickCheck testFramework testFrameworkHunit + testFrameworkQuickcheck2 + ]; + meta = { + homepage = "http://github.com/vincenthz/hs-unix-memory"; + description = "Unix memory syscalls"; + 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 95e7fb2f1d9..bfe563a5fcb 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1026,6 +1026,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in dualTree = callPackage ../development/libraries/haskell/dual-tree {}; + dynamicCabal = callPackage ../development/libraries/haskell/dynamic-cabal {}; + dyre = callPackage ../development/libraries/haskell/dyre {}; editDistance = callPackage ../development/libraries/haskell/edit-distance {}; @@ -1325,6 +1327,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in haskelineClass = callPackage ../development/libraries/haskell/haskeline-class {}; + haskellGenerate = callPackage ../development/libraries/haskell/haskell-generate {}; + haskellLexer = callPackage ../development/libraries/haskell/haskell-lexer {}; haskellMpi = callPackage ../development/libraries/haskell/haskell-mpi { @@ -1349,6 +1353,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in hastache = callPackage ../development/libraries/haskell/hastache {}; + hcltest = callPackage ../development/libraries/haskell/hcltest {}; + heredoc = callPackage ../development/libraries/haskell/heredoc {}; hexpat = callPackage ../development/libraries/haskell/hexpat {}; @@ -2164,6 +2170,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in quickcheckIo = callPackage ../development/libraries/haskell/quickcheck-io {}; + quickcheckPropertyMonad = callPackage ../development/libraries/haskell/quickcheck-property-monad {}; + qrencode = callPackage ../development/libraries/haskell/qrencode { inherit (pkgs) qrencode; }; @@ -2486,6 +2494,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in systemPosixRedirect = callPackage ../development/libraries/haskell/system-posix-redirect {}; + systemTimeMonotonic = callPackage ../development/libraries/haskell/system-time-monotonic {}; + TableAlgebra = callPackage ../development/libraries/haskell/TableAlgebra {}; tabular = callPackage ../development/libraries/haskell/tabular {}; @@ -2580,6 +2590,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in thLift = callPackage ../development/libraries/haskell/th-lift {}; + thLiftInstances = callPackage ../development/libraries/haskell/th-lift-instances {}; + thOrphans = callPackage ../development/libraries/haskell/th-orphans {}; threadmanager = callPackage ../development/libraries/haskell/threadmanager {}; @@ -2667,6 +2679,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in unixCompat = callPackage ../development/libraries/haskell/unix-compat {}; + unixMemory = callPackage ../development/libraries/haskell/unix-memory {}; + unixProcessConduit = callPackage ../development/libraries/haskell/unix-process-conduit {}; unixTime = callPackage ../development/libraries/haskell/unix-time {};