python310Packages.karton-asciimagic: add changelog to meta

This commit is contained in:
Fabian Affolter
2023-02-09 12:24:57 +01:00
committed by Florian Brandes
parent 280fa2386c
commit 0a4526761b

View File

@@ -3,30 +3,39 @@
, fetchFromGitHub , fetchFromGitHub
, karton-core , karton-core
, unittestCheckHook , unittestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "karton-asciimagic"; pname = "karton-asciimagic";
version = "1.2.0"; version = "1.2.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "CERT-Polska"; owner = "CERT-Polska";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-sY5ik9efzLBa6Fbh17Vh4q7PlwOGYjuodU9yvp/8E3k="; hash = "sha256-sY5ik9efzLBa6Fbh17Vh4q7PlwOGYjuodU9yvp/8E3k=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
karton-core karton-core
]; ];
nativeCheckInputs = [ unittestCheckHook ]; nativeCheckInputs = [
unittestCheckHook
];
pythonImportsCheck = [ "karton.asciimagic" ]; pythonImportsCheck = [
"karton.asciimagic"
];
meta = with lib; { meta = with lib; {
description = "Decoders for ascii-encoded executables for the Karton framework"; description = "Decoders for ascii-encoded executables for the Karton framework";
homepage = "https://github.com/CERT-Polska/karton-asciimagic"; homepage = "https://github.com/CERT-Polska/karton-asciimagic";
changelog = "https://github.com/CERT-Polska/karton-asciimagic/releases/tag/v${version}";
license = with licenses; [ bsd3 ]; license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };