mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 04:03:04 +00:00
Merge pull request #255119 from mechanicstriker/terminal-typeracer
terminal-typeracer: 2.0.8 -> 2.1.3
This commit is contained in:
commit
f5579deb6b
@ -1,7 +1,9 @@
|
||||
{ lib, stdenv
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, libgit2
|
||||
, openssl
|
||||
, sqlite
|
||||
, libiconv
|
||||
@ -10,20 +12,24 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "terminal-typeracer";
|
||||
version = "2.0.8";
|
||||
version = "2.1.3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "ttyperacer";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "Fb2MCQaQaJseXa8Csesz1s5Yel4wcSMxfMeKSW7rlU4=";
|
||||
hash = "sha256-S3OW6KihRd6ReTWUXRb1OWC7+YoxehjFRBxcnJVgImU=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-SAVDSUm2jpDwTfwo4L6MVUKzBxZvCfjn4UNIGUJziSY=";
|
||||
cargoHash = "sha256-OwbFIbKB/arj+3gq2tfEq8yTKSUPBQNYJNzrWvDv4A4=";
|
||||
|
||||
buildInputs = [ openssl sqlite ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libgit2 openssl sqlite ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
LIBGIT2_NO_VENDOR = 1;
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open source terminal based version of Typeracer written in rust";
|
||||
homepage = "https://gitlab.com/ttyperacer/terminal-typeracer";
|
||||
|
Loading…
Reference in New Issue
Block a user