pythonPackages.lektor: refactor move to python-modules
This commit is contained in:
parent
a6e6018694
commit
7e8a4f67fe
|
@ -0,0 +1,46 @@
|
||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchgit
|
||||||
|
, click
|
||||||
|
, watchdog
|
||||||
|
, exifread
|
||||||
|
, requests
|
||||||
|
, mistune
|
||||||
|
, inifile
|
||||||
|
, Babel
|
||||||
|
, jinja2
|
||||||
|
, flask
|
||||||
|
, pyopenssl
|
||||||
|
, ndg-httpsclient
|
||||||
|
, pkgs
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "lektor";
|
||||||
|
version = "2.3";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://github.com/lektor/lektor";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
sha256 = "1n0ylh1sbpvi9li3g6a7j7m28njfibn10y6s2gayjxwm6fpphqxy";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgs.glibcLocales ];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
click watchdog exifread requests mistune inifile Babel jinja2
|
||||||
|
flask pyopenssl ndg-httpsclient
|
||||||
|
];
|
||||||
|
|
||||||
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
|
# No tests included in archive
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A static content management system";
|
||||||
|
homepage = "https://www.getlektor.com/";
|
||||||
|
license = licenses.bsd0;
|
||||||
|
maintainers = with maintainers; [ vozz ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -5680,34 +5680,7 @@ in {
|
||||||
|
|
||||||
le = callPackage ../development/python-modules/le { };
|
le = callPackage ../development/python-modules/le { };
|
||||||
|
|
||||||
lektor = buildPythonPackage rec {
|
lektor = callPackage ../development/python-modules/lektor { };
|
||||||
name = "lektor-${version}";
|
|
||||||
|
|
||||||
version = "2.3";
|
|
||||||
|
|
||||||
src = pkgs.fetchgit {
|
|
||||||
url = "https://github.com/lektor/lektor";
|
|
||||||
rev = "refs/tags/${version}";
|
|
||||||
sha256 = "1n0ylh1sbpvi9li3g6a7j7m28njfibn10y6s2gayjxwm6fpphqxy";
|
|
||||||
};
|
|
||||||
|
|
||||||
LC_ALL="en_US.UTF-8";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A static content management system";
|
|
||||||
homepage = "https://www.getlektor.com/";
|
|
||||||
license = "BSD";
|
|
||||||
maintainers = with maintainers; [ vozz ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# No tests included in archive
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
|
||||||
click watchdog exifread requests mistune inifile Babel jinja2
|
|
||||||
flask pyopenssl ndg-httpsclient pkgs.glibcLocales
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
python-oauth2 = callPackage ../development/python-modules/python-oauth2 { };
|
python-oauth2 = callPackage ../development/python-modules/python-oauth2 { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue