Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created August 5, 2017 15:31
Show Gist options
  • Save infinisil/5da77fbe6cf710e06ae73b02f1f4e667 to your computer and use it in GitHub Desktop.
Save infinisil/5da77fbe6cf710e06ae73b02f1f4e667 to your computer and use it in GitHub Desktop.
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