Loading pkgs/applications/science/math/mathmod/default.nix 0 → 100644 +34 −0 Original line number Diff line number Diff line { 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 = "A mathematical modelling software"; homepage = "https://github.com/parisolab/mathmod"; license = lib.licenses.gpl2Plus; mainProgram = "MathMod"; maintainers = with lib.maintainers; [ tomasajt ]; platforms = lib.platforms.unix; }; } pkgs/applications/science/math/mathmod/fix-paths.patch 0 → 100644 +14 −0 Original line number Diff line number Diff line diff --git a/MathMod.pro b/MathMod.pro index 2e2fbf1..bb8f8bd 100644 --- a/MathMod.pro +++ b/MathMod.pro @@ -63,7 +63,5 @@ OTHER_FILES += \ mathmodcollection.js \ mathmodconfig.js # install -target.path = $TARGET -sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS mathmod.pro -sources.path = $TARGET -INSTALLS += target sources +target.path = @out@/bin +INSTALLS += target pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -38187,6 +38187,8 @@ with pkgs; version = "11"; }; mathmod = libsForQt5.callPackage ../applications/science/math/mathmod { }; metis = callPackage ../development/libraries/science/math/metis { }; nauty = callPackage ../applications/science/math/nauty { }; Loading
pkgs/applications/science/math/mathmod/default.nix 0 → 100644 +34 −0 Original line number Diff line number Diff line { 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 = "A mathematical modelling software"; homepage = "https://github.com/parisolab/mathmod"; license = lib.licenses.gpl2Plus; mainProgram = "MathMod"; maintainers = with lib.maintainers; [ tomasajt ]; platforms = lib.platforms.unix; }; }
pkgs/applications/science/math/mathmod/fix-paths.patch 0 → 100644 +14 −0 Original line number Diff line number Diff line diff --git a/MathMod.pro b/MathMod.pro index 2e2fbf1..bb8f8bd 100644 --- a/MathMod.pro +++ b/MathMod.pro @@ -63,7 +63,5 @@ OTHER_FILES += \ mathmodcollection.js \ mathmodconfig.js # install -target.path = $TARGET -sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS mathmod.pro -sources.path = $TARGET -INSTALLS += target sources +target.path = @out@/bin +INSTALLS += target
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -38187,6 +38187,8 @@ with pkgs; version = "11"; }; mathmod = libsForQt5.callPackage ../applications/science/math/mathmod { }; metis = callPackage ../development/libraries/science/math/metis { }; nauty = callPackage ../applications/science/math/nauty { };