nixpkgs/pkgs/tools/audio/isrcsubmit/default.nix

25 lines
766 B
Nix
Raw Normal View History

2021-03-03 10:38:24 +00:00
{ 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; [ eduardosm ];
};
}