nixpkgs/pkgs/applications/audio/tone/default.nix
mdarocha 5d71301d0d tone: remove duplicate settings after buildDotnetModule changes
Also bring back support for non-x86 linux, since crossgen2 works
properly now.
2023-06-21 17:06:31 +02:00

33 lines
847 B
Nix

{ lib, fetchFromGitHub, buildDotnetModule, ffmpeg-full, dotnetCorePackages }:
buildDotnetModule rec {
pname = "tone";
version = "0.1.5";
src = fetchFromGitHub {
owner = "sandreas";
repo = pname;
rev = "v${version}";
sha256 = "sha256-HhXyOPoDtraT7ef0kpE7SCQbvGFLrTddzS6Kdu0LxW4=";
};
projectFile = "tone/tone.csproj";
executables = [ "tone" ];
nugetDeps = ./nuget-deps.nix;
dotnetInstallFlags = [
"-p:PublishSingleFile=false"
];
dotnet-sdk = dotnetCorePackages.sdk_6_0;
runtimeDeps = [ ffmpeg-full ];
meta = with lib; {
homepage = "https://github.com/sandreas/tone";
description = "A cross platform utility to dump and modify audio metadata for a wide variety of formats";
license = licenses.asl20;
maintainers = [ maintainers.jvanbruegge ];
platforms = platforms.linux;
};
}