mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
Merge pull request #79876 from mothsART/feature/new-package-drawing
drawing: init at 0.4.10
This commit is contained in:
commit
b2f7754e83
@ -4949,6 +4949,12 @@
|
||||
githubId = 118035;
|
||||
name = "Corbin Simpson";
|
||||
};
|
||||
mothsart = {
|
||||
email = "jerem.ferry@gmail.com";
|
||||
github = "mothsart";
|
||||
githubId = 10601196;
|
||||
name = "Jérémie Ferry";
|
||||
};
|
||||
mounium = {
|
||||
email = "muoniurn@gmail.com";
|
||||
github = "mounium";
|
||||
|
69
pkgs/applications/graphics/drawing/default.nix
Normal file
69
pkgs/applications/graphics/drawing/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
@ -18800,6 +18800,8 @@ in
|
||||
|
||||
dragonfly-reverb = callPackage ../applications/audio/dragonfly-reverb { };
|
||||
|
||||
drawing = callPackage ../applications/graphics/drawing { };
|
||||
|
||||
drawio = callPackage ../applications/graphics/drawio {};
|
||||
|
||||
drawpile = libsForQt5.callPackage ../applications/graphics/drawpile { };
|
||||
|
Loading…
Reference in New Issue
Block a user