2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-01-26 04:37:30 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bibclean";
|
2020-04-15 12:28:23 +00:00
|
|
|
version = "3.04";
|
2020-01-26 04:37:30 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.math.utah.edu/pub/bibclean/bibclean-${version}.tar.xz";
|
2020-04-15 12:28:23 +00:00
|
|
|
sha256 = "0n5jb6w86y91q5lkcc9sb1kh4c2bk3q2va24gfr0n6v1jzyqp9jg";
|
2020-01-26 04:37:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace Makefile.in --replace man/man1 share/man/man1
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-01-26 04:37:30 +00:00
|
|
|
description = "Prettyprint and syntax check BibTeX and Scribe bibliography data base files";
|
|
|
|
homepage = "http://ftp.math.utah.edu/pub/bibclean";
|
|
|
|
license = licenses.gpl2;
|
2020-12-26 04:20:00 +00:00
|
|
|
platforms = platforms.all;
|
2020-01-26 04:37:30 +00:00
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
};
|
|
|
|
}
|