nixpkgs/pkgs/applications/misc/buku/default.nix

35 lines
830 B
Nix
Raw Normal View History

2016-03-26 20:27:36 +00:00
{ stdenv, pythonPackages, fetchFromGitHub,
encryptionSupport ? false
}:
pythonPackages.buildPythonApplication rec {
2016-05-01 19:46:09 +01:00
version = "1.9";
2016-03-26 20:27:36 +00:00
name = "buku-${version}";
src = fetchFromGitHub {
owner = "jarun";
repo = "buku";
2016-05-01 19:46:09 +01:00
rev = "e99844876d0d871df80770b1bd76c161276116eb";
sha256 = "1qwkff61gdjd6w337a5ipfiybzqdwkxdyfa1l4zzm9dj7lsklgq2";
2016-03-26 20:27:36 +00:00
};
buildInputs = stdenv.lib.optional encryptionSupport pythonPackages.pycrypto;
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
installPhase = ''
make install PREFIX=$out
'';
doCheck = false;
meta = with stdenv.lib; {
description = "Private cmdline bookmark manager";
homepage = https://github.com/jarun/Buku;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ matthiasbeyer ];
};
}