lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 43 lines 910 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 python3, 6}: 7 8stdenv.mkDerivation { 9 pname = "oauth2ms"; 10 version = "2021-07-09"; 11 12 src = fetchFromGitHub { 13 owner = "harishkrupo"; 14 repo = "oauth2ms"; 15 rev = "a1ef0cabfdea57e9309095954b90134604e21c08"; # No tags or releases in the repo 16 sha256 = "sha256-xPSWlHJAXhhj5I6UMjUtH1EZqCZWHJMFWTu3a4k1ETc"; 17 }; 18 19 buildInputs = [ 20 (python3.withPackages ( 21 ps: with ps; [ 22 pyxdg 23 msal 24 python-gnupg 25 ] 26 )) 27 ]; 28 29 installPhase = '' 30 runHook preInstall 31 install -m755 -D oauth2ms $out/bin/oauth2ms 32 runHook postInstall 33 ''; 34 35 meta = with lib; { 36 homepage = "https://github.com/harishkrupo/oauth2ms"; 37 description = "XOAUTH2 compatible Office365 token fetcher"; 38 mainProgram = "oauth2ms"; 39 platforms = platforms.all; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ wentasah ]; 42 }; 43}