diff options
author | Christoph Hrdinka <c.github@hrdinka.at> | 2016-03-27 18:03:38 +0200 |
---|---|---|
committer | Christoph Hrdinka <c.github@hrdinka.at> | 2016-03-27 18:03:38 +0200 |
commit | a7e280b0f46a8d7bd860c3d1acf6ccf0091ca070 (patch) | |
tree | 4beb03f584ffccca15660b8f81a3626473a3f67d /pkgs/applications/misc | |
parent | 78b75b8ecd94abcdea5728c3b4fe506d825496ec (diff) | |
parent | 45604fc46b4192984be2b81f0f7fa3537499a1aa (diff) | |
download | nixpkgs-a7e280b0f46a8d7bd860c3d1acf6ccf0091ca070.tar nixpkgs-a7e280b0f46a8d7bd860c3d1acf6ccf0091ca070.tar.gz nixpkgs-a7e280b0f46a8d7bd860c3d1acf6ccf0091ca070.tar.bz2 nixpkgs-a7e280b0f46a8d7bd860c3d1acf6ccf0091ca070.tar.lz nixpkgs-a7e280b0f46a8d7bd860c3d1acf6ccf0091ca070.tar.xz nixpkgs-a7e280b0f46a8d7bd860c3d1acf6ccf0091ca070.tar.zst nixpkgs-a7e280b0f46a8d7bd860c3d1acf6ccf0091ca070.zip |
Merge pull request #14233 from matthiasbeyer/add-buku
buku: init at 1.8
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r-- | pkgs/applications/misc/buku/default.nix | 34 |
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 00000000000..ccebb8bfc11 --- /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 ]; + }; +} + |