mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-08 22:57:42 +03:00
Merge pull request #36445 from maximedenes/sphinxcontrib_bibtex
Sphinxcontrib bibtex
This commit is contained in:
commit
4345a2cef2
20
pkgs/development/python-modules/latexcodec/default.nix
Normal file
20
pkgs/development/python-modules/latexcodec/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "latexcodec";
|
||||
version = "1.0.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zdd1gf24i83ykadx0y30n3001j43scqr2saql3vckk5c39dj1wn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/mcmtroffaes/latexcodec";
|
||||
description = "Lexer and codec to work with LaTeX code in Python";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
|
||||
}
|
19
pkgs/development/python-modules/oset/default.nix
Normal file
19
pkgs/development/python-modules/oset/default.nix
Normal file
@ -0,0 +1,19 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "oset";
|
||||
version = "0.1.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "017rr1m72s2fh9bmz5vrvc5mshczgzisi5894v9zkvvfr7gdf7sc";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Ordered set";
|
||||
license = stdenv.lib.licenses.psfl;
|
||||
};
|
||||
|
||||
}
|
20
pkgs/development/python-modules/pybtex-docutils/default.nix
Normal file
20
pkgs/development/python-modules/pybtex-docutils/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, docutils, pybtex, six }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.2.1";
|
||||
pname = "pybtex-docutils";
|
||||
|
||||
doCheck = false;
|
||||
buildInputs = [ docutils pybtex six ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0dqk4lplij7rbqqi4dbpw3wzr4wj08ysswvdibls6s0x3ij7bc74";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "A docutils backend for pybtex";
|
||||
homepage = "https://github.com/mcmtroffaes/pybtex-docutils";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
20
pkgs/development/python-modules/pybtex/default.nix
Normal file
20
pkgs/development/python-modules/pybtex/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, latexcodec, pyyaml }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.21";
|
||||
pname = "pybtex";
|
||||
|
||||
doCheck = false;
|
||||
propagatedBuildInputs = [ latexcodec pyyaml ];
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version pname;
|
||||
sha256 = "00300j8dn5pxq4ndxmfmbmycg2znawkqs49val2x6jlmfiy6r2mg";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://pybtex.org/";
|
||||
description = "A BibTeX-compatible bibliography processor written in Python";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, oset, pybtex, pybtex-docutils, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.3.6";
|
||||
pname = "sphinxcontrib-bibtex";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1mfl3k6axq6rzqwq62fj8y9gabim2zcvydjpqmjj27f8v1qw0kpc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ oset pybtex pybtex-docutils sphinx ];
|
||||
|
||||
meta = {
|
||||
description = "A Sphinx extension for BibTeX style citations";
|
||||
homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
};
|
||||
|
||||
}
|
@ -5297,6 +5297,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
latexcodec = callPackage ../development/python-modules/latexcodec {};
|
||||
|
||||
libsexy = callPackage ../development/python-modules/libsexy {
|
||||
libsexy = pkgs.libsexy;
|
||||
};
|
||||
@ -5723,6 +5725,7 @@ in {
|
||||
|
||||
odfpy = callPackage ../development/python-modules/odfpy { };
|
||||
|
||||
oset = callPackage ../development/python-modules/oset { };
|
||||
|
||||
pamela = buildPythonPackage rec {
|
||||
name = "pamela-${version}";
|
||||
@ -5966,6 +5969,10 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
pybtex = callPackage ../development/python-modules/pybtex {};
|
||||
|
||||
pybtex-docutils = callPackage ../development/python-modules/pybtex-docutils {};
|
||||
|
||||
pycallgraph = buildPythonPackage rec {
|
||||
name = "pycallgraph-${version}";
|
||||
version = "1.0.1";
|
||||
@ -16264,6 +16271,8 @@ in {
|
||||
|
||||
sphinx-testing = callPackage ../development/python-modules/sphinx-testing { };
|
||||
|
||||
sphinxcontrib-bibtex = callPackage ../development/python-modules/sphinxcontrib-bibtex {};
|
||||
|
||||
sphinxcontrib-blockdiag = buildPythonPackage (rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "sphinxcontrib-blockdiag";
|
||||
|
Loading…
Reference in New Issue
Block a user