Skip to content

Commit

Permalink
morfessor: init at 2.0.2a4
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasha Delly committed May 17, 2017
1 parent abd98f8 commit 7592c43
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions pkgs/development/python-modules/morfessor/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, python
}:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "Morfessor";
version = "2.0.2a4";

src = fetchPypi {
inherit pname version;
sha256 = "1c0qbr241vs7zamj6s3l14fgw3ssca4b58kx351jvgc1pypb70s3";
};

checkPhase = ''
${python.interpreter} setup.py test
'';

meta = with stdenv.lib; {
description = "Python Implementation and Extensions for Morfessor Baseline, a tool for unsupervised and semi-supervised morphological segmentation";
homepage = https://morfessor.readthedocs.org/;
license = licenses.bsdOriginal;
maintainers = with maintainers; [ sdll ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31354,6 +31354,8 @@ EOF

pyemd = callPackage ../development/python-modules/pyemd { };

morfessor = callPackage ../development/python-modules/morfessor { };

});

in fix' (extends overrides packages)

0 comments on commit 7592c43

Please sign in to comment.