Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
812 B
Nix
42 lines
812 B
Nix
{
|
|
lib,
|
|
buildPythonApplication,
|
|
fetchFromGitHub,
|
|
flit,
|
|
aiohttp,
|
|
beautifulsoup4,
|
|
}:
|
|
|
|
buildPythonApplication {
|
|
pname = "cambrinary";
|
|
version = "unstable-2023-07-16";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xueyuanl";
|
|
repo = "cambrinary";
|
|
rev = "f0792ef70654a48a7677b6e1a7dee454b2c0971c";
|
|
hash = "sha256-wDcvpKAY/6lBjO5h3qKH3+Y2G2gm7spcKCXFMt/bAtE=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
flit
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
aiohttp
|
|
beautifulsoup4
|
|
];
|
|
|
|
pythonImportsCheck = [ "cambrinary" ];
|
|
|
|
meta = with lib; {
|
|
description = "Cambridge dictionary in a terminal";
|
|
mainProgram = "cambrinary";
|
|
homepage = "https://github.com/xueyuanl/cambrinary";
|
|
license = licenses.gpl3Only;
|
|
platforms = platforms.unix;
|
|
maintainers = [ ];
|
|
};
|
|
}
|