diff options
author | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2021-03-19 16:41:22 +0200 |
---|---|---|
committer | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2021-03-19 19:03:51 +0200 |
commit | 82fa6830d7ae162e5186b37eb527dda9b9f2ccc1 (patch) | |
tree | a6c8362499fdb7912e1de4d8b98d5889c6867495 | |
parent | 91fbe357bdaff7233e6c2aa167d1c149662b2f80 (diff) | |
download | nixpkgs-82fa6830d7ae162e5186b37eb527dda9b9f2ccc1.tar nixpkgs-82fa6830d7ae162e5186b37eb527dda9b9f2ccc1.tar.gz nixpkgs-82fa6830d7ae162e5186b37eb527dda9b9f2ccc1.tar.bz2 nixpkgs-82fa6830d7ae162e5186b37eb527dda9b9f2ccc1.tar.lz nixpkgs-82fa6830d7ae162e5186b37eb527dda9b9f2ccc1.tar.xz nixpkgs-82fa6830d7ae162e5186b37eb527dda9b9f2ccc1.tar.zst nixpkgs-82fa6830d7ae162e5186b37eb527dda9b9f2ccc1.zip |
pythonPackages.sphixcontrib-bayesnet: init at 0.1
-rw-r--r-- | pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix | 24 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 2 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix b/pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix new file mode 100644 index 00000000000..0f0b6c545cf --- /dev/null +++ b/pkgs/development/python-modules/sphinxcontrib-bayesnet/default.nix @@ -0,0 +1,24 @@ +{ lib, buildPythonPackage, fetchPypi, sphinx, sphinxcontrib-tikz }: + +buildPythonPackage rec { + pname = "sphinxcontrib-bayesnet"; + version = "0.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "0x1kisvj7221cxfzmwplx3xlwbavl636fpncnjh7gghp1af71clw"; + }; + + propagatedBuildInputs = [ sphinx sphinxcontrib-tikz ]; + + # No tests + doCheck = false; + pythonImportsCheck = [ "sphinxcontrib.bayesnet" ]; + + meta = with lib; { + homepage = "https://github.com/jluttine/sphinx-bayesnet"; + description = "Bayesian networks and factor graphs in Sphinx using TikZ syntax"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ jluttine ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2c65295c097..c25c1306c80 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7761,6 +7761,8 @@ in { sphinxcontrib-autoapi = callPackage ../development/python-modules/sphinxcontrib-autoapi { }; + sphinxcontrib-bayesnet = callPackage ../development/python-modules/sphinxcontrib-bayesnet { }; + sphinxcontrib-bibtex = callPackage ../development/python-modules/sphinxcontrib-bibtex { }; sphinxcontrib-blockdiag = callPackage ../development/python-modules/sphinxcontrib-blockdiag { }; |