speki: init at 0.4.8

This commit is contained in:
Gabriel Arazas 2023-06-06 12:11:17 +08:00
parent 4f37501db9
commit 1fa4a1ea5c
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
3 changed files with 3921 additions and 0 deletions

View File

@ -59,6 +59,7 @@ let
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { };
swh = callPackage ./software-heritage { python3Packages = python310Packages; };
speki = callPackage ./speki { };
tic-80 = callPackage ./tic-80 { };
thokr = callPackage ./thokr.nix { };
segno = callPackage ./segno.nix { };

3886
pkgs/speki/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

34
pkgs/speki/default.nix Normal file
View File

@ -0,0 +1,34 @@
{ rustPlatform
, lib
, fetchFromGitHub
, pkg-config
, openssl
, alsaLib
}:
rustPlatform.buildRustPackage rec {
pname = "speki";
version = "0.4.8";
src = fetchFromGitHub {
owner = "TBS1996";
repo = "speki";
rev = "v${version}";
hash = "sha256-cvtMXtg2c9T4CaWAobagS9pW4pX4Q+nwdBvP+9A0er0=";
};
cargoLock = {
lockFile = ./Cargo.lock;
};
env.OPENSSL_NO_VENDOR = "1";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl alsaLib ];
meta = with lib; {
homepage = "https://github.com/TBS1996/speki/";
description = "Flashcard app on the terminal";
license = licenses.gpl2;
maintainers = with maintainers; [ foo-dogsquared ];
};
}