mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #260066 from doronbehar/pkg/mov-cli
mov-cli: unstable-2022-06-30 -> 1.5.4
This commit is contained in:
commit
bb6342ae33
@ -1,24 +1,34 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, mpv
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "mov-cli";
|
||||
version = "unstable-2022-06-30";
|
||||
version = "1.5.4";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mov-cli";
|
||||
repo = "mov-cli";
|
||||
rev = "b89e807e8ffc830b0b18c8e98712441c03774b8e";
|
||||
sha256 = "sha256-D+OeXcLdkbG4ASbPQYIWf7J1CRZ9jH3UXxfTL4WleY0=";
|
||||
rev = version;
|
||||
sha256 = "sha256-WhoP4FcoO9+O9rfpC3oDQkVIpVOqxfdLRygHgf1O01g=";
|
||||
};
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" "${lib.getBin mpv}/bin"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ setuptools httpx click beautifulsoup4 colorama ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "bs4" "beautifulsoup4"
|
||||
'';
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
krfzf-py
|
||||
pycrypto
|
||||
setuptools
|
||||
httpx
|
||||
click
|
||||
beautifulsoup4
|
||||
colorama
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mov-cli/mov-cli";
|
||||
|
31
pkgs/development/python-modules/krfzf-py/default.nix
Normal file
31
pkgs/development/python-modules/krfzf-py/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, poetry-core
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "krfzf-py";
|
||||
version = "0.0.6";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "krfzf_py";
|
||||
inherit version;
|
||||
hash = "sha256-/M9Atu9MLAGmnEdx6tknMJAit2o4Xt971uQ7pb0CBCk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "fzf" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Pythonic Fzf Wrapper";
|
||||
downloadPage = "https://github.com/justfoolingaround/fzf.py";
|
||||
homepage = "https://pypi.org/project/krfzf-py/";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
@ -5980,6 +5980,8 @@ self: super: with self; {
|
||||
|
||||
krakenex = callPackage ../development/python-modules/krakenex { };
|
||||
|
||||
krfzf-py = callPackage ../development/python-modules/krfzf-py { };
|
||||
|
||||
kubernetes = callPackage ../development/python-modules/kubernetes { };
|
||||
|
||||
l18n = callPackage ../development/python-modules/l18n { };
|
||||
|
Loading…
Reference in New Issue
Block a user