From 2881043be7ed3936a53a3c4cd7e8aae14de93b1a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 23 May 2021 23:57:48 +0200 Subject: [PATCH] python3Packages.syncer: init at 1.3.0 --- .../python-modules/syncer/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/syncer/default.nix diff --git a/pkgs/development/python-modules/syncer/default.nix b/pkgs/development/python-modules/syncer/default.nix new file mode 100644 index 000000000000..cd3bbf699de2 --- /dev/null +++ b/pkgs/development/python-modules/syncer/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3ecf4494ff4f..5a548075badc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7952,6 +7952,8 @@ in { sympy = callPackage ../development/python-modules/sympy { }; + syncer = callPackage ../development/python-modules/syncer { }; + systembridge = callPackage ../development/python-modules/systembridge { }; systemd = callPackage ../development/python-modules/systemd {