nixpkgs/pkgs/applications/misc/buku/default.nix
Johannes Frankenau 3107f33c9d buku: 2.9 -> 3.0
2017-06-29 09:47:49 +02:00

39 lines
804 B
Nix

{ stdenv, pythonPackages, fetchFromGitHub,
}:
with pythonPackages; buildPythonApplication rec {
version = "3.0";
name = "buku-${version}";
src = fetchFromGitHub {
owner = "jarun";
repo = "buku";
rev = "v${version}";
sha256 = "1a33x3197vi5s8rq5fvhy021jdlsc8ww8zc4kysss6r9mvdlk7ax";
};
propagatedBuildInputs = [
cryptography
beautifulsoup4
requests
urllib3
];
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 infinisil ];
};
}