connman-gtk: fix FTBFS with GCC-14 (incompatible pointer types) (#376077)
[NixPkgs.git] / pkgs / development / python-modules / habanero / default.nix
blob0de8a80f978eb2d085b8eaebee68b185a458d12f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools-scm,
6   requests,
7   tqdm,
8   vcrpy,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "habanero";
14   version = "1.2.6";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "sckott";
19     repo = pname;
20     tag = "v${version}";
21     hash = "sha256-Pw0TgXxDRmR565hdNGipfDZ7P32pxWkmPWfaYK0RaI4=";
22   };
24   build-system = [ setuptools-scm ];
26   dependencies = [
27     requests
28     tqdm
29   ];
31   nativeCheckInputs = [
32     pytestCheckHook
33     vcrpy
34   ];
36   pythonImportsCheck = [ "habanero" ];
38   # almost the entirety of the test suite makes network calls
39   pytestFlagsArray = [ "test/test-filters.py" ];
41   meta = {
42     description = "Python interface to Library Genesis";
43     homepage = "https://habanero.readthedocs.io/";
44     license = lib.licenses.mit;
45     maintainers = with lib.maintainers; [ nico202 ];
46   };