aboutsummaryrefslogtreecommitdiff
path: root/pkgs/check_solr/cabal2nix.nix
blob: ee3c6b5b2aa7faae38c4080f780e3820ddfc3eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ mkDerivation, aeson, base, base64-bytestring, bytestring, docopt
, fetchgit, HTTP, http-conduit, nagios-check, raw-strings-qq
, regex-tdfa, scientific, stdenv, text, unordered-containers
}:
mkDerivation {
  pname = "check-solr";
  version = "0.1.0";
  src = fetchgit {
    url = "https://github.com/ip1981/check-solr.git";
    sha256 = "839199942e5cf110428dd589f1d9610ac504d7199b2b7053d5ee136206890309";
    rev = "869c945fb56f0ff187125ee352a6876002eba596";
  };
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [
    aeson base base64-bytestring bytestring docopt HTTP http-conduit
    nagios-check raw-strings-qq regex-tdfa scientific text
    unordered-containers
  ];
  executableHaskellDepends = [ base docopt raw-strings-qq ];
  description = "Icinga / Nagios plugin for Solr";
  license = stdenv.lib.licenses.mit;
}