python.pkgs.pyaml: move expression

This commit is contained in:
Frederik Rietdijk
2017-12-30 15:45:52 +01:00
parent d3b85a4607
commit 966bc7c383
2 changed files with 28 additions and 17 deletions

View File

@@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, unidecode
, python
}:
buildPythonPackage rec {
pname = "pyaml";
version = "15.02.1";
src = fetchPypi {
inherit pname version;
sha256 = "8dfe1b295116115695752acc84d15ecf5c1c469975fbed7672bf41a6bc6d6d51";
};
propagatedBuildInputs = [ pyyaml ];
checkInputs = [ unidecode ];
meta = {
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
homepage = https://github.com/mk-fg/pretty-yaml;
license = lib.licenses.wtfpl;
};
}