nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 docutils,
5 fetchPypi,
6 pybtex,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 pname = "pybtex-docutils";
12 version = "1.0.3";
13 format = "setuptools";
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-On69+StZPgDowcU4qpogvKXZLYQjESRxWsyWTVHZPGs=";
18 };
19
20 buildInputs = [
21 docutils
22 pybtex
23 ];
24
25 nativeCheckInputs = [ pytestCheckHook ];
26
27 pythonImportsCheck = [ "pybtex_docutils" ];
28
29 meta = {
30 description = "Docutils backend for pybtex";
31 homepage = "https://github.com/mcmtroffaes/pybtex-docutils";
32 license = lib.licenses.mit;
33 };
34}