# This file was auto-generated by cabal2nix. Please do NOT edit manually!

{ cabal, ansiTerminal, cereal, downloadCurl, filepath, HTTP
, network, optparseApplicative, terminalSize, text, zlib
}:

cabal.mkDerivation (self: {
  pname = "sloane";
  version = "1.9.3";
  sha256 = "0xl3dmi6czwfbi17742hqxf3d6sl9dci08qszrkdmasnvivakg78";
  isLibrary = false;
  isExecutable = true;
  buildDepends = [
    ansiTerminal cereal downloadCurl filepath HTTP network
    optparseApplicative terminalSize text zlib
  ];
  postInstall = ''
    mkdir -p $out/share/man/man1
    cp sloane.1 $out/share/man/man1/
  '';
  meta = {
    homepage = "http://github.com/akc/sloane";
    description = "A command line interface to Sloane's On-Line Encyclopedia of Integer Sequences";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
    maintainers = with self.stdenv.lib.maintainers; [ akc ];
  };
})
