1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

dmrconfig: 1.0 -> 1.1 (#52961)

Changes: https://github.com/sergev/dmrconfig/releases/tag/1.1
This commit is contained in:
Elis Hirwing 2018-12-27 15:11:28 +01:00 committed by Timo Kaufmann
parent 3edd5cb227
commit 544e7157b3

View file

@ -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