1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-16 01:46:30 +00:00
nixpkgs/pkgs/tools/audio/accuraterip-checksum/default.nix

32 lines
802 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, libsndfile }:
2018-09-13 15:50:22 +01:00
stdenv.mkDerivation rec {
pname = "accuraterip-checksum";
2018-09-13 15:50:22 +01: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
'';
meta = with lib; {
2018-09-13 15:50:22 +01:00
description = "Program for computing the AccurateRip checksum of singletrack WAV files";
homepage = "https://github.com/leo-bogert/accuraterip-checksum";
2018-09-13 15:50:22 +01:00
license = licenses.gpl3;
maintainers = with maintainers; [ ];
platforms = with platforms; linux;
};
}