1 { lib, stdenv, fetchFromGitHub, libsndfile }:
3 stdenv.mkDerivation rec {
4 pname = "accuraterip-checksum";
7 src = fetchFromGitHub {
9 repo = "accuraterip-checksum";
10 rev = "version${version}";
11 sha256 = "1a6biy78jb094rifazn4a2g1dlhryg5q8p8gwj0a60ipl0vfb9bj";
14 buildInputs = [ libsndfile ];
19 install -D -m755 accuraterip-checksum "$out/bin/accuraterip-checksum"
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;
29 platforms = with platforms; linux;
30 mainProgram = "accuraterip-checksum";