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

buildPythonPackage rec {
  pname = "PyYAML";
  version = "3.13";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf";
  };

  nativeBuildInputs = [ buildPackages.stdenv.cc ];

  propagatedBuildInputs = [ libyaml ];

  meta = with lib; {
    description = "The next generation YAML parser and emitter for Python";
    homepage = https://github.com/yaml/pyyaml;
    license = licenses.mit;
    maintainers = with maintainers; [ dotlambda ];
  };
}