diff --git a/pkgs/applications/science/misc/reason-shell/default.nix b/pkgs/applications/science/misc/reason-shell/default.nix new file mode 100644 index 000000000000..aa1544669ed8 --- /dev/null +++ b/pkgs/applications/science/misc/reason-shell/default.nix @@ -0,0 +1,40 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, openssl +, stdenv +, darwin +}: + +rustPlatform.buildRustPackage rec { + pname = "reason"; + version = "0.3.10"; + + src = fetchFromGitHub { + owner = "jaywonchung"; + repo = "reason"; + rev = "v${version}"; + hash = "sha256-oytRquZJgb1sfpZil1bSGwIIvm+5N4mkVmIMzWyzDco="; + }; + + cargoHash = "sha256-4AEuFSM2dY6UjjIFRU8ipkRMoEb2LjnOr3H6rZrLokE="; + + nativeBuildInputs = [ + pkg-config + ]; + + buildInputs = [ + openssl + ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.CoreServices + ]; + + meta = with lib; { + description = "A shell for research papers"; + homepage = "https://github.com/jaywonchung/reason"; + changelog = "https://github.com/jaywonchung/reason/releases/tag/${src.rev}"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fe6d1e576c65..0fe6b30aaf87 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12409,6 +12409,8 @@ with pkgs; re-isearch = callPackage ../applications/search/re-isearch { }; + reason-shell = callPackage ../applications/science/misc/reason-shell { }; + reaverwps = callPackage ../tools/networking/reaver-wps { }; reaverwps-t6x = callPackage ../tools/networking/reaver-wps-t6x { };