nixpkgs/pkgs/tools/audio/isrcsubmit/default.nix
2021-10-28 16:21:46 +02:00

24 lines
756 B
Nix

{ lib, stdenv, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "isrcsubmit";
version = "2.1.0";
src = fetchFromGitHub {
owner = "JonnyJD";
repo = "musicbrainz-isrcsubmit";
rev = "v${version}";
sha256 = "1lqs4jl2xv1zxmf0xsihk9rxzx2awq87g51vd7y3cq1vhj1icxqa";
};
propagatedBuildInputs = with python3Packages; [ musicbrainzngs discid ];
meta = with lib; {
# drutil is required on Darwin, which does not seem to be available in nixpkgs
broken = stdenv.isDarwin;
description = "Script to submit ISRCs from disc to MusicBrainz";
license = licenses.gpl3Plus;
homepage = "http://jonnyjd.github.io/musicbrainz-isrcsubmit/";
maintainers = with maintainers; [ ];
};
}