nixpkgs-suyu/pkgs/development/python-modules/mortgage/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

31 lines
518 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "mortgage";
version = "1.0.5";
format = "setuptools";
src = fetchPypi {
inherit version pname;
sha256 = "18fcb356c631e9cc27fa7019f6ff6021707e34b9ce3a3b7dc815661288709921";
};
nativeCheckInputs = [
pytestCheckHook
];
doCheck = false; # No tests in sdist
disabled = pythonOlder "3.5";
meta = {
description = "Mortgage calculator";
license = lib.licenses.mit;
};
}