Skip to content

Instantly share code, notes, and snippets.

@bignaux

bignaux/.nix Secret

Created May 28, 2019 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bignaux/0e9653fb5c739f19452f886b74836603 to your computer and use it in GitHub Desktop.
Save bignaux/0e9653fb5c739f19452f886b74836603 to your computer and use it in GitHub Desktop.
{ stdenv, fetchFromBitbucket, matiec
, python3, python3Packages }:
# wxglade
# optionals : CanFestival modbus BACnet
python3Packages.buildPythonApplication rec {
version = "unstable-2017-10-20";
pname = "beremiz";
src = fetchFromBitbucket {
owner = "automforge";
repo = "${pname}";
rev = "7e31997";
sha256 = "06fpnb935r0gfalpbxd6h6i9v7gfsri6scc8bnv8d623zxs2n0p6";
};
nativeBuildInputs = [ ];
buildInputs = with python3Packages; [
python3
matiec
twisted
wxPython
nevow
numpy
lxml
# Pyro4 ( beremiz uses pyro3 )
zeroconf
cycler
matplotlib
autobahn
u-msgpack-python
# sslpsk https://github.com/drbild/sslpsk
# posix_spawn https://github.com/JonathonReinhart/python-posix-spawn ?
# wamp http://wamp.ws/
];
doBuild = false;
#propagatedBuildInputs = [ pythonPackages.wxPython ];
meta = with stdenv.lib;{
homepage = "https://beremiz.org";
description = "";
license = licenses.gpl3;
maintainers = [ maintainers.genesis ];
platforms = platforms.linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment