mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
pythonPackages.webencodings: init at 0.5
This commit is contained in:
parent
bec4794820
commit
c1dd42e7d6
29
pkgs/development/python-modules/webencodings/default.nix
Normal file
29
pkgs/development/python-modules/webencodings/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ buildPythonPackage
|
||||
, lib
|
||||
, fetchurl
|
||||
, pytest
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "webencodings";
|
||||
version = "0.5";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
||||
sha256 = "a5c55ee93b24e740fe951c37b5c228dccc1f171450e188555a775261cce1b904";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test webencodings/tests.py
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Character encoding aliases for legacy web content";
|
||||
homepage = https://github.com/SimonSapin/python-webencodings;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
@ -26423,6 +26423,8 @@ EOF
|
||||
};
|
||||
};
|
||||
|
||||
webencodings = callPackage ../development/python-modules/webencodings { };
|
||||
|
||||
websockets = callPackage ../development/python-modules/websockets { };
|
||||
|
||||
wand = buildPythonPackage rec {
|
||||
|
Loading…
Reference in New Issue
Block a user