summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/syncer/default.nix
blob: a6be21f7aa76a3d8eeb634c9ba0b9347beb17ad5 (plain)
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,
}:

buildPythonPackage rec {
  pname = "syncer";
  version = "2.0.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "miyakogi";
    repo = "syncer";
    rev = "v${version}";
    sha256 = "sha256-3EYWy6LuZ/3i+9d0QaclCqWMMw5O3WzhTY3LUL5iMso=";
  };

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

  pythonImportsCheck = [ "syncer" ];

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