escrotum: standardize version number, add updateScript

This commit is contained in:
Michael Daniels
2025-09-20 20:22:29 -04:00
parent 52c032768a
commit 06dcce7495
+6 -1
View File
@@ -2,6 +2,7 @@
lib,
python3Packages,
fetchFromGitHub,
nix-update-script,
ffmpeg-full,
gtk3,
pango,
@@ -11,7 +12,7 @@
python3Packages.buildPythonApplication {
pname = "escrotum";
version = "unstable-2020-12-07";
version = "1.0.1-unstable-2020-12-07";
format = "pyproject";
src = fetchFromGitHub {
@@ -57,6 +58,10 @@ python3Packages.buildPythonApplication {
cp man/escrotum.1 $man/share/man/man1/
'';
passthru.updateScript = nix-update-script {
extraArgs = [ "--version=branch" ];
};
meta = with lib; {
homepage = "https://github.com/Roger/escrotum";
description = "Linux screen capture using pygtk, inspired by scrot";