22 lines
579 B
Nix
22 lines
579 B
Nix
{ stdenv, lib, python3Packages, callPackage, fetchgit, makeWrapper }:
|
|
|
|
let
|
|
gmqtt = callPackage /opt/booster/gmqtt.nix {};
|
|
in
|
|
python3Packages.buildPythonPackage rec {
|
|
pname = "miniconf";
|
|
version = "0.1.0";
|
|
src = fetchgit {
|
|
url = "https://github.com/quartiq/miniconf";
|
|
rev = "01caac4adb3f81cbcd34d8a48087f5df962c096f";
|
|
sha256 = "sha256-ssRV4FtdMehPA4+mKQ4Ub+wtEakpKX5jXRubFtHpanA=";
|
|
};
|
|
prePatch = ''
|
|
cd py/miniconf-mqtt
|
|
'';
|
|
doCheck = false;
|
|
propagatedBuildInputs = [
|
|
# Specify dependencies
|
|
gmqtt
|
|
];
|
|
} |