buku: 1.9 -> 2.4

This commit is contained in:
guaraqe 2016-09-26 03:16:58 +02:00
parent a441efcccc
commit 571d51387c

View File

@ -1,19 +1,21 @@
{ stdenv, pythonPackages, fetchFromGitHub, { stdenv, pythonPackages, fetchFromGitHub,
encryptionSupport ? false
}: }:
pythonPackages.buildPythonApplication rec { pythonPackages.buildPythonApplication rec {
version = "1.9"; version = "2.4";
name = "buku-${version}"; name = "buku-${version}";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jarun"; owner = "jarun";
repo = "buku"; repo = "buku";
rev = "e99844876d0d871df80770b1bd76c161276116eb"; rev = "v${version}";
sha256 = "1qwkff61gdjd6w337a5ipfiybzqdwkxdyfa1l4zzm9dj7lsklgq2"; sha256 = "0rmvlpp1pzzgn1hf87ksigj9kp60gfwkvxymb4wiz7dqa57b1q0n";
}; };
buildInputs = stdenv.lib.optional encryptionSupport pythonPackages.pycrypto; buildInputs = [
pythonPackages.cryptography
pythonPackages.beautifulsoup4
];
phases = [ "unpackPhase" "installPhase" "fixupPhase" ]; phases = [ "unpackPhase" "installPhase" "fixupPhase" ];