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

34 lines
671 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
numpy,
cython,
}:
buildPythonPackage rec {
pname = "libmr";
version = "0.1.9";
format = "setuptools";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "43ccd86693b725fa3abe648c8cdcef17ba5fa46b5528168829e5f9b968dfeb70";
};
propagatedBuildInputs = [
numpy
cython
];
# No tests in the pypi tarball
doCheck = false;
meta = {
description = "LibMR provides core MetaRecognition and Weibull fitting functionality";
homepage = "https://github.com/Vastlab/libMR";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ psyanticy ];
};
}