depot/third_party/nixpkgs/pkgs/development/python-modules/alectryon/default.nix

38 lines
950 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, fetchpatch
, pygments, dominate, beautifulsoup4, docutils, sphinx }:
buildPythonPackage rec {
pname = "alectryon";
owner = "cpitclaudel";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256:0mca25jv917myb4n91ccpl5fz058aiqsn8cniflwfw5pp6lqnfg7";
};
patches = [
(fetchpatch {
url = "https://github.com/cpitclaudel/alectryon/commit/c779def3fa268e703d4e0ff8ae0b2981e194b269.patch";
sha256 = "0xsz56ibq8xj7gg530pfm1jmxbxw4r6v8xvzj5k1wdry83srqi65";
})
];
propagatedBuildInputs = [
pygments
dominate
beautifulsoup4
docutils
sphinx
];
doCheck = false;
meta = with lib; {
homepage = "https://github.com/cpitclaudel/alectryon";
description = "A collection of tools for writing technical documents that mix Coq code and prose";
license = licenses.mit;
maintainers = with maintainers; [ Zimmi48 ];
};
}