pythonPackage.pyfribidi: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 14:45:52 -04:00 committed by Frederik Rietdijk
parent 75aaf63f6c
commit 5e90be5fd7
2 changed files with 26 additions and 16 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy3k
, isPyPy
}:
buildPythonPackage rec {
version = "0.11.0";
pname = "pyfribidi";
disabled = isPy3k || isPyPy;
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "6f7d83c09eae0cb98a40b85ba3dedc31af4dbff8fc4425f244c1e9f44392fded";
};
meta = with stdenv.lib; {
description = "A simple wrapper around fribidi";
homepage = https://github.com/pediapress/pyfribidi;
license = stdenv.lib.licenses.gpl2;
};
}

View File

@ -2374,22 +2374,7 @@ in {
feedparser = callPackage ../development/python-modules/feedparser { }; feedparser = callPackage ../development/python-modules/feedparser { };
pyfribidi = buildPythonPackage rec { pyfribidi = callPackage ../development/python-modules/pyfribidi { };
version = "0.11.0";
name = "pyfribidi-${version}";
disabled = isPy3k || isPyPy;
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyfribidi/${name}.zip";
sha256 = "6f7d83c09eae0cb98a40b85ba3dedc31af4dbff8fc4425f244c1e9f44392fded";
};
meta = {
description = "A simple wrapper around fribidi";
homepage = https://github.com/pediapress/pyfribidi;
license = stdenv.lib.licenses.gpl2;
};
};
docker_compose = callPackage ../development/python-modules/docker_compose {}; docker_compose = callPackage ../development/python-modules/docker_compose {};