mirror of
https://github.com/tuxdotrs/tawm.git
synced 2025-07-06 04:56:34 +05:30
initial commit
This commit is contained in:
3
pkgs/default.nix
Executable file
3
pkgs/default.nix
Executable file
@ -0,0 +1,3 @@
|
||||
{ pkgs, ... }: {
|
||||
speedtestpp = pkgs.callPackage ./speedtestpp { };
|
||||
}
|
22
pkgs/speedtestpp/default.nix
Executable file
22
pkgs/speedtestpp/default.nix
Executable file
@ -0,0 +1,22 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, curl, openssl, libxml2 }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "speedtestpp";
|
||||
version = "2021-08-29";
|
||||
src = fetchFromGitHub {
|
||||
owner = "taganaka";
|
||||
repo = "speedtest";
|
||||
rev = "0f63cfbf7ce8d64ea803bf143b957eae76323405";
|
||||
sha256 = "sha256-rGY0kK2OCZl+229/JERf2ghBSdvAedhVuL4SrVzYFmU=";
|
||||
};
|
||||
nativeBuildInputs = [ cmake curl openssl libxml2 ];
|
||||
postInstall = ''
|
||||
ln -s $out/bin/SpeedTest $out/bin/speedtestpp
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Unofficial speedtest.net cli using raw TCP for better accuracy";
|
||||
homepage = "https://github.com/taganaka/SpeedTest";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user