38 lines
805 B
Nix
38 lines
805 B
Nix
{ stdenv, pythonPackages, fetchFromGitHub,
|
|
}:
|
|
|
|
with pythonPackages; buildPythonApplication rec {
|
|
version = "2.8";
|
|
name = "buku-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jarun";
|
|
repo = "buku";
|
|
rev = "v${version}";
|
|
sha256 = "1gazvij0072lca0jh84i8mhnaxiwg56hcxmrmk2clxd2x213zyjm";
|
|
};
|
|
|
|
buildInputs = [
|
|
cryptography
|
|
beautifulsoup4
|
|
];
|
|
propagatedBuildInputs = [ beautifulsoup4 ];
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|