redoflacs: 0.30.20150202 -> 0.30.20190903
This commit is contained in:
parent
603109c171
commit
b19c857985
|
@ -1,39 +1,49 @@
|
||||||
{ stdenv, fetchFromGitHub, makeWrapper
|
{ stdenv
|
||||||
, flac, sox }:
|
, lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, makeWrapper
|
||||||
|
, installShellFiles
|
||||||
|
, flac
|
||||||
|
, sox
|
||||||
|
, withAucdtect ? false
|
||||||
|
, aucdtect ? null
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "redoflacs";
|
pname = "redoflacs";
|
||||||
version = "0.30.20150202";
|
version = "0.30.20190903";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sirjaren";
|
owner = "sirjaren";
|
||||||
repo = "redoflacs";
|
repo = "redoflacs";
|
||||||
rev = "86c6f5becca0909dcb2a0cb9ed747a575d7a4735";
|
rev = "4ca544cbc075d0865884906208cb2b8bc318cf9e";
|
||||||
sha256 = "1gzlmh4vnf2fl0x8ig2n1f76082ngldsv85i27dv15y2m1kffw2j";
|
sha256 = "19lcl09d4ngz2zzwd8dnnxx41ddvznhar6ggrlf1xvkr5gd7lafp";
|
||||||
};
|
};
|
||||||
|
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
install -Dm755 -t $out/bin redoflacs
|
install -Dm755 -t $out/bin redoflacs
|
||||||
install -Dm644 -t $out/share/doc/redoflacs LICENSE *.md
|
install -Dm644 -t $out/share/doc/redoflacs LICENSE *.md
|
||||||
|
installManPage redoflacs.1
|
||||||
|
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapProgram $out/bin/redoflacs \
|
wrapProgram $out/bin/redoflacs \
|
||||||
--prefix PATH : ${stdenv.lib.makeBinPath [ flac sox ]}
|
--prefix PATH : ${stdenv.lib.makeBinPath ([ flac sox ] ++ lib.optional withAucdtect aucdtect)}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Parallel BASH commandline FLAC compressor, verifier, organizer, analyzer, and retagger";
|
description = "Parallel BASH commandline FLAC compressor, verifier, organizer, analyzer, and retagger";
|
||||||
homepage = src.meta.homepage;
|
homepage = src.meta.homepage;
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.all;
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user