commit
5b6c2380ad
@ -1,63 +0,0 @@ |
||||
{ lib, stdenv |
||||
, fetchFromGitHub |
||||
, nix-update-script |
||||
, glib |
||||
, gtk3 |
||||
, vala |
||||
, json-glib |
||||
, libgee |
||||
, meson |
||||
, ninja |
||||
, pkg-config |
||||
, pantheon |
||||
, python3 |
||||
, wrapGAppsHook |
||||
}: |
||||
|
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "timetable"; |
||||
version = "1.1.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "lainsce"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "12c8kdrbz6x2mlrvr0nq9y5khj0qiiwlxf7aqc2z3dnrawjgy1rb"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
meson |
||||
ninja |
||||
pkg-config |
||||
vala |
||||
python3 |
||||
wrapGAppsHook |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
glib |
||||
gtk3 |
||||
json-glib |
||||
libgee |
||||
pantheon.granite |
||||
]; |
||||
|
||||
postPatch = '' |
||||
chmod +x meson/post_install.py |
||||
patchShebangs meson/post_install.py |
||||
''; |
||||
|
||||
passthru = { |
||||
updateScript = nix-update-script { |
||||
attrPath = pname; |
||||
}; |
||||
}; |
||||
|
||||
meta = with lib; { |
||||
description = "Plot out your own timetable for the week and organize it"; |
||||
homepage = "https://github.com/lainsce/timetable"; |
||||
maintainers = [ maintainers.xiorcale ] ++ pantheon.maintainers; |
||||
license = licenses.gpl2Plus; |
||||
}; |
||||
} |
@ -1,26 +1,48 @@ |
||||
{ lib, stdenv, fetchurl, openssl, libpcap |
||||
{ lib |
||||
, stdenv |
||||
, clang |
||||
, fetchFromGitHub |
||||
, installShellFiles |
||||
, openssl |
||||
, libpcap |
||||
}: |
||||
|
||||
with lib; |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "cowpatty"; |
||||
version = "4.6"; |
||||
|
||||
buildInputs = [ openssl libpcap ]; |
||||
version = "4.8"; |
||||
|
||||
src = fetchurl { |
||||
url = "http://www.willhackforsushi.com/code/cowpatty/${version}/${pname}-${version}.tgz"; |
||||
sha256 = "1hivh3bq2maxvqzwfw06fr7h8bbpvxzah6mpibh3wb85wl9w2gyd"; |
||||
src = fetchFromGitHub { |
||||
owner = "joswr1ght"; |
||||
repo = pname; |
||||
rev = version; |
||||
sha256 = "0fvwwghhd7wsx0lw2dj9rdsjnirawnq3c6silzvhi0yfnzn5fs0s"; |
||||
}; |
||||
|
||||
installPhase = "make DESTDIR=$out BINDIR=/bin install"; |
||||
nativeBuildInputs = [ |
||||
clang |
||||
installShellFiles |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
openssl |
||||
libpcap |
||||
]; |
||||
|
||||
makeFlags = [ |
||||
"DESTDIR=$(out)" |
||||
"BINDIR=/bin" |
||||
]; |
||||
|
||||
postInstall = '' |
||||
installManPage cowpatty.1 |
||||
installManPage genpmk.1 |
||||
''; |
||||
|
||||
meta = { |
||||
meta = with lib; { |
||||
description = "Offline dictionary attack against WPA/WPA2 networks"; |
||||
license = licenses.gpl2; |
||||
homepage = "https://www.willhackforsushi.com/?page_id=50"; |
||||
maintainers = with maintainers; [ nico202 ]; |
||||
homepage = "https://github.com/joswr1ght/cowpatty"; |
||||
license = licenses.bsd3; |
||||
maintainers = with maintainers; [ nico202 fab ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
||||
|
Loading…
Reference in new issue