nixpkgs/pkgs/development/python-modules/pyfttt/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
639 B
Nix

{ 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;
};
}