summary refs log tree commit diff
path: root/pkgs/development/python-modules/karton-asciimagic/default.nix
blob: 74cfa7f8b53c13aa9af9c367f67f1ac480dae497 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib
, buildPythonPackage
, fetchFromGitHub
, karton-core
, unittestCheckHook
}:

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

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

  propagatedBuildInputs = [
    karton-core
  ];

  checkInputs = [ unittestCheckHook ];

  pythonImportsCheck = [ "karton.asciimagic" ];

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