Created
May 16, 2019 12:12
-
-
Save Jomik/c51b93d7f67ea9e722df3c06ab2f7f70 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, stdenv, fetchFromGitHub, glibc, bison, flex }: | |
stdenv.mkDerivation rec { | |
pname = "lslint"; | |
version = "1.2.1"; | |
src = fetchFromGitHub { | |
owner = "Makopo"; | |
repo = "lslint"; | |
rev = "v${version}"; | |
sha256 = "1fhkmiznbzld1i6r7lmc7gdyjay82s8kbg9sh9lfd8nfkirkqrxn"; | |
}; | |
buildInputs = [ glibc.static ]; | |
nativeBuildInputs = [ 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