From 93656d56d3fd9937155afc56474a60c875db5c79 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sat, 25 Jan 2020 22:42:29 -0600 Subject: [PATCH] biblatex-check: init at 2019-11-09 --- .../typesetting/biblatex-check/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/tools/typesetting/biblatex-check/default.nix diff --git a/pkgs/tools/typesetting/biblatex-check/default.nix b/pkgs/tools/typesetting/biblatex-check/default.nix new file mode 100644 index 000000000000..bad560660023 --- /dev/null +++ b/pkgs/tools/typesetting/biblatex-check/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, python }: + +stdenv.mkDerivation { + pname = "biblatex-check"; + version = "2019-11-09"; + + src = fetchFromGitHub { + owner = "Pezmc"; + repo = "BibLatex-Check"; + rev = "2db50bf94d1480f37edf1b3619e73baf4ef85938"; + sha256 = "1bq0yqckhssazwkivipdjmn1jpsf301i4ppyl88qhc5igx39wg25"; + }; + + buildInputs = [ python ]; + + installPhase = '' + install -Dm755 biblatex_check.py $out/bin/biblatex-check + ''; + + meta = with stdenv.lib; { + description = "Python2/3 script for checking BibLatex .bib files"; + homepage = "https://github.com/Pezmc/BibLatex-Check"; + license = licenses.mit; + maintainers = with maintainers; [ dtzWill ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7feffda07ccb..8299aaaa7ff9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2263,6 +2263,8 @@ in biber = callPackage ../tools/typesetting/biber { }; + biblatex-check = callPackage ../tools/typesetting/biblatex-check { }; + birdfont = callPackage ../tools/misc/birdfont { }; xmlbird = callPackage ../tools/misc/birdfont/xmlbird.nix { };