python3Packages.memestra: init at 0.2.1

This commit is contained in:
Gaetan Lepage 2023-05-16 09:05:57 +02:00
parent b50c20fd67
commit 076a93efc6
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, beniget
, frilouz
, gast
, nbconvert
, nbformat
, pythonOlder
, pyyaml
}:
buildPythonPackage rec {
pname = "memestra";
version = "0.2.1";
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
hash = "sha256-6shwf9BoDfZMy0itP8esNP4ov6fw6LJpO3Y5ZahwDZw=";
};
propagatedBuildInputs = [
gast
beniget
frilouz
nbconvert
nbformat
pyyaml
];
# Tests are not detected and so the checkPhase fails
doCheck = false;
pythonImportsCheck = [
"memestra"
];
meta = with lib; {
description = "A linter that tracks reference to deprecated functions.";
homepage = "https://github.com/QuantStack/memestra";
license = licenses.bsd3;
maintainers = with maintainers; [ GaetanLepage ];
};
}

View file

@ -6109,6 +6109,8 @@ self: super: with self; {
meld3 = callPackage ../development/python-modules/meld3 { };
memestra = callPackage ../development/python-modules/memestra { };
memory-allocator = callPackage ../development/python-modules/memory-allocator { };
memory_profiler = callPackage ../development/python-modules/memory_profiler { };