Merge pull request #53911 from dtzWill/update/asciinema-2.0.2

asciinema: 2.0.1 -> 2.0.2
This commit is contained in:
worldofpeace 2019-01-14 08:25:15 -05:00 committed by GitHub
commit a76eeb1e0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,24 +2,16 @@
python3Packages.buildPythonApplication rec {
pname = "asciinema";
version = "2.0.1";
buildInputs = with python3Packages; [ nose ];
propagatedBuildInputs = with python3Packages; [ requests ];
version = "2.0.2";
src = fetchFromGitHub {
owner = "asciinema";
repo = "asciinema";
rev = "v${version}";
sha256 = "09m9agkslrbm36y8pjqhg5nmyz9hppjyhafhzpglnadhfgwqzznr";
sha256 = "1a2pysxnp6icyd08mgf66xr6f6j0irnfxdpf3fmzcz31ix7l9kc4";
};
patchPhase = ''
# disable one test which is failing with -> OSError: out of pty devices
rm tests/pty_recorder_test.py
'';
checkInputs = [ glibcLocales ];
checkInputs = [ glibcLocales python3Packages.nose ];
checkPhase = ''
LC_ALL=en_US.UTF-8 nosetests