python-template: backport some changes from clan-cli

This commit is contained in:
DavHau
2023-08-01 15:30:14 +02:00
parent cc3ddfb99e
commit 1165fee6f3
3 changed files with 15 additions and 14 deletions

View File

@@ -1,11 +1,6 @@
{ pkgs ? import <nixpkgs> { } }:
{ package, pkgs, ... }:
let
lib = pkgs.lib;
python3 = pkgs.python3;
package = import ./default.nix {
inherit lib python3;
};
pythonWithDeps = python3.withPackages (
pythonWithDeps = pkgs.python3.withPackages (
ps:
package.propagatedBuildInputs
++ package.devDependencies