mbake: init at 1.2.4 (#419994)

authored by dotlambda and committed by GitHub 98b349f4 d85e3b87

+45
+45
pkgs/by-name/mb/mbake/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + python3Packages, 5 + versionCheckHook, 6 + }: 7 + 8 + python3Packages.buildPythonApplication rec { 9 + pname = "mbake"; 10 + version = "1.2.4"; 11 + pyproject = true; 12 + 13 + src = fetchFromGitHub { 14 + owner = "EbodShojaei"; 15 + repo = "bake"; 16 + tag = "v${version}"; 17 + hash = "sha256-RzM3HC3lYq93mngpqNCohcPMISWQ4+Lwa1V88S0O0To="; 18 + }; 19 + 20 + build-system = [ 21 + python3Packages.hatchling 22 + ]; 23 + 24 + dependencies = with python3Packages; [ 25 + rich 26 + typer 27 + ]; 28 + 29 + nativeCheckInputs = [ 30 + python3Packages.pytestCheckHook 31 + versionCheckHook 32 + ]; 33 + versionCheckProgramArg = "--version"; 34 + 35 + pythonImportsCheck = [ "bake" ]; 36 + 37 + meta = { 38 + description = "Makefile formatter and linter"; 39 + homepage = "https://github.com/EbodShojaei/bake"; 40 + changelog = "https://github.com/EbodShojaei/bake/blob/${src.tag}/CHANGELOG.md"; 41 + license = lib.licenses.mit; 42 + mainProgram = "mbake"; 43 + maintainers = [ lib.maintainers.amadejkastelic ]; 44 + }; 45 + }