From b59b18e022d8bbc360bfb97417349f9c72de62c1 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Wed, 29 Oct 2025 12:44:54 +0100 Subject: [PATCH] faustfmt: init at unstable-2025-10-29 --- pkgs/by-name/fa/faustfmt/package.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/by-name/fa/faustfmt/package.nix diff --git a/pkgs/by-name/fa/faustfmt/package.nix b/pkgs/by-name/fa/faustfmt/package.nix new file mode 100644 index 000000000000..063eba2bf986 --- /dev/null +++ b/pkgs/by-name/fa/faustfmt/package.nix @@ -0,0 +1,28 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "faustfmt"; + version = "0-unstable-2025-10-29"; + + src = fetchFromGitHub { + owner = "grame-cncm"; + repo = "faustfmt"; + rev = "93a897a08f034b9a73397b0052a3391fcdb28fe9"; + hash = "sha256-QZvzsWSrs5yXw7R89nz+hf/phdd6qBzp4CpjcnxbZEI="; + }; + + cargoHash = "sha256-uwBCy52juE3YcJoackhvrHjrvcoahbnDFg74p/X3ce8="; + + meta = { + description = "Formatter for the Faust programming language, using Topiary"; + homepage = "https://github.com/grame-cncm/faustfmt"; + license = lib.licenses.gpl3Plus; + maintainers = with lib.maintainers; [ magnetophon ]; + mainProgram = "faustfmt"; + platforms = lib.platforms.all; + }; +})