Merge pull request #131218 from dotlambda/pysyncthru-tests

python3Packages.pysyncthru: run tests

authored by davidak and committed by GitHub 270afc54 cdac06c9

+6 -8
+6 -8
pkgs/development/python-modules/pysyncthru/default.nix
··· 1 1 { lib 2 2 , isPy27 3 3 , buildPythonPackage 4 - , fetchPypi 4 + , fetchFromGitHub 5 5 , aiohttp 6 6 , demjson 7 7 , python ··· 13 13 14 14 disabled = isPy27; 15 15 16 - src = fetchPypi { 17 - pname = "PySyncThru"; 18 - inherit version; 19 - sha256 = "13564018a7de4fe013e195e19d7bae92aa224e0f3a32373576682722d3dbee52"; 16 + src = fetchFromGitHub { 17 + owner = "nielstron"; 18 + repo = "pysyncthru"; 19 + rev = "release-${version}"; 20 + sha256 = "122zxwqwx03vaxbhmp3cjibjnkirayz0w68gvslsdr7n9nqv3pgz"; 20 21 }; 21 22 22 23 propagatedBuildInputs = [ ··· 27 28 checkPhase = '' 28 29 ${python.interpreter} -m unittest 29 30 ''; 30 - 31 - # no tests on PyPI, no tags on GitHub 32 - doCheck = false; 33 31 34 32 pythonImportsCheck = [ "pysyncthru" ]; 35 33