mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
0215034f25
when they already rely on SRI hashes.
27 lines
559 B
Nix
27 lines
559 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cexprtk";
|
|
version = "0.4.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-c7QXB+oXzkRveiPpNrW/HY8pMtpZx/RtDpJMVE7fY/A=";
|
|
};
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "cexprtk" ];
|
|
|
|
meta = with lib; {
|
|
description = "Mathematical expression parser, cython wrapper";
|
|
homepage = "https://github.com/mjdrushton/cexprtk";
|
|
license = licenses.cpl10;
|
|
maintainers = with maintainers; [ onny ];
|
|
};
|
|
}
|