python.pkgs.jellyfish: move expression

This commit is contained in:
Frederik Rietdijk 2018-01-01 15:59:56 +01:00
parent 7a2454bd4e
commit 88143d2772
2 changed files with 25 additions and 17 deletions

View File

@ -0,0 +1,24 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, unicodecsv
}:
buildPythonPackage rec {
pname = "jellyfish";
version = "0.5.2";
src = fetchPypi {
inherit pname version;
sha256 = "15xk0kbr1gig9r1mp22lk9mk3jyi886h8ywn9diixhnyl4q6dacn";
};
checkInputs = [ pytest unicodecsv ];
meta = {
homepage = https://github.com/sunlightlabs/jellyfish;
description = "Approximate and phonetic matching of strings";
maintainers = with lib.maintainers; [ koral ];
};
}

View File

@ -9499,23 +9499,7 @@ in {
jedi = callPackage ../development/python-modules/jedi { };
jellyfish = buildPythonPackage rec {
version = "0.5.2";
name = "jellyfish-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/j/jellyfish/${name}.tar.gz";
sha256 = "15xk0kbr1gig9r1mp22lk9mk3jyi886h8ywn9diixhnyl4q6dacn";
};
buildInputs = with self; [ pytest unicodecsv ];
meta = {
homepage = https://github.com/sunlightlabs/jellyfish;
description = "Approximate and phonetic matching of strings";
maintainers = with maintainers; [ koral ];
};
};
jellyfish = callPackage ../development/python-modules/jellyfish { };
j2cli = buildPythonPackage rec {
name = "j2cli-${version}";