1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/tools/misc/zabbix-cli/default.nix

25 lines
618 B
Nix
Raw Normal View History

2017-05-26 14:08:32 +01:00
{ fetchFromGitHub, lib, python2Packages }:
let
pythonPackages = python2Packages;
in pythonPackages.buildPythonApplication rec {
name = "zabbix-cli-${version}";
version = "1.6.1";
propagatedBuildInputs = with pythonPackages; [ argparse requests ];
src = fetchFromGitHub {
owner = "usit-gd";
repo = "zabbix-cli";
rev = version;
sha256 = "17ip3s8ifgj264zwxrr857wk02xmzmlsjrr613mdhkgdwizqbcs3";
};
meta = with lib; {
description = "Command-line interface for Zabbix";
homepage = src.meta.homepage;
license = [ licenses.gpl3 ];
maintainers = [ maintainers.womfoo ];
};
}