From cfda60042d9ecab8809e3dc0694908c6c39099c2 Mon Sep 17 00:00:00 2001 From: Albert Peschar Date: Tue, 15 Aug 2017 09:44:28 +0200 Subject: hyperlink: init at 17.3.0 --- .../python-modules/hyperlink/default.nix | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/hyperlink/default.nix (limited to 'pkgs/development/python-modules/hyperlink') diff --git a/pkgs/development/python-modules/hyperlink/default.nix b/pkgs/development/python-modules/hyperlink/default.nix new file mode 100644 index 000000000000..ca09c271ddac --- /dev/null +++ b/pkgs/development/python-modules/hyperlink/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchurl, pytest }: +buildPythonPackage rec { + name = "hyperlink-${version}"; + version = "17.3.0"; + + src = fetchurl { + url = "mirror://pypi/h/hyperlink/${name}.tar.gz"; + sha256 = "06mgnxwjzx8hv34bifc7jvgxz21ixhk5s6xy2kd84hdrlbfvpbfx"; + }; + + 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 ]; + }; +} -- cgit 1.4.1