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>
26 lines
574 B
Nix
26 lines
574 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mixins";
|
|
version = "0.1.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-SmYYRzo6wClQBMc2oRgO0CQEHOxWe8GFL24TPa6A4NQ=";
|
|
};
|
|
|
|
pythonImportsCheck = [ "mixins" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/nickderobertis/py-mixins";
|
|
description = "Mixin classes which may be added to your own classes to add certain functionality to them";
|
|
maintainers = with lib.maintainers; [ aanderse ];
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|