asciinema: 2.0.0 -> 2.0.1

This commit is contained in:
Robert Schütz 2018-07-03 18:17:31 +02:00
parent bdac6ac4b2
commit 208091b31b

View File

@ -1,10 +1,10 @@
{ lib, python3Packages, fetchFromGitHub }:
{ lib, python3Packages, fetchFromGitHub, glibcLocales }:
let
pythonPackages = python3Packages;
in pythonPackages.buildPythonApplication rec {
name = "asciinema-${version}";
version = "2.0.0";
version = "2.0.1";
buildInputs = with pythonPackages; [ nose ];
propagatedBuildInputs = with pythonPackages; [ requests ];
@ -13,7 +13,7 @@ in pythonPackages.buildPythonApplication rec {
owner = "asciinema";
repo = "asciinema";
rev = "v${version}";
sha256 = "1f92hv9w58jf1f7igspjxvrxqn3n21kgya2zb56spqyydr4jzwdk";
sha256 = "09m9agkslrbm36y8pjqhg5nmyz9hppjyhafhzpglnadhfgwqzznr";
};
patchPhase = ''
@ -21,8 +21,10 @@ in pythonPackages.buildPythonApplication rec {
rm tests/pty_recorder_test.py
'';
checkInputs = [ glibcLocales ];
checkPhase = ''
nosetests
LC_ALL=en_US.UTF-8 nosetests
'';
meta = {