diff options
author | davidak <davidak@users.noreply.github.com> | 2021-07-24 08:10:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 08:10:06 +0200 |
commit | 270afc54e1520caa0f34dc0e8b01362ed31f2688 (patch) | |
tree | 23f4065aa7b6c2b89b447fae51577861696e86f6 /pkgs | |
parent | cdac06c9bbd6f1f71b9afac48ec67fe91226ea6d (diff) | |
parent | 67e3992d7a0317a96114bb78aca077e422a06bd9 (diff) | |
download | nixlib-270afc54e1520caa0f34dc0e8b01362ed31f2688.tar nixlib-270afc54e1520caa0f34dc0e8b01362ed31f2688.tar.gz nixlib-270afc54e1520caa0f34dc0e8b01362ed31f2688.tar.bz2 nixlib-270afc54e1520caa0f34dc0e8b01362ed31f2688.tar.lz nixlib-270afc54e1520caa0f34dc0e8b01362ed31f2688.tar.xz nixlib-270afc54e1520caa0f34dc0e8b01362ed31f2688.tar.zst nixlib-270afc54e1520caa0f34dc0e8b01362ed31f2688.zip |
Merge pull request #131218 from dotlambda/pysyncthru-tests
python3Packages.pysyncthru: run tests
Diffstat (limited to 'pkgs')
-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 d3fed5dc4b58..3fc0600f6d7e 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; { |