asciinema: specify license

main
Fabian Affolter 2 years ago committed by GitHub
parent 8acd15d8bf
commit a844e3517d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      pkgs/tools/misc/asciinema/default.nix

@ -1,4 +1,8 @@
{ lib, python3Packages, fetchFromGitHub, glibcLocales }:
{ lib
, python3Packages
, fetchFromGitHub
, glibcLocales
}:
python3Packages.buildPythonApplication rec {
pname = "asciinema";
@ -9,7 +13,7 @@ python3Packages.buildPythonApplication rec {
owner = "asciinema";
repo = "asciinema";
rev = "v${version}";
sha256 = "sha256-ioSNd0Fjk2Fp05lk3HeokIjNYGU0jQEaIDfcFB18mV0=";
hash = "sha256-ioSNd0Fjk2Fp05lk3HeokIjNYGU0jQEaIDfcFB18mV0=";
};
postPatch = ''
@ -17,16 +21,19 @@ python3Packages.buildPythonApplication rec {
--replace "python3" "${python3Packages.python}/bin/python"
'';
checkInputs = [ glibcLocales python3Packages.nose ];
checkInputs = [
glibcLocales
python3Packages.nose
];
checkPhase = ''
LC_ALL=en_US.UTF-8 nosetests
'';
meta = {
meta = with lib; {
description = "Terminal session recorder and the best companion of asciinema.org";
homepage = "https://asciinema.org/";
license = with lib.licenses; [ gpl3 ];
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ ];
};
}

Loading…
Cancel
Save