Skip to content

Instantly share code, notes, and snippets.

@vovapi
Created March 12, 2017 21:36
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 vovapi/f5b694d89e8f8598827ce460ba1325d5 to your computer and use it in GitHub Desktop.
Save vovapi/f5b694d89e8f8598827ce460ba1325d5 to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
( let
onetimepass = pkgs.python27Packages.buildPythonPackage rec {
name = "onetimepass-${version}";
version = "0.2.2";
src = pkgs.fetchurl {
url = "mirror://pypi/o/onetimepass/${name}";
sha256 = "a5dcf64f397d6e38a79877ca98f573abac3fc58c725f62472118d62d0d15b68b";
};
propagatedBuildInputs = with self; [ six ];
};
in pkgs.python27.withPackages (ps: [
ps.pysqlite
ps.requests
ps.pyyaml
onetimepass
])
).env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment