diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-02-21 15:59:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 15:59:50 +0000 |
commit | bec89d1893033412f55cfc7e953c8bdd0e5a25cf (patch) | |
tree | 03442baa568e58c0b41a3f998add02b4f11472b0 /pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix | |
parent | 97d19a167ada76cc31b1dfad410d90ffcc585a2e (diff) | |
parent | f5b761175fb78b47c88985503115e6ac08433d8d (diff) | |
download | nixlib-bec89d1893033412f55cfc7e953c8bdd0e5a25cf.tar nixlib-bec89d1893033412f55cfc7e953c8bdd0e5a25cf.tar.gz nixlib-bec89d1893033412f55cfc7e953c8bdd0e5a25cf.tar.bz2 nixlib-bec89d1893033412f55cfc7e953c8bdd0e5a25cf.tar.lz nixlib-bec89d1893033412f55cfc7e953c8bdd0e5a25cf.tar.xz nixlib-bec89d1893033412f55cfc7e953c8bdd0e5a25cf.tar.zst nixlib-bec89d1893033412f55cfc7e953c8bdd0e5a25cf.zip |
Merge pull request #80370 from gnidorah/rambox
rambox: don't build from sources
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix b/pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix deleted file mode 100644 index 30b12963b337..000000000000 --- a/pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ stdenv, fetchurl, gzip, which, unzip, jdk }: - -let - version = "6.6.0.13"; - srcs = { - i686-linux = fetchurl { - url = "https://cdn.sencha.com/cmd/${version}/no-jre/SenchaCmd-${version}-linux-i386.sh.zip"; - sha256 = "15b197108b49mf0afpihkh3p68lxm7580zz2w0xsbahglnvhwyfz"; - }; - x86_64-linux = fetchurl { - url = "https://cdn.sencha.com/cmd/${version}/no-jre/SenchaCmd-${version}-linux-amd64.sh.zip"; - sha256 = "1cxhckmx1802p9qiw09cgb1v5f30wcvnrwkshmia8p8n0q47lpp4"; - }; - }; -in - -stdenv.mkDerivation { - inherit version; - - pname = "sencha-bare"; - src = srcs.${stdenv.hostPlatform.system}; - - nativeBuildInputs = [ gzip which unzip ]; - buildInputs = [ jdk ]; - - sourceRoot = "."; - - configurePhase = '' - substituteAll ${./response.varfile} response.varfile - ''; - - installPhase = '' - ./SenchaCmd*.sh -q -dir $out -varfile response.varfile - # disallow sencha writing into /nix/store/repo - echo "repo.local.dir=$TMP/repo" >> $out/sencha.cfg - rm $out/shell-wrapper.sh $out/Uninstaller - ''; - - meta = with stdenv.lib; { - license = licenses.unfree; - platforms = attrNames srcs; - }; -} |