Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at r-updates 33 lines 635 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 setuptools, 7}: 8 9buildPythonPackage rec { 10 pname = "mortgage"; 11 version = "1.0.5"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "jlumbroso"; 16 repo = "mortgage"; 17 tag = "v${version}"; 18 hash = "sha256-UwSEKfMQqxpcF+7TF/+qD6l8gEO/qDCUklpZz1Nt/Ok="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "mortgage" ]; 26 27 meta = { 28 description = "Mortgage calculator"; 29 homepage = "https://github.com/jlumbroso/mortgage"; 30 license = lib.licenses.mit; 31 maintainers = [ ]; 32 }; 33}