nixpkgs/pkgs/tools/text/grin/default.nix

25 lines
656 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, python2Packages }:
2015-03-08 17:29:41 +01:00
2016-10-17 13:41:18 +02:00
python2Packages.buildPythonApplication rec {
program = "grin";
version = "1.2.1";
name = "${program}-${version}";
2015-03-08 17:29:41 +01:00
namePrefix = "";
src = fetchFromGitHub {
owner = "rkern";
repo = program;
rev = "8dd4b5309b3bc04fe9d3e71836420f7d8d4a293f";
sha256 = "0vz2aahwdcy1296g4w3i79dkvmzk9jc2n2zmlcvlg5m3s6h7b6jd";
2015-03-08 17:29:41 +01:00
};
2016-10-17 13:41:18 +02:00
buildInputs = with python2Packages; [ nose ];
2015-03-08 17:29:41 +01:00
meta = {
homepage = https://github.com/rkern/grin;
2015-04-28 10:54:58 +02:00
description = "A grep program configured the way I like it";
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.sjagoe ];
2015-03-08 17:29:41 +01:00
};
}