27 lines
553 B
Nix
27 lines
553 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, speg
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "cson";
|
||
|
version = "0.8";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
hash = "sha256-7owBZvzR9ReJiHGX4+g1Sse++jlvwpcGvOta8l7cngE=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [ speg ];
|
||
|
|
||
|
pythonImportChecks = [ "cson" ];
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|