Created
May 16, 2019 12:07
-
-
Save Jomik/15cd421419a7a87b2b619c85d6543f89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, pkgs }: | |
pkgs.stdenv.mkDerivation rec { | |
name = "lslint-${version}"; | |
version = "1.2.1"; | |
src = pkgs.fetchFromGitHub { | |
owner = "Makopo"; | |
repo = "lslint"; | |
rev = "d9af2b3e9f8b23633a4a1db5f051287e94efeeb4"; | |
sha256 = "1fhkmiznbzld1i6r7lmc7gdyjay82s8kbg9sh9lfd8nfkirkqrxn"; | |
}; | |
buildInputs = with pkgs; [ glibc.static ]; | |
nativeBuildInputs = with pkgs; [ bison flex ]; | |
makeFlags = [ "BUILD_DATE=2019-05-16" ]; | |
installPhase = '' | |
install -m 755 -D ./lslint $out/bin/lslint | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment