2023-05-04 16:35:39 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDotnetModule, ffmpeg-full, dotnetCorePackages }:
|
2023-01-28 18:30:22 +00:00
|
|
|
|
2023-05-04 16:35:39 +00:00
|
|
|
buildDotnetModule rec {
|
2023-01-28 18:30:22 +00:00
|
|
|
pname = "tone";
|
2023-04-08 14:26:46 +00:00
|
|
|
version = "0.1.5";
|
2023-01-28 18:30:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sandreas";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-04-08 14:26:46 +00:00
|
|
|
sha256 = "sha256-HhXyOPoDtraT7ef0kpE7SCQbvGFLrTddzS6Kdu0LxW4=";
|
2023-01-28 18:30:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
projectFile = "tone/tone.csproj";
|
|
|
|
executables = [ "tone" ];
|
|
|
|
nugetDeps = ./nuget-deps.nix;
|
2023-06-21 15:06:26 +00:00
|
|
|
|
2023-01-28 18:30:22 +00:00
|
|
|
dotnetInstallFlags = [
|
|
|
|
"-p:PublishSingleFile=false"
|
|
|
|
];
|
|
|
|
|
|
|
|
dotnet-sdk = dotnetCorePackages.sdk_6_0;
|
|
|
|
runtimeDeps = [ ffmpeg-full ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/sandreas/tone";
|
2023-05-04 16:35:39 +00:00
|
|
|
description = "A cross platform utility to dump and modify audio metadata for a wide variety of formats";
|
2023-01-28 18:30:22 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.jvanbruegge ];
|
2023-06-21 15:06:26 +00:00
|
|
|
platforms = platforms.linux;
|
2023-01-28 18:30:22 +00:00
|
|
|
};
|
|
|
|
}
|