biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / mortgage / default.nix
blobec5e39c6b8ab1f2f370b503093eb4030cd50cf2d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "mortgage";
12   version = "1.0.5";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "jlumbroso";
19     repo = "mortgage";
20     rev = "refs/tags/v${version}";
21     hash = "sha256-UwSEKfMQqxpcF+7TF/+qD6l8gEO/qDCUklpZz1Nt/Ok=";
22   };
24   build-system = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "mortgage" ];
30   meta = with lib; {
31     description = "Mortgage calculator";
32     homepage = "https://github.com/jlumbroso/mortgage";
33     license = licenses.mit;
34     maintainers = [ ];
35   };