1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/science/math/mathmod/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

35 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;
};
}