mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 05:02:28 +00:00
Update rfd to use pyproject format
This commit is contained in:
@@ -171,11 +171,10 @@
|
|||||||
python39Packages.black
|
python39Packages.black
|
||||||
python39Packages.ipython
|
python39Packages.ipython
|
||||||
python39Packages.pip
|
python39Packages.pip
|
||||||
|
python39Packages.poetry
|
||||||
python39Packages.setuptools
|
python39Packages.setuptools
|
||||||
python39Packages.virtualenv
|
python39Packages.virtualenv
|
||||||
|
|
||||||
python38Packages.poetry # 3.9 doesn't work yet
|
|
||||||
|
|
||||||
# ruby
|
# ruby
|
||||||
rbenv
|
rbenv
|
||||||
|
|
||||||
|
@@ -1,27 +1,25 @@
|
|||||||
{ lib, fetchFromGitHub, python3, }:
|
{ lib, fetchFromGitHub, python3 }:
|
||||||
|
|
||||||
let py = python3.override { };
|
let py = python3.override { };
|
||||||
|
|
||||||
in with py.pkgs;
|
in with py.pkgs;
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "rfd";
|
pname = "rfd";
|
||||||
version = "v0.6.0";
|
version = "v0.7.1";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "davegallant";
|
owner = "davegallant";
|
||||||
repo = "rfd";
|
repo = "rfd";
|
||||||
rev = version;
|
rev = version;
|
||||||
hash = "sha256:0cllhbca4dykl6j8snmml4kk6kzamlzhcrdf49f5v0zk7zljgkl1";
|
hash = "sha256-imFSkCFeSMLW7QYYF3cXp7tKEruLt8a6W3JDPblKHHU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace requirements.txt --replace "soupsieve<=2.0" "soupsieve"
|
|
||||||
substituteInPlace requirements.txt --replace "beautifulsoup4<=4.8.2" "beautifulsoup4"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# No tests included
|
# No tests included
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
nativeBuildInputs = [ poetry ];
|
||||||
|
|
||||||
propagatedBuildInputs = with py.pkgs; [
|
propagatedBuildInputs = with py.pkgs; [
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
click
|
click
|
||||||
@@ -35,7 +33,7 @@ buildPythonApplication rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.redflagdeals.com/";
|
homepage = "https://www.redflagdeals.com/";
|
||||||
description = "View RedFlagDeals from the command line";
|
description = "View RedFlagDeals from the command line";
|
||||||
license = licenses.asl20;
|
license = licenses.gpl3;
|
||||||
maintainers = [ ];
|
maintainers = [ davegallant ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -15,7 +15,7 @@ buildGoModule rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "a simple rss viewer";
|
description = "a simple rss viewer";
|
||||||
license = licenses.unlicense;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ davegallant ];
|
maintainers = with maintainers; [ davegallant ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
|
@@ -17,7 +17,7 @@ buildGoModule rec {
|
|||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://www.vpngate.net";
|
homepage = "https://www.vpngate.net";
|
||||||
description = "a client for vpngate.net";
|
description = "a client for vpngate.net";
|
||||||
license = licenses.asl20;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ davegallant ];
|
maintainers = with maintainers; [ davegallant ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user