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

38 lines
688 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-10-08 23:23:01 +01:00
version = "2.1.3";
2019-08-12 14:05:32 +01:00
src = fetchPypi {
inherit pname version;
2021-10-08 23:23:01 +01:00
sha256 = "5a6188fe2666c484a12159c18be97a1977a71d632ef5bb867ef15f54af39cc4e";
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 ];
};
}