nixpkgs/pkgs/development/python-modules/morphys/default.nix
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

26 lines
611 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
}:
buildPythonPackage {
pname = "morphys";
version = "1.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "mkalinski";
repo = "morphys";
rev = "0642a71126c32cd26b3a443a5cac27e4e1f7240f";
sha256 = "1da8s04m5wwih9cvkrks3ymb8v082lia47f274hxmfhi6ma3qc8b";
};
pythonImportsCheck = [ "morphys" ];
meta = {
description = "Smart conversions between unicode and bytes types";
homepage = "https://github.com/mkalinski/morphys";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ rakesh4g ];
};
}