blob: ec5e39c6b8ab1f2f370b503093eb4030cd50cf2d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools,
}:
buildPythonPackage rec {
pname = "mortgage";
version = "1.0.5";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "jlumbroso";
repo = "mortgage";
rev = "refs/tags/v${version}";
hash = "sha256-UwSEKfMQqxpcF+7TF/+qD6l8gEO/qDCUklpZz1Nt/Ok=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "mortgage" ];
meta = with lib; {
description = "Mortgage calculator";
homepage = "https://github.com/jlumbroso/mortgage";
license = licenses.mit;
maintainers = [ ];
};
}
|