use callPackage

This commit is contained in:
vuko 2020-11-09 13:24:52 +01:00
parent 7d5adc400a
commit 1c289eafe0
3 changed files with 6 additions and 9 deletions

View file

@ -9,14 +9,11 @@ pkgs.python3Packages.buildPythonPackage rec {
rev = "572922bd8d916970ed66aeec32955c992828a473";
sha256 = "1bmjl1j0m0fy4zwnhpadx0mzbi893qp9x7dm4nypsvczbcaqjbm0";
};
buildInputs = [
(import ./oauthlib.nix {})
(import ./requests-oauthlib.nix {})
];
propagatedBuildInputs = [
(import ./oauthlib.nix {})
(import ./requests-oauthlib.nix {})
(pkgs.callPackage ./oauthlib.nix {} )
(pkgs.callPackage ./requests-oauthlib.nix {} )
pkgs.python3Packages.flask
pkgs.python3Packages.setuptools
];
doCheck = false;
}

View file

@ -1,4 +1,3 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.python3Packages.buildPythonPackage rec {
@ -11,8 +10,9 @@ pkgs.python3Packages.buildPythonPackage rec {
sha256 = "03jqw5a7i2k8qfb2h2aj3nwy115mk3bgm9zplh3a83x6qv8hs3c3";
};
propagatedBuildInputs = [
pkgs.python3Packages.setuptools
pkgs.python3Packages.requests
(import ./oauthlib.nix {})
(pkgs.callPackage ./oauthlib.nix { })
];
doCheck=false;
}

View file

@ -12,6 +12,6 @@ pkgs.python3Packages.buildPythonPackage rec {
pkgs.python3Packages.flask
pkgs.python3Packages.flask_login
pkgs.python3Packages.blinker
(import ./flask-oauthlib.nix {})
(pkgs.callPackage ./flask-oauthlib.nix {})
];
}