Merge branch 'master' into staging-next
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "librespeed-cli";
|
||||
version = "1.0.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "librespeed";
|
||||
repo = "speedtest-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "03bhxx33fy1cgp83anm51fm8v079v0az0d0p785dz98jg14vzibl";
|
||||
};
|
||||
|
||||
vendorSha256 = "1kccxmmzbkzbrxypcrz0j1zz51c0q1d5hh25lcpfbkm3498mj02c";
|
||||
|
||||
# Tests have additonal requirements
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line client for LibreSpeed";
|
||||
homepage = "https://github.com/librespeed/speedtest-cli";
|
||||
license = with licenses; [ lgpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, click
|
||||
, fetchFromGitHub
|
||||
, freezegun
|
||||
, pytestCheckHook
|
||||
, tqdm
|
||||
}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "past-time";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fabaff";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0yhc0630rmcx4ia9y6klpx002mavfmqf1s3jb2gz54jlccwqbfgl";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
tqdm
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
freezegun
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "past_time" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to visualize the progress of the year based on the past days";
|
||||
homepage = "https://github.com/fabaff/past-time";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user