biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pysyncthru / default.nix
blob879c4f3388bd680abdbe8230e5dc77e5f635ceb7
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchFromGitHub,
6   setuptools,
7   aiohttp,
8   demjson3,
9   unittestCheckHook,
12 buildPythonPackage rec {
13   pname = "pysyncthru";
14   version = "0.8.0";
16   disabled = pythonOlder "3.7";
18   pyproject = true;
20   src = fetchFromGitHub {
21     owner = "nielstron";
22     repo = "pysyncthru";
23     rev = "refs/tags/${version}";
24     hash = "sha256-Zije1WzfgIU9pT0H7T/Mx+5gEBCsRgMLkfsa/KB0YtI=";
25   };
27   nativeBuildInputs = [ setuptools ];
29   propagatedBuildInputs = [
30     aiohttp
31     demjson3
32   ];
34   nativeCheckInputs = [ unittestCheckHook ];
36   pythonImportsCheck = [ "pysyncthru" ];
38   meta = with lib; {
39     description = "Automated JSON API based communication with Samsung SyncThru Web Service";
40     homepage = "https://github.com/nielstron/pysyncthru";
41     license = licenses.mit;
42     maintainers = with maintainers; [ dotlambda ];
43   };