about summary refs log tree commit diff
path: root/pkgs/development/python-modules/cson/default.nix
blob: c32adee78e98bb056698e3efee69df6e3578d97d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
  lib,
  buildPythonPackage,
  fetchPypi,
  speg,
}:

buildPythonPackage rec {
  pname = "cson";
  version = "0.8";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-7owBZvzR9ReJiHGX4+g1Sse++jlvwpcGvOta8l7cngE=";
  };

  propagatedBuildInputs = [ speg ];

  pythonImportsCheck = [ "cson" ];

  meta = with lib; {
    description = "Python parser for the Coffeescript Object Notation (CSON)";
    homepage = "https://github.com/avakar/pycson";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ xworld21 ];
  };
}