sf
This commit is contained in:
33
packages/python/littlefs-python/default.nix
Normal file
33
packages/python/littlefs-python/default.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{
|
||||
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 = [ ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user