Merge branch 'master' into bump-behave-version

This commit is contained in:
Alex Brandt
2018-03-29 10:43:36 -05:00
2305 changed files with 54021 additions and 37266 deletions

View File

@@ -1,23 +1,28 @@
{ lib
, buildPythonPackage
, fetchPypi
, buildPythonPackage, fetchFromGitHub
, future, pyparsing
, glibcLocales, nose
}:
buildPythonPackage rec {
pname = "bibtexparser";
version = "1.0.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "cc41cdd8332c2bf44b97daf1f135f4f267c3b744c33976655cd270b66f964c0a";
# PyPI tarball does not ship tests
src = fetchFromGitHub {
owner = "sciunto-org";
repo = "python-${pname}";
rev = "v${version}";
sha256 = "0lmlarkfbq2hp1wa04a62245jr2mqizqsdlgilj5aq6vy92gr6ai";
};
propagatedBuildInputs = [ future pyparsing ];
# No tests in archive
doCheck = false;
checkInputs = [ nose glibcLocales ];
checkPhase = ''
LC_ALL="en_US.UTF-8" nosetests
'';
meta = {
description = "Bibtex parser for python 2.7 and 3.3 and newer";