about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pinboard/default.nix
blob: b7dab8e44fc8e181eef7dc67ef2b168c8ac012aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, buildPythonPackage, fetchFromGitHub }:

buildPythonPackage rec {
  pname = "pinboard";
  version = "2.1.8";
  format = "setuptools";

  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";
    mainProgram = "pinboard";
    maintainers = with maintainers; [ djanatyn ];
    license = licenses.asl20;
    homepage = "https://github.com/lionheart/pinboard.py";
  };
}