about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/syncer/default.nix
blob: cd3bbf699de2ca504c15734d98337f67b4ce9a62 (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
27
28
29
30
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:

buildPythonPackage rec {
  pname = "syncer";
  version = "1.3.0";
  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "miyakogi";
    repo = pname;
    rev = "v${version}";
    sha256 = "13y8jllix1ipkcg9lxa4nxk8kj24vivxfizf4d02cdrha9dw500v";
  };

  # Tests require an not maintained package (xfail)
  doCheck = false;

  pythonImportsCheck = [ "syncer" ];

  meta = with lib; {
    description = "Python async to sync converter";
    homepage = "https://github.com/miyakogi/syncer";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
  };
}