ox: add test, update script and nixfmt-rfc-style (#354285)
This commit is contained in:
commit
324b806102
@ -1,4 +1,12 @@
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
rustPlatform,
|
||||
testers,
|
||||
nix-update-script,
|
||||
ox,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "ox";
|
||||
@ -13,6 +21,14 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-2Jk8uDiTGUQqLOOQVlYm5R7qQXIqP0PkFvv5E5qTzT0=";
|
||||
|
||||
passthru = {
|
||||
tests.version = testers.testVersion {
|
||||
package = ox;
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Independent Rust text editor that runs in your terminal";
|
||||
homepage = "https://github.com/curlpipe/ox";
|
||||
|
Loading…
Reference in New Issue
Block a user