3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/sutils/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
654 B
Nix
Raw Normal View History

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