diff options
author | Alvar Penning <post@0x21.biz> | 2020-10-10 11:06:51 +0200 |
---|---|---|
committer | Alvar Penning <post@0x21.biz> | 2020-10-10 11:06:51 +0200 |
commit | 83ef8e4393bdddff43948f62b6c8c04a591c3f31 (patch) | |
tree | c8d36075b14daafcf6204f9e78ef11539d681072 /pkgs | |
parent | 8bc409e546590137cd43651ee6f2909c6c9f5c73 (diff) |
pythonPackages.shortuuid: disable on Python 2
Compatibility was dropped upstream for release 1.0.0.
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"; |