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