diff --git a/pkgs/development/libraries/haskell/xlsx/default.nix b/pkgs/development/libraries/haskell/xlsx/default.nix new file mode 100644 index 000000000000..98d729efb2fe --- /dev/null +++ b/pkgs/development/libraries/haskell/xlsx/default.nix @@ -0,0 +1,26 @@ +{ cabal, conduit, dataDefault, digest, HUnit, lens, smallcheck +, tasty, tastyHunit, tastySmallcheck, text, time, transformers +, utf8String, xmlConduit, xmlTypes, zipArchive, zlib +}: + +cabal.mkDerivation (self: { + pname = "xlsx"; + version = "0.1.0.2"; + sha256 = "0m9ph34mpnc6vj1d3x80y0gaya5bqdhfa193jn0a8clw4qz88sbr"; + isLibrary = true; + isExecutable = true; + buildDepends = [ + conduit dataDefault digest lens text time transformers utf8String + xmlConduit xmlTypes zipArchive zlib + ]; + testDepends = [ + HUnit smallcheck tasty tastyHunit tastySmallcheck time + ]; + meta = { + homepage = "https://github.com/qrilka/xlsx"; + description = "Simple and incomplete Excel file parser/writer"; + license = self.stdenv.lib.licenses.mit; + platforms = self.ghc.meta.platforms; + maintainers = [ self.stdenv.lib.maintainers.ocharles ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 6f4edeafa9d9..f6adedf2e07d 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2952,6 +2952,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in yiContrib = callPackage ../applications/editors/yi/yi-contrib.nix {}; + xlsx = callPackage ../development/libraries/haskell/xlsx {}; + xmobar = callPackage ../applications/misc/xmobar {}; xmonad = callPackage ../applications/window-managers/xmonad {};