Files
nixpkgs/pkgs/development/python-modules/pinboard/default.nix
T
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

26 lines
604 B
Nix

{ 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";
};
}