mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
pybitmessage: init at 0.4.4
This commit is contained in:
parent
6059831148
commit
a8f526432c
@ -0,0 +1,39 @@
|
||||
{ stdenv, fetchFromGitHub, python, pythonPackages, pyqt4, openssl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pybitmessage-${version}";
|
||||
|
||||
version = "0.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bitmessage";
|
||||
repo = "PyBitmessage";
|
||||
rev = "v${version}";
|
||||
sha256 = "1f4h0yc1mfjnxzvxiv9hxgak59mgr3a5ykv50vlyiay82za20jax";
|
||||
};
|
||||
|
||||
buildInputs = [ python pyqt4 openssl pythonPackages.wrapPython pythonPackages.sqlite3 ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "PREFIX?=/usr/local" "" \
|
||||
--replace "/usr" ""
|
||||
'';
|
||||
|
||||
makeFlags = [ "DESTDIR=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/bin/pybitmessage \
|
||||
--replace "exec python2" "exec ${python}/bin/python" \
|
||||
--replace "/opt/openssl-compat-bitcoin/lib/" "${openssl}/lib/"
|
||||
wrapProgram $out/bin/pybitmessage \
|
||||
--prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://bitmessage.org/;
|
||||
description = "The official Bitmessage client";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ jgillich ];
|
||||
};
|
||||
}
|
@ -12916,6 +12916,8 @@ let
|
||||
|
||||
puremapping = callPackage ../applications/audio/pd-plugins/puremapping { };
|
||||
|
||||
pybitmessage = callPackage ../applications/networking/instant-messengers/pybitmessage { };
|
||||
|
||||
pythonmagick = callPackage ../applications/graphics/PythonMagick { };
|
||||
|
||||
qbittorrent = callPackage ../applications/networking/p2p/qbittorrent {
|
||||
|
Loading…
Reference in New Issue
Block a user