summary refs log tree commit diff
path: root/pkgs/development/libraries/libbsd
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2018-06-02 16:13:38 +0200
committerMichael Raskin <7c6f434c@mail.ru>2018-06-02 16:15:38 +0200
commit8b5ed12952300846928555b20fc10893f9df3965 (patch)
treee17071213080468ee856e8a85debe2d2c431a328 /pkgs/development/libraries/libbsd
parent35a284ad4aa18153d69ac1749d98a3e5b969ba0d (diff)
downloadnixpkgs-8b5ed12952300846928555b20fc10893f9df3965.tar
nixpkgs-8b5ed12952300846928555b20fc10893f9df3965.tar.gz
nixpkgs-8b5ed12952300846928555b20fc10893f9df3965.tar.bz2
nixpkgs-8b5ed12952300846928555b20fc10893f9df3965.tar.lz
nixpkgs-8b5ed12952300846928555b20fc10893f9df3965.tar.xz
nixpkgs-8b5ed12952300846928555b20fc10893f9df3965.tar.zst
nixpkgs-8b5ed12952300846928555b20fc10893f9df3965.zip
libbsd-freedesktop: re-init at 0.9.1, use for samba
a partial rollback of #41320

samba is already Linux-only because of acl, and it is unclear what the
problem is with upstream netbsd-compat.
Diffstat (limited to 'pkgs/development/libraries/libbsd')
-rw-r--r--pkgs/development/libraries/libbsd/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libbsd/default.nix b/pkgs/development/libraries/libbsd/default.nix
new file mode 100644
index 00000000000..114d3209b58
--- /dev/null
+++ b/pkgs/development/libraries/libbsd/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  name = "libbsd-${version}";
+  version = "0.9.1";
+
+  src = fetchurl {
+    url = "http://libbsd.freedesktop.org/releases/${name}.tar.xz";
+    sha256 = "1957w2wi7iqar978qlfsm220dwywnrh5m58nrnn9zmi74ds3bn2n";
+  };
+
+  patches = [];
+
+  meta = with stdenv.lib; {
+    description = "Common functions found on BSD systems, Freedesktop fork";
+    homepage = https://libbsd.freedesktop.org/;
+    license = licenses.bsd3;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ raskin ];
+  };
+}