at 22.05-pre 30 lines 704 B view raw
1{ stdenv, lib, fetchFromGitLab 2}: 3 4stdenv.mkDerivation rec { 5 pname = "libbencodetools"; 6 version = "unstable-2021-04-15"; 7 8 src = fetchFromGitLab { 9 owner = "heikkiorsila"; 10 repo = "bencodetools"; 11 rev = "1ab11f6509a348975e8aec829d7abbf2f8e9b7d1"; 12 sha256 = "1i2dgvxxwj844yn45hnfx3785ljbvbkri0nv0jx51z4i08w7cz0h"; 13 }; 14 15 postPatch = '' 16 patchShebangs . 17 ''; 18 19 configureFlags = [ 20 "--without-python" 21 ]; 22 23 meta = with lib; { 24 description = "Collection of tools for manipulating bencoded data"; 25 homepage = "https://gitlab.com/heikkiorsila/bencodetools"; 26 license = licenses.bsd2; 27 maintainers = with maintainers; [ OPNA2608 ]; 28 platforms = platforms.unix; 29 }; 30}