Created
August 5, 2017 15:31
-
-
Save infinisil/5da77fbe6cf710e06ae73b02f1f4e667 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
with import <nixpkgs> {}; | |
let | |
ebaysdk = pythonPackages.buildPythonPackage rec { | |
name = "ebaysdk-${version}"; | |
version = "2.1.4"; | |
src = fetchFromGitHub { | |
owner = "timotheus"; | |
repo = "ebaysdk-python"; | |
rev = "v${version}"; | |
sha256 = "03yh601wi05b4cw89rk16l8xmbj2dm58rsrvmsp53k59r08lgdqn"; | |
}; | |
propagatedBuildInputs = with pythonPackages; [ | |
requests | |
lxml | |
]; | |
doCheck = false; | |
}; | |
in | |
pythonPackages.buildPythonApplication rec { | |
name = "your-app-name"; | |
src = ./.; | |
propagatedBuildInputs = with pythonPackages; [ | |
# list packages here | |
ebaysdk | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment