mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
speedcrunch: 0.11 -> 0.12.0
Also: - build against qt5 instead of qt4
This commit is contained in:
parent
f66d7823ec
commit
58a5d0783e
@ -1,19 +1,23 @@
|
||||
{ stdenv, fetchurl, qt, cmake }:
|
||||
{ stdenv, fetchgit, cmake, qtbase, qttools }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "speedcrunch-${version}";
|
||||
version = "0.11";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/heldercorreia/speedcrunch/get/${version}.tar.gz";
|
||||
sha256 = "0phba14z9jmbmax99klbxnffwzv3awlzyhpcwr1c9lmyqnbcsnkd";
|
||||
src = fetchgit {
|
||||
# the tagging is not standard, so you probably need to check this when updating
|
||||
rev = "refs/tags/release-${version}";
|
||||
url = "https://bitbucket.org/heldercorreia/speedcrunch";
|
||||
sha256 = "0vh7cd1915bjqzkdp3sk25ngy8cq624mkh8c53c5bnzk357kb0fk";
|
||||
};
|
||||
|
||||
buildInputs = [cmake qt];
|
||||
buildInputs = [ qtbase qttools ];
|
||||
|
||||
dontUseCmakeBuildDir = true;
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeDir = "src";
|
||||
preConfigure = ''
|
||||
cd src
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://speedcrunch.org;
|
||||
|
@ -17254,11 +17254,7 @@ with pkgs;
|
||||
|
||||
yacas = callPackage ../applications/science/math/yacas { };
|
||||
|
||||
speedcrunch = callPackage ../applications/science/math/speedcrunch {
|
||||
qt = qt4;
|
||||
cmake = cmakeCurses;
|
||||
};
|
||||
|
||||
speedcrunch = qt5.callPackage ../applications/science/math/speedcrunch { };
|
||||
|
||||
### SCIENCE / MISC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user