5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
36 lines
699 B
Nix
36 lines
699 B
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|