1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/flock/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
552 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook, ronn }:
stdenv.mkDerivation rec {
pname = "flock";
version = "0.2.3";
src = fetchFromGitHub {
owner = "discoteq";
repo = pname;
rev = "v${version}";
sha256 = "1vdq22zhdfi7wwndsd6s7fwmz02fsn0x04d7asq4hslk7bjxjjzn";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ronn ];
meta = with lib; {
description = "Cross-platform version of flock(1)";
maintainers = [ maintainers.matthewbauer ];
platforms = platforms.all;
license = licenses.isc;
};
}