antimony: 0.9.3 -> 2018-10-17 (#46486)

This commit is contained in:
Michele Guerini Rocco 2018-09-10 22:17:00 +02:00 committed by xeji
parent 50789a0b19
commit fd7e69be1c

@ -1,29 +1,34 @@
{ stdenv, fetchFromGitHub, libpng, python3, boost, libGLU_combined, qtbase, ncurses, cmake, flex, lemon }: { stdenv, fetchFromGitHub, libpng, python3
, libGLU_combined, qtbase, ncurses
, cmake, flex, lemon
}:
let let
gitRev = "020910c25614a3752383511ede5a1f5551a8bd39"; gitRev = "60a58688e552f12501980c4bdab034ab0f2ba059";
gitBranch = "master"; gitBranch = "develop";
gitTag = "0.9.3"; gitTag = "0.9.3";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "antimony-${version}"; name = "antimony-${version}";
version = gitTag; version = "2018-07-17";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mkeeter"; owner = "mkeeter";
repo = "antimony"; repo = "antimony";
rev = gitTag; rev = gitRev;
sha256 = "1vm5h5py8l3b8h4pbmm8s3wlxvlw492xfwnlwx0nvl0cjs8ba6r4"; sha256 = "0pgf6kr23xw012xsil56j5gq78mlirmrlqdm09m5wlgcf4vr6xnl";
}; };
patches = [ ./paths-fix.patch ]; patches = [ ./paths-fix.patch ];
postPatch = '' postPatch = ''
sed -i "s,/usr/local,$out,g" app/CMakeLists.txt app/app/app.cpp app/app/main.cpp sed -i "s,/usr/local,$out,g" \
app/CMakeLists.txt app/app/app.cpp app/app/main.cpp
sed -i "s,python-py35,python36," CMakeLists.txt
''; '';
buildInputs = [ buildInputs = [
libpng python3 (boost.override { python = python3; }) libpng python3 python3.pkgs.boost
libGLU_combined qtbase ncurses libGLU_combined qtbase ncurses
]; ];
@ -41,6 +46,7 @@ in
description = "A computer-aided design (CAD) tool from a parallel universe"; description = "A computer-aided design (CAD) tool from a parallel universe";
homepage = "https://github.com/mkeeter/antimony"; homepage = "https://github.com/mkeeter/antimony";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }