mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.unidecode: 0.04.18 -> 0.04.21
Higher version is a requirement of textacy.
This commit is contained in:
parent
987a2be430
commit
151d0fde19
2 changed files with 24 additions and 20 deletions
23
pkgs/development/python-modules/unidecode/default.nix
Normal file
23
pkgs/development/python-modules/unidecode/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ stdenv, buildPythonPackage, fetchPypi, glibcLocales }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "Unidecode";
|
||||
version = "0.04.21";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0lfhp9c5xrbpjvbpr12ji52g1lx04404bzzdg6pvabhzisw6l2i8";
|
||||
};
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
buildInputs = [ glibcLocales ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://pypi.python.org/pypi/Unidecode/;
|
||||
description = "ASCII transliterations of Unicode text";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
}
|
|
@ -24149,26 +24149,7 @@ EOF
|
|||
};
|
||||
|
||||
|
||||
unidecode = buildPythonPackage rec {
|
||||
name = "Unidecode-0.04.18";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/U/Unidecode/${name}.tar.gz";
|
||||
sha256 = "12hhblqy1ajvidm38im4171x4arg83pfmziyn53nizp29p3m14gi";
|
||||
};
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
buildInputs = [ pkgs.glibcLocales ];
|
||||
|
||||
meta = {
|
||||
homepage = http://pypi.python.org/pypi/Unidecode/;
|
||||
description = "ASCII transliterations of Unicode text";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
};
|
||||
|
||||
unidecode = callPackage ../development/python-modules/unidecode {};
|
||||
|
||||
pyusb = buildPythonPackage rec {
|
||||
name = "pyusb-1.0.0";
|
||||
|
|
Loading…
Reference in a new issue