567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
34 lines
742 B
Nix
34 lines
742 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
flit-core,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "deep-chainmap";
|
|
version = "0.1.3";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "deep_chainmap";
|
|
inherit version;
|
|
hash = "sha256-Cw6Eiey501mzeigfdwnMuZH28abG4rcoACUGlmkzECA=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
# Tests are not published to pypi
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "deep_chainmap" ];
|
|
|
|
# See the guide for more information: https://nixos.org/nixpkgs/manual/#chap-meta
|
|
meta = {
|
|
description = "Recursive subclass of ChainMap";
|
|
homepage = "https://github.com/neutrinoceros/deep_chainmap";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ rehno-lindeque ];
|
|
};
|
|
}
|