2017-08-15 07:44:28 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchurl, pytest }:
|
2017-11-09 11:26:09 +00:00
|
|
|
|
2017-08-15 07:44:28 +00:00
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "hyperlink";
|
2017-11-24 19:36:20 +00:00
|
|
|
version = "17.3.1";
|
2017-11-09 11:26:09 +00:00
|
|
|
name = pname + "-" + version;
|
2017-08-15 07:44:28 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/h/hyperlink/${name}.tar.gz";
|
2017-11-24 19:36:20 +00:00
|
|
|
sha256 = "bc4ffdbde9bdad204d507bd8f554f16bba82dd356f6130cb16f41422909c33bc";
|
2017-08-15 07:44:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A featureful, correct URL for Python";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ apeschar ];
|
|
|
|
};
|
|
|
|
}
|