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>
34 lines
671 B
Nix
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 ];
|
|
};
|
|
}
|