nixpkgs/pkgs/applications/misc/eureka-ideas/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
933 B
Nix
Raw Normal View History

2021-10-06 20:11:32 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
2022-11-18 19:56:01 +00:00
, libgit2
2021-10-06 20:11:32 +00:00
, openssl
, stdenv
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "eureka-ideas";
2022-04-11 07:55:56 +00:00
version = "2.0.0";
2021-10-06 20:11:32 +00:00
src = fetchFromGitHub {
owner = "simeg";
repo = "eureka";
rev = "v${version}";
2022-04-11 07:55:56 +00:00
sha256 = "sha256-NJ1O8+NBG0y39bMOZeah2jSZlvnPrtpCtXrgAYmVrAc=";
2021-10-06 20:11:32 +00:00
};
2022-04-11 07:55:56 +00:00
cargoSha256 = "sha256-tNUWW0HgXl+tM9uciApLSkLDDkzrvAiWmiYs2y/dEOM=";
2021-10-06 20:11:32 +00:00
nativeBuildInputs = [ pkg-config ];
2022-11-18 19:56:01 +00:00
buildInputs = [
libgit2
openssl
] ++ lib.optionals stdenv.isDarwin [
Security
];
useNextest = true;
2022-11-18 19:56:01 +00:00
2021-10-06 20:11:32 +00:00
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";
};
}