Files
nixpkgs/pkgs/development/python-modules/deep-chainmap/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
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>
2025-12-10 18:09:49 +01:00

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 ];
};
}