diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-10-11 12:22:00 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-10-11 12:22:00 -0600 |
| commit | a5bb6bec46924a2954382d5726540f6902aaa8b1 (patch) | |
| tree | c13ee41179e65658807c146b04430e8bae51d0e7 /pkgs/athena-bccr/firmador.nix | |
| parent | 037a099639c3a359b006493b481a38701febb81e (diff) | |
tree-wide: replace local athena-bccr with version from trivionomicon
Diffstat (limited to '')
| -rw-r--r-- | pkgs/athena-bccr/firmador.nix | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/pkgs/athena-bccr/firmador.nix b/pkgs/athena-bccr/firmador.nix deleted file mode 100644 index d280b56..0000000 --- a/pkgs/athena-bccr/firmador.nix +++ /dev/null @@ -1,57 +0,0 @@ -{ - fetchgit, - lib, - makeWrapper, - maven, - openjdk, - wrapGAppsHook, - libasep11 ? null, -}: let - jdk = openjdk.override { - enableJavaFX = true; - }; - - version = "1.9.8"; -in - maven.buildMavenPackage { - pname = "firmador"; - inherit version; - - src = fetchgit { - url = "https://codeberg.org/firmador/firmador"; - rev = version; - hash = "sha256-xdiVPjihRADPK4nG+WQHWsDzVYLCeN6ouQ6SDtjf1qQ="; - }; - - patches = [ - ./0001-Remove-CheckUpdatePlugin-from-default-list.patch - ]; - - mvnHash = "sha256-h1zoStTgaE7toWWKq0Y0ahOORyltChwjmaMYjLgs1VE="; - - nativeBuildInputs = [ - makeWrapper - wrapGAppsHook - ]; - - postPatch = lib.optionalString (libasep11 != null) '' - sed -i 's@/usr/lib/x64-athena/libASEP11.so@${libasep11}@g' src/main/java/cr/libre/firmador/CRSigner.java - ''; - - installPhase = '' - runHook preInstall - - mkdir -p $out/bin $out/share/java - install -Dm644 target/firmador.jar $out/share/java - - makeWrapper ${jdk}/bin/java $out/bin/firmador \ - --add-flags "-jar $out/share/java/firmador.jar" - - runHook postInstall - ''; - - meta = { - homepage = "https://firmador.libre.cr"; - license = lib.licenses.gpl3Plus; - }; - } |
