mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-14 17:46:38 +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>
27 lines
585 B
Nix
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;
|
|
};
|
|
}
|