Skip to content

Commit

Permalink
pplatex: use finalAttrs in mkDerivation; reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar committed Sep 20, 2023
1 parent 8517339 commit 316948e
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions pkgs/tools/typesetting/tex/pplatex/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, pcre }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, pcre
}:

stdenv.mkDerivation {
stdenv.mkDerivation (finalAttrs: {
pname = "pplatex";
version = "unstable-2023-04-18";

Expand All @@ -11,9 +17,14 @@ stdenv.mkDerivation {
sha256 = "sha256-wPPJBn/UfmTWsD5JOg6po83Qn4qlpwgsPUV3iJzw5KU=";
};

nativeBuildInputs = [ cmake pkg-config ];
nativeBuildInputs = [
cmake
pkg-config
];

buildInputs = [ pcre ];
buildInputs = [
pcre
];

installPhase = ''
runHook preInstall
Expand All @@ -29,4 +40,4 @@ stdenv.mkDerivation {
maintainers = [ maintainers.srgom maintainers.doronbehar ];
platforms = platforms.unix;
};
}
})

0 comments on commit 316948e

Please sign in to comment.