Skip to content

Commit

Permalink
Merge pull request NixOS#134351 from Stunkymonkey/tlaplus-phases
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Aug 16, 2021
2 parents abdd507 + 8a8a949 commit 7b5d67f
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 12 deletions.
18 changes: 11 additions & 7 deletions pkgs/applications/science/logic/tlaplus/tlaps.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{ fetchurl
, lib, stdenv
, ocaml, isabelle, cvc3, perl, wget, which
, lib
, stdenv
, ocaml
, isabelle
, cvc3
, perl
, wget
, which
}:

stdenv.mkDerivation rec {
Expand All @@ -13,8 +19,6 @@ stdenv.mkDerivation rec {

buildInputs = [ ocaml isabelle cvc3 perl wget which ];

phases = [ "unpackPhase" "installPhase" ];

installPhase = ''
mkdir -pv "$out"
export HOME="$out"
Expand Down Expand Up @@ -45,9 +49,9 @@ stdenv.mkDerivation rec {
and scalable to large system specifications. It provides a
consistent abstraction over the various “backend” verifiers.
'';
homepage = "https://tla.msr-inria.inria.fr/tlaps/content/Home.html";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
homepage = "https://tla.msr-inria.inria.fr/tlaps/content/Home.html";
license = lib.licenses.bsd2;
platforms = lib.platforms.unix;
maintainers = [ ];
};

Expand Down
17 changes: 12 additions & 5 deletions pkgs/applications/science/logic/tlaplus/toolbox.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{ lib, fetchzip, makeWrapper, makeDesktopItem, stdenv
, gtk3, libXtst, glib, zlib, wrapGAppsHook
{ lib
, fetchzip
, makeWrapper
, makeDesktopItem
, stdenv
, gtk3
, libXtst
, glib
, zlib
, wrapGAppsHook
}:

let
Expand All @@ -17,7 +25,8 @@ let
};


in stdenv.mkDerivation rec {
in
stdenv.mkDerivation rec {
pname = "tla-toolbox";
version = "1.7.1";
src = fetchzip {
Expand All @@ -31,8 +40,6 @@ in stdenv.mkDerivation rec {

dontWrapGApps = true;

phases = [ "installPhase" ];

installPhase = ''
runHook preInstall
Expand Down

0 comments on commit 7b5d67f

Please sign in to comment.