8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
27 lines
721 B
Nix
27 lines
721 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, flake8, six, orderedmultidict, pytest }:
|
|
|
|
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'
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
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 ];
|
|
};
|
|
}
|