Merge pull request #28884 from FRidh/python-fixes
Python: several fixes
This commit is contained in:
committed by
Frederik Rietdijk
parent
036bafe0b9
commit
67651d80bc
22
pkgs/development/python-modules/chardet/default.nix
Normal file
22
pkgs/development/python-modules/chardet/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi
|
||||
, pytest, pytestrunner, hypothesis }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "chardet";
|
||||
version = "3.0.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1bpalpia6r5x1kknbk11p1fzph56fmmnp405ds8icksd3knr5aw4";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest pytestrunner hypothesis ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/chardet/chardet;
|
||||
description = "Universal encoding detector";
|
||||
license = licenses.lgpl2;
|
||||
maintainers = with maintainers; [ domenkozar ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user