Commit e66f11b3 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.karton-asciimagic: add changelog to meta

parent b67fe3bc
Loading
Loading
Loading
Loading
+13 −4
Original line number Diff line number Diff line
@@ -3,30 +3,39 @@
, fetchFromGitHub
, karton-core
, unittestCheckHook
, pythonOlder
}:

buildPythonPackage rec {
  pname = "karton-asciimagic";
  version = "1.2.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchFromGitHub {
    owner = "CERT-Polska";
    repo = pname;
    rev = "v${version}";
    sha256 = "sha256-sY5ik9efzLBa6Fbh17Vh4q7PlwOGYjuodU9yvp/8E3k=";
    rev = "refs/tags/v${version}";
    hash = "sha256-sY5ik9efzLBa6Fbh17Vh4q7PlwOGYjuodU9yvp/8E3k=";
  };

  propagatedBuildInputs = [
    karton-core
  ];

  nativeCheckInputs = [ unittestCheckHook ];
  nativeCheckInputs = [
    unittestCheckHook
  ];

  pythonImportsCheck = [ "karton.asciimagic" ];
  pythonImportsCheck = [
    "karton.asciimagic"
  ];

  meta = with lib; {
    description = "Decoders for ascii-encoded executables for the Karton framework";
    homepage = "https://github.com/CERT-Polska/karton-asciimagic";
    changelog = "https://github.com/CERT-Polska/karton-asciimagic/releases/tag/v${version}";
    license = with licenses; [ bsd3 ];
    maintainers = with maintainers; [ fab ];
  };