nixpkgs/pkgs/development/tools/the-way/default.nix

25 lines
679 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "the-way";
version = "0.3.2";
src = fetchFromGitHub {
owner = "out-of-cheese-error";
repo = pname;
rev = "v${version}";
sha256 = "02aa4iwwi89r6sj1q5sj74n2cy1rj94yfh39cp97zlx4lam9pj6b";
};
cargoSha256 = "09d9gaa83djfkfdx3m4d3kkq550q8y67wb292mrj4xb0kcfrhnpq";
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 ];
platforms = platforms.all;
};
}