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