mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
sweethome3d: add icon to desktop file
This commit is contained in:
parent
4b072cfe08
commit
4005ae48ab
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user