Fix home-manager impurity and add brew configuration

This commit is contained in:
Dave Gallant
2021-06-27 10:34:51 -04:00
parent 860ae35a49
commit 893964169e
18 changed files with 133 additions and 58 deletions

View File

@@ -0,0 +1,40 @@
{ lib, fetchFromGitHub, python3 }:
let py = python3.override { };
in
with py.pkgs;
buildPythonApplication rec {
pname = "rfd";
version = "v0.7.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "davegallant";
repo = "rfd";
rev = version;
hash = "sha256-imFSkCFeSMLW7QYYF3cXp7tKEruLt8a6W3JDPblKHHU=";
};
# No tests included
doCheck = false;
nativeBuildInputs = [ poetry ];
propagatedBuildInputs = with py.pkgs; [
beautifulsoup4
click
colorama
requests
soupsieve
];
passthru.python3 = python3;
meta = with lib; {
homepage = "https://www.redflagdeals.com/";
description = "View RedFlagDeals from the command line";
license = licenses.gpl3;
maintainers = [ davegallant ];
};
}