Compare commits

...

No commits in common. "1843e746bd2efbe7fe643309250bb416f4929ea1" and "a5b2e66fa1c69c281faf4946b92a91b4ff8219d1" have entirely different histories.

3 changed files with 10 additions and 6 deletions

View file

@ -1,5 +1,4 @@
{ pkgs, lib ? pkgs.lib }: with lib; {
mapAttrs' (name: _: { pkgs ? (import <nixpkgs> { }),
value = pkgs.python3.pkgs.callPackage (./python-pkgs/${name}) { }; }:
name = removeSuffix ".nix" name; import pkgs.path { overlays = pkgs.overlays ++ [ (import ./overlay.nix) ]; }
}) (builtins.readDir ./python-pkgs)

5
overlay.nix Normal file
View file

@ -0,0 +1,5 @@
self: super: with super.lib;
mapAttrs' (name: _: {
value = self.python3.pkgs.callPackage (./python-pkgs/${name}) { };
name = removeSuffix ".nix" name;
}) (builtins.readDir ./python-pkgs)

View file

@ -23,7 +23,7 @@ buildPythonPackage rec {
wheel wheel
]; ];
# pythonImportsCheck = [ "django_impersonate" ]; pythonImportsCheck = [ "impersonate" ];
meta = { meta = {
description = "Fork of https://bitbucket.org/petersanchez/django-impersonate"; description = "Fork of https://bitbucket.org/petersanchez/django-impersonate";