Skip to content

Commit

Permalink
polib: move to own file and fix homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
etu committed Mar 10, 2018
1 parent 14464b1 commit cba8244
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
20 changes: 20 additions & 0 deletions pkgs/development/python-modules/polib/default.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}
20 changes: 1 addition & 19 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12556,25 +12556,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}";
Expand Down

0 comments on commit cba8244

Please sign in to comment.