depot/third_party/nixpkgs/pkgs/development/python-modules/curlify/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

28 lines
621 B
Nix

{
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 = with lib; {
description = "Convert python requests request object to cURL command";
homepage = "https://github.com/ofw/curlify";
license = licenses.mit;
maintainers = with maintainers; [ chrpinedo ];
};
}