0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

deskflow: 1.21.2 -> 1.22.0

This commit is contained in:
emaryn 2025-06-03 04:56:21 +08:00
parent d12b3ccedb
commit 2e2c2dea98

View file

@ -34,13 +34,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "deskflow";
version = "1.21.2";
version = "1.22.0";
src = fetchFromGitHub {
owner = "deskflow";
repo = "deskflow";
tag = "v${finalAttrs.version}";
hash = "sha256-gXFBn8hlI8MZ9Vy3goPjosn0JgvaAgZaFIGh/3rFdx8=";
hash = "sha256-tNHQHReeOUc5lCs4dI3a5UzeJao+RPWXH4KdWhPwESI=";
};
postPatch = ''
@ -101,13 +101,21 @@ stdenv.mkDerivation (finalAttrs: {
runHook preCheck
export QT_QPA_PLATFORM=offscreen
./bin/unittests
./bin/integtests
./bin/legacytests
runHook postCheck
'';
passthru.updateScript = nix-update-script { };
postInstall = ''
install -Dm644 ../README.md ../doc/configuration.md -t $out/share/doc/deskflow
'';
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"^v([0-9.]+)$"
];
};
meta = {
homepage = "https://github.com/deskflow/deskflow";
@ -117,6 +125,7 @@ stdenv.mkDerivation (finalAttrs: {
license = with lib; [
licenses.gpl2Plus
licenses.openssl
licenses.mit # share/applications/org.deskflow.deskflow.desktop
];
platforms = lib.platforms.linux;
};