asciinema: 2.0.0 -> 2.0.1
This commit is contained in:
parent
bdac6ac4b2
commit
208091b31b
@ -1,10 +1,10 @@
|
|||||||
{ lib, python3Packages, fetchFromGitHub }:
|
{ lib, python3Packages, fetchFromGitHub, glibcLocales }:
|
||||||
|
|
||||||
let
|
let
|
||||||
pythonPackages = python3Packages;
|
pythonPackages = python3Packages;
|
||||||
in pythonPackages.buildPythonApplication rec {
|
in pythonPackages.buildPythonApplication rec {
|
||||||
name = "asciinema-${version}";
|
name = "asciinema-${version}";
|
||||||
version = "2.0.0";
|
version = "2.0.1";
|
||||||
|
|
||||||
buildInputs = with pythonPackages; [ nose ];
|
buildInputs = with pythonPackages; [ nose ];
|
||||||
propagatedBuildInputs = with pythonPackages; [ requests ];
|
propagatedBuildInputs = with pythonPackages; [ requests ];
|
||||||
@ -13,7 +13,7 @@ in pythonPackages.buildPythonApplication rec {
|
|||||||
owner = "asciinema";
|
owner = "asciinema";
|
||||||
repo = "asciinema";
|
repo = "asciinema";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1f92hv9w58jf1f7igspjxvrxqn3n21kgya2zb56spqyydr4jzwdk";
|
sha256 = "09m9agkslrbm36y8pjqhg5nmyz9hppjyhafhzpglnadhfgwqzznr";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -21,8 +21,10 @@ in pythonPackages.buildPythonApplication rec {
|
|||||||
rm tests/pty_recorder_test.py
|
rm tests/pty_recorder_test.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
checkInputs = [ glibcLocales ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
nosetests
|
LC_ALL=en_US.UTF-8 nosetests
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user