2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
speg,
|
2023-07-15 17:15:38 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cson";
|
|
|
|
version = "0.8";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-7owBZvzR9ReJiHGX4+g1Sse++jlvwpcGvOta8l7cngE=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ speg ];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
pythonImportsCheck = [ "cson" ];
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A python parser for the Coffeescript Object Notation (CSON)";
|
|
|
|
homepage = "https://github.com/avakar/pycson";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ xworld21 ];
|
|
|
|
};
|
|
|
|
}
|