1{ stdenv, buildPythonPackage, fetchPypi, flake8, six, orderedmultidict, pytest }:
2
3buildPythonPackage rec {
4 pname = "furl";
5 version = "2.1.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "08dnw3bs1mk0f1ccn466a5a7fi1ivwrp0jspav9arqpf3wd27q60";
10 };
11
12 checkInputs = [ flake8 pytest ];
13
14 propagatedBuildInputs = [ six orderedmultidict ];
15
16 # see https://github.com/gruns/furl/issues/121
17 checkPhase = ''
18 pytest -k 'not join'
19 '';
20
21 meta = with stdenv.lib; {
22 description = "furl is a small Python library that makes parsing and manipulating URLs easy";
23 homepage = "https://github.com/gruns/furl";
24 license = licenses.unlicense;
25 maintainers = with maintainers; [ vanzef ];
26 };
27}