2020-06-19 12:00:04 +01:00
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "the-way";
|
2020-07-08 17:58:51 +01:00
|
|
|
version = "0.4.0";
|
2020-06-19 12:00:04 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "out-of-cheese-error";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-08 17:58:51 +01:00
|
|
|
sha256 = "0q7yg90yxnpaafg6sg7mqkh86qkn43kxy73p9nqkkgrikdnrjh5a";
|
2020-06-19 12:00:04 +01:00
|
|
|
};
|
|
|
|
|
2020-07-08 17:58:51 +01:00
|
|
|
cargoSha256 = "1a747bmc6s007ram0w4xf1y2nb3pphvqnlx59098lr3v7gllp7x3";
|
2020-06-19 12:00:04 +01:00
|
|
|
checkFlags = "--test-threads=1";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Terminal code snippets manager";
|
|
|
|
homepage = "https://github.com/out-of-cheese-error/the-way";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ numkem ];
|
|
|
|
};
|
|
|
|
}
|