summary refs log tree commit diff
path: root/pkgs/development/python-modules/hyperlink/default.nix
blob: 4fbce36ee7ea2b71ccc8b4fc3def5e259179237e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildPythonPackage, fetchurl, pytest }:

buildPythonPackage rec {
  pname = "hyperlink";
  version = "18.0.0";
  name = pname + "-" + version;

  src = fetchurl {
    url = "mirror://pypi/h/hyperlink/${name}.tar.gz";
    sha256 = "f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306";
  };

  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 ];
  };
}