Merge pull request #87346 from r-ryantm/auto-update/python2.7-latexcodec

python27Packages.latexcodec: 1.0.7 -> 2.0.0
This commit is contained in:
Robert Schütz 2020-05-15 15:44:57 +02:00 committed by GitHub
commit a6a5cba049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -1,16 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, six }:
{ stdenv, buildPythonPackage, fetchPypi, six, pytest }:
buildPythonPackage rec {
pname = "latexcodec";
version = "1.0.7";
version = "2.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "0wnp3yqcgx0rpy8dz51vh75lbp2qif67da19zi7m3ca98n887hgb";
sha256 = "0pyzhidpnc3q3rh9d5hxhzv99rl5limyyrll7xcyssci92fn8gyd";
};
propagatedBuildInputs = [ six ];
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = {
homepage = "https://github.com/mcmtroffaes/latexcodec";
description = "Lexer and codec to work with LaTeX code in Python";

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
, oset, pybtex, pybtex-docutils, sphinx
}:
@ -6,6 +6,8 @@ buildPythonPackage rec {
version = "1.0.0";
pname = "sphinxcontrib-bibtex";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "629612b001f86784669d65e662377a482052decfd9a0a17c46860878eef7b9e0";