summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-12-31 12:59:37 +0100
committerGitHub <noreply@github.com>2022-12-31 12:59:37 +0100
commit1c1197c2f759a058038b505c52b63e2041253384 (patch)
tree2036da7a46462dcf78d63bfe7a73e1435adb75e1
parent3c2b53ed3bcec90ef199c9727b1881779e7c75d9 (diff)
downloadnixpkgs-1c1197c2f759a058038b505c52b63e2041253384.tar
nixpkgs-1c1197c2f759a058038b505c52b63e2041253384.tar.gz
nixpkgs-1c1197c2f759a058038b505c52b63e2041253384.tar.bz2
nixpkgs-1c1197c2f759a058038b505c52b63e2041253384.tar.lz
nixpkgs-1c1197c2f759a058038b505c52b63e2041253384.tar.xz
nixpkgs-1c1197c2f759a058038b505c52b63e2041253384.tar.zst
nixpkgs-1c1197c2f759a058038b505c52b63e2041253384.zip
python310Packages.chess: add changelog to meta
-rw-r--r--pkgs/development/python-modules/chess/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/chess/default.nix b/pkgs/development/python-modules/chess/default.nix
index d3f3a23e17e..c96c722cc38 100644
--- a/pkgs/development/python-modules/chess/default.nix
+++ b/pkgs/development/python-modules/chess/default.nix
@@ -8,6 +8,7 @@
 buildPythonPackage rec {
   pname = "chess";
   version = "1.9.4";
+  format = "setuptools";
 
   disabled = pythonOlder "3.7";
 
@@ -15,19 +16,22 @@ buildPythonPackage rec {
     owner = "niklasf";
     repo = "python-${pname}";
     rev = "refs/tags/v${version}";
-    sha256 = "sha256-YBABB//53gwJIwrmKJh8W+05hTBhl+49vCYv9//4E+0=";
+    hash = "sha256-YBABB//53gwJIwrmKJh8W+05hTBhl+49vCYv9//4E+0=";
   };
 
-  pythonImportsCheck = [ "chess" ];
+  pythonImportsCheck = [
+    "chess"
+  ];
 
   checkPhase = ''
     ${python.interpreter} ./test.py -v
   '';
 
   meta = with lib; {
-    description = "A chess library for Python, with move generation, move validation, and support for common formats";
+    description = "A chess library with move generation, move validation, and support for common formats";
     homepage = "https://github.com/niklasf/python-chess";
-    maintainers = with maintainers; [ smancill ];
+    changelog = "https://github.com/niklasf/python-chess/blob/v${version}/CHANGELOG.rst";
     license = licenses.gpl3Plus;
+    maintainers = with maintainers; [ smancill ];
   };
 }