2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
beniget,
|
|
|
|
frilouz,
|
|
|
|
gast,
|
|
|
|
nbconvert,
|
|
|
|
nbformat,
|
|
|
|
pyyaml,
|
2023-05-24 13:37:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "memestra";
|
|
|
|
version = "0.2.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "memestra" ];
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|