depot/third_party/nixpkgs/pkgs/applications/audio/tone/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

34 lines
960 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;
dotnetBuildFlags = [ "--no-self-contained" ];
dotnetInstallFlags = [
"-p:PublishSingleFile=false"
"-p:PublishTrimmed=false"
"-p:PublishReadyToRun=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 = [ "x86_64-linux" ];
};
}