2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, flake8, six, orderedmultidict, pytest }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "furl";
|
|
|
|
version = "2.1.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "08dnw3bs1mk0f1ccn466a5a7fi1ivwrp0jspav9arqpf3wd27q60";
|
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ flake8 pytest ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six orderedmultidict ];
|
|
|
|
|
|
|
|
# see https://github.com/gruns/furl/issues/121
|
|
|
|
checkPhase = ''
|
|
|
|
pytest -k 'not join'
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "furl is a small Python library that makes parsing and manipulating URLs easy";
|
|
|
|
homepage = "https://github.com/gruns/furl";
|
|
|
|
license = licenses.unlicense;
|
|
|
|
maintainers = with maintainers; [ vanzef ];
|
|
|
|
};
|
|
|
|
}
|