Add xontrib-vox for now

This commit is contained in:
Greg Hellings
2023-07-27 12:30:27 -05:00
parent a95a62376f
commit 29a0dce77b
2 changed files with 32 additions and 1 deletions
+2 -1
View File
@@ -17,7 +17,6 @@ let
tox
typing-extensions
virtualenv
xonsh-direnv
];
myPython = prev.python3.withPackages myPackages;
@@ -42,6 +41,7 @@ in rec {
django-rapyd-modernauth = cp ./django-rapyd-modernauth.nix {};
xonsh-apipenv = cp ./xonsh-apipenv.nix {};
xonsh-direnv = cp ./xonsh-direnv.nix {};
xontrib-vox = cp ./xonsh-vox.nix {};
copier = cp ./copier.nix {
inherit (python-final)
iteration-utilities
@@ -70,6 +70,7 @@ in rec {
propagatedBuildInputs = with final.gregpy.pkgs; old.propagatedBuildInputs ++ [
xonsh-apipenv
xonsh-direnv
xontrib-vox
];
});
+30
View File
@@ -0,0 +1,30 @@
{ lib, buildPythonPackage, fetchFromGitHub, pkgs}:
buildPythonPackage rec {
pname = "xontrib-vox";
version = "0.0.1";
src = fetchFromGitHub {
owner = "xonsh";
repo = "xontrib-vox";
rev = "0.0.1";
hash = "sha256-OB1O5GZYkg7Ucaqak3MncnQWXhMD4BM4wXsYCDD0mhk=";
};
prePatch = ''
substituteInPlace pyproject.toml --replace '"xonsh>=0.12.5"' ""
'';
meta = with lib; {
description = "Direnv support for Xonsh";
homepage = "https://github.com/74th/xonsh-direnv/";
license = licenses.mit;
maintainers = [];
};
doCheck = false;
nativeBuildInputs = [
pkgs.git
];
}