about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/pyfttt/default.nix
blob: e630fe2c41507047ae0b9899737321c0c067d3df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, buildPythonPackage, fetchPypi
, requests }:

buildPythonPackage rec {
  pname = "pyfttt";
  version = "0.3.2";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "10iq7c9c832ssl2xrvf62xf7znfvqzax6sq8ppsibq6wpb8dlnj5";
  };

  propagatedBuildInputs = [ requests ];

  # tests need a server to run against
  doCheck = false;

  meta = with lib; {
    description = "Package for sending events to the IFTTT Webhooks Channel";
    mainProgram = "pyfttt";
    homepage = "https://github.com/briandconnelly/pyfttt";
    maintainers = with maintainers; [ peterhoeg ];
    license = licenses.bsd2;
  };
}