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