2021-08-20 22:42:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, fetchpatch
|
|
|
|
, pygments, dominate, beautifulsoup4, docutils, sphinx }:
|
2021-07-20 11:27:32 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "alectryon";
|
|
|
|
owner = "cpitclaudel";
|
|
|
|
version = "1.3.1";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256:0mca25jv917myb4n91ccpl5fz058aiqsn8cniflwfw5pp6lqnfg7";
|
|
|
|
};
|
|
|
|
|
2021-08-20 22:42:54 +01:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/cpitclaudel/alectryon/commit/c779def3fa268e703d4e0ff8ae0b2981e194b269.patch";
|
|
|
|
sha256 = "0xsz56ibq8xj7gg530pfm1jmxbxw4r6v8xvzj5k1wdry83srqi65";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-07-20 11:27:32 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|