1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/development/libraries/libbsd/default.nix

24 lines
551 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2014-10-08 19:00:11 +01:00
let name = "libbsd-0.7.0";
in stdenv.mkDerivation {
inherit name;
src = fetchurl {
2014-10-08 19:00:11 +01:00
url = "http://libbsd.freedesktop.org/releases/${name}.tar.xz";
sha256 = "1fqhbi0vd6xjxazf633x388cc8qyn58l78704s0h6k63wlbhwfqg";
};
patchPhase = ''
substituteInPlace Makefile \
--replace "/usr" "$out" \
--replace "{exec_prefix}" "{prefix}"
'';
meta = {
description = "Common functions found on BSD systems";
homepage = http://libbsd.freedesktop.org/;
license = stdenv.lib.licenses.bsd3;
};
}