summary refs log tree commit diff
path: root/pkgs/tools/typesetting/biblatex-check
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2020-01-25 22:42:29 -0600
committerWill Dietz <w@wdtz.org>2020-02-12 19:52:43 -0600
commit93656d56d3fd9937155afc56474a60c875db5c79 (patch)
tree6e802e82d182955abed1fc95333424c721d41bec /pkgs/tools/typesetting/biblatex-check
parentac2699fdca92cbed427270c3c6c4e0da92cfeec3 (diff)
downloadnixpkgs-93656d56d3fd9937155afc56474a60c875db5c79.tar
nixpkgs-93656d56d3fd9937155afc56474a60c875db5c79.tar.gz
nixpkgs-93656d56d3fd9937155afc56474a60c875db5c79.tar.bz2
nixpkgs-93656d56d3fd9937155afc56474a60c875db5c79.tar.lz
nixpkgs-93656d56d3fd9937155afc56474a60c875db5c79.tar.xz
nixpkgs-93656d56d3fd9937155afc56474a60c875db5c79.tar.zst
nixpkgs-93656d56d3fd9937155afc56474a60c875db5c79.zip
biblatex-check: init at 2019-11-09
Diffstat (limited to 'pkgs/tools/typesetting/biblatex-check')
-rw-r--r--pkgs/tools/typesetting/biblatex-check/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/biblatex-check/default.nix b/pkgs/tools/typesetting/biblatex-check/default.nix
new file mode 100644
index 00000000000..bad56066002
--- /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 ];
+  };
+}