From c5dce2def01964636c50d0d2f2e9b68b759553b5 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 4 Mar 2015 14:47:37 -0800 Subject: [PATCH] uid_wrapper: Add derivation --- .../libraries/uid_wrapper/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/libraries/uid_wrapper/default.nix diff --git a/pkgs/development/libraries/uid_wrapper/default.nix b/pkgs/development/libraries/uid_wrapper/default.nix new file mode 100644 index 000000000000..fa8e29e40981 --- /dev/null +++ b/pkgs/development/libraries/uid_wrapper/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchgit, cmake, pkgconfig }: + +stdenv.mkDerivation rec { + name = "uid_wrapper-1.1.0"; + + src = fetchgit { + url = "git://git.samba.org/uid_wrapper.git"; + rev = "refs/tags/${name}"; + sha256 = "1wb71lliw56pmks3vm9m3ndf8hqnyw9iyppy1nyl80msi4ssq5jj"; + }; + + buildInputs = [ cmake pkgconfig ]; + + meta = with stdenv.lib; { + description = "a wrapper for the user, group and hosts NSS API"; + homepage = https://git.samba.org/?p=uid_wrapper.git;a=summary; + license = licenses.bsd3; + maintainers = with maintainers; [ wkennington ]; + platforms = platforms.all; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0850667734ae..91e8b54238bd 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7443,6 +7443,8 @@ let tremor = callPackage ../development/libraries/tremor { }; + uid_wrapper = callPackage ../development/libraries/uid_wrapper { }; + unicap = callPackage ../development/libraries/unicap {}; tsocks = callPackage ../development/libraries/tsocks { };