Merge pull request #245072 from figsoda/typioca

typioca: init at 2.4.2
This commit is contained in:
Mario Rodas 2023-07-23 16:31:23 -05:00 committed by GitHub
commit 0bb6baaa3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,40 @@
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, typioca
}:
buildGoModule rec {
pname = "typioca";
version = "2.4.2";
src = fetchFromGitHub {
owner = "bloznelis";
repo = "typioca";
rev = version;
hash = "sha256-gSHJkMyRgJ58kccQAh1bJNveirDaqGjlhrzgvEX5c8o=";
};
vendorHash = "sha256-umtBvcfQoMQdWmQIAReeOkhRq+pelZzPvFsTq5ZwPXU=";
ldflags = [
"-s"
"-w"
"-X=github.com/bloznelis/typioca/cmd.Version=${version}"
];
passthru.tests = {
version = testers.testVersion {
package = typioca;
};
};
meta = with lib; {
description = "Cozy typing speed tester in terminal";
homepage = "https://github.com/bloznelis/typioca";
changelog = "https://github.com/bloznelis/typioca/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -35526,6 +35526,8 @@ with pkgs;
typer = callPackage ../applications/misc/typer { };
typioca = callPackage ../applications/misc/typioca { };
ueberzug = with python3Packages; toPythonApplication ueberzug;
ueberzugpp = darwin.apple_sdk_11_0.callPackage ../tools/graphics/ueberzugpp {