bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
33 lines
871 B
Nix
33 lines
871 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 = "Cross platform utility to dump and modify audio metadata for a wide variety of formats";
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.jvanbruegge ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "tone";
|
|
};
|
|
}
|