2020-10-27 00:29:36 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pinboard";
|
|
|
|
version = "2.1.8";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-10-27 00:29:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lionheart";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "0ppc3vwv48ahqx6n5c7d7066zhi31cjdik0ma9chq6fscq2idgdf";
|
|
|
|
};
|
|
|
|
|
|
|
|
# tests require an API key
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A Python wrapper for Pinboard.in";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "pinboard";
|
2020-10-27 00:29:36 +00:00
|
|
|
maintainers = with maintainers; [ djanatyn ];
|
|
|
|
license = licenses.asl20;
|
2020-11-30 08:33:03 +00:00
|
|
|
homepage = "https://github.com/lionheart/pinboard.py";
|
2020-10-27 00:29:36 +00:00
|
|
|
};
|
|
|
|
}
|