diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-10-07 08:45:26 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-10-07 08:45:26 +0200 |
commit | 4005ae48ab5548d636862cf8b59e9fd26c4dd6ec (patch) | |
tree | 99344384bcaa8970b594db9810462e487634725f /pkgs | |
parent | 4b072cfe08e3d6878ac5e6bdbbcdc37e8a70aec9 (diff) | |
download | nixlib-4005ae48ab5548d636862cf8b59e9fd26c4dd6ec.tar nixlib-4005ae48ab5548d636862cf8b59e9fd26c4dd6ec.tar.gz nixlib-4005ae48ab5548d636862cf8b59e9fd26c4dd6ec.tar.bz2 nixlib-4005ae48ab5548d636862cf8b59e9fd26c4dd6ec.tar.lz nixlib-4005ae48ab5548d636862cf8b59e9fd26c4dd6ec.tar.xz nixlib-4005ae48ab5548d636862cf8b59e9fd26c4dd6ec.tar.zst nixlib-4005ae48ab5548d636862cf8b59e9fd26c4dd6ec.zip |
sweethome3d: add icon to desktop file
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/sweethome3d/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/misc/sweethome3d/default.nix b/pkgs/applications/misc/sweethome3d/default.nix index 17b5c92406b0..978dd19e3dfa 100644 --- a/pkgs/applications/misc/sweethome3d/default.nix +++ b/pkgs/applications/misc/sweethome3d/default.nix @@ -4,13 +4,13 @@ let mkSweetHome3D = - { name, module, version, src, license, description }: + { name, module, version, src, license, description, icon }: stdenv.mkDerivation rec { - inherit name version src description; + inherit name version src description icon; exec = stdenv.lib.toLower module; sweethome3dItem = makeDesktopItem { - inherit name exec; + inherit name exec icon; comment = description; desktopName = name; genericName = "Computer Aided (Interior) Design"; @@ -61,6 +61,10 @@ in rec { module = module; tag = "V_" + d2u version; }; + icon = fetchurl { + url = "http://sweethome3d.cvs.sourceforge.net/viewvc/sweethome3d/SweetHome3D/src/com/eteks/sweethome3d/viewcontroller/resources/help/images/sweethome3d.png"; + sha256 = "0lnv2sz2d3m8jx25hz92gzardf0iblykhy5q0q2cyb7mw2qb2p92"; + }; }; } |