diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-10-10 07:43:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-10 07:43:39 -0500 |
commit | 9776da9677fe66c0649ed6d9778a0d73a87bc98e (patch) | |
tree | 64b2709c3976ef14a6ef4c6838f189ea74754364 /pkgs | |
parent | 193e2d16c8cf38e6c2bd25eb7869330a4ca7f2ab (diff) | |
parent | 83ef8e4393bdddff43948f62b6c8c04a591c3f31 (diff) |
Merge pull request #100134 from oxzi/shortuuid-py2
pythonPackages.shortuuid: disable on Python 2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/shortuuid/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/shortuuid/default.nix b/pkgs/development/python-modules/shortuuid/default.nix index 4798bc4ff7e6..4fec2a3f04c0 100644 --- a/pkgs/development/python-modules/shortuuid/default.nix +++ b/pkgs/development/python-modules/shortuuid/default.nix @@ -1,5 +1,6 @@ { stdenv , buildPythonPackage +, isPy3k , fetchPypi , pep8 }: @@ -8,6 +9,8 @@ buildPythonPackage rec { pname = "shortuuid"; version = "1.0.1"; + disabled = !isPy3k; + src = fetchPypi { inherit pname version; sha256 = "3c11d2007b915c43bee3e10625f068d8a349e04f0d81f08f5fa08507427ebf1f"; |