Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54813 from plapadoo/fdroidserver-update
fdroidserver: 2016-05-31 -> 1.1
- Loading branch information
Showing
7 changed files
with
152 additions
and
37 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ lib, buildPythonPackage, fetchPypi, future, networkx, pygments, lxml, colorama, matplotlib, | ||
asn1crypto, click, pydot, ipython, pyqt5, pyperclip }: | ||
|
||
buildPythonPackage rec { | ||
version = "3.3.3"; | ||
pname = "androguard"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1zlmn3byh2whg7k2xmcd7yy43lcawhryjnzcxr9bhn54709b6iyd"; | ||
}; | ||
|
||
propagatedBuildInputs = [ | ||
future | ||
networkx | ||
pygments | ||
lxml | ||
colorama | ||
matplotlib | ||
asn1crypto | ||
click | ||
pydot | ||
ipython | ||
pyqt5 | ||
pyperclip | ||
]; | ||
|
||
# Tests are not shipped on PyPI. | ||
doCheck = false; | ||
|
||
meta = { | ||
description = "Tool and python library to interact with Android Files"; | ||
homepage = https://github.com/androguard/androguard; | ||
license = lib.licenses.asl20; | ||
maintainers = [ lib.maintainers.pmiddend ]; | ||
}; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ lib, buildPythonPackage, fetchPypi, six, requests, websocket_client, docker_pycreds }: | ||
|
||
buildPythonPackage rec { | ||
version = "1.10.6"; | ||
pname = "docker-py"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "05f49f6hnl7npmi7kigg0ibqk8s3fhzx1ivvz1kqvlv4ay3paajc"; | ||
}; | ||
|
||
# The tests access the network. | ||
doCheck = false; | ||
|
||
propagatedBuildInputs = [ | ||
six | ||
requests | ||
websocket_client | ||
docker_pycreds | ||
]; | ||
|
||
meta = { | ||
description = "Python library for the Docker Remote API"; | ||
homepage = https://github.com/docker/docker-py/; | ||
license = lib.licenses.asl20; | ||
maintainers = [ lib.maintainers.pmiddend ]; | ||
}; | ||
} |
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
pkgs/development/python-modules/python-vagrant/default.nix
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ lib, buildPythonPackage, fetchPypi }: | ||
|
||
buildPythonPackage rec { | ||
version = "0.5.15"; | ||
pname = "python-vagrant"; | ||
|
||
src = fetchPypi { | ||
inherit pname version; | ||
sha256 = "1ikrh6canhcxg5y7pzmkcnnydikppv7s6sm9prfx90nk0ac8m6mg"; | ||
}; | ||
|
||
# The tests try to connect to qemu | ||
doCheck = false; | ||
|
||
meta = { | ||
description = "Python module that provides a thin wrapper around the vagrant command line executable"; | ||
homepage = https://github.com/todddeluca/python-vagrant; | ||
license = lib.licenses.mit; | ||
maintainers = [ lib.maintainers.pmiddend ]; | ||
}; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ docker | ||
, fetchFromGitLab | ||
, python | ||
, lib }: | ||
|
||
python.pkgs.buildPythonApplication rec { | ||
version = "1.1"; | ||
pname = "fdroidserver"; | ||
|
||
src = fetchFromGitLab { | ||
owner = "fdroid"; | ||
repo = "fdroidserver"; | ||
rev = version; | ||
sha256 = "1910ali90aj3wkxy6mi88c5ya6n7zbqr69nvmpc5dydxm0gb98w5"; | ||
}; | ||
|
||
patchPhase = '' | ||
substituteInPlace fdroidserver/common.py --replace "FDROID_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..'))" "FDROID_PATH = '$out/bin'" | ||
substituteInPlace setup.py --replace "pyasn1-modules == 0.2.1" "pyasn1-modules" | ||
''; | ||
|
||
preConfigure = '' | ||
${python.interpreter} setup.py compile_catalog | ||
''; | ||
postInstall = '' | ||
install -m 0755 gradlew-fdroid $out/bin | ||
''; | ||
|
||
buildInputs = [ python.pkgs.Babel ]; | ||
|
||
propagatedBuildInputs = with python.pkgs; [ | ||
androguard | ||
clint | ||
defusedxml | ||
docker | ||
docker-py | ||
GitPython | ||
libcloud | ||
mwclient | ||
paramiko | ||
pillow | ||
pyasn1 | ||
pyasn1-modules | ||
python-vagrant | ||
pyyaml | ||
qrcode | ||
requests | ||
ruamel_yaml | ||
]; | ||
|
||
meta = with lib; { | ||
homepage = https://f-droid.org; | ||
description = "Server and tools for F-Droid, the Free Software repository system for Android"; | ||
license = licenses.agpl3; | ||
maintainers = [ lib.maintainers.pmiddend ]; | ||
}; | ||
|
||
} |
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
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