ib/controller: switch to fetchFromGitHub
This commit is contained in:
parent
51d7d76206
commit
58993fbd4d
1 changed files with 7 additions and 5 deletions
|
@ -1,12 +1,14 @@
|
||||||
{ lib, stdenv, fetchurl, unzip, jdk, ib-tws, xpra }:
|
{ lib, stdenv, fetchFromGitHub, unzip, jdk, ib-tws, xpra }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.14.0";
|
version = "2.14.0";
|
||||||
pname = "ib-controller";
|
pname = "ib-controller";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/ib-controller/ib-controller/archive/${version}.tar.gz";
|
owner = "ib-controller";
|
||||||
sha256 = "17a8bcgg9z3b4y38k035hm2lgvhmf8srlz59c7n2q3fdw2i95i68";
|
repo = "ib-controller";
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-R175CKb3uErjBNe73HEFMI+bNmmuH2nWGraCSh5bXwc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
phases = [ "unpackPhase" "installPhase" ];
|
phases = [ "unpackPhase" "installPhase" ];
|
||||||
|
@ -150,7 +152,7 @@ stdenv.mkDerivation rec {
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
chmod u+x $out/bin/ib-gw-c
|
chmod u+x $out/bin/ib-gw-c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue