34 lines
697 B
Nix
34 lines
697 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
}:
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "littlefs-python";
|
|
version = "0.17.1";
|
|
pyproject = true;
|
|
|
|
src = python3Packages.fetchPypi {
|
|
pname = "littlefs_python";
|
|
inherit version;
|
|
hash = "sha256-O8D9Tnf5T6ZVlRdRfPqj38dCUkcayW4a5fWQaJ4ErtA=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
setuptools-scm
|
|
cython
|
|
];
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "littlefs" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python bindings for littlefs, the filesystem designed for small embedded targets";
|
|
homepage = "https://github.com/jrast/littlefs-python";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|