nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 oauthlib,
6 requests,
7 requests-oauthlib,
8}:
9
10buildPythonPackage rec {
11 pname = "lmnotify";
12 version = "0.0.6";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-cCP7BU2f7QJe9gAI298cvkp3OGijvBv8G1RN7qfZ5PE=";
18 };
19
20 propagatedBuildInputs = [
21 oauthlib
22 requests
23 requests-oauthlib
24 ];
25
26 # Module has no tests
27 doCheck = false;
28
29 pythonImportsCheck = [ "lmnotify" ];
30
31 meta = {
32 description = "Python package for sending notifications to LaMetric Time";
33 homepage = "https://github.com/keans/lmnotify";
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ rhoriguchi ];
36 };
37}