Created
March 12, 2017 21:36
-
-
Save vovapi/f5b694d89e8f8598827ce460ba1325d5 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 | |
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