python3Packages.uritools: python2 no longer supported

This commit is contained in:
Jonathan Ringer 2019-12-22 12:23:12 -08:00 committed by Frederik Rietdijk
parent 4984eb8b63
commit d64c5457f4

View File

@ -1,16 +1,15 @@
{ stdenv, buildPythonPackage, fetchPypi, ipaddress }:
{ stdenv, buildPythonPackage, fetchPypi, isPy27 }:
buildPythonPackage rec {
pname = "uritools";
version = "3.0.0";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "405917a31ce58a57c8ccd0e4ea290f38baf2f4823819c3688f5331f1aee4ccb0";
};
propagatedBuildInputs = [ ipaddress ];
meta = with stdenv.lib; {
description = "RFC 3986 compliant, Unicode-aware, scheme-agnostic replacement for urlparse";
license = licenses.mit;