Created
June 23, 2017 18:43
-
-
Save atemerev/d8459f70faa27e44b5a73f1b2c1f5e02 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sseclient = buildPythonPackage rec { | |
version = "0.0.14"; | |
pname = "sseclient"; | |
name = "sseclient-${version}"; | |
doCheck = false; | |
src = pkgs.fetchurl { | |
url = "mirror://pypi/s/sse-client/${name}.zip"; | |
sha256 = "0f9r5rn9lzgi4hvkhgb6vgw8kpz9sv16jsfb9ws4am8gbqcgv2iy"; | |
}; | |
propagatedBuildInputs = with self; [ zope_interface ]; | |
meta = { | |
description = "Server-Sent Events Python client"; | |
homepage = https://github.com/btubbs/sseclient; | |
license = licenses.bsd2; | |
maintainers = with maintainers; [ atemerev ]; | |
platforms = platforms.all; | |
}; | |
}; | |
dcos-cli = buildPythonApplication rec { | |
version = "1.9.0"; | |
name = "dcos-cli-${version}"; | |
doCheck = false; | |
propagatedBuildInputs = with self; [ sseclient sphinx tox wheel pyjwt prettytable ]; | |
src = pkgs.fetchFromGitHub { | |
owner = "dcos"; | |
repo = "dcos-cli"; | |
rev = "7590cead11547c5ce7306d3ff2b854702caff38c"; | |
sha256 = "1d9y4p5scc53jx2jldhkxgx84psvasfc333f5blycj0kzyv6dilg"; | |
}; | |
patchPhase = '' | |
substituteInPlace dcos/__init__.py --replace "SNAPSHOT" "${version}" | |
substituteInPlace setup.py --replace "sseclient==" "sseclient>=" | |
substituteInPlace cli/setup.py --replace "sseclient==" "sseclient>=" | |
''; | |
meta = { | |
description = "DCOS command line interface"; | |
homepage = https://github.com/dcos/dcos-cli; | |
license = licenses.asl20; | |
maintainers = with maintainers; [ atemerev ]; | |
platforms = platforms.all; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment