2018-10-08 04:28:03 -07:00
|
|
|
{ stdenv, fetchFromGitHub, alsaLib }:
|
2014-08-09 14:31:05 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-10-08 04:28:03 -07:00
|
|
|
version = "0.2";
|
2018-10-08 04:24:25 -07:00
|
|
|
name = "sutils-${version}";
|
2014-08-09 14:31:05 -07:00
|
|
|
|
2018-10-08 04:24:25 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "baskerville";
|
|
|
|
repo = "sutils";
|
|
|
|
rev = version;
|
2018-10-08 04:28:03 -07:00
|
|
|
sha256 = "0i2g6a6xdaq3w613dhq7mnsz4ymwqn6kvkyan5kgy49mzq97va6j";
|
2014-08-09 14:31:05 -07:00
|
|
|
};
|
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 14:26:07 -08:00
|
|
|
|
2018-10-08 04:28:03 -07:00
|
|
|
buildInputs = [ alsaLib ];
|
|
|
|
|
2014-08-09 14:31:05 -07:00
|
|
|
prePatch = ''sed -i "s@/usr/local@$out@" Makefile'';
|
|
|
|
|
|
|
|
meta = {
|
2014-11-11 05:20:43 -08:00
|
|
|
description = "Small command-line utilities";
|
2014-09-13 04:51:39 -07:00
|
|
|
homepage = https://github.com/baskerville/sutils;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.meisternu ];
|
2014-08-09 14:31:05 -07:00
|
|
|
license = "Custom";
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|