summary refs log tree commit diff
path: root/pkgs/tools/misc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-07-05 20:13:47 -0400
committerGitHub <noreply@github.com>2018-07-05 20:13:47 -0400
commit9cd122a2c4c0780dafc254b20f172151005f319d (patch)
tree21bc97de1f7045afdb6fd176eda140cc5a36a9ee /pkgs/tools/misc
parentf513d580b06c37ef516a9af18f68b7567e6a05fe (diff)
parent2f523dd9a48112d878b65877c8ea923c63321fb4 (diff)
downloadnixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar
nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.gz
nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.bz2
nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.lz
nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.xz
nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.tar.zst
nixlib-9cd122a2c4c0780dafc254b20f172151005f319d.zip
Merge pull request #43088 from matthewbauer/misc
Get rid of 2 unneeded packages
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r--pkgs/tools/misc/asciinema/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/tools/misc/asciinema/default.nix b/pkgs/tools/misc/asciinema/default.nix
index 0808704ecb78..c1cca25c576e 100644
--- a/pkgs/tools/misc/asciinema/default.nix
+++ b/pkgs/tools/misc/asciinema/default.nix
@@ -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 = {