nixpkgs/pkgs/development/python-modules/ukpostcodeparser/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

27 lines
585 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "ukpostcodeparser";
version = "1.1.2";
format = "setuptools";
src = fetchPypi {
pname = "UkPostcodeParser";
inherit version;
sha256 = "930264efa293db80af0103a4fe9c161b06365598d24bb6fe5403f3f57c70530e";
};
doCheck = false;
meta = {
description = "UK Postcode parser";
homepage = "https://github.com/hamstah/ukpostcodeparser";
license = lib.licenses.publicDomain;
maintainers = with lib.maintainers; [ siddharthist ];
platforms = lib.platforms.unix;
};
}