mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
formiko: init at 1.4.3
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
2ed8597999
commit
90f346ffc9
52
pkgs/applications/editors/formiko/default.nix
Normal file
52
pkgs/applications/editors/formiko/default.nix
Normal file
@ -0,0 +1,52 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitHub
|
||||
, wrapGAppsHook
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, docutils
|
||||
, gtksourceview
|
||||
, gtkspell3
|
||||
, librsvg
|
||||
, pygobject3
|
||||
, webkitgtk
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "formiko";
|
||||
version = "1.4.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ondratu";
|
||||
repo = "formiko";
|
||||
rev = version;
|
||||
sha256 = "0n7w585gbrpn2xcd5n04hivrjarpr2wj260y2kpxpgh93vn52sdi";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook
|
||||
gobject-introspection
|
||||
gtk3
|
||||
];
|
||||
propagatedBuildInputs = [
|
||||
docutils
|
||||
gobject-introspection
|
||||
gtk3
|
||||
gtksourceview
|
||||
gtkspell3
|
||||
librsvg
|
||||
pygobject3
|
||||
webkitgtk
|
||||
];
|
||||
|
||||
# Needs a display
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "reStructuredText editor and live previewer";
|
||||
homepage = "https://github.com/ondratu/formiko";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ shamilton ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -22270,6 +22270,10 @@ in
|
||||
|
||||
formatter = callPackage ../applications/misc/formatter { };
|
||||
|
||||
formiko = with python3Packages; callPackage ../applications/editors/formiko {
|
||||
inherit buildPythonApplication;
|
||||
};
|
||||
|
||||
foxtrotgps = callPackage ../applications/misc/foxtrotgps { };
|
||||
|
||||
fractal = callPackage ../applications/networking/instant-messengers/fractal { };
|
||||
|
Loading…
Reference in New Issue
Block a user