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

29 lines
569 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "python-status";
version = "1.0.1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0lryrvmi04g7d38ilm4wfw717m0ddhylrzb5cm59lrp3ai3q572f";
};
# Project doesn't ship tests yet
doCheck = false;
pythonImportsCheck = [ "status" ];
meta = {
description = "HTTP Status for Humans";
homepage = "https://github.com/avinassh/status/";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ fab ];
};
}