Merge pull request #227221 from msfjarvis/hs/flock-0.4.0

authored by

Sandro and committed by
GitHub
9470be2f 58a08f99

+12 -4
+12 -4
pkgs/development/tools/flock/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, autoreconfHook, ronn }: 2 3 stdenv.mkDerivation rec { 4 pname = "flock"; 5 - version = "0.2.3"; 6 7 src = fetchFromGitHub { 8 owner = "discoteq"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "1vdq22zhdfi7wwndsd6s7fwmz02fsn0x04d7asq4hslk7bjxjjzn"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 buildInputs = [ ronn ]; 16 17 meta = with lib; { 18 description = "Cross-platform version of flock(1)"; 19 - maintainers = [ maintainers.matthewbauer ]; 20 platforms = platforms.all; 21 license = licenses.isc; 22 };
··· 1 + { stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook, ronn }: 2 3 stdenv.mkDerivation rec { 4 pname = "flock"; 5 + version = "0.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "discoteq"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-cCpckORtogs6Nt7c5q2+z0acXAnALdLV6uzxa5ng3s4="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 buildInputs = [ ronn ]; 16 17 + patches = [ 18 + (fetchpatch { 19 + name = "fix-format-specifier.patch"; 20 + url = "https://github.com/discoteq/flock/commit/408bad42eb8d76cdd0c504c2f97f21c0b424c3b1.patch"; 21 + sha256 = "sha256-YuFKXWTBu9A2kBNqkg1Oek6vDbVo/y8dB1k9Fuh3QmA"; 22 + }) 23 + ]; 24 + 25 meta = with lib; { 26 description = "Cross-platform version of flock(1)"; 27 + maintainers = with maintainers; [ matthewbauer msfjarvis ]; 28 platforms = platforms.all; 29 license = licenses.isc; 30 };