python.pkgs.pyaml: move expression
This commit is contained in:
parent
d3b85a4607
commit
966bc7c383
27
pkgs/development/python-modules/pyaml/default.nix
Normal file
27
pkgs/development/python-modules/pyaml/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -15698,23 +15698,7 @@ in {
|
||||
|
||||
pyxattr = callPackage ../development/python-modules/pyxattr { };
|
||||
|
||||
pyaml = buildPythonPackage (rec {
|
||||
name = "pyaml-15.02.1";
|
||||
disabled = !isPy27;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/pyaml/${name}.tar.gz";
|
||||
sha256 = "8dfe1b295116115695752acc84d15ecf5c1c469975fbed7672bf41a6bc6d6d51";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ pyyaml ];
|
||||
|
||||
meta = {
|
||||
description = "PyYAML-based module to produce pretty and readable YAML-serialized data";
|
||||
homepage = https://github.com/mk-fg/pretty-yaml;
|
||||
};
|
||||
});
|
||||
|
||||
pyaml = callPackage ../development/python-modules/pyaml { };
|
||||
|
||||
pyyaml = buildPythonPackage (rec {
|
||||
name = "PyYAML-3.12";
|
||||
|
Loading…
Reference in New Issue
Block a user