nixpkgs/pkgs/tools/text/grin/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

22 lines
605 B
Nix

{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
name = "grin-1.2.1";
namePrefix = "";
src = fetchurl {
url = "mirror://pypi/g/grin/${name}.tar.gz";
sha256 = "1swzwb17wibam8jszdv98h557hlx44pg6psv6rjz7i33qlxk0fdz";
};
buildInputs = with pythonPackages; [ nose ];
propagatedBuildInputs = with pythonPackages; [ argparse ];
meta = {
homepage = https://pypi.python.org/pypi/grin;
description = "A grep program configured the way I like it";
platform = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.sjagoe ];
};
}