mirror of
https://github.com/davegallant/nix-config
synced 2025-08-08 01:42:28 +00:00
Add rfd python package nix overlay (#11)
* Add python3.8 * Add rfd python package overlay
This commit is contained in:
39
.config/nixpkgs/overlays/rfd.nix
Normal file
39
.config/nixpkgs/overlays/rfd.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
self: super:
|
||||
rec {
|
||||
|
||||
python3 = with super; super.python3.override {};
|
||||
|
||||
pythonPackages = python3.pkgs;
|
||||
|
||||
rfd = with self; pythonPackages.buildPythonApplication rec {
|
||||
pname = "rfd";
|
||||
version = "v0.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davegallant";
|
||||
repo = "rfd";
|
||||
rev = version;
|
||||
sha256 = "08f9xsw5h35p5sbljrv7vrzvdz17icgr85n7507p27fcg0yphd0s";
|
||||
};
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
beautifulsoup4
|
||||
click
|
||||
colorama
|
||||
requests
|
||||
];
|
||||
|
||||
passthru.python3 = python3;
|
||||
|
||||
meta = with super.lib; {
|
||||
homepage = "https://www.redflagdeals.com/";
|
||||
description = "View RedFlagDeals from the command line";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user