Skip to content

Commit

Permalink
pythonPackages.webencodings: init at 0.5
Browse files Browse the repository at this point in the history
The line

websockets = callPackage ../development/python-modules/websockets { };

was accidentally included in the commit.

(cherry picked from commit c1dd42e)
(cherry picked from commit b5fcd04)
  • Loading branch information
FRidh committed Dec 25, 2016
1 parent a54d84e commit 0ee1399
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/webencodings/default.nix
@@ -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;
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -24886,6 +24886,7 @@ in modules // {
};
};

webencodings = callPackage ../development/python-modules/webencodings { };

wand = buildPythonPackage rec {
name = "Wand-0.3.5";
Expand Down

0 comments on commit 0ee1399

Please sign in to comment.