Skip to content

Commit

Permalink
sweethome3d: 5.2 -> 5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
2chilled authored and bjornfor committed Feb 13, 2017
1 parent 9775a26 commit be7a6eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pkgs/applications/misc/sweethome3d/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ let
getDesktopFileName = drvName: (builtins.parseDrvName drvName).name;

# TODO: Should we move this to `lib`? Seems like its would be useful in many cases.
extensionOf = filePath:
lib.concatStringsSep "." (lib.tail (lib.splitString "."
(builtins.baseNameOf filePath)));
extensionOf = filePath:
lib.concatStringsSep "." (lib.tail (lib.splitString "." (builtins.baseNameOf filePath)));

installIcons = iconName: icons: lib.concatStringsSep "\n" (lib.mapAttrsToList (size: iconFile: ''
mkdir -p "$out/share/icons/hicolor/${size}/apps"
Expand Down Expand Up @@ -68,14 +67,14 @@ let
in rec {

application = mkSweetHome3D rec {
version = "5.2";
version = "5.4";
module = "SweetHome3D";
name = stdenv.lib.toLower module + "-application-" + version;
description = "Design and visualize your future home";
license = stdenv.lib.licenses.gpl2Plus;
src = fetchcvs {
cvsRoot = ":pserver:anonymous@sweethome3d.cvs.sourceforge.net:/cvsroot/sweethome3d";
sha256 = "0vws3lj5lgix5fz2hpqvz6p79py5gbfpkhmqpfb1knx1a12310bb";
sha256 = "09sk4svmaiw8dabcya3407iq5yjwxbss8pik1rzalrlds2428vyw";
module = module;
tag = "V_" + d2u version;
};
Expand Down
1 change: 1 addition & 0 deletions pkgs/applications/misc/sweethome3d/editors.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ let

patchPhase = ''
sed -i -e 's,../SweetHome3D,${application.src},g' build.xml
sed -i -e 's,lib/macosx/java3d-1.6/jogl-all.jar,lib/java3d-1.6/jogl-all.jar,g' build.xml
'';

buildPhase = ''
Expand Down

0 comments on commit be7a6eb

Please sign in to comment.