From a844e3517d4b39c0b212129976a43fd390bd9681 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 14 Jun 2022 08:55:52 +0200 Subject: [PATCH] asciinema: specify license --- pkgs/tools/misc/asciinema/default.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/tools/misc/asciinema/default.nix b/pkgs/tools/misc/asciinema/default.nix index 6bdc65b3bab..11ad6b8b36a 100644 --- a/pkgs/tools/misc/asciinema/default.nix +++ b/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; [ ]; }; } -