Merge pull request #26423 from sjagoe/fix-grin-dependencies
grin: Fix build dependencies
This commit is contained in:
commit
f723f7ceb4
@ -1,19 +1,22 @@
|
|||||||
{ stdenv, fetchurl, python2Packages }:
|
{ stdenv, fetchFromGitHub, python2Packages }:
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
python2Packages.buildPythonApplication rec {
|
||||||
name = "grin-1.2.1";
|
program = "grin";
|
||||||
|
version = "1.2.1";
|
||||||
|
name = "${program}-${version}";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://pypi/g/grin/${name}.tar.gz";
|
owner = "rkern";
|
||||||
sha256 = "1swzwb17wibam8jszdv98h557hlx44pg6psv6rjz7i33qlxk0fdz";
|
repo = program;
|
||||||
|
rev = "8dd4b5309b3bc04fe9d3e71836420f7d8d4a293f";
|
||||||
|
sha256 = "0vz2aahwdcy1296g4w3i79dkvmzk9jc2n2zmlcvlg5m3s6h7b6jd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with python2Packages; [ nose ];
|
buildInputs = with python2Packages; [ nose ];
|
||||||
propagatedBuildInputs = with python2Packages; [ argparse ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://pypi.python.org/pypi/grin;
|
homepage = https://github.com/rkern/grin;
|
||||||
description = "A grep program configured the way I like it";
|
description = "A grep program configured the way I like it";
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
maintainers = [ stdenv.lib.maintainers.sjagoe ];
|
maintainers = [ stdenv.lib.maintainers.sjagoe ];
|
||||||
|
Loading…
Reference in New Issue
Block a user