nixpkgs/pkgs/development/python-modules/lmnotify/default.nix
2021-07-05 21:32:12 -07:00

31 lines
659 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, oauthlib
, requests
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "lmnotify";
version = "0.0.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-cCP7BU2f7QJe9gAI298cvkp3OGijvBv8G1RN7qfZ5PE=";
};
propagatedBuildInputs = [ oauthlib requests requests_oauthlib ];
doCheck = false; # no tests exist
pythonImportsCheck = [ "lmnotify" ];
meta = with lib; {
description = "Python package for sending notifications to LaMetric Time";
homepage = "https://github.com/keans/lmnotify";
maintainers = with maintainers; [ rhoriguchi ];
license = licenses.mit;
};
}