From f08616b0626d6ca4c503494a5ada3316dda64c6a Mon Sep 17 00:00:00 2001 From: Minijackson Date: Tue, 4 Sep 2018 14:49:57 +0200 Subject: Add Nix files --- derivation.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 derivation.nix (limited to 'derivation.nix') diff --git a/derivation.nix b/derivation.nix new file mode 100644 index 0000000..329ef3b --- /dev/null +++ b/derivation.nix @@ -0,0 +1,17 @@ +{ stdenv, rustPlatform, dbus, pkgconfig, ... }: + +rustPlatform.buildRustPackage rec { + name = "set_eq-${version}"; + version = "0.1.0"; + + buildInputs = [ dbus pkgconfig ]; + + src = ./.; + cargoSha256 = "0lknxqr1pfbj6z981rw5ppkklknryyafl5f552aaw4iqhq94slq4"; + + meta = with stdenv.lib; { + description = "A command-line tool to manipulate PulseAudio's equalizer"; + homepage = https://github.com/minijackson/set_eq; + platforms = platforms.all; + }; +} -- cgit v1.2.3