02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
40 lines
1,007 B
Nix
40 lines
1,007 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, openssl
|
|
, stdenv
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "eureka-ideas";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "simeg";
|
|
repo = "eureka";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-NJ1O8+NBG0y39bMOZeah2jSZlvnPrtpCtXrgAYmVrAc=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-tNUWW0HgXl+tM9uciApLSkLDDkzrvAiWmiYs2y/dEOM=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
checkFlags = lib.optionals stdenv.isLinux [
|
|
# failing on linux for unknown reasons
|
|
"--skip=config_manager::tests"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "CLI tool to input and store your ideas without leaving the terminal";
|
|
homepage = "https://github.com/simeg/eureka";
|
|
changelog = "https://github.com/simeg/eureka/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
mainProgram = "eureka";
|
|
};
|
|
}
|