2023-06-20 16:18:45 +08:00
|
|
|
{ stdenv, lib, python3Packages, callPackage, fetchgit, makeWrapper }:
|
|
|
|
|
2023-07-13 17:40:23 +08:00
|
|
|
let gmqtt = callPackage ./gmqtt.nix { };
|
|
|
|
in python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "miniconf";
|
|
|
|
version = "0.1.0";
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/quartiq/miniconf";
|
|
|
|
rev = "01caac4adb3f81cbcd34d8a48087f5df962c096f";
|
|
|
|
sha256 = "sha256-Gco56sl2mQ2y+M1evzLhtuFvrhJZbAvbIq7N6J9uiFE=";
|
|
|
|
};
|
|
|
|
prePatch = ''
|
|
|
|
cd py/miniconf-mqtt
|
|
|
|
'';
|
|
|
|
doCheck = false;
|
|
|
|
propagatedBuildInputs = [
|
2023-06-20 16:18:45 +08:00
|
|
|
# Specify dependencies
|
2023-07-13 17:40:23 +08:00
|
|
|
gmqtt
|
|
|
|
];
|
2023-06-20 16:18:45 +08:00
|
|
|
}
|