2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, libsndfile }:
|
2018-09-13 16:50:22 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "accuraterip-checksum";
|
2018-09-13 16:50:22 +02:00
|
|
|
version = "1.5";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leo-bogert";
|
|
|
|
repo = "accuraterip-checksum";
|
|
|
|
rev = "version${version}";
|
|
|
|
sha256 = "1a6biy78jb094rifazn4a2g1dlhryg5q8p8gwj0a60ipl0vfb9bj";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libsndfile ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -D -m755 accuraterip-checksum "$out/bin/accuraterip-checksum"
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-09-13 16:50:22 +02:00
|
|
|
description = "Program for computing the AccurateRip checksum of singletrack WAV files";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/leo-bogert/accuraterip-checksum";
|
2018-09-13 16:50:22 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ ];
|
|
|
|
platforms = with platforms; linux;
|
2023-11-23 22:09:35 +01:00
|
|
|
mainProgram = "accuraterip-checksum";
|
2018-09-13 16:50:22 +02:00
|
|
|
};
|
|
|
|
}
|