nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 814 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 aiohttp, 7 demjson3, 8 unittestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pysyncthru"; 13 version = "0.8.0"; 14 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "nielstron"; 19 repo = "pysyncthru"; 20 tag = version; 21 hash = "sha256-Zije1WzfgIU9pT0H7T/Mx+5gEBCsRgMLkfsa/KB0YtI="; 22 }; 23 24 nativeBuildInputs = [ setuptools ]; 25 26 propagatedBuildInputs = [ 27 aiohttp 28 demjson3 29 ]; 30 31 nativeCheckInputs = [ unittestCheckHook ]; 32 33 pythonImportsCheck = [ "pysyncthru" ]; 34 35 meta = { 36 description = "Automated JSON API based communication with Samsung SyncThru Web Service"; 37 homepage = "https://github.com/nielstron/pysyncthru"; 38 license = lib.licenses.mit; 39 maintainers = with lib.maintainers; [ dotlambda ]; 40 }; 41}