Unverified Commit b8bff8ab authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

python3Packages.clldutils: 3.21.0 -> 3.24.2 (#420728)

parents ea5887df e185b875
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pylatexenc,
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "bibtexparser";
  version = "2.0.0b8";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "sciunto-org";
    repo = "python-bibtexparser";
    tag = "v${version}";
    hash = "sha256-531Mh/5DUYayXm1H0v4dPX0P9mRcqcQcU/A+f4wwqxg=";
  };

  build-system = [ setuptools ];

  dependencies = [ pylatexenc ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "bibtexparser" ];

  meta = {
    description = "Bibtex parser for Python";
    homepage = "https://github.com/sciunto-org/python-bibtexparser";
    changelog = "https://github.com/sciunto-org/python-bibtexparser/blob/${src.tag}/CHANGELOG";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.amadejkastelic ];
  };
}
+11 −12
Original line number Diff line number Diff line
@@ -4,11 +4,11 @@
  buildPythonPackage,
  colorlog,
  fetchFromGitHub,
  bibtexparser_2,
  git,
  lxml,
  markdown,
  markupsafe,
  mock,
  postgresql,
  pylatexenc,
  pytest-cov-stub,
@@ -22,21 +22,21 @@

buildPythonPackage rec {
  pname = "clldutils";
  version = "3.21.0";
  version = "3.24.2";
  pyproject = true;
  disabled = pythonOlder "3.8";

  src = fetchFromGitHub {
    owner = "clld";
    repo = "clldutils";
    rev = "v${version}";
    hash = "sha256-OD+WJ9JuYZb/oXDgVqL4i5YlcVEt0+swq0SB3cutyRo=";
    tag = "v${version}";
    hash = "sha256-xIs6Lq9iDdcM3j51F27x408oUldvy5nlvVdbrAS5Jz0=";
  };

  nativeBuildInputs = [ setuptools ];
  build-system = [ setuptools ];

  propagatedBuildInputs = [
  dependencies = [
    attrs
    bibtexparser_2
    colorlog
    lxml
    markdown
@@ -47,7 +47,6 @@ buildPythonPackage rec {
  ];

  nativeCheckInputs = [
    mock
    postgresql
    pytest-cov-stub
    pytest-mock
@@ -55,11 +54,11 @@ buildPythonPackage rec {
    git
  ];

  meta = with lib; {
    changelog = "https://github.com/clld/clldutils/blob/${src.rev}/CHANGES.md";
  meta = {
    changelog = "https://github.com/clld/clldutils/blob/${src.tag}/CHANGES.md";
    description = "Utilities for clld apps without the overhead of requiring pyramid, rdflib et al";
    homepage = "https://github.com/clld/clldutils";
    license = licenses.asl20;
    maintainers = with maintainers; [ melling ];
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ melling ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -1817,6 +1817,8 @@ self: super: with self; {
  bibtexparser = callPackage ../development/python-modules/bibtexparser { };
  bibtexparser_2 = callPackage ../development/python-modules/bibtexparser/2.nix { };
  bidict = callPackage ../development/python-modules/bidict { };
  bids-validator = callPackage ../development/python-modules/bids-validator { };