1{ lib, buildPythonPackage, fetchFromGitHub, requests }: 2 3buildPythonPackage { 4 pname = "curlify"; 5 version = "2.2.1"; 6 format = "setuptools"; 7 8 src = fetchFromGitHub { 9 owner = "ofw"; 10 repo = "curlify"; 11 rev = "b914625b12f9b05c39f305b47ebd0d1f061af24d"; 12 hash = "sha256-yDHmH35TtQDJB0na1V98RtBuVHX5TmKC72hzzs1DQK8="; 13 }; 14 15 propagatedBuildInputs = [ 16 requests 17 ]; 18 19 meta = with lib; { 20 description = "Convert python requests request object to cURL command"; 21 homepage = "https://github.com/ofw/curlify"; 22 license = licenses.mit; 23 maintainers = with maintainers; [ chrpinedo ]; 24 }; 25}