Skip to content

Instantly share code, notes, and snippets.

@asymmetric
Created July 18, 2018 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asymmetric/cf60df41fcfd63bd6050f216ff209de7 to your computer and use it in GitHub Desktop.
Save asymmetric/cf60df41fcfd63bd6050f216ff209de7 to your computer and use it in GitHub Desktop.
{ stdenv, fetchFromGitHub, rofi, pkgconfig, cairo, glib, libqalculate, autoreconfHook }:
stdenv.mkDerivation rec {
name = "rofi-calc-${version}";
version = "v0.1";
src = fetchFromGitHub {
owner = "svenstaro";
repo = "rofi-calc";
rev = version;
sha256 = "0xzwmdsim8p9kq9y41irvqhh92bk9nw5k2yy2fkf5ja5mmlbw5ri";
};
buildInputs = [ cairo rofi glib ];
nativeBuildInputs = [ pkgconfig autoreconfHook ];
meta = with stdenv.lib; {
description = "A rofi extension to perform calculations";
homepage = https://github.com/svenstaro/rofi-calc;
maintainers = with maintainers; [ asymmetric ];
license = licenses.mit;
platforms = platforms.linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment