From b153e63f07c9f88490c710bede0adc8c4e542774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Sat, 16 Jan 2021 14:08:47 +0100 Subject: [PATCH] pythonPackages.sphinxcontrib-bibtex: Disable tests, add maintainer, cleanups --- .../sphinxcontrib-bibtex/default.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix b/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix index bc9a90efcf23..b429522f9d3c 100644 --- a/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-bibtex/default.nix @@ -1,5 +1,11 @@ -{ stdenv, buildPythonPackage, fetchPypi, isPy3k -, oset, pybtex, pybtex-docutils, sphinx +{ lib +, buildPythonPackage +, fetchPypi +, isPy3k +, oset +, pybtex +, pybtex-docutils +, sphinx }: buildPythonPackage rec { @@ -15,10 +21,13 @@ buildPythonPackage rec { propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ]; - meta = { + doCheck = false; + pythonImportsCheck = [ "sphinxcontrib.bibtex" ]; + + meta = with lib; { description = "A Sphinx extension for BibTeX style citations"; homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex"; - license = stdenv.lib.licenses.bsd2; + license = licenses.bsd2; + maintainers = with maintainers; [ SuperSandro2000 ]; }; - }