at 23.05-pre 33 lines 734 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, karton-core 5, unittestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "karton-asciimagic"; 10 version = "1.2.0"; 11 12 src = fetchFromGitHub { 13 owner = "CERT-Polska"; 14 repo = pname; 15 rev = "v${version}"; 16 sha256 = "sha256-sY5ik9efzLBa6Fbh17Vh4q7PlwOGYjuodU9yvp/8E3k="; 17 }; 18 19 propagatedBuildInputs = [ 20 karton-core 21 ]; 22 23 checkInputs = [ unittestCheckHook ]; 24 25 pythonImportsCheck = [ "karton.asciimagic" ]; 26 27 meta = with lib; { 28 description = "Decoders for ascii-encoded executables for the Karton framework"; 29 homepage = "https://github.com/CERT-Polska/karton-asciimagic"; 30 license = with licenses; [ bsd3 ]; 31 maintainers = with maintainers; [ fab ]; 32 }; 33}