add package dioxionary
This commit is contained in:
parent
f33adf3801
commit
70388ced3b
6 changed files with 3246 additions and 0 deletions
3160
pkgs/_sources/dioxionary-v1.1.3/Cargo.lock
generated
Normal file
3160
pkgs/_sources/dioxionary-v1.1.3/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,4 +1,30 @@
|
||||||
{
|
{
|
||||||
|
"dioxionary": {
|
||||||
|
"cargoLocks": {
|
||||||
|
"Cargo.lock": [
|
||||||
|
"./dioxionary-v1.1.3/Cargo.lock",
|
||||||
|
{}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"date": null,
|
||||||
|
"extract": null,
|
||||||
|
"name": "dioxionary",
|
||||||
|
"passthru": null,
|
||||||
|
"pinned": false,
|
||||||
|
"src": {
|
||||||
|
"deepClone": false,
|
||||||
|
"fetchSubmodules": false,
|
||||||
|
"leaveDotGit": false,
|
||||||
|
"name": null,
|
||||||
|
"owner": "vaaandark",
|
||||||
|
"repo": "dioxionary",
|
||||||
|
"rev": "v1.1.3",
|
||||||
|
"sha256": "sha256-tRv0Rdr8N3MJLeBpXjxNybAIZoNCmXEt1yj1Ij+I7U0=",
|
||||||
|
"sparseCheckout": [],
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"version": "v1.1.3"
|
||||||
|
},
|
||||||
"juicity": {
|
"juicity": {
|
||||||
"cargoLocks": null,
|
"cargoLocks": null,
|
||||||
"date": "2025-02-20",
|
"date": "2025-02-20",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,23 @@
|
||||||
# This file was generated by nvfetcher, please do not modify it manually.
|
# This file was generated by nvfetcher, please do not modify it manually.
|
||||||
{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }:
|
{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }:
|
||||||
{
|
{
|
||||||
|
dioxionary = {
|
||||||
|
pname = "dioxionary";
|
||||||
|
version = "v1.1.3";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "vaaandark";
|
||||||
|
repo = "dioxionary";
|
||||||
|
rev = "v1.1.3";
|
||||||
|
fetchSubmodules = false;
|
||||||
|
sha256 = "sha256-tRv0Rdr8N3MJLeBpXjxNybAIZoNCmXEt1yj1Ij+I7U0=";
|
||||||
|
};
|
||||||
|
cargoLock."Cargo.lock" = {
|
||||||
|
lockFile = ./dioxionary-v1.1.3/Cargo.lock;
|
||||||
|
outputHashes = {
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
juicity = {
|
juicity = {
|
||||||
pname = "juicity";
|
pname = "juicity";
|
||||||
version = "4c5e8bd948ba2f72a0dd38681cf13ae532f6c9f5";
|
version = "4c5e8bd948ba2f72a0dd38681cf13ae532f6c9f5";
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ in
|
||||||
helix = callPackage ./helix { };
|
helix = callPackage ./helix { };
|
||||||
juicity = callPackage ./juicity.nix { };
|
juicity = callPackage ./juicity.nix { };
|
||||||
rime-ice = callPackage ./rime-ice.nix { };
|
rime-ice = callPackage ./rime-ice.nix { };
|
||||||
|
dioxionary = callPackage ./dioxionary.nix { };
|
||||||
}
|
}
|
||||||
// (
|
// (
|
||||||
let
|
let
|
||||||
|
|
|
||||||
37
pkgs/dioxionary.nix
Normal file
37
pkgs/dioxionary.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
||||||
|
{
|
||||||
|
srcs,
|
||||||
|
rustPlatform,
|
||||||
|
pkg-config,
|
||||||
|
openssl,
|
||||||
|
installShellFiles,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
src = srcs.dioxionary;
|
||||||
|
in
|
||||||
|
rustPlatform.buildRustPackage {
|
||||||
|
inherit (src) pname src;
|
||||||
|
version = "${src.version}";
|
||||||
|
cargoLock = src.cargoLock."Cargo.lock";
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
installShellFiles
|
||||||
|
];
|
||||||
|
buildInputs = [ openssl.dev ];
|
||||||
|
doCheck = false;
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion --cmd dioxionary \
|
||||||
|
--bash <($out/bin/dioxionary completion bash) \
|
||||||
|
--zsh <($out/bin/dioxionary completion zsh) \
|
||||||
|
--fish <($out/bin/dioxionary completion fish)
|
||||||
|
'';
|
||||||
|
meta = {
|
||||||
|
description = "Rusty stardict. Enables terminal-based word lookup and vocabulary memorization using offline or online dictionaries";
|
||||||
|
homepage = "https://github.com/vaaandark/dioxionary";
|
||||||
|
changelog = "https://github.com/vaaandark/dioxionary/releases/tag/${src.version}";
|
||||||
|
license = lib.licenses.gpl2Only;
|
||||||
|
maintainers = with lib.maintainers; [ ulic-youthlic ];
|
||||||
|
mainProgram = "dioxionary";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -10,3 +10,8 @@ passthru.name = "idris"
|
||||||
[rime-ice]
|
[rime-ice]
|
||||||
src.git = "https://github.com/iDvel/rime-ice.git"
|
src.git = "https://github.com/iDvel/rime-ice.git"
|
||||||
fetch.github = "iDvel/rime-ice"
|
fetch.github = "iDvel/rime-ice"
|
||||||
|
|
||||||
|
[dioxionary]
|
||||||
|
src.github = "vaaandark/dioxionary"
|
||||||
|
fetch.github = "vaaandark/dioxionary"
|
||||||
|
cargo_locks = ["Cargo.lock"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue