mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
ef4442e827
See f63eb58573
The `requests2` attribute now throws an error informing that `requests`
should be used instead.
39 lines
804 B
Nix
39 lines
804 B
Nix
{ stdenv, pythonPackages, fetchFromGitHub,
|
|
}:
|
|
|
|
with pythonPackages; buildPythonApplication rec {
|
|
version = "2.9";
|
|
name = "buku-${version}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jarun";
|
|
repo = "buku";
|
|
rev = "v${version}";
|
|
sha256 = "0ylq0j5w8jvzys4bj9m08bfr1sgf8h2b4fiax6hs6lcwn2882jbr";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|
|
|