nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 python-dateutil,
6 requests,
7 requests-oauthlib,
8}:
9
10buildPythonPackage rec {
11 pname = "pynello";
12 version = "2.0.3";
13 format = "setuptools";
14
15 src = fetchFromGitHub {
16 owner = "pschmitt";
17 repo = "pynello";
18 rev = version;
19 hash = "sha256-sUy37sEPEMyFYFVBzFVdcg31nZAyC+Ricm4LqxmjuQQ=";
20 };
21
22 propagatedBuildInputs = [
23 python-dateutil
24 requests
25 requests-oauthlib
26 ];
27
28 # Project has no tests
29 doCheck = false;
30
31 pythonImportsCheck = [ "pynello" ];
32
33 meta = {
34 description = "Python library for nello.io intercoms";
35 mainProgram = "nello";
36 homepage = "https://github.com/pschmitt/pynello";
37 license = with lib.licenses; [ gpl3Only ];
38 maintainers = with lib.maintainers; [ fab ];
39 };
40}