Commit e7513aca authored by magicquark's avatar magicquark
Browse files

speedcrunch: migrate to pkgs/by-name

parent 6a7cbb45
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
{
  stdenv,
  mkDerivation,
  lib,
  fetchFromBitbucket,
  cmake,
  qtbase,
  qttools,
  libsForQt5,
}:

mkDerivation {
stdenv.mkDerivation {
  pname = "speedcrunch";
  version = "unstable-2021-10-09";

@@ -19,19 +17,22 @@ mkDerivation {
    sha256 = "sha256-XxQv+A5SfYXFIRK7yacxGHHne1Q93pwCGeHhchIKizU=";
  };

  buildInputs = [
  sourceRoot = "source/src";

  buildInputs = with libsForQt5; [
    qtbase
    qttools
  ];

  nativeBuildInputs = [ cmake ];

  preConfigure = ''
    cd src
  '';
  nativeBuildInputs = [
    cmake
  ]
  ++ [
    libsForQt5.wrapQtAppsHook
  ];

  meta = with lib; {
    homepage = "http://speedcrunch.org";
    homepage = "https://speedcrunch.org";
    license = licenses.gpl2Plus;
    description = "Fast power user calculator";
    mainProgram = "speedcrunch";
@@ -44,7 +45,7 @@ mkDerivation {
    maintainers = with maintainers; [
      j0hax
    ];
    inherit (qtbase.meta) platforms;
    inherit (libsForQt5.qtbase.meta) platforms;
    broken = stdenv.hostPlatform.isDarwin;
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -14525,8 +14525,6 @@ with pkgs;
    enableJupyter = false;
  };

  speedcrunch = libsForQt5.callPackage ../applications/science/math/speedcrunch { };

  ### SCIENCE / MISC

  boinc-headless = boinc.override { headless = true; };