18 stdenv.mkDerivation rec {
20 version = "0-unstable-2023-08-05";
22 src = fetchFromGitHub {
25 rev = "ffaeb50dcce74bf3ba1b05f98423cf48f205f55e";
26 hash = "sha256-E3v3UoQumBBYDOiXMfCRh5J7bfUCkettHth7SAresCE=";
30 # solve error[E0310]: the parameter type `T` may not live long enough
31 # in rust-serialize crate
32 ./rustc_serialize_update.patch
35 cargoDeps = rustPlatform.fetchCargoTarball {
37 name = "${pname}-${version}";
38 patches = [ ./rustc_serialize_update.patch ];
39 hash = "sha256-1Zb0J2tO/gIifDymmoXxZf6RNV8foE9QiQqZcrHrWzE=";
46 rustPlatform.cargoSetupHook
61 description = "Fine-tune your instruments";
63 Fine-tune your instruments with Chromatic. Chromatic
64 detects the frequency of audio input, converts it to
65 a musical note with the correct semitone and octave,
66 and displays the cents error. Cents are displayed on
67 an analog gauge to make tuning more visually intuitive.
68 Requires PulseAudio or PipeWire.
70 homepage = "https://github.com/nate-xyz/chromatic";
71 license = licenses.gpl3Plus;
72 mainProgram = "chromatic";
73 maintainers = with maintainers; [ aleksana ];
74 platforms = platforms.linux;