Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5}: 6 7buildPythonPackage rec { 8 pname = "pinboard"; 9 version = "2.1.8"; 10 format = "setuptools"; 11 12 src = fetchFromGitHub { 13 owner = "lionheart"; 14 repo = pname; 15 rev = version; 16 sha256 = "0ppc3vwv48ahqx6n5c7d7066zhi31cjdik0ma9chq6fscq2idgdf"; 17 }; 18 19 # tests require an API key 20 doCheck = false; 21 22 meta = with lib; { 23 description = "Python wrapper for Pinboard.in"; 24 mainProgram = "pinboard"; 25 maintainers = with maintainers; [ djanatyn ]; 26 license = licenses.asl20; 27 homepage = "https://github.com/lionheart/pinboard.py"; 28 }; 29}