nixpkgs/pkgs/development/python-modules/pyyaml/default.nix

23 lines
587 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, libyaml, buildPackages }:
2018-02-03 11:12:06 +00:00
buildPythonPackage rec {
pname = "PyYAML";
2018-07-22 07:31:21 +00:00
version = "3.13";
2018-02-03 11:12:06 +00:00
src = fetchPypi {
inherit pname version;
2018-07-22 07:31:21 +00:00
sha256 = "3ef3092145e9b70e3ddd2c7ad59bdd0252a94dfe3949721633e41344de00a6bf";
2018-02-03 11:12:06 +00:00
};
nativeBuildInputs = [ buildPackages.stdenv.cc ];
2018-02-03 11:12:06 +00:00
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 ];
};
}