pythonPackages.poyo: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 10:40:22 -04:00 committed by Frederik Rietdijk
parent d40edcb911
commit 2d5c53ce49
2 changed files with 22 additions and 15 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
version = "0.4.0";
pname = "poyo";
src = fetchPypi {
inherit pname version;
sha256 = "1f48ffl0j1f2lmgabajps7v8w90ppxbp5168gh8kh27bjd8xk5ca";
};
meta = with stdenv.lib; {
homepage = https://github.com/hackebrot/poyo;
description = "A lightweight YAML Parser for Python";
license = licenses.mit;
};
}

View File

@ -2052,21 +2052,7 @@ in {
inherit (pkgs.libsForQt5) poppler;
};
poyo = buildPythonPackage rec {
version = "0.4.0";
name = "poyo-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/p/poyo/${name}.tar.gz";
sha256 = "1f48ffl0j1f2lmgabajps7v8w90ppxbp5168gh8kh27bjd8xk5ca";
};
meta = {
homepage = https://github.com/hackebrot/poyo;
description = "A lightweight YAML Parser for Python";
license = licenses.mit;
};
};
poyo = callPackage ../development/python-modules/poyo { };
prov = callPackage ../development/python-modules/prov { };