Skip to content

Commit

Permalink
Merge pull request #114264 from arachnist/solvespace-update-v3.0.rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Feb 25, 2021
2 parents 57231d7 + 8a1dd95 commit 9e0a3e5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions pkgs/applications/graphics/solvespace/default.nix
@@ -1,14 +1,14 @@
{ lib, stdenv, fetchgit, cmake, pkg-config, zlib, libpng, cairo, freetype
, json_c, fontconfig, gtkmm3, pangomm, glew, libGLU, xorg, pcre
, wrapGAppsHook
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, libpng, cairo, freetype
, json_c, fontconfig, gtkmm3, pangomm, glew, libGLU, xorg, pcre, wrapGAppsHook
}:
stdenv.mkDerivation rec {
name = "solvespace-2.3-20190501";
rev = "e7b75f19c34c923780db776592b47152650d8f22";
src = fetchgit {
url = "https://github.com/solvespace/solvespace";
inherit rev;
sha256 = "07k4mbzxf0dmzwdhjx5nc09y7rn1schkaypsw9kz0l7ppylprpp2";
pname = "solvespace";
version = "v3.0.rc2";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "1z0873gwcr0hybrpqy4hwislir6k2zb4s62lbsivq5nbkizy7gjm";
fetchSubmodules = true;
};

Expand All @@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
+# include(GetGitCommitHash)
# and instead uncomment the following, adding the complete git hash of the checkout you are using:
-# set(GIT_COMMIT_HASH 0000000000000000000000000000000000000000)
+set(GIT_COMMIT_HASH $rev)
+set(GIT_COMMIT_HASH $version)
EOF
'';

Expand All @@ -42,7 +42,7 @@ stdenv.mkDerivation rec {

meta = with lib; {
description = "A parametric 3d CAD program";
license = licenses.gpl3;
license = licenses.gpl3Plus;
maintainers = [ maintainers.edef ];
platforms = platforms.linux;
homepage = "http://solvespace.com";
Expand Down

0 comments on commit 9e0a3e5

Please sign in to comment.