Files
nixpkgs/pkgs/by-name/dr/drawing/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

75 lines
1.4 KiB
Nix

{
lib,
fetchFromGitHub,
meson,
ninja,
pkg-config,
python3,
gtk3,
appstream-glib,
desktop-file-utils,
gobject-introspection,
wrapGAppsHook3,
glib,
gdk-pixbuf,
pango,
gettext,
itstool,
}:
python3.pkgs.buildPythonApplication rec {
pname = "drawing";
version = "1.0.2";
format = "other";
src = fetchFromGitHub {
owner = "maoschanz";
repo = "drawing";
tag = version;
hash = "sha256-kNF9db8NoHWW1A0WEFQzxHqAQ4A7kxInMRZFJOXQX/k=";
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
gobject-introspection
meson
ninja
pkg-config
wrapGAppsHook3
glib
gettext
itstool
];
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 = {
description = "Free basic image editor, similar to Microsoft Paint, but aiming at the GNOME desktop";
mainProgram = "drawing";
homepage = "https://maoschanz.github.io/drawing/";
changelog = "https://github.com/maoschanz/drawing/releases/tag/${version}";
maintainers = with lib.maintainers; [ mothsart ];
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
};
}