summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-10-10 07:43:39 -0500
committerGitHub <noreply@github.com>2020-10-10 07:43:39 -0500
commit9776da9677fe66c0649ed6d9778a0d73a87bc98e (patch)
tree64b2709c3976ef14a6ef4c6838f189ea74754364 /pkgs
parent193e2d16c8cf38e6c2bd25eb7869330a4ca7f2ab (diff)
parent83ef8e4393bdddff43948f62b6c8c04a591c3f31 (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.nix3
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";