nixpkgs/pkgs/tools/admin/cli53/default.nix
Frederik Rietdijk d5e6a4494a Python: use PyPI mirror (#15001)
* mirrors: add pypi

* Python: Use pypi mirror for all PyPI packages
2016-04-26 13:38:03 +01:00

26 lines
642 B
Nix

{ lib, buildPythonApplication, pythonPackages, fetchurl }:
buildPythonApplication rec {
name = "cli53-${version}";
namePrefix = ""; # Suppress "python27-" name prefix
version = "0.4.4";
src = fetchurl {
url = "mirror://pypi/c/cli53/${name}.tar.gz";
sha256 = "0s9jzigq6a16m2c3qklssx2lz16cf13g5zh80vh24kxazaxqzbig";
};
propagatedBuildInputs = with pythonPackages; [
argparse
boto
dns
];
meta = {
description = "CLI tool for the Amazon Route 53 DNS service";
homepage = https://github.com/barnybug/cli53;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ benley ];
};
}