diff --git a/pkgs/by-name/al/alot/package.nix b/pkgs/by-name/al/alot/package.nix index 753ef96c167e..da68107498d6 100644 --- a/pkgs/by-name/al/alot/package.nix +++ b/pkgs/by-name/al/alot/package.nix @@ -23,13 +23,11 @@ buildPythonApplication rec { "man" ]; - disabled = !isPy3k; - src = fetchFromGitHub { owner = "pazz"; repo = "alot"; tag = version; - sha256 = "sha256-mXaRzl7260uxio/BQ36BCBxgKhl1r0Rc6PwFZA8qNqc="; + hash = "sha256-mXaRzl7260uxio/BQ36BCBxgKhl1r0Rc6PwFZA8qNqc="; }; postPatch = '' @@ -37,12 +35,12 @@ buildPythonApplication rec { --replace-fail /usr/share "$out/share" ''; - nativeBuildInputs = [ + build-system = [ setuptools-scm ] ++ lib.optional withManpage sphinx; - propagatedBuildInputs = [ + dependencies = [ configobj file gpgme @@ -95,12 +93,13 @@ buildPythonApplication rec { sed "s,/usr/bin,$out/bin,g" extra/alot.desktop > $out/share/applications/alot.desktop ''; - meta = with lib; { + meta = { homepage = "https://github.com/pazz/alot"; description = "Terminal MUA using notmuch mail"; + changelog = "https://github.com/pazz/alot/releases/tag/${src.tag}"; mainProgram = "alot"; - license = licenses.gpl3Plus; - platforms = platforms.linux; - maintainers = with maintainers; [ milibopp ]; + license = lib.licenses.gpl3Plus; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ milibopp ]; }; }