@@ -1,6 +1,8 @@
3, fetchFromGitHub
3, fetchFromGitHub
4, pkg-config
6, pkg-config
@@ -17,7 +19,7 @@ stdenv.mkDerivation rec {
17 sha256 = "sha256-Htk2NHgYVL622URx67BUtounAUopLTahaSqfAqd3+ZI=";
19 sha256 = "sha256-Htk2NHgYVL622URx67BUtounAUopLTahaSqfAqd3+ZI=";
20− nativeBuildInputs = [ pkg-config ];
22+ nativeBuildInputs = [ copyDesktopItems pkg-config ];
21 buildInputs = [ gtk3 alsaLib ];
23 buildInputs = [ gtk3 alsaLib ];
23 postPatch = ''
25 postPatch = ''
@@ -55,6 +57,29 @@ stdenv.mkDerivation rec {
55 runHook postInstall
57 runHook postInstall
62+ name = "com.thomasokken.free42bin";
63+ desktopName = "Free42Bin";
64+ genericName = "Calculator";
66+ type = "Application";
67+ comment = meta.description;
68+ categories = "Utility;Calculator;";
72+ name = "com.thomasokken.free42dec";
73+ desktopName = "Free42Dec";
74+ genericName = "Calculator";
76+ type = "Application";
77+ comment = meta.description;
78+ categories = "Utility;Calculator;";
58 meta = with lib; {
83 meta = with lib; {
59 homepage = "https://github.com/thomasokken/free42";
84 homepage = "https://github.com/thomasokken/free42";
60 description = "A software clone of HP-42S Calculator";
85 description = "A software clone of HP-42S Calculator";