depot/third_party/nixpkgs/pkgs/applications/science/math/mathmod/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
753 B
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, qmake
}:
mkDerivation {
pname = "mathmod";
version = "11.1-unstable-2024-01-26";
src = fetchFromGitHub {
owner = "parisolab";
repo = "mathmod";
rev = "24d03a04c17363520ae7cf077e72a7b8684eb6fd";
hash = "sha256-HiqHssPGqYEVZWchZRj4rFPc+xNVZk1ryl5qvFC2BmQ=";
};
patches = [ ./fix-paths.patch ];
postPatch = ''
substituteInPlace MathMod.pro --subst-var out
'';
nativeBuildInputs = [ qmake ];
meta = {
description = "Mathematical modelling software";
homepage = "https://github.com/parisolab/mathmod";
license = lib.licenses.gpl2Plus;
mainProgram = "MathMod";
maintainers = with lib.maintainers; [ tomasajt ];
platforms = lib.platforms.unix;
};
}