summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/misc/buku
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-03-26 21:27:36 +0100
committerMatthias Beyer <mail@beyermatthias.de>2016-03-27 14:39:39 +0200
commit45604fc46b4192984be2b81f0f7fa3537499a1aa (patch)
treea9e594361b09a5417fbfc6c29701efaa29231244 /pkgs/applications/misc/buku
parentdaf787a96df6109e167fbc617810997b8f71b4a2 (diff)
buku: init at 1.8
Diffstat (limited to 'pkgs/applications/misc/buku')
-rw-r--r--pkgs/applications/misc/buku/default.nix34
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/misc/buku/default.nix b/pkgs/applications/misc/buku/default.nix
new file mode 100644
index 000000000000..ccebb8bfc115
--- /dev/null
+++ b/pkgs/applications/misc/buku/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, pythonPackages, fetchFromGitHub,
+ encryptionSupport ? false
+}:
+
+pythonPackages.buildPythonApplication rec {
+ version = "1.8";
+ name = "buku-${version}";
+
+ src = fetchFromGitHub {
+ owner = "jarun";
+ repo = "buku";
+ rev = "53d48ee56a3abfb53b94ed25fb620ee759141c96";
+ sha256 = "185d3gndw20c3l6f3mf0iq4qapm8g30bl0hn0wsqpp36vl0bpq28";
+ };
+
+ 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 ];
+ };
+}
+