about summary refs log tree commit diff
path: root/pkgs/tools/audio/isrcsubmit/default.nix
blob: f135cccbc6cda74f86ddd82f3d611349ab32869b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, 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 = true; # 2022-11-16
    description = "Script to submit ISRCs from disc to MusicBrainz";
    license = licenses.gpl3Plus;
    homepage = "http://jonnyjd.github.io/musicbrainz-isrcsubmit/";
    maintainers = with maintainers; [ ];
  };
}