amphetype: add desktop item
This commit is contained in:
committed by
Emery Hemingway
parent
1a72ea7722
commit
5054d1282f
@@ -1,8 +1,10 @@
|
||||
{ fetchFromGitLab, lib, python3Packages, qt5 }:
|
||||
{ copyDesktopItems, fetchFromGitLab, lib, makeDesktopItem, python3Packages, qt5
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "amphetype";
|
||||
version = "1.0.0";
|
||||
description = "An advanced typing practice program";
|
||||
in python3Packages.buildPythonApplication {
|
||||
inherit pname version;
|
||||
|
||||
@@ -21,10 +23,21 @@ in python3Packages.buildPythonApplication {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
nativeBuildInputs = [ qt5.wrapQtAppsHook ];
|
||||
nativeBuildInputs = [ copyDesktopItems qt5.wrapQtAppsHook ];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = pname;
|
||||
desktopName = "Amphetype";
|
||||
genericName = "Typing Practice";
|
||||
categories = [ "Education" "Qt" ];
|
||||
exec = pname;
|
||||
comment = description;
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An advanced typing practice program";
|
||||
inherit description;
|
||||
homepage = "https://gitlab.com/franksh/amphetype";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ rycee ];
|
||||
|
||||
Reference in New Issue
Block a user