Removed python building

This commit is contained in:
Kevin Veen-Birkenbach
2025-12-05 22:40:29 +01:00
parent 218c6a4a82
commit 46efb7d187
2 changed files with 9 additions and 19 deletions

View File

@@ -59,19 +59,18 @@
else pkgs.ansible;
in
rec {
pkgmgr = pypkgs.buildPythonApplication {
pname = "package-manager";
pkgmgr = pkgs.stdenv.mkDerivation {
pname = "package-manager";
version = "0.1.0";
src = ./.;
pyproject = true;
build-system = [ pypkgs.setuptools ];
src = ./.;
propagatedBuildInputs = [
pypkgs.pyyaml
ansiblePkg
];
};
installPhase = ''
mkdir -p $out/bin
cp main.py $out/bin/pkgmgr
chmod +x $out/bin/pkgmgr
'';
};
# default package just points to pkgmgr
default = pkgmgr;

View File

@@ -1,9 +0,0 @@
# This file defines Ansible Galaxy dependencies for this repository.
# It is used by `ansible-galaxy install -r requirements.yml`
# to download required collections and roles.
#
# Since the package-manager project does not rely on Ansible,
# both sections are intentionally left empty.
collections: []
roles: []