43 lines
715 B
Nix
43 lines
715 B
Nix
|
{ lib
|
||
|
, buildPythonPackage
|
||
|
, fetchPypi
|
||
|
, certifi
|
||
|
, six
|
||
|
, dateutil
|
||
|
, urllib3
|
||
|
}:
|
||
|
|
||
|
buildPythonPackage rec {
|
||
|
pname = "cloudsmith-api";
|
||
|
version = "0.54.15";
|
||
|
|
||
|
format = "wheel";
|
||
|
|
||
|
src = fetchPypi {
|
||
|
pname = "cloudsmith_api";
|
||
|
inherit format version;
|
||
|
sha256 = "X72xReosUnUlj69Gq+i+izhaKZuakM9mUrRHZI5L9h0=";
|
||
|
};
|
||
|
|
||
|
propagatedBuildInputs = [
|
||
|
certifi
|
||
|
six
|
||
|
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; [ jtojnar ];
|
||
|
};
|
||
|
}
|