biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / audio / accuraterip-checksum / default.nix
blobdf4dfef93ba1e4d88313351cde0e5a590e3f16be
1 { lib, stdenv, fetchFromGitHub, libsndfile }:
3 stdenv.mkDerivation rec {
4   pname = "accuraterip-checksum";
5   version = "1.5";
7   src = fetchFromGitHub {
8     owner = "leo-bogert";
9     repo = "accuraterip-checksum";
10     rev = "version${version}";
11     sha256 = "1a6biy78jb094rifazn4a2g1dlhryg5q8p8gwj0a60ipl0vfb9bj";
12   };
14   buildInputs = [ libsndfile ];
16   installPhase = ''
17     runHook preInstall
19     install -D -m755 accuraterip-checksum "$out/bin/accuraterip-checksum"
21     runHook postInstall
22   '';
24   meta = with lib; {
25     description = "Program for computing the AccurateRip checksum of singletrack WAV files";
26     homepage = "https://github.com/leo-bogert/accuraterip-checksum";
27     license = licenses.gpl3;
28     maintainers = [ ];
29     platforms = with platforms; linux;
30     mainProgram = "accuraterip-checksum";
31   };