pythonPackage.pyfribidi: refactor move to python-modules
This commit is contained in:
parent
75aaf63f6c
commit
5e90be5fd7
25
pkgs/development/python-modules/pyfribidi/default.nix
Normal file
25
pkgs/development/python-modules/pyfribidi/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -2374,22 +2374,7 @@ in {
|
||||
|
||||
feedparser = callPackage ../development/python-modules/feedparser { };
|
||||
|
||||
pyfribidi = buildPythonPackage rec {
|
||||
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;
|
||||
};
|
||||
};
|
||||
pyfribidi = callPackage ../development/python-modules/pyfribidi { };
|
||||
|
||||
docker_compose = callPackage ../development/python-modules/docker_compose {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user