Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
689 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ 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"; tag = "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 = [ ]; };}