mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-13 23:06:35 +01:00
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
611 B
Nix
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 ];
|
|
};
|
|
}
|