polib: move to own file and fix homepage

This commit is contained in:
Elis Hirwing 2018-03-10 09:29:05 +01:00 committed by Frederik Rietdijk
parent acff736e37
commit b6fc08795e
2 changed files with 21 additions and 19 deletions

View file

@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "polib";
version = "1.0.4";
src = fetchPypi {
inherit pname version;
sha256 = "16klwlswfbgmkzrra80fgzhic9447pk3mnr75r2fkz72bkvpcclb";
};
# error: invalid command 'test'
doCheck = false;
meta = with stdenv.lib; {
description = "A library to manipulate gettext files (po and mo files)";
homepage = https://bitbucket.org/izi/polib/;
license = licenses.mit;
};
}

View file

@ -12531,25 +12531,7 @@ in {
plumbum = callPackage ../development/python-modules/plumbum { };
polib = buildPythonPackage rec {
name = "polib-${version}";
version = "1.0.4";
src = pkgs.fetchurl {
url = "http://bitbucket.org/izi/polib/downloads/${name}.tar.gz";
sha256 = "16klwlswfbgmkzrra80fgzhic9447pk3mnr75r2fkz72bkvpcclb";
};
# error: invalid command 'test'
doCheck = false;
meta = {
description = "A library to manipulate gettext files (po and mo files)";
homepage = "http://bitbucket.org/izi/polib/";
license = licenses.mit;
};
};
polib = callPackage ../development/python-modules/polib {};
posix_ipc = buildPythonPackage rec {
name = "posix_ipc-${version}";