nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 50 lines 971 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 colorama, 5 editorconfig, 6 fetchFromGitHub, 7 hatchling, 8 hypothesis, 9 pytestCheckHook, 10 pyyaml, 11 types-colorama, 12}: 13 14buildPythonPackage rec { 15 pname = "beautysh"; 16 version = "6.4.2"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "lovesegfault"; 21 repo = "beautysh"; 22 tag = "v${version}"; 23 hash = "sha256-wLqysNhkagZ+sphqMC78cLoKvsMJpJCJr16lgvU37JI="; 24 }; 25 26 build-system = [ hatchling ]; 27 28 dependencies = [ 29 colorama 30 editorconfig 31 types-colorama 32 ]; 33 34 nativeCheckInputs = [ 35 hypothesis 36 pytestCheckHook 37 pyyaml 38 ]; 39 40 pythonImportsCheck = [ "beautysh" ]; 41 42 meta = { 43 description = "Tool for beautifying Bash scripts"; 44 homepage = "https://github.com/lovesegfault/beautysh"; 45 changelog = "https://github.com/lovesegfault/beautysh/releases/tag/${src.tag}"; 46 license = lib.licenses.asl20; 47 maintainers = with lib.maintainers; [ fab ]; 48 mainProgram = "beautysh"; 49 }; 50}