parent
b01bec19d8
commit
101b4ec546
|
@ -1,39 +1,39 @@
|
|||
{ stdenv, fetchFromGitHub, buildPerlPackage, autovivification, BusinessISBN
|
||||
{ stdenv, fetchFromGitHub, buildPerlModule, autovivification, BusinessISBN
|
||||
, BusinessISMN, BusinessISSN, ConfigAutoConf, DataCompare, DataDump, DateSimple
|
||||
, DateTime, DateTimeFormatBuilder, DateTimeCalendarJulian
|
||||
, EncodeEUCJPASCII, EncodeHanExtra, EncodeJIS2K, ExtUtilsLibBuilder
|
||||
, FileSlurp, IPCRun3, Log4Perl, LWPProtocolHttps, ListAllUtils, ListMoreUtils
|
||||
, ModuleBuild, MozillaCA, ReadonlyXS, RegexpCommon, TextBibTeX, UnicodeCollate
|
||||
, MozillaCA, ReadonlyXS, RegexpCommon, TextBibTeX, UnicodeCollate
|
||||
, UnicodeLineBreak, URI, XMLLibXMLSimple, XMLLibXSLT, XMLWriter, ClassAccessor
|
||||
, TextRoman, DataUniqid, LinguaTranslit, UnicodeNormalize }:
|
||||
, TextCSV, TextRoman, DataUniqid, LinguaTranslit, UnicodeNormalize, SortKey }:
|
||||
|
||||
let
|
||||
version = "2.5";
|
||||
in
|
||||
buildPerlPackage {
|
||||
buildPerlModule rec {
|
||||
name = "biber-${version}";
|
||||
version = "2.7";
|
||||
src = fetchFromGitHub {
|
||||
owner = "plk";
|
||||
repo = "biber";
|
||||
rev = "v${version}";
|
||||
sha256 = "1ldkszsr2n11nib4nvmpvsxmvp0qd9w3lxijyqlf01cfaryjdzgr";
|
||||
sha256 = "04jmsh59g2s0b61rm25z0hwb6yliqyh5gjs4y74va93d2b9mrd17";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
autovivification BusinessISBN BusinessISMN BusinessISSN ConfigAutoConf
|
||||
DataCompare DataDump DateSimple EncodeEUCJPASCII EncodeHanExtra EncodeJIS2K
|
||||
DateTime DateTimeFormatBuilder DateTimeCalendarJulian
|
||||
ExtUtilsLibBuilder FileSlurp IPCRun3 Log4Perl LWPProtocolHttps ListAllUtils
|
||||
ListMoreUtils ModuleBuild MozillaCA ReadonlyXS RegexpCommon TextBibTeX
|
||||
ListMoreUtils MozillaCA ReadonlyXS RegexpCommon TextBibTeX
|
||||
UnicodeCollate UnicodeLineBreak URI XMLLibXMLSimple XMLLibXSLT XMLWriter
|
||||
ClassAccessor TextRoman DataUniqid LinguaTranslit UnicodeNormalize
|
||||
ClassAccessor TextCSV TextRoman DataUniqid LinguaTranslit UnicodeNormalize SortKey
|
||||
];
|
||||
preConfigure = "touch Makefile.PL";
|
||||
buildPhase = "perl Build.PL --prefix=$out; ./Build build";
|
||||
checkPhase = "./Build test";
|
||||
installPhase = "./Build install";
|
||||
|
||||
# Tests seem to be broken
|
||||
doCheck = false;
|
||||
|
||||
postUnpack = ''
|
||||
sed '1s/env perl/perl/' -i */bin/biber
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Backend for BibLaTeX";
|
||||
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
|
||||
|
|
|
@ -1329,13 +1329,14 @@ with pkgs;
|
|||
bgs = callPackage ../tools/X11/bgs { };
|
||||
|
||||
biber = callPackage ../tools/typesetting/biber {
|
||||
inherit (perlPackages)
|
||||
inherit (perlPackages) buildPerlModule
|
||||
autovivification BusinessISBN BusinessISMN BusinessISSN ConfigAutoConf
|
||||
DataCompare DataDump DateSimple EncodeEUCJPASCII EncodeHanExtra EncodeJIS2K
|
||||
DateTime DateTimeFormatBuilder DateTimeCalendarJulian
|
||||
ExtUtilsLibBuilder FileSlurp IPCRun3 Log4Perl LWPProtocolHttps ListAllUtils
|
||||
ListMoreUtils ModuleBuild MozillaCA ReadonlyXS RegexpCommon TextBibTeX
|
||||
ListMoreUtils MozillaCA ReadonlyXS RegexpCommon TextBibTeX
|
||||
UnicodeCollate UnicodeLineBreak URI XMLLibXMLSimple XMLLibXSLT XMLWriter
|
||||
ClassAccessor TextRoman DataUniqid LinguaTranslit UnicodeNormalize;
|
||||
ClassAccessor TextCSV TextRoman DataUniqid LinguaTranslit UnicodeNormalize SortKey;
|
||||
};
|
||||
|
||||
blueman = callPackage ../tools/bluetooth/blueman {
|
||||
|
|
Loading…
Reference in a new issue