Merge pull request #7396 from cheecheeo/lastpass_update

update lastpass-cli to version 0.5.1
This commit is contained in:
Pascal Wittmann 2015-04-16 14:18:27 +02:00
commit 138de6b6e1

View File

@ -3,23 +3,19 @@
stdenv.mkDerivation rec {
name = "lastpass-cli-${version}";
version = "0.4.0";
version = "0.5.1";
src = fetchFromGitHub {
owner = "lastpass";
repo = "lastpass-cli";
rev = "v${version}";
sha256 = "1r06lifjc28sm88d6x3xwn76l9fjwjmd1wbmvr9j8rna889q0wl9";
sha256 = "0k2dbfizd6gwd4s8badm50qg2djrh22szd932l1a96mn79q8zb70";
};
buildInputs = [
openssl curl libxml2 pkgconfig asciidoc docbook_xsl libxslt
];
prePatch = ''
substituteInPlace version.h --replace "0.3.0" "0.4.0"
'';
makeFlags = "PREFIX=$(out)";
installTargets = "install install-doc";