mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 17:19:58 +00:00
34 lines
656 B
Nix
34 lines
656 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
speg,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "cson";
|
|
version = "0.8";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchPypi {
|
|
inherit (finalAttrs) pname version;
|
|
hash = "sha256-7owBZvzR9ReJiHGX4+g1Sse++jlvwpcGvOta8l7cngE=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ speg ];
|
|
|
|
pythonImportsCheck = [ "cson" ];
|
|
|
|
meta = {
|
|
description = "Python parser for the Coffeescript Object Notation (CSON)";
|
|
homepage = "https://github.com/avakar/pycson";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ xworld21 ];
|
|
};
|
|
})
|