diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-06 01:38:07 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-06 01:38:53 +0200 |
commit | 521a721dbf22bc65dfb61d899354c32ebb1fd8ae (patch) | |
tree | 7d3f92da710be136cf30551645fce0276bf1f6f5 /pkgs/bitlbee-mastodon | |
parent | f5efae0f8c4c53798f8f9fc88c5f92f38a223320 (diff) | |
download | Nix-521a721dbf22bc65dfb61d899354c32ebb1fd8ae.tar.gz Nix-521a721dbf22bc65dfb61d899354c32ebb1fd8ae.tar.zst Nix-521a721dbf22bc65dfb61d899354c32ebb1fd8ae.zip |
Use standard packages and move bitlbee-mastodon to pkgs for bitlbee
Diffstat (limited to 'pkgs/bitlbee-mastodon')
-rw-r--r-- | pkgs/bitlbee-mastodon/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/bitlbee-mastodon/default.nix b/pkgs/bitlbee-mastodon/default.nix new file mode 100644 index 0000000..0451068 --- /dev/null +++ b/pkgs/bitlbee-mastodon/default.nix | |||
@@ -0,0 +1,28 @@ | |||
1 | { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, bitlbee, glib, lib }: | ||
2 | stdenv.mkDerivation rec { | ||
3 | name = "bitlbee-mastodon-${version}"; | ||
4 | version = "v1.4.2"; | ||
5 | |||
6 | src = fetchFromGitHub { | ||
7 | rev = version; | ||
8 | owner = "kensanata"; | ||
9 | repo = "bitlbee-mastodon"; | ||
10 | sha256 = "04rakgr1pfsg1vhfwlfbggbzw249j7dmk88xrsnf3n84c5ccdyas"; | ||
11 | }; | ||
12 | |||
13 | nativeBuildInputs = [ autoreconfHook pkgconfig ]; | ||
14 | buildInputs = [ bitlbee glib ]; | ||
15 | |||
16 | preConfigure = '' | ||
17 | export BITLBEE_PLUGINDIR=$out/lib/bitlbee | ||
18 | ./autogen.sh | ||
19 | ''; | ||
20 | |||
21 | meta = { | ||
22 | description = "Bitlbee plugin for Mastodon"; | ||
23 | |||
24 | homepage = https://github.com/kensanata/bitlbee-mastodon; | ||
25 | license = lib.licenses.gpl2Plus; | ||
26 | platforms = lib.platforms.linux; | ||
27 | }; | ||
28 | } | ||