pythonPackages.lpod: refactor move to python-modules
This commit is contained in:
parent
0d22a594b2
commit
0088ac899c
24
pkgs/development/python-modules/logilab_astng/default.nix
Normal file
24
pkgs/development/python-modules/logilab_astng/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchurl
|
||||||
|
, logilab_common
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "logilab-astng";
|
||||||
|
version = "0.24.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://download.logilab.org/pub/astng/${pname}-${version}.tar.gz";
|
||||||
|
sha256 = "0np4wpxyha7013vkkrdy54dvnil67gzi871lg60z8lap0l5h67wn";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ logilab_common ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://www.logilab.org/project/logilab-astng;
|
||||||
|
description = "Python Abstract Syntax Tree New Generation";
|
||||||
|
license = licenses.lgpl2;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
31
pkgs/development/python-modules/lpod/default.nix
Normal file
31
pkgs/development/python-modules/lpod/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, lxml
|
||||||
|
, docutils
|
||||||
|
, pillow
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "1.1.7";
|
||||||
|
pname = "python-lpod";
|
||||||
|
# lpod library currently does not support Python 3.x
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ lxml docutils pillow ];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lpod";
|
||||||
|
repo = "lpod-python";
|
||||||
|
rev = "dee32120ee582ff337b0c52a95a9a87cca71fd67";
|
||||||
|
sha256 = "1mikvzp27wxkzpr2lii4wg1hhx8h610agckqynvsrdc8v3nw9ciw";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/lpod/lpod-python/;
|
||||||
|
description = "Library implementing the ISO/IEC 26300 OpenDocument Format standard (ODF) ";
|
||||||
|
license = licenses.gpl3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1960,28 +1960,9 @@ in {
|
|||||||
|
|
||||||
lmdb = callPackage ../development/python-modules/lmdb { };
|
lmdb = callPackage ../development/python-modules/lmdb { };
|
||||||
|
|
||||||
lpod = buildPythonPackage rec {
|
|
||||||
version = "1.1.7";
|
|
||||||
name = "python-lpod-${version}";
|
|
||||||
# lpod library currently does not support Python 3.x
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ lxml docutils pillow ];
|
|
||||||
logilab_astng = callPackage ../development/python-modules/logilab_astng { };
|
logilab_astng = callPackage ../development/python-modules/logilab_astng { };
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
lpod = callPackage ../development/python-modules/lpod { };
|
||||||
owner = "lpod";
|
|
||||||
repo = "lpod-python";
|
|
||||||
rev = "dee32120ee582ff337b0c52a95a9a87cca71fd67";
|
|
||||||
sha256 = "1mikvzp27wxkzpr2lii4wg1hhx8h610agckqynvsrdc8v3nw9ciw";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/lpod/lpod-python/;
|
|
||||||
description = "Library implementing the ISO/IEC 26300 OpenDocument Format standard (ODF) ";
|
|
||||||
license = licenses.gpl3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
luftdaten = callPackage ../development/python-modules/luftdaten { };
|
luftdaten = callPackage ../development/python-modules/luftdaten { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user