at master 767 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6}: 7 8buildPythonPackage rec { 9 pname = "liblp"; 10 version = "1.0.2"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "sebaubuntu-python"; 15 repo = "liblp"; 16 tag = "v${version}"; 17 hash = "sha256-F30D2mYUYPupbr8OsrcrN6wQ639L5OlzQw/FrxPCsC4="; 18 }; 19 20 build-system = [ poetry-core ]; 21 22 # Module has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "liblp" ]; 26 27 meta = { 28 description = "Android logical partitions library ported from C++ to Python"; 29 homepage = "https://github.com/sebaubuntu-python/liblp"; 30 license = lib.licenses.asl20; 31 platforms = lib.platforms.linux; 32 maintainers = with lib.maintainers; [ ungeskriptet ]; 33 mainProgram = "lpunpack"; 34 }; 35}