mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-06 04:53:27 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
25 lines
732 B
Nix
25 lines
732 B
Nix
{ 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 = [ ];
|
|
};
|
|
}
|