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 ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7f0ab25e92e9..444a2cde3c01 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -915,6 +915,10 @@ in burp = callPackage ../tools/backup/burp { }; + buku = callPackage ../applications/misc/buku { + pythonPackages = python3Packages; + }; + byzanz = callPackage ../applications/video/byzanz {}; ori = callPackage ../tools/backup/ori { };