Skip to content

Instantly share code, notes, and snippets.

@madhukar93
Created August 1, 2019 03:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madhukar93/c70a8baae2b82f561454772d69a9e730 to your computer and use it in GitHub Desktop.
Save madhukar93/c70a8baae2b82f561454772d69a9e730 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
(let
yoyo-migrations = with python27.pkgs; buildPythonPackage rec {
pname = "yoyo-migrations";
version = "5.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "d458f78443b1db57eda423e86fe8b245561340a394da5dc83f40d6d1ae4237a4";
};
doCheck = false;
checkInputs = [ iniherit ];
};
iniherit = with python27.pkgs; buildPythonPackage rec {
pname = "iniherit";
version = "0.3.5";
src = fetchPypi {
inherit pname version;
sha256 = "4fcf873ab7f575a0adef358277bad6fef7a5c562f03775be6d384a2110eb0912";
};
checkInputs = [ six ];
doCheck = false;
};
in python27.withPackages (ps: with ps; [ psycopg2 yoyo-migrations iniherit ])
).env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment