diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-11 07:26:11 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-09-11 07:26:11 +0200 |
commit | 94b64d36acde68aa10e753c25e4d21de47aeecf0 (patch) | |
tree | eae7663b8371c961a27c03f142a1f576aa9d409a /pkgs/libthinkpad/default.nix | |
parent | e8333cd06e5007509601e804a052a85ebb8a2f04 (diff) | |
download | pnpkgs-94b64d36acde68aa10e753c25e4d21de47aeecf0.tar.gz pnpkgs-94b64d36acde68aa10e753c25e4d21de47aeecf0.zip |
Add libthinkpad
Diffstat (limited to 'pkgs/libthinkpad/default.nix')
-rw-r--r-- | pkgs/libthinkpad/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/libthinkpad/default.nix b/pkgs/libthinkpad/default.nix new file mode 100644 index 0000000..e4d02bb --- /dev/null +++ b/pkgs/libthinkpad/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchgit, systemd, acpid }: + +stdenv.mkDerivation rec { + pname = "libthinkpad"; + version = "2.6"; + + src = fetchgit { + url = "https://github.com/libthinkpad/libthinkpad"; + rev = version; + sha256 = "0jjnv6ipnndl5p5fni4v9dkh0m22xrrr04b16ywqdsv7c4sb771w"; + }; + + buildInputs = [ systemd acpid ]; + + meta = { + homepage = "https://github.com/libthinkpad/libthinkpad"; + description = "A general purpose userspace ThinkPad library"; + }; +} |