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

23 lines
587 B
Nix
Raw Normal View History

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