diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/ox/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/ox/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/ox/default.nix b/nixpkgs/pkgs/applications/editors/ox/default.nix new file mode 100644 index 000000000000..978f2b2aaa1a --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/ox/default.nix @@ -0,0 +1,24 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "ox"; + version = "0.2.7"; + + src = fetchFromGitHub { + owner = "curlpipe"; + repo = pname; + rev = version; + hash = "sha256-4I6RjSCfNyeSQwGn6zX9AhePkqr+uOuhXdV0tat1LqI="; + }; + + cargoHash = "sha256-VFrN58SRTRGH+RSc59RIdsysR3umnrU2KM5XVCp9u1Q="; + + meta = with lib; { + description = "Independent Rust text editor that runs in your terminal"; + homepage = "https://github.com/curlpipe/ox"; + changelog = "https://github.com/curlpipe/ox/releases/tag/${version}"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ moni ]; + mainProgram = "ox"; + }; +} |