pythonPackages.babelfish: Move to own file
This commit is contained in:
parent
07f611a12d
commit
f14c61c933
17
pkgs/development/python-modules/babelfish/default.nix
Normal file
17
pkgs/development/python-modules/babelfish/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -897,21 +897,7 @@ in {
|
|||||||
|
|
||||||
backports_unittest-mock = callPackage ../development/python-modules/backports_unittest-mock {};
|
backports_unittest-mock = callPackage ../development/python-modules/backports_unittest-mock {};
|
||||||
|
|
||||||
babelfish = buildPythonPackage rec {
|
babelfish = callPackage ../development/python-modules/babelfish {};
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
basiciw = buildPythonPackage rec {
|
basiciw = buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user