2018-02-26 21:00:28 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, idna, pytest }:
|
2017-11-09 12:26:09 +01:00
|
|
|
|
2017-08-15 09:44:28 +02:00
|
|
|
buildPythonPackage rec {
|
2017-11-09 12:26:09 +01:00
|
|
|
pname = "hyperlink";
|
2018-02-26 18:45:27 +01:00
|
|
|
version = "18.0.0";
|
2017-08-15 09:44:28 +02:00
|
|
|
|
2018-02-26 21:00:28 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-26 18:45:27 +01:00
|
|
|
sha256 = "f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306";
|
2017-08-15 09:44:28 +02:00
|
|
|
};
|
|
|
|
|
2018-02-26 20:59:21 +01:00
|
|
|
propagatedBuildInputs = [ idna ];
|
|
|
|
|
2017-08-15 09:44:28 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|