-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sasha Delly
committed
May 17, 2017
1 parent
abd98f8
commit 7592c43
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters