summary refs log blame commit diff
path: root/pkgs/tools/typesetting/biblatex-check/default.nix
blob: d3d3be0f430fd12bd50ae313b0ee33751e22251f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                          
 
                         
                           
                    



                            
                        
                                                                   

    


                            




                                                            
                    





                                                                      
{ lib, stdenv, fetchFromGitHub, python3 }:

stdenv.mkDerivation rec {
  pname = "biblatex-check";
  version = "1.0.2";

  src = fetchFromGitHub {
    owner = "Pezmc";
    repo = "BibLatex-Check";
    rev = "v${version}";
    sha256 = "sha256-8oHX56+kRWWl8t22DqLAFinjPngRMo3vXxXuVXBwutM=";
  };

  buildInputs = [ python3 ];

  strictDeps = true;

  installPhase = ''
    install -Dm755 biblatex_check.py $out/bin/biblatex-check
  '';

  meta = with lib; {
    description = "Python2/3 script for checking BibLatex .bib files";
    homepage = "https://github.com/Pezmc/BibLatex-Check";
    license = licenses.mit;
    maintainers = with maintainers; [ dtzWill ];
  };
}