diff options
author | Ferry Jérémie <ferryjeremie@free.fr> | 2020-02-24 14:15:27 +0100 |
---|---|---|
committer | Ferry Jérémie <ferryjeremie@free.fr> | 2020-02-24 14:15:27 +0100 |
commit | e3c10922323352ab0e3f9b967932f3cf1e230976 (patch) | |
tree | f6a96ddbd8a0fc9ff733e341f8f6249c2cc92abb /pkgs/applications/graphics/drawing | |
parent | f1d1cae1a1634eeec7e5f6708741e604fe923655 (diff) | |
download | nixpkgs-e3c10922323352ab0e3f9b967932f3cf1e230976.tar nixpkgs-e3c10922323352ab0e3f9b967932f3cf1e230976.tar.gz nixpkgs-e3c10922323352ab0e3f9b967932f3cf1e230976.tar.bz2 nixpkgs-e3c10922323352ab0e3f9b967932f3cf1e230976.tar.lz nixpkgs-e3c10922323352ab0e3f9b967932f3cf1e230976.tar.xz nixpkgs-e3c10922323352ab0e3f9b967932f3cf1e230976.tar.zst nixpkgs-e3c10922323352ab0e3f9b967932f3cf1e230976.zip |
drawing: init at 0.4.11
Diffstat (limited to 'pkgs/applications/graphics/drawing')
-rw-r--r-- | pkgs/applications/graphics/drawing/default.nix | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/drawing/default.nix b/pkgs/applications/graphics/drawing/default.nix new file mode 100644 index 00000000000..67fa5da398b --- /dev/null +++ b/pkgs/applications/graphics/drawing/default.nix @@ -0,0 +1,69 @@ +{ lib +, fetchFromGitHub +, meson +, ninja +, pkgconfig +, python3 +, gtk3 +, appstream-glib +, desktop-file-utils +, gobject-introspection +, wrapGAppsHook +, glib +, gdk-pixbuf +, pango +, gettext +}: + +python3.pkgs.buildPythonApplication rec { + pname = "drawing"; + version = "0.4.11"; + + format = "other"; + + src = fetchFromGitHub { + owner = "maoschanz"; + repo = pname; + rev = version; + sha256 = "00c1h6jns11rmsg35gy40fb6ahvik80wpbm2133bjcqxfwwnlal6"; + }; + + nativeBuildInputs = [ + appstream-glib + desktop-file-utils + gobject-introspection + meson + ninja + pkgconfig + wrapGAppsHook + glib + gettext + ]; + + buildInputs = [ + glib + gtk3 + gdk-pixbuf + pango + ]; + + propagatedBuildInputs = with python3.pkgs; [ + pycairo + pygobject3 + ]; + + postPatch = '' + chmod +x build-aux/meson/postinstall.py # patchShebangs requires executable file + patchShebangs build-aux/meson/postinstall.py + ''; + + strictDeps = false; + + meta = with lib; { + description = "A free basic image editor, similar to Microsoft Paint, but aiming at the GNOME desktop"; + homepage = "https://maoschanz.github.io/drawing/"; + maintainers = with maintainers; [ mothsart ]; + license = licenses.gpl3Plus; + platforms = platforms.linux; + }; +} |