diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-07-23 12:30:29 +0200 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-07-23 12:30:29 +0200 |
commit | 67e3992d7a0317a96114bb78aca077e422a06bd9 (patch) | |
tree | afd183da2b536d6e39e512fd4555c64a8842190c /pkgs/development/python-modules/pysyncthru | |
parent | 1779e6fa8ff497c34c515477970ee5bfcf018fe9 (diff) |
python3Packages.pysyncthru: run tests
Diffstat (limited to 'pkgs/development/python-modules/pysyncthru')
-rw-r--r-- | pkgs/development/python-modules/pysyncthru/default.nix | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pysyncthru/default.nix b/pkgs/development/python-modules/pysyncthru/default.nix index d3fed5dc4b581..3fc0600f6d7e4 100644 --- a/pkgs/development/python-modules/pysyncthru/default.nix +++ b/pkgs/development/python-modules/pysyncthru/default.nix @@ -1,7 +1,7 @@ { lib , isPy27 , buildPythonPackage -, fetchPypi +, fetchFromGitHub , aiohttp , demjson , python @@ -13,10 +13,11 @@ buildPythonPackage rec { disabled = isPy27; - src = fetchPypi { - pname = "PySyncThru"; - inherit version; - sha256 = "13564018a7de4fe013e195e19d7bae92aa224e0f3a32373576682722d3dbee52"; + src = fetchFromGitHub { + owner = "nielstron"; + repo = "pysyncthru"; + rev = "release-${version}"; + sha256 = "122zxwqwx03vaxbhmp3cjibjnkirayz0w68gvslsdr7n9nqv3pgz"; }; propagatedBuildInputs = [ @@ -28,9 +29,6 @@ buildPythonPackage rec { ${python.interpreter} -m unittest ''; - # no tests on PyPI, no tags on GitHub - doCheck = false; - pythonImportsCheck = [ "pysyncthru" ]; meta = with lib; { |