Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nix support #70

Closed
srid opened this issue Apr 6, 2021 · 1 comment · Fixed by #76
Closed

Nix support #70

srid opened this issue Apr 6, 2021 · 1 comment · Fixed by #76

Comments

@srid
Copy link
Contributor

srid commented Apr 6, 2021

Adding a default.nix would help users on NixOS, or using Nix, to easily build himalaya. Here's the default.nix that I used to build the current master branch:

let 
  pkgs = import <nixpkgs> {};
in 
pkgs.rustPlatform.buildRustPackage rec {
  pname = "himalaya";
  version = "0.2.2";

  src = ./.;

  nativeBuildInputs = with pkgs; [
    pkg-config 
    openssl.dev
  ];
  PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";

  cargoSha256 = "sha256-i8YKE5Z2xoNyjFktRRVA45zD6Qa0aPNC0AOjHUIglgk=";

  meta = with pkgs.stdenv.lib; {
    description = "Minimalist CLI email client";
    homepage = "https://github.com/soywod/himalaya";
  };
}
@soywod
Copy link
Member

soywod commented Apr 7, 2021

Thanks a lot!! Maybe consider opening a PR instead? So you will be part of the contributors ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants