diff options
author | figsoda <figsoda@pm.me> | 2021-10-06 16:11:32 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-10-06 16:28:16 -0400 |
commit | eb70021803f16d1cf8c4d20aa565d660ee1580b5 (patch) | |
tree | 2b27f5a435577261cb90fd006b51daf876a09f7b /pkgs/applications/misc/eureka-ideas | |
parent | c7b6b7ccdb44aaeaa5cbe5189abbda7d1fcaf405 (diff) |
eureka-ideas: init at 1.8.1
Diffstat (limited to 'pkgs/applications/misc/eureka-ideas')
-rw-r--r-- | pkgs/applications/misc/eureka-ideas/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/misc/eureka-ideas/default.nix b/pkgs/applications/misc/eureka-ideas/default.nix new file mode 100644 index 0000000000000..5f5db97b3323e --- /dev/null +++ b/pkgs/applications/misc/eureka-ideas/default.nix @@ -0,0 +1,35 @@ +{ lib +, rustPlatform +, fetchFromGitHub +, pkg-config +, openssl +, stdenv +, Security +}: + +rustPlatform.buildRustPackage rec { + pname = "eureka-ideas"; + version = "1.8.1"; + + src = fetchFromGitHub { + owner = "simeg"; + repo = "eureka"; + rev = "v${version}"; + sha256 = "1qjf8nr7m9igy6h228gm9gnav6pi2rfarbd9bc5fchx4rqy59sp7"; + }; + + cargoSha256 = "sha256-QujrFgliH8Mx1ES9KVl+O9UJP+7GDanQ7+z4QJuSOd0="; + + nativeBuildInputs = [ pkg-config ]; + + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; + + 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"; + }; +} |