Files
nixpkgs/pkgs/development/python-modules/hlk-sw16/default.nix
T
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

31 lines
618 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
}:
buildPythonPackage rec {
pname = "hlk-sw16";
version = "0.0.9";
format = "setuptools";
src = fetchFromGitHub {
owner = "jameshilliard";
repo = "hlk-sw16";
rev = version;
sha256 = "010s85nr6xn89i8yvdagg72a97dh1v2pyfqa33v76p9p8xbgh8dz";
};
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "hlk_sw16" ];
meta = {
description = "Python client for HLK-SW16";
homepage = "https://github.com/jameshilliard/hlk-sw16";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}