mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-12 16:03:32 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
50 lines
1.0 KiB
Nix
50 lines
1.0 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchPypi
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "cloudsmith-cli";
|
|
version = "1.1.1";
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
pname = "cloudsmith_cli";
|
|
inherit format version;
|
|
hash = "sha256-evwXXGmGa6V2LhgkmX04E5VvdPxeZzvl4F28auXcSng=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
click
|
|
click-configfile
|
|
click-didyoumean
|
|
click-spinner
|
|
cloudsmith-api
|
|
colorama
|
|
future
|
|
requests
|
|
requests-toolbelt
|
|
semver
|
|
simplejson
|
|
six
|
|
setuptools # needs pkg_resources
|
|
];
|
|
|
|
# Wheels have no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"cloudsmith_cli"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://help.cloudsmith.io/docs/cli/";
|
|
description = "Cloudsmith Command Line Interface";
|
|
mainProgram = "cloudsmith";
|
|
changelog = "https://github.com/cloudsmith-io/cloudsmith-cli/blob/v${version}/CHANGELOG.md";
|
|
maintainers = with maintainers; [ ];
|
|
license = licenses.asl20;
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|