mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-01 02:23:54 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
609 B
Nix
30 lines
609 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 = "Python wrapper for Pinboard.in";
|
|
mainProgram = "pinboard";
|
|
maintainers = with maintainers; [ djanatyn ];
|
|
license = licenses.asl20;
|
|
homepage = "https://github.com/lionheart/pinboard.py";
|
|
};
|
|
}
|