1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00

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:
Chris Ostrouchov 2018-10-16 10:14:44 -04:00 committed by Frederik Rietdijk
parent fd051c3dde
commit 5e3aec5963
2 changed files with 28 additions and 22 deletions

View 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;
};
}

View file

@ -1980,28 +1980,7 @@ in {
mwlib-ext = callPackage ../development/python-modules/mwlib-ext { };
mwlib-rl = buildPythonPackage rec {
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;
};
};
mwlib-rl = callPackage ../development/python-modules/mwlib-rl { };
natsort = callPackage ../development/python-modules/natsort { };