nixpkgs/pkgs/development/python-modules/furl/default.nix

38 lines
675 B
Nix
Raw Normal View History

2021-03-07 15:48:10 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, flake8
, orderedmultidict
, pytestCheckHook
, six
}:
2019-08-12 14:05:32 +01:00
buildPythonPackage rec {
pname = "furl";
2021-07-07 15:24:20 +01:00
version = "2.1.2";
2019-08-12 14:05:32 +01:00
src = fetchPypi {
inherit pname version;
2021-07-07 15:24:20 +01:00
sha256 = "sha256-99ujPq++59vIOWNTSyXnL4FsztSKxTGR7mC/zGKTORg=";
2019-08-12 14:05:32 +01:00
};
2021-03-07 15:48:10 +00:00
propagatedBuildInputs = [
orderedmultidict
six
];
2019-08-12 14:05:32 +01:00
2021-03-07 15:48:10 +00:00
checkInputs = [
flake8
pytestCheckHook
];
pythonImportsCheck = [ "furl" ];
2020-02-19 12:12:43 +00:00
meta = with lib; {
2021-03-07 15:48:10 +00:00
description = "Python library that makes parsing and manipulating URLs easy";
2020-02-19 12:12:43 +00:00
homepage = "https://github.com/gruns/furl";
license = licenses.unlicense;
2019-08-12 14:05:32 +01:00
maintainers = with maintainers; [ vanzef ];
};
}