diff options
author | Felix Buehler <account@buehler.rocks> | 2021-07-17 19:56:23 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-18 00:19:24 +0200 |
commit | 87316d778be9234ada273c0892ce9788bd23ab9f (patch) | |
tree | 58ab70c7d52e4bf2221679f7f3937000dabc5337 /pkgs/development/tools/java/fastjar/default.nix | |
parent | a314be4b4d6403df29c9fe3ed0cd92a39ffbcdb2 (diff) | |
download | nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.gz nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.bz2 nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.lz nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.xz nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.tar.zst nixpkgs-87316d778be9234ada273c0892ce9788bd23ab9f.zip |
various: cleanup of "inherit version;"
Diffstat (limited to 'pkgs/development/tools/java/fastjar/default.nix')
-rw-r--r-- | pkgs/development/tools/java/fastjar/default.nix | 45 |
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 = [ ]; + }; +} |