From 544e7157b30e587ea4994fb78652c6fa12fa4101 Mon Sep 17 00:00:00 2001 From: Elis Hirwing Date: Thu, 27 Dec 2018 15:11:28 +0100 Subject: [PATCH] dmrconfig: 1.0 -> 1.1 (#52961) Changes: https://github.com/sergev/dmrconfig/releases/tag/1.1 --- pkgs/applications/misc/dmrconfig/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/misc/dmrconfig/default.nix b/pkgs/applications/misc/dmrconfig/default.nix index 7e20b87eb983..7125e37f7f95 100644 --- a/pkgs/applications/misc/dmrconfig/default.nix +++ b/pkgs/applications/misc/dmrconfig/default.nix @@ -3,13 +3,13 @@ stdenv.mkDerivation rec { name = "dmrconfig-${version}"; - version = "1.0"; + version = "1.1"; src = fetchFromGitHub { owner = "sergev"; repo = "dmrconfig"; rev = version; - sha256 = "1bb3hahfdb5phxyzp1m5ibqwz3mcqplzaibb1aq7w273xcfrd9l9"; + sha256 = "1qwix75z749628w583fwp7m7kxbj0k3g159sxb7vgqxbadqqz1ab"; }; buildInputs = [ @@ -18,11 +18,11 @@ stdenv.mkDerivation rec { preConfigure = '' substituteInPlace Makefile \ - --replace /usr/local/bin/dmrconfig $out/bin/dmrconfig \ - --replace "\$(shell git describe --tags --abbrev=0)" ${version} \ - --replace "\$(shell git rev-list HEAD --count)" 0 + --replace /usr/local/bin/dmrconfig $out/bin/dmrconfig ''; + makeFlags = "VERSION=${version} GITCOUNT=0"; + installPhase = '' mkdir -p $out/bin $out/lib/udev/rules.d make install