diff options
Diffstat (limited to 'pkgs/applications/editors/elvis/default.nix')
-rw-r--r-- | pkgs/applications/editors/elvis/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/applications/editors/elvis/default.nix b/pkgs/applications/editors/elvis/default.nix index f63598a7c5e24..eb288ff8b2a8d 100644 --- a/pkgs/applications/editors/elvis/default.nix +++ b/pkgs/applications/editors/elvis/default.nix @@ -1,19 +1,22 @@ { fetchurl, fetchpatch, lib, stdenv, ncurses }: -stdenv.mkDerivation { - name = "elvis-2.2_0"; +stdenv.mkDerivation rec { + pname = "elvis"; + version = "2.2_0"; src = fetchurl { - url = "http://www.the-little-red-haired-girl.org/pub/elvis/elvis-2.2_0.tar.gz"; + url = "http://www.the-little-red-haired-girl.org/pub/elvis/elvis-${version}.tar.gz"; sha256 = "182fj9qzyq6cjq1r849gpam6nq9smwv9f9xwaq84961p56r6d14s"; }; buildInputs = [ ncurses ]; - patches = [ (fetchpatch { - url = "https://github.com/mbert/elvis/commit/076cf4ad5cc993be0c6195ec0d5d57e5ad8ac1eb.patch"; - sha256 = "0yzkc1mxjwg09mfmrk20ksa0vfnb2x83ndybwvawq4xjm1qkcahc"; - }) ]; + patches = [ + (fetchpatch { + url = "https://github.com/mbert/elvis/commit/076cf4ad5cc993be0c6195ec0d5d57e5ad8ac1eb.patch"; + sha256 = "0yzkc1mxjwg09mfmrk20ksa0vfnb2x83ndybwvawq4xjm1qkcahc"; + }) + ]; postPatch = '' substituteInPlace configure \ |