kilianar 2 years ago
parent ffaf07b915
commit 8acd15d8bf
  1. 10
      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 = ''

Loading…
Cancel
Save