about summary refs log tree commit diff
path: root/pkgs/tools/misc/asciinema
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-06-14 08:55:52 +0200
committerGitHub <noreply@github.com>2022-06-14 08:55:52 +0200
commita844e3517d4b39c0b212129976a43fd390bd9681 (patch)
tree8c4a245c3f4f26ba424a8a97fec7d82fd90622b9 /pkgs/tools/misc/asciinema
parent8acd15d8bf96c1f5d3dbb816be89270de503b86a (diff)
asciinema: specify license
Diffstat (limited to 'pkgs/tools/misc/asciinema')
-rw-r--r--pkgs/tools/misc/asciinema/default.nix19
1 files changed, 13 insertions, 6 deletions
diff --git a/pkgs/tools/misc/asciinema/default.nix b/pkgs/tools/misc/asciinema/default.nix
index 6bdc65b3babf6..11ad6b8b36afc 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; [ ];
   };
 }
-