nixpkgs/pkgs/development/python-modules/huisbaasje-client/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

39 lines
784 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, aiohttp
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "huisbaasje-client";
version = "0.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "dennisschroer";
repo = "huisbaasje-client";
rev = "v${version}";
sha256 = "113aymffyz1nki3a43j5cyj87qa0762j38qlz0wd5px7diwjxsfl";
};
propagatedBuildInputs = [
aiohttp
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "huisbaasje.huisbaasje" ];
meta = with lib; {
description = "Client for Huisbaasje";
homepage = "https://github.com/dennisschroer/huisbaasje-client";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}