nixpkgs/pkgs/development/python-modules/pycrypto/default.nix

13 lines
330 B
Nix
Raw Normal View History

{stdenv, fetchurl, python}:
stdenv.mkDerivation {
name = "pycrypto-2.0.1";
src = fetchurl {
url = http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz;
md5 = "4d5674f3898a573691ffb335e8d749cd";
};
buildInputs = [python];
buildPhase = "true";
installPhase = "python ./setup.py install --prefix=$out";
}