nixpkgs/pkgs/development/python-modules/furl/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

38 lines
694 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, flake8
, orderedmultidict
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "furl";
version = "2.1.3";
src = fetchPypi {
inherit pname version;
sha256 = "5a6188fe2666c484a12159c18be97a1977a71d632ef5bb867ef15f54af39cc4e";
};
propagatedBuildInputs = [
orderedmultidict
six
];
nativeCheckInputs = [
flake8
pytestCheckHook
];
pythonImportsCheck = [ "furl" ];
meta = with lib; {
description = "Python library that makes parsing and manipulating URLs easy";
homepage = "https://github.com/gruns/furl";
license = licenses.unlicense;
maintainers = with maintainers; [ vanzef ];
};
}