adds rapid silicon stuff
This commit is contained in:
parent
a87a8667b2
commit
dede28c4de
|
@ -8,6 +8,7 @@
|
|||
matplotlib
|
||||
numpy
|
||||
pandas
|
||||
requests
|
||||
scipy
|
||||
setuptools
|
||||
]))
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
pkgs:
|
||||
{
|
||||
andesight = pkgs.callPackage ./andesight {};
|
||||
netextender = pkgs.callPackage ./netextender {};
|
||||
}
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
version = "10.2.845";
|
||||
filename = "NetExtender.Linux-${version}";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "andesight";
|
||||
inherit version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
||||
];
|
||||
|
||||
src = pkgs.fetchTarball {
|
||||
url = "https://software.sonicwall.com/NetExtender/${filename}.tgz";
|
||||
sha256 = fakeSha356;
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
'';
|
||||
|
||||
meta.license = licenses.unfree;
|
||||
}
|
37
pkgs/netextender/default.nix
Normal file
37
pkgs/netextender/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib, stdenv, autoPatchelfHook, fetchurl, ppp, iproute2, nettools, ... }:
|
||||
with lib;
|
||||
let
|
||||
version = "10.2.845.x86";
|
||||
filename = "NetExtender.Linux-${version}";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "netextender";
|
||||
inherit version;
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
ppp
|
||||
iproute2
|
||||
nettools
|
||||
];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://software.sonicwall.com/NetExtender/${filename}.tgz";
|
||||
sha256 = "sha256-5TQxAu0MP36uDaFJ1hw7euhMiq1qjyjBsym9Waoj8D8=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
substituteInPlace netExtenderClient/install \
|
||||
--replace /usr/sbin/pppd ${ppp}/bin/pppd \
|
||||
--replace /sbin/ip ${iproute2}/bin/ip \
|
||||
--replace /sbin/route ${nettools}/bin/route \
|
||||
--replace /sbin/ifconfig ${nettools}/bin/ifconfig \
|
||||
--replace /usr/share $out/share \
|
||||
--replace /usr/bin $out/bin
|
||||
'';
|
||||
|
||||
meta.license = licenses.unfree;
|
||||
}
|
Loading…
Reference in a new issue