pythonPackages.langcodes: init at 1.4.1
This commit is contained in:
parent
8cd264f53f
commit
d59fafd896
34
pkgs/development/python-modules/langcodes/default.nix
Normal file
34
pkgs/development/python-modules/langcodes/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, marisa-trie
|
||||||
|
, pythonOlder
|
||||||
|
, fetchPypi
|
||||||
|
, nose
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "langcodes";
|
||||||
|
version = "1.4.1";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1axdiva2qglsjmnx2ak7i6hm0yhp6kbc4lcsgn8ckwy0nq1z3kr2";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ marisa-trie ];
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.3";
|
||||||
|
|
||||||
|
checkInputs = [ nose ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
nosetests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A toolkit for working with and comparing the standardized codes for languages, such as ‘en’ for English or ‘es’ for Spanish";
|
||||||
|
homepage = http://github.com/LuminosoInsight/langcodes;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ixxie ];
|
||||||
|
};
|
||||||
|
}
|
@ -10733,6 +10733,8 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
langcodes = callPackage ../development/python-modules/langcodes { };
|
||||||
|
|
||||||
livestreamer = buildPythonPackage rec {
|
livestreamer = buildPythonPackage rec {
|
||||||
version = "1.12.2";
|
version = "1.12.2";
|
||||||
name = "livestreamer-${version}";
|
name = "livestreamer-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user