nixpkgs/pkgs/development/tools/cloudsmith-cli/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1007 B
Nix
Raw Normal View History

2023-01-24 16:53:48 +00:00
{ lib
, python3
, fetchPypi
2021-05-01 12:09:39 +00:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "cloudsmith-cli";
2024-01-18 12:52:46 +00:00
version = "1.1.1";
2021-05-01 12:09:39 +00:00
format = "wheel";
src = fetchPypi {
2021-05-01 12:09:39 +00:00
pname = "cloudsmith_cli";
inherit format version;
2024-01-18 12:52:46 +00:00
hash = "sha256-evwXXGmGa6V2LhgkmX04E5VvdPxeZzvl4F28auXcSng=";
2021-05-01 12:09:39 +00:00
};
propagatedBuildInputs = with python3.pkgs; [
click
click-configfile
click-didyoumean
click-spinner
cloudsmith-api
colorama
future
requests
requests-toolbelt
2021-05-01 12:09:39 +00:00
semver
simplejson
six
setuptools # needs pkg_resources
];
# Wheels have no tests
doCheck = false;
2023-01-24 16:53:48 +00:00
pythonImportsCheck = [
"cloudsmith_cli"
];
meta = with lib; {
2021-05-01 12:09:39 +00:00
homepage = "https://help.cloudsmith.io/docs/cli/";
description = "Cloudsmith Command Line Interface";
2023-01-24 16:53:48 +00:00
changelog = "https://github.com/cloudsmith-io/cloudsmith-cli/blob/v${version}/CHANGELOG.md";
maintainers = with maintainers; [ ];
2023-01-24 16:53:48 +00:00
license = licenses.asl20;
platforms = with platforms; unix;
2021-05-01 12:09:39 +00:00
};
}