about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-11 11:13:50 -0500
committerGitHub <noreply@github.com>2018-04-11 11:13:50 -0500
commit19a6f0e02bfc2f5c605d57e7487fa84dc74981bf (patch)
tree149acbd5175a6e44edba07dc8ec1ac01cb41398d /pkgs/development/libraries
parenta378389ac2fddee772f695d1f5ce04ed3a935bfb (diff)
parentdd4fd74f91b7fd273b0925feb4c4e192244a2017 (diff)
downloadnixlib-19a6f0e02bfc2f5c605d57e7487fa84dc74981bf.tar
nixlib-19a6f0e02bfc2f5c605d57e7487fa84dc74981bf.tar.gz
nixlib-19a6f0e02bfc2f5c605d57e7487fa84dc74981bf.tar.bz2
nixlib-19a6f0e02bfc2f5c605d57e7487fa84dc74981bf.tar.lz
nixlib-19a6f0e02bfc2f5c605d57e7487fa84dc74981bf.tar.xz
nixlib-19a6f0e02bfc2f5c605d57e7487fa84dc74981bf.tar.zst
nixlib-19a6f0e02bfc2f5c605d57e7487fa84dc74981bf.zip
Merge pull request #38715 from matthewbauer/shell_cmds-full
Build more commands from Apple's system_cmds
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/openbsm/default.nix20
-rw-r--r--pkgs/development/libraries/openpam/default.nix18
2 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openbsm/default.nix b/pkgs/development/libraries/openbsm/default.nix
new file mode 100644
index 000000000000..a6e62cea9d7e
--- /dev/null
+++ b/pkgs/development/libraries/openbsm/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, fetchFromGitHub, lib }:
+
+stdenv.mkDerivation rec {
+  pname = "openbsm";
+  name = "${pname}-${version}";
+  version = "1.1";
+
+  src = fetchFromGitHub {
+    owner = pname;
+    repo = pname;
+    rev = "${lib.toUpper (builtins.replaceStrings ["." "-"] ["_" "_"] name)}";
+    sha256 = "0b98359hd8mm585sh145ss828pg2y8vgz38lqrb7nypapiyqdnd1";
+  };
+
+  meta = {
+    homepage = http://www.openbsm.org/;
+    platforms = lib.platforms.unix;
+    maintainers = with lib.maintainers; [ matthewbauer ];
+  };
+}
diff --git a/pkgs/development/libraries/openpam/default.nix b/pkgs/development/libraries/openpam/default.nix
new file mode 100644
index 000000000000..187f86133756
--- /dev/null
+++ b/pkgs/development/libraries/openpam/default.nix
@@ -0,0 +1,18 @@
+{ stdenv, buildPackages, hostPlatform, fetchurl, lib }:
+
+stdenv.mkDerivation rec {
+  name = "openpam-${version}";
+  version = "20170430";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/openpam/openpam/Resedacea/${name}.tar.gz";
+    sha256 = "0pz8kf9mxj0k8yp8jgmhahddz58zv2b7gnyjwng75xgsx4i55xi2";
+  };
+
+  meta = {
+    homepage = https://www.openpam.org;
+    description = "An open source PAM library that focuses on simplicity, correctness, and cleanliness";
+    platforms = lib.platforms.unix;
+    maintainers = with lib.maintainers; [ matthewbauer ];
+  };
+}