pythonPackages.mwlib-rl: refactor move to python-modules
Downgraded to 0.14.6 -> 0.14.5 (so we can use Pypi)
This commit is contained in:
parent
fd051c3dde
commit
5e3aec5963
27
pkgs/development/python-modules/mwlib-rl/default.nix
Normal file
27
pkgs/development/python-modules/mwlib-rl/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, mwlib
|
||||||
|
, mwlib-ext
|
||||||
|
, pygments
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.14.5";
|
||||||
|
pname = "mwlib.rl";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
extension = "zip";
|
||||||
|
sha256 = "dddf9603ea0ca5aa87890217709eb5a5b16baeca547db3daad43c3ace73b6bc1";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ mwlib mwlib-ext pygments ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Generate pdfs from mediawiki markup";
|
||||||
|
homepage = "http://pediapress.com/code/";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -1980,28 +1980,7 @@ in {
|
|||||||
|
|
||||||
mwlib-ext = callPackage ../development/python-modules/mwlib-ext { };
|
mwlib-ext = callPackage ../development/python-modules/mwlib-ext { };
|
||||||
|
|
||||||
mwlib-rl = buildPythonPackage rec {
|
mwlib-rl = callPackage ../development/python-modules/mwlib-rl { };
|
||||||
version = "0.14.6";
|
|
||||||
name = "mwlib.rl-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "http://pypi.pediapress.com/packages/mirror/${name}.zip";
|
|
||||||
sha256 = "7f596fd60eb24d8d3da3ab4880f095294028880eafb653810a7bdaabdb031238";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self;
|
|
||||||
[
|
|
||||||
mwlib
|
|
||||||
mwlib-ext
|
|
||||||
pygments
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Generate pdfs from mediawiki markup";
|
|
||||||
homepage = "http://pediapress.com/code/";
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
natsort = callPackage ../development/python-modules/natsort { };
|
natsort = callPackage ../development/python-modules/natsort { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user