mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
cd3c25616d
All packages that were failing on x86_64-darwin are marked broken. I'm assuming here that these are also broken on aarch64-darwin.
32 lines
812 B
Nix
32 lines
812 B
Nix
{ lib, stdenv, fetchurl, liblockfile }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "lockfile-progs";
|
|
version = "0.1.19";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://debian/pool/main/l/${pname}/${pname}_${version}.tar.gz";
|
|
sha256 = "sha256-LFcEsByPR0+CkheA5Fkqknsr9qbXYWNUpsXXzVZkhX4=";
|
|
};
|
|
|
|
buildInputs = [ liblockfile ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/bin $out/man/man1
|
|
install -s bin/* $out/bin
|
|
install man/*.1 $out/man/man1
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = {
|
|
broken = stdenv.isDarwin;
|
|
description = "Programs for locking and unlocking files and mailboxes";
|
|
homepage = "http://packages.debian.org/sid/lockfile-progs";
|
|
license = lib.licenses.gpl2Only;
|
|
|
|
maintainers = [ lib.maintainers.bluescreen303 ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|