1{ stdenv, buildPythonPackage, fetchurl, pytest }:
2buildPythonPackage rec {
3 name = "hyperlink-${version}";
4 version = "17.3.0";
5
6 src = fetchurl {
7 url = "mirror://pypi/h/hyperlink/${name}.tar.gz";
8 sha256 = "06mgnxwjzx8hv34bifc7jvgxz21ixhk5s6xy2kd84hdrlbfvpbfx";
9 };
10
11 checkInputs = [ pytest ];
12
13 checkPhase = ''
14 py.test $out
15 '';
16
17 meta = with stdenv.lib; {
18 description = "A featureful, correct URL for Python";
19 license = licenses.mit;
20 platforms = platforms.all;
21 maintainers = with maintainers; [ apeschar ];
22 };
23}