summary refs log tree commit diff
path: root/pkgs/development/tools/java/fastjar/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-07-18 06:01:33 +0000
committerGitHub <noreply@github.com>2021-07-18 06:01:33 +0000
commitf2eada4ab85be29a3a32282704b436e0fd26334a (patch)
tree160ca327c7dfe485ab90f5f6eae4f0a3b348da24 /pkgs/development/tools/java/fastjar/default.nix
parent382fdc7ad3184c7d47f54feb535a970fe64a0f35 (diff)
parentff4f2b6b85c9446001d6a410549223afe141f101 (diff)
downloadnixpkgs-f2eada4ab85be29a3a32282704b436e0fd26334a.tar
nixpkgs-f2eada4ab85be29a3a32282704b436e0fd26334a.tar.gz
nixpkgs-f2eada4ab85be29a3a32282704b436e0fd26334a.tar.bz2
nixpkgs-f2eada4ab85be29a3a32282704b436e0fd26334a.tar.lz
nixpkgs-f2eada4ab85be29a3a32282704b436e0fd26334a.tar.xz
nixpkgs-f2eada4ab85be29a3a32282704b436e0fd26334a.tar.zst
nixpkgs-f2eada4ab85be29a3a32282704b436e0fd26334a.zip
Merge master into staging-next
Diffstat (limited to 'pkgs/development/tools/java/fastjar/default.nix')
-rw-r--r--pkgs/development/tools/java/fastjar/default.nix45
1 files changed, 22 insertions, 23 deletions
diff --git a/pkgs/development/tools/java/fastjar/default.nix b/pkgs/development/tools/java/fastjar/default.nix
index 52211e302dd..c81df42edb1 100644
--- a/pkgs/development/tools/java/fastjar/default.nix
+++ b/pkgs/development/tools/java/fastjar/default.nix
@@ -1,32 +1,31 @@
 { fetchurl, lib, stdenv, zlib }:
 
-let version = "0.98"; in
-  stdenv.mkDerivation {
-    pname = "fastjar";
-    inherit version;
+stdenv.mkDerivation rec {
+  pname = "fastjar";
+  version = "0.98";
 
-    src = fetchurl {
-      url = "https://download.savannah.gnu.org/releases/fastjar/fastjar-${version}.tar.gz";
-      sha256 = "0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi";
-    };
+  src = fetchurl {
+    url = "https://download.savannah.gnu.org/releases/fastjar/fastjar-${version}.tar.gz";
+    sha256 = "0iginbz2m15hcsa3x4y7v3mhk54gr1r7m3ghx0pg4n46vv2snmpi";
+  };
 
-    buildInputs = [ zlib ];
+  buildInputs = [ zlib ];
 
-    doCheck = true;
+  doCheck = true;
 
-    meta = {
-      description = "Fast Java archiver written in C";
+  meta = {
+    description = "Fast Java archiver written in C";
 
-      longDescription = ''
-        Fastjar is a version of Sun's `jar' utility, written entirely in C, and
-        therefore quite a bit faster.  Fastjar can be up to 100x faster than
-        the stock `jar' program running without a JIT.
-      '';
+    longDescription = ''
+      Fastjar is a version of Sun's `jar' utility, written entirely in C, and
+      therefore quite a bit faster.  Fastjar can be up to 100x faster than
+      the stock `jar' program running without a JIT.
+    '';
 
-      homepage = "https://savannah.nongnu.org/projects/fastjar/";
+    homepage = "https://savannah.nongnu.org/projects/fastjar/";
 
-      license = lib.licenses.gpl2Plus;
-      platforms = lib.platforms.linux;
-      maintainers = [ ];
-    };
-  }
+    license = lib.licenses.gpl2Plus;
+    platforms = lib.platforms.linux;
+    maintainers = [ ];
+  };
+}