mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
perlPackages.AppMusicChordPro: 0.977 -> 6.010
Added missing dependency on perl536packages.FileHomeDir.
This commit is contained in:
parent
3039c8311d
commit
bfeb5a3b29
@ -862,15 +862,22 @@ with self; {
|
||||
|
||||
AppMusicChordPro = buildPerlPackage {
|
||||
pname = "App-Music-ChordPro";
|
||||
version = "0.977";
|
||||
version = "6.010";
|
||||
src = fetchurl {
|
||||
url = "mirror://cpan/authors/id/J/JV/JV/App-Music-ChordPro-0.977.tar.gz";
|
||||
hash = "sha256-EPOVabK2KSct2zQIUxdb0E3YTHEHLOqzcSW2xga58T0=";
|
||||
url = "mirror://cpan/authors/id/J/JV/JV/App-Music-ChordPro-6.010.tar.gz";
|
||||
hash = "sha256-SqTkbR2bWIMcU5gSRf2WW6s1ckHtJVPkxj/bBO9X4kM=";
|
||||
};
|
||||
buildInputs = [ PodParser ];
|
||||
propagatedBuildInputs = [ AppPackager FileLoadLines IOString ImageInfo PDFAPI2 StringInterpolateNamed TextLayout ]
|
||||
propagatedBuildInputs = [ AppPackager FileLoadLines FileHomeDir IOString ImageInfo PDFAPI2 StringInterpolateNamed TextLayout ]
|
||||
++ lib.optionals (!stdenv.isDarwin) [ Wx ];
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
|
||||
# Delete tests that fail when version env var is set, see
|
||||
# https://github.com/ChordPro/chordpro/issues/293
|
||||
patchPhase = ''
|
||||
rm t/320_subst.t t/321_subst.t t/322_subst.t
|
||||
'';
|
||||
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang $out/bin/chordpro
|
||||
rm $out/bin/wxchordpro # Wx not supported on darwin
|
||||
|
Loading…
Reference in New Issue
Block a user