summary refs log tree commit diff
path: root/pkgs/development/libraries/libbsd/default.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-05-31 12:14:21 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2018-05-31 12:36:45 -0400
commit480434f7eeefed7026dbbd11a4a0b1e4bfc1f137 (patch)
tree8df9d0cad0457bb2abfeb80486185a9576ac6c4c /pkgs/development/libraries/libbsd/default.nix
parentfd874b74560d5811660b492c38f0a690468d6bef (diff)
downloadnixpkgs-480434f7eeefed7026dbbd11a4a0b1e4bfc1f137.tar
nixpkgs-480434f7eeefed7026dbbd11a4a0b1e4bfc1f137.tar.gz
nixpkgs-480434f7eeefed7026dbbd11a4a0b1e4bfc1f137.tar.bz2
nixpkgs-480434f7eeefed7026dbbd11a4a0b1e4bfc1f137.tar.lz
nixpkgs-480434f7eeefed7026dbbd11a4a0b1e4bfc1f137.tar.xz
nixpkgs-480434f7eeefed7026dbbd11a4a0b1e4bfc1f137.tar.zst
nixpkgs-480434f7eeefed7026dbbd11a4a0b1e4bfc1f137.zip
libbsd: replace with nbcompat
Diffstat (limited to 'pkgs/development/libraries/libbsd/default.nix')
-rw-r--r--pkgs/development/libraries/libbsd/default.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/pkgs/development/libraries/libbsd/default.nix b/pkgs/development/libraries/libbsd/default.nix
deleted file mode 100644
index ff9412ceb58..00000000000
--- a/pkgs/development/libraries/libbsd/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ stdenv, fetchurl, autoreconfHook }:
-
-stdenv.mkDerivation rec {
-  name = "libbsd-${version}";
-  version = "0.8.7";
-
-  src = fetchurl {
-    url = "http://libbsd.freedesktop.org/releases/${name}.tar.xz";
-    sha256 = "0c9bl49zs0xdddcwj5dh0lay9sxi2m1yi74848g8p87mb87g2j7m";
-  };
-
-  # darwin changes configure.ac which means we need to regenerate
-  # the configure scripts
-  nativeBuildInputs = [ autoreconfHook ];
-
-  patches = stdenv.lib.optional stdenv.isDarwin ./darwin.patch
-    # Suitable for all, but limited to musl to avoid rebuilds
-    ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
-      # https://cgit.freedesktop.org/libbsd/commit/?id=1f8a3f7bccfc84b195218ad0086ebd57049c3490
-      ./non-glibc.patch
-      # https://cgit.freedesktop.org/libbsd/commit/?id=11ec8f1e5dfa1c10e0c9fb94879b6f5b96ba52dd
-      ./cdefs.patch
-      # https://cgit.freedesktop.org/libbsd/commit/?id=b20272f5a966333b49fdf2bda797e2a9f0227404
-      ./features.patch
-  ];
-
-  meta = with stdenv.lib; {
-    description = "Common functions found on BSD systems";
-    homepage = https://libbsd.freedesktop.org/;
-    license = licenses.bsd3;
-    platforms = platforms.linux ++ platforms.darwin;
-    maintainers = with maintainers; [ matthewbauer ];
-  };
-}