From 84c96dc458e26195b2362b06ccd5302321ebee73 Mon Sep 17 00:00:00 2001 From: jecaro Date: Tue, 17 Sep 2024 22:36:38 +0200 Subject: [PATCH] id3: init at 0.81 Release notes: https://github.com/squell/id3/releases/tag/0.81 --- pkgs/by-name/id/id3/package.nix | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pkgs/by-name/id/id3/package.nix diff --git a/pkgs/by-name/id/id3/package.nix b/pkgs/by-name/id/id3/package.nix new file mode 100644 index 000000000000..e0cd063141c5 --- /dev/null +++ b/pkgs/by-name/id/id3/package.nix @@ -0,0 +1,31 @@ +{ + fetchFromGitHub, + lib, + libiconv, + stdenv, +}: + +stdenv.mkDerivation rec { + pname = "id3"; + version = "0.81"; + + src = fetchFromGitHub { + owner = "squell"; + repo = "id3"; + rev = version; + hash = "sha256-+h1wwgTB7CpbjyUAK+9BNRhmy83D+1I+cZ70E1m3ENk="; + }; + + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ]; + + makeFlags = [ "prefix=$(out)" ]; + + meta = { + description = "Portable command-line mass tagger"; + homepage = "https://squell.github.io/id3/"; + license = lib.licenses.bsd2; + maintainers = with lib.maintainers; [ jecaro ]; + platforms = lib.platforms.unix; + mainProgram = "id3"; + }; +}