Merge pull request #100134 from oxzi/shortuuid-py2
pythonPackages.shortuuid: disable on Python 2
This commit is contained in:
commit
9776da9677
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue