1: with rec { 2: sysPkgs = import <nixpkgs> { config = {}; }; 3: config = sysPkgs.fetchFromGitHub { 4: owner = "Warbo"; 5: repo = "nix-config"; 6: rev = "99bc878"; 7: sha256 = "0q8f30vzvngnnvszxxp6vhr649y4lvix4r9axhvmpc9wr5afls6s"; 8: }; 9: }; 10: with import config {}; 11: wrap { 12: name = "html-inliner"; 13: file = ./html-inliner; 14: paths = [ (python.withPackages (p: [ p.beautifulsoup ])) ]; 15: }