Skip to content

Instantly share code, notes, and snippets.

@atemerev
Last active May 29, 2017 23:32
Show Gist options
  • Save atemerev/692dd5d4ae9c34485bd221e874c543dc to your computer and use it in GitHub Desktop.
Save atemerev/692dd5d4ae9c34485bd221e874c543dc to your computer and use it in GitHub Desktop.
DCOS-cli nixos
with import <nixpkgs> {};
pkgs.python35Packages.buildPythonPackage rec {
name = "dcos-cli-${version}";
version = "0.5.1";
src = pkgs.fetchFromGitHub {
owner = "dcos";
repo = "dcos-cli";
rev = version;
# todo FIXME
# sha256 = "e8451af61face57b7c5d09e71c0d27b8005f001ead56e9fdf470417e5cc6d479";
};
buildInputs = with pkgs.python35Packages; [ jsonschema pager prettytable PyJWT pygments requests six toml sseclient ];
doCheck = false;
meta = {
homepage = "http://github.com/dcos/dcos-cli/";
description = "DCOS command line client";
license = licenses.bsd3;
maintainers = with maintainers; [ atemerev ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment