update lastpass-cli to version 0.5.1

This commit is contained in:
John Chee 2015-04-15 08:56:27 -07:00
parent b97435e15f
commit 88b9578189

View File

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