mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-14 01:03:54 +00:00
35 lines
723 B
Nix
35 lines
723 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "easydict";
|
|
version = "1.13";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-sRNd7bxByAEOK8H3fsl0TH+qQrzhoch0FnkUSdbId4A=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools
|
|
];
|
|
|
|
doCheck = false; # No tests in archive
|
|
|
|
pythonImportsCheck = [ "easydict" ];
|
|
|
|
meta = {
|
|
description = "Access dict values as attributes (works recursively)";
|
|
homepage = "https://github.com/makinacorpus/easydict";
|
|
changelog = "https://github.com/makinacorpus/easydict/releases/tag/${finalAttrs.version}";
|
|
license = lib.licenses.lgpl3;
|
|
};
|
|
})
|