nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 28 lines 794 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage (finalAttrs: { 8 pname = "pasfmt"; 9 version = "0.7.0"; 10 11 src = fetchFromGitHub { 12 owner = "integrated-application-development"; 13 repo = "pasfmt"; 14 rev = "v${finalAttrs.version}"; 15 hash = "sha256-f8aXZdgiZJS/iIKgqisx97g/IRL5skstsb788QFffV4="; 16 }; 17 18 cargoHash = "sha256-hSPFgf2G7JBFbnejuBwCdmt2xnLosu+OPO51UVt1QtA="; 19 20 meta = { 21 description = "Delphi/Pascal code formatter"; 22 homepage = "https://github.com/integrated-application-development/pasfmt"; 23 changelog = "https://github.com/integrated-application-development/pasfmt/blob/${finalAttrs.src.rev}/CHANGELOG.md"; 24 license = lib.licenses.lgpl3; 25 maintainers = with lib.maintainers; [ daru-san ]; 26 mainProgram = "pasfmt"; 27 }; 28})