nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5}:
6
7buildPythonPackage rec {
8 pname = "syncer";
9 version = "2.0.3";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "miyakogi";
14 repo = "syncer";
15 rev = "v${version}";
16 sha256 = "sha256-3EYWy6LuZ/3i+9d0QaclCqWMMw5O3WzhTY3LUL5iMso=";
17 };
18
19 # Tests require an not maintained package (xfail)
20 doCheck = false;
21
22 pythonImportsCheck = [ "syncer" ];
23
24 meta = {
25 description = "Python async to sync converter";
26 homepage = "https://github.com/miyakogi/syncer";
27 license = lib.licenses.mit;
28 maintainers = with lib.maintainers; [ fab ];
29 };
30}