Files
nixpkgs/pkgs/by-name/ha/halftone/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

65 lines
1.2 KiB
Nix

{
lib,
fetchFromGitHub,
wrapGAppsHook4,
meson,
ninja,
pkg-config,
appstream-glib,
desktop-file-utils,
gobject-introspection,
glib,
blueprint-compiler,
libadwaita,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "halftone";
version = "0.7.2";
src = fetchFromGitHub {
owner = "tfuxu";
repo = "halftone";
tag = version;
hash = "sha256-5hT6ulmUlOrFVL4nV0tfvgkKdYGusp+1rBINQy3ZvpI=";
};
format = "other";
dontWrapGApps = true;
nativeBuildInputs = [
appstream-glib
blueprint-compiler
desktop-file-utils
meson
ninja
pkg-config
wrapGAppsHook4
glib
gobject-introspection
];
buildInputs = [
libadwaita
];
propagatedBuildInputs = with python3Packages; [
pygobject3
wand
];
preFixup = ''
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
'';
meta = with lib; {
homepage = "https://github.com/tfuxu/halftone";
description = "Simple app for giving images that pixel-art style";
license = licenses.gpl3Plus;
mainProgram = "halftone";
maintainers = with maintainers; [ foo-dogsquared ];
platforms = platforms.linux;
};
}