summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/curlify/default.nix
blob: 750abf84108431501c864a15e53e5cd6b51dfe18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  requests,
}:

buildPythonPackage {
  pname = "curlify";
  version = "2.2.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "ofw";
    repo = "curlify";
    rev = "b914625b12f9b05c39f305b47ebd0d1f061af24d";
    hash = "sha256-yDHmH35TtQDJB0na1V98RtBuVHX5TmKC72hzzs1DQK8=";
  };

  propagatedBuildInputs = [ requests ];

  meta = {
    description = "Convert python requests request object to cURL command";
    homepage = "https://github.com/ofw/curlify";
    license = lib.licenses.mit;
  };
}