diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-10-15 10:40:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-15 10:40:31 +0100 |
commit | 4a01ad0e9992d3b2a369ce21f9d9dee980f83581 (patch) | |
tree | 49221f0efdfb16d7819990788dc6b768486cf0db /pkgs/development/tools | |
parent | 4eb6e845f96d4fdb48c7d50f6138b68192362e42 (diff) | |
parent | 6591a70812c9d8d0702b60c05d9e8d55382ecc09 (diff) | |
download | nixlib-4a01ad0e9992d3b2a369ce21f9d9dee980f83581.tar nixlib-4a01ad0e9992d3b2a369ce21f9d9dee980f83581.tar.gz nixlib-4a01ad0e9992d3b2a369ce21f9d9dee980f83581.tar.bz2 nixlib-4a01ad0e9992d3b2a369ce21f9d9dee980f83581.tar.lz nixlib-4a01ad0e9992d3b2a369ce21f9d9dee980f83581.tar.xz nixlib-4a01ad0e9992d3b2a369ce21f9d9dee980f83581.tar.zst nixlib-4a01ad0e9992d3b2a369ce21f9d9dee980f83581.zip |
Merge pull request #29882 from Eisfreak7/master
sqldeveloper: 4.1.1 -> 17.2.0
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/database/sqldeveloper/default.nix | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/pkgs/development/tools/database/sqldeveloper/default.nix b/pkgs/development/tools/database/sqldeveloper/default.nix index 9f321ee33097..d5acd487e6b3 100644 --- a/pkgs/development/tools/database/sqldeveloper/default.nix +++ b/pkgs/development/tools/database/sqldeveloper/default.nix @@ -1,12 +1,39 @@ { stdenv, makeWrapper, requireFile, unzip, openjdk }: stdenv.mkDerivation rec { - name = "sqldeveloper-4.1.1.19.59"; + version = "17.3.0.271.2323"; + name = "sqldeveloper-${version}"; - src = requireFile { - name = "${name}-no-jre.zip"; + src = requireFile rec { + name = "sqldeveloper-${version}-no-jre.zip"; url = "http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/"; - sha256 = "1dbbqlz11zps9w5qvzlcv5rdv43s25c3mbzf8il1px4m2j33y3rv"; + message = '' + This Nix expression requires that ${name} already be part of the store. To + obtain it you need to + + - navigate to ${url} + - make sure that it says "Version ${version}" above the list of downloads + - if it does not, click on the "Previous Version" link below the downloads + and repeat until the version is correct. This is necessarry because as the + time of this writing there exists no permanent link for the current version + yet. + Also consider updating this package yourself (you probably just need to + change the `version` variable and update the sha256 to the one of the + new file) or opening an issue at the nixpkgs repo. + - accept the license agreement + - download the file listed under "Other Platforms" + - sign in or create an oracle account if neccessary + + and then add the file to the Nix store using either: + + nix-store --add-fixed sha256 ${name} + + or + + nix-prefetch-url --type sha256 file:///path/to/${name} + ''; + # obtained by `sha256sum sqldeveloper-${version}-no-jre.zip` + sha256 = "06ba5920544bacbea83425548b1b8f69ab3e9bb279076321aece2c0c6d415dad"; }; buildInputs = [ makeWrapper unzip ]; |