mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
curtail: modernize, migrate to python3Packages
See https://github.com/NixOS/nixpkgs/issues/211340 for more details.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
wrapGAppsHook4,
|
||||
appstream-glib,
|
||||
@@ -21,7 +21,7 @@
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "curtail";
|
||||
version = "1.16.2";
|
||||
pyproject = false;
|
||||
@@ -54,8 +54,8 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
libadwaita
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python3.pkgs.pygobject3
|
||||
dependencies = [
|
||||
python3Packages.pygobject3
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
@@ -84,6 +84,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
};
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/Huluti/Curtail/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
description = "Simple & useful image compressor";
|
||||
mainProgram = "curtail";
|
||||
homepage = "https://github.com/Huluti/Curtail";
|
||||
|
||||
Reference in New Issue
Block a user