mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
Done with `sed -i -E '/^\s+(maintainers\.)?jtojnar\s*$/d;s/ (@|maintainers\.|)jtojnar//g' (rg ' jtojnar|maintainers\.jtojnar|^\s+jtojnar\s*$' -l -g '!maintainers/maintainer-list.nix')`. (Always check the `rg` result beforehand to avoid corruption.)
43 lines
728 B
Nix
43 lines
728 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, certifi
|
|
, six
|
|
, python-dateutil
|
|
, urllib3
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cloudsmith-api";
|
|
version = "1.142.3";
|
|
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
pname = "cloudsmith_api";
|
|
inherit format version;
|
|
sha256 = "sha256-Cdnsath9p+LPKKzV4cmoOtl4doahi86l1NIgUwliZRU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
certifi
|
|
six
|
|
python-dateutil
|
|
urllib3
|
|
];
|
|
|
|
# Wheels have no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"cloudsmith_api"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Cloudsmith API Client";
|
|
homepage = "https://github.com/cloudsmith-io/cloudsmith-api";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|