nixpkgs/pkgs/applications/editors/ox/default.nix

24 lines
671 B
Nix
Raw Normal View History

2021-02-07 05:21:34 +00:00
{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "ox";
version = "0.2.7";
src = fetchFromGitHub {
owner = "curlpipe";
repo = pname;
rev = version;
sha256 = "18iffnmvax6mbnhypf7yma98y5q2zlsyp9q18f92fdwz426r33p0";
};
cargoSha256 = "0v0a1dl9rq5qyy9xwnb59w62qr9db3y3zlmnp60wafvj70zi9zxs";
meta = with lib; {
description = "An 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; [ fortuneteller2k ];
};
}