terminal-typeracer: 2.0.8 -> 2.1.3
This commit is contained in:
parent
67f7fb56e2
commit
9c1f2818e6
|
@ -1,7 +1,9 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitLab
|
, fetchFromGitLab
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, libgit2
|
||||||
, openssl
|
, openssl
|
||||||
, sqlite
|
, sqlite
|
||||||
, libiconv
|
, libiconv
|
||||||
|
@ -10,20 +12,24 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "terminal-typeracer";
|
pname = "terminal-typeracer";
|
||||||
version = "2.0.8";
|
version = "2.1.3";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "ttyperacer";
|
owner = "ttyperacer";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
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 ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
buildInputs = [ libgit2 openssl sqlite ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||||
|
|
||||||
|
OPENSSL_NO_VENDOR = 1;
|
||||||
|
LIBGIT2_NO_VENDOR = 1;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An open source terminal based version of Typeracer written in rust";
|
description = "An open source terminal based version of Typeracer written in rust";
|
||||||
homepage = "https://gitlab.com/ttyperacer/terminal-typeracer";
|
homepage = "https://gitlab.com/ttyperacer/terminal-typeracer";
|
||||||
|
|
Loading…
Reference in a new issue