mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
parent
4a3fd1d584
commit
a5c909c24c
@ -1,37 +1,45 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
python3Packages,
|
|
||||||
fetchFromGitLab,
|
|
||||||
appstream,
|
appstream,
|
||||||
blueprint-compiler,
|
blueprint-compiler,
|
||||||
desktop-file-utils,
|
desktop-file-utils,
|
||||||
|
fetchFromGitLab,
|
||||||
|
glib,
|
||||||
gobject-introspection,
|
gobject-introspection,
|
||||||
|
gtk4,
|
||||||
libadwaita,
|
libadwaita,
|
||||||
meson,
|
meson,
|
||||||
ninja,
|
ninja,
|
||||||
|
nix-update-script,
|
||||||
pandoc,
|
pandoc,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
|
python3Packages,
|
||||||
webkitgtk_6_0,
|
webkitgtk_6_0,
|
||||||
wrapGAppsHook4,
|
wrapGAppsHook4,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "morphosis";
|
pname = "morphosis";
|
||||||
version = "1.3";
|
version = "1.4.1";
|
||||||
pyproject = false;
|
pyproject = false;
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
domain = "gitlab.gnome.org";
|
domain = "gitlab.gnome.org";
|
||||||
owner = "World";
|
owner = "World";
|
||||||
repo = "morphosis";
|
repo = "morphosis";
|
||||||
rev = "v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-JEZFgON4QkxHDbWSZbDNLpIFctt8mDHdGVVu3Q+WH4U=";
|
hash = "sha256-ZpxenBqC5qr7yNwjld0u7gSBQfL7Kpa4FWE9gkzG0hg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
appstream
|
appstream
|
||||||
blueprint-compiler
|
blueprint-compiler
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
|
glib # For `glib-compile-schemas`
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
|
gtk4 # For `gtk-update-icon-cache`
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
@ -47,13 +55,17 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
dontWrapGApps = true;
|
dontWrapGApps = true;
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
''''${gappsWrapperArgs[@]}''
|
"\${gappsWrapperArgs[@]}"
|
||||||
"--prefix PATH : ${lib.makeBinPath [ pandoc ]}"
|
"--prefix PATH : ${lib.makeBinPath [ pandoc ]}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script { };
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Convert your documents";
|
description = "Convert your documents";
|
||||||
homepage = "https://gitlab.gnome.org/Monster/morphosis";
|
homepage = "https://gitlab.gnome.org/World/morphosis";
|
||||||
license = lib.licenses.gpl3Only;
|
license = lib.licenses.gpl3Only;
|
||||||
maintainers = with lib.maintainers; [ getchoo ];
|
maintainers = with lib.maintainers; [ getchoo ];
|
||||||
mainProgram = "morphosis";
|
mainProgram = "morphosis";
|
||||||
|
Loading…
Reference in New Issue
Block a user