nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 speg,
6}:
7
8buildPythonPackage rec {
9 pname = "cson";
10 version = "0.8";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-7owBZvzR9ReJiHGX4+g1Sse++jlvwpcGvOta8l7cngE=";
16 };
17
18 propagatedBuildInputs = [ speg ];
19
20 pythonImportsCheck = [ "cson" ];
21
22 meta = {
23 description = "Python parser for the Coffeescript Object Notation (CSON)";
24 homepage = "https://github.com/avakar/pycson";
25 license = with lib.licenses; [ mit ];
26 maintainers = with lib.maintainers; [ xworld21 ];
27 };
28}