nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
40 lines
748 B
Nix
40 lines
748 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pygments,
|
|
dominate,
|
|
beautifulsoup4,
|
|
docutils,
|
|
sphinx,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "alectryon";
|
|
version = "1.4.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "00cxzfifvgcf3d3s8lsj1yxcwyf3a1964p86fj7b42q8pa0b4r3i";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pygments
|
|
dominate
|
|
beautifulsoup4
|
|
docutils
|
|
sphinx
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/cpitclaudel/alectryon";
|
|
description = "Collection of tools for writing technical documents that mix Coq code and prose";
|
|
mainProgram = "alectryon";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ Zimmi48 ];
|
|
};
|
|
}
|