3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.babelfish: Move to own file

This commit is contained in:
Elis Hirwing 2018-03-31 11:56:30 +02:00 committed by Frederik Rietdijk
parent 07f611a12d
commit f14c61c933
2 changed files with 18 additions and 15 deletions

View file

@ -0,0 +1,17 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "babelfish";
version = "0.5.5";
src = fetchPypi {
inherit pname version;
sha256 = "8380879fa51164ac54a3e393f83c4551a275f03617f54a99d70151358e444104";
};
meta = with stdenv.lib; {
homepage = https://pypi.python.org/pypi/babelfish;
description = "A module to work with countries and languages";
license = licenses.bsd3;
};
}

View file

@ -897,21 +897,7 @@ in {
backports_unittest-mock = callPackage ../development/python-modules/backports_unittest-mock {};
babelfish = buildPythonPackage rec {
version = "0.5.5";
name = "babelfish-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/b/babelfish/${name}.tar.gz";
sha256 = "8380879fa51164ac54a3e393f83c4551a275f03617f54a99d70151358e444104";
};
meta = {
homepage = https://pypi.python.org/pypi/babelfish;
description = "A module to work with countries and languages";
license = licenses.bsd3;
};
};
babelfish = callPackage ../development/python-modules/babelfish {};
basiciw = buildPythonPackage rec {
name = "${pname}-${version}";