buildPython*: use pname

This commit is contained in:
Frederik Rietdijk
2020-03-30 17:07:41 +02:00
parent 237bf9e7bc
commit 46ec52f329
24 changed files with 55 additions and 46 deletions
+4 -3
View File
@@ -1,8 +1,9 @@
{ stdenv, fetchFromGitHub, python2Packages, hping }:
python2Packages.buildPythonApplication rec {
let
rev = "bf14bbff";
name = "knockknock-r${rev}";
in python2Packages.buildPythonApplication rec {
pname = "knockknock-r";
version = rev;
src = fetchFromGitHub {
inherit rev;