nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage (finalAttrs: {
8 pname = "faustfmt";
9 version = "0-unstable-2025-10-29";
10
11 src = fetchFromGitHub {
12 owner = "grame-cncm";
13 repo = "faustfmt";
14 rev = "93a897a08f034b9a73397b0052a3391fcdb28fe9";
15 hash = "sha256-QZvzsWSrs5yXw7R89nz+hf/phdd6qBzp4CpjcnxbZEI=";
16 };
17
18 cargoHash = "sha256-uwBCy52juE3YcJoackhvrHjrvcoahbnDFg74p/X3ce8=";
19
20 meta = {
21 description = "Formatter for the Faust programming language, using Topiary";
22 homepage = "https://github.com/grame-cncm/faustfmt";
23 license = lib.licenses.gpl3Plus;
24 maintainers = with lib.maintainers; [ magnetophon ];
25 mainProgram = "faustfmt";
26 platforms = lib.platforms.all;
27 };
28})