diff options
author | kilianar <mail@kilianar.de> | 2022-06-11 23:31:31 +0200 |
---|---|---|
committer | kilianar <mail@kilianar.de> | 2022-06-13 14:25:58 +0200 |
commit | 8acd15d8bf96c1f5d3dbb816be89270de503b86a (patch) | |
tree | 4851deca3b8fbb44e4f7d1cc2af1fd2b44e68aae /pkgs/tools/misc/asciinema | |
parent | ffaf07b91571d24c9acdd923da6db2e5079c1cb6 (diff) |
asciinema: 2.1.0 -> 2.2.0
https://github.com/asciinema/asciinema/releases/tag/v2.2.0
Diffstat (limited to 'pkgs/tools/misc/asciinema')
-rw-r--r-- | pkgs/tools/misc/asciinema/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/tools/misc/asciinema/default.nix b/pkgs/tools/misc/asciinema/default.nix index e08d0b5d3f702..6bdc65b3babf6 100644 --- a/pkgs/tools/misc/asciinema/default.nix +++ b/pkgs/tools/misc/asciinema/default.nix @@ -2,15 +2,21 @@ python3Packages.buildPythonApplication rec { pname = "asciinema"; - version = "2.1.0"; + version = "2.2.0"; + format = "pyproject"; src = fetchFromGitHub { owner = "asciinema"; repo = "asciinema"; rev = "v${version}"; - sha256 = "1alcz018jrrpasrmgs8nw775a6pf62xq2xgs54c4mb396prdqy4x"; + sha256 = "sha256-ioSNd0Fjk2Fp05lk3HeokIjNYGU0jQEaIDfcFB18mV0="; }; + postPatch = '' + substituteInPlace tests/pty_test.py \ + --replace "python3" "${python3Packages.python}/bin/python" + ''; + checkInputs = [ glibcLocales python3Packages.nose ]; checkPhase = '' |