flock: 0.2.3 -> 0.4.0
Diff: https://github.com/discoteq/flock/compare/v0.2.3...v0.4.0
This commit is contained in:
parent
5167d6f405
commit
383cdf7279
|
@ -1,19 +1,27 @@
|
|||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, ronn }:
|
||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook, ronn }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flock";
|
||||
version = "0.2.3";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "discoteq";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1vdq22zhdfi7wwndsd6s7fwmz02fsn0x04d7asq4hslk7bjxjjzn";
|
||||
sha256 = "sha256-cCpckORtogs6Nt7c5q2+z0acXAnALdLV6uzxa5ng3s4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ ronn ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-format-specifier.patch";
|
||||
url = "https://github.com/discoteq/flock/commit/408bad42eb8d76cdd0c504c2f97f21c0b424c3b1.patch";
|
||||
sha256 = "sha256-YuFKXWTBu9A2kBNqkg1Oek6vDbVo/y8dB1k9Fuh3QmA";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cross-platform version of flock(1)";
|
||||
maintainers = [ maintainers.matthewbauer ];
|
||||
|
|
Loading…
Reference in a new issue