bencodetools: Modernise
This commit is contained in:
parent
d6b1d5c1e2
commit
14a65d6013
@ -12,13 +12,11 @@ stdenv.mkDerivation {
|
|||||||
owner = "heikkiorsila";
|
owner = "heikkiorsila";
|
||||||
repo = "bencodetools";
|
repo = "bencodetools";
|
||||||
rev = "384d78d297a561dddbbd0f4632f0c74c0db41577";
|
rev = "384d78d297a561dddbbd0f4632f0c74c0db41577";
|
||||||
sha256 = "1d699q9r33hkmmqkbh92ax54mcdf9smscmc0dza2gp4srkhr83qm";
|
hash = "sha256-FQ+U4cya3CfUb4BVpqtOrrFKSlciwTVxrROOkRNOybQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs configure
|
patchShebangs configure
|
||||||
substituteInPlace configure \
|
|
||||||
--replace 'python_install_option=""' 'python_install_option="--prefix=$out"'
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
@ -36,12 +34,12 @@ stdenv.mkDerivation {
|
|||||||
runHook postInstallCheck
|
runHook postInstallCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Collection of tools for manipulating bencoded data";
|
description = "Collection of tools for manipulating bencoded data";
|
||||||
homepage = "https://gitlab.com/heikkiorsila/bencodetools";
|
homepage = "https://gitlab.com/heikkiorsila/bencodetools";
|
||||||
license = licenses.bsd2;
|
license = lib.licenses.bsd2;
|
||||||
maintainers = with maintainers; [ OPNA2608 ];
|
maintainers = with lib.maintainers; [ OPNA2608 ];
|
||||||
mainProgram = "bencat";
|
mainProgram = "bencat";
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user