mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-31 17:19:58 +00:00
35 lines
666 B
Nix
35 lines
666 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "curlify";
|
|
version = "2.2.1";
|
|
pyproject = true;
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ofw";
|
|
repo = "curlify";
|
|
rev = "b914625b12f9b05c39f305b47ebd0d1f061af24d";
|
|
hash = "sha256-yDHmH35TtQDJB0na1V98RtBuVHX5TmKC72hzzs1DQK8=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [ requests ];
|
|
|
|
pythonImportsCheck = [ "curlify" ];
|
|
|
|
meta = {
|
|
description = "Convert python requests request object to cURL command";
|
|
homepage = "https://github.com/ofw/curlify";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|