mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
32 lines
670 B
Nix
32 lines
670 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "syncer";
|
|
version = "2.0.3";
|
|
format = "setuptools";
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "miyakogi";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-3EYWy6LuZ/3i+9d0QaclCqWMMw5O3WzhTY3LUL5iMso=";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|